File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file. See [ standard-version] ( https://github.com/conventional-changelog/standard-version ) for commit guidelines.
44
5+ ### [ 0.4.1] ( https://github.com/InverterNetwork/react/compare/v0.4.0...v0.4.1 ) (2025-03-03)
6+
57## [ 0.4.0] ( https://github.com/InverterNetwork/react/compare/v0.4.0-alpha.13...v0.4.0 ) (2025-03-03)
68
79## [ 0.4.0-alpha.0] ( https://github.com/InverterNetwork/react/compare/v0.3.29...v0.4.0-alpha.0 ) (2025-02-02)
Original file line number Diff line number Diff line change 11{
22 "name" : " @inverter-network/react" ,
33 "description" : " INVERTER react" ,
4- "version" : " 0.4.0 " ,
4+ "version" : " 0.4.1 " ,
55 "exports" : {
66 "." : {
77 "types" : " ./dist/types/index.d.ts" ,
7979 },
8080 "dependencies" : {
8181 "@api3/logos" : " ^0.2.18" ,
82- "@inverter-network/sdk" : " 0.4.0 " ,
82+ "@inverter-network/sdk" : " 0.4.1 " ,
8383 "@inverter-network/graphql" : " ^0.9.20" ,
8484 "@radix-ui/react-accordion" : " ^1.2.1" ,
8585 "@radix-ui/react-alert-dialog" : " ^1.1.2" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { useSelectorStore } from '@/store'
55import type { UseDeployWorkflowProps } from '@/types'
66import type {
77 FactoryType ,
8- GetUserArgs ,
8+ GetDeployWorkflowArgs ,
99 RequestedModules ,
1010} from '@inverter-network/sdk'
1111import { useMutation , useQuery } from '@tanstack/react-query'
@@ -78,7 +78,7 @@ export const useDeployWorkflow = <
7878 'paymentProcessor' in requestedModules ,
7979 } )
8080
81- type Args = GetUserArgs < T , FT extends undefined ? 'default' : FT >
81+ type Args = GetDeployWorkflowArgs < T , FT extends undefined ? 'default' : FT >
8282
8383 // Deploy the workflow
8484 const runDeployment = useMutation ( {
Original file line number Diff line number Diff line change 33import { useMutation } from '@tanstack/react-query'
44import type {
55 DeployableContracts ,
6- GetUserModuleArg ,
6+ GetDeployWorkflowModuleArg ,
77} from '@inverter-network/sdk'
88import { useState } from 'react'
99import { getModuleData } from '@inverter-network/abis'
@@ -36,7 +36,7 @@ export const useDeploy = <T extends DeployableContracts>({
3636
3737 const [ userArgs , setUserArgs ] = useState (
3838 // @ts -expect-error - not all modules have initial states
39- ( initialStates ?. [ name ] || { } ) as GetUserModuleArg < T >
39+ ( initialStates ?. [ name ] || { } ) as GetDeployWorkflowModuleArg < T >
4040 )
4141
4242 const handleSetUserArgs = ( name : string , value : any ) => {
Original file line number Diff line number Diff line change 11import type {
22 FactoryType ,
3- GetUserArgs ,
3+ GetDeployWorkflowArgs ,
44 RequestedModules ,
55} from '@inverter-network/sdk'
66import type { ValueOf , PartialDeep } from 'type-fest-4'
@@ -17,7 +17,7 @@ export type DeployWorkflowFormStep =
1717 | 'migrationConfig'
1818
1919export type DeployWorkflowFormUserArgs = PartialDeep <
20- GetUserArgs <
20+ GetDeployWorkflowArgs <
2121 RequestedModules ,
2222 'default' | 'immutable-pim' | 'restricted-pim' | 'migrating-pim'
2323 >
You can’t perform that action at this time.
0 commit comments