Skip to content

Commit 0266838

Browse files
committed
chore(release): 0.4.1
1 parent 09504ec commit 0266838

6 files changed

Lines changed: 15 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All 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)

bun.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",
@@ -79,7 +79,7 @@
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",

src/hooks/use-deploy-workflow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useSelectorStore } from '@/store'
55
import type { UseDeployWorkflowProps } from '@/types'
66
import type {
77
FactoryType,
8-
GetUserArgs,
8+
GetDeployWorkflowArgs,
99
RequestedModules,
1010
} from '@inverter-network/sdk'
1111
import { 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({

src/hooks/use-deploy/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useMutation } from '@tanstack/react-query'
44
import type {
55
DeployableContracts,
6-
GetUserModuleArg,
6+
GetDeployWorkflowModuleArg,
77
} from '@inverter-network/sdk'
88
import { useState } from 'react'
99
import { 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) => {

src/types/get-deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {
22
FactoryType,
3-
GetUserArgs,
3+
GetDeployWorkflowArgs,
44
RequestedModules,
55
} from '@inverter-network/sdk'
66
import type { ValueOf, PartialDeep } from 'type-fest-4'
@@ -17,7 +17,7 @@ export type DeployWorkflowFormStep =
1717
| 'migrationConfig'
1818

1919
export type DeployWorkflowFormUserArgs = PartialDeep<
20-
GetUserArgs<
20+
GetDeployWorkflowArgs<
2121
RequestedModules,
2222
'default' | 'immutable-pim' | 'restricted-pim' | 'migrating-pim'
2323
>

0 commit comments

Comments
 (0)