@dynamic-labs-sdk/react-hooks 1.27.2 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/exports/index.d.ts +13 -0
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts +57 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts +38 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts +43 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts +51 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts +47 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts +56 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts +55 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts +54 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts +55 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts +55 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts +57 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts +54 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts.map +1 -0
- package/dist/index.cjs +399 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +388 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/DynamicContext/DynamicProvider.d.ts +10 -0
- package/dist/modules/DynamicContext/DynamicProvider.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{useBaseState-BUx66eUl.esm.js → useBaseState-D9ib5b9h.esm.js} +12 -2
- package/dist/useBaseState-D9ib5b9h.esm.js.map +1 -0
- package/dist/{useBaseState-CjysRsBw.cjs → useBaseState-KNM6v5iX.cjs} +12 -2
- package/dist/useBaseState-KNM6v5iX.cjs.map +1 -0
- package/package.json +4 -4
- package/dist/useBaseState-BUx66eUl.esm.js.map +0 -1
- package/dist/useBaseState-CjysRsBw.cjs.map +0 -1
package/dist/core.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_useBaseState = require('./useBaseState-
|
|
1
|
+
const require_useBaseState = require('./useBaseState-KNM6v5iX.cjs');
|
|
2
2
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
3
3
|
|
|
4
4
|
//#region src/exports/core.ts
|
package/dist/core.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as useDynamicClient, c as version, i as useBaseMutation, n as useBaseQuery, s as name, t as useBaseState } from "./useBaseState-
|
|
1
|
+
import { a as useDynamicClient, c as version, i as useBaseMutation, n as useBaseQuery, s as name, t as useBaseState } from "./useBaseState-D9ib5b9h.esm.js";
|
|
2
2
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
3
3
|
|
|
4
4
|
//#region src/exports/core.ts
|
package/dist/exports/index.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export { useRemoveBusinessAccountMember, type UseRemoveBusinessAccountMemberPara
|
|
|
65
65
|
export { useRemoveBusinessAccountSigner, type UseRemoveBusinessAccountSignerParams, } from '../hooks/wrappers/functions/useRemoveBusinessAccountSigner';
|
|
66
66
|
export { useRemoveBusinessAccountWallet, type UseRemoveBusinessAccountWalletParams, } from '../hooks/wrappers/functions/useRemoveBusinessAccountWallet';
|
|
67
67
|
export { useRemoveWalletAccount, type UseRemoveWalletAccountParams, } from '../hooks/wrappers/functions/useRemoveWalletAccount';
|
|
68
|
+
export { useRemoveSignerPolicyRule, type UseRemoveSignerPolicyRuleParams, } from '../hooks/wrappers/functions/useRemoveSignerPolicyRule';
|
|
69
|
+
export { useRemoveWalletPolicyRule, type UseRemoveWalletPolicyRuleParams, } from '../hooks/wrappers/functions/useRemoveWalletPolicyRule';
|
|
68
70
|
export { useRequestExternalAuthElevatedToken, type UseRequestExternalAuthElevatedTokenParams, } from '../hooks/wrappers/functions/useRequestExternalAuthElevatedToken';
|
|
69
71
|
export { useRevokeAllRegisteredDevices, type UseRevokeAllRegisteredDevicesParams, } from '../hooks/wrappers/functions/useRevokeAllRegisteredDevices';
|
|
70
72
|
export { useRevokeRegisteredDevice, type UseRevokeRegisteredDeviceParams, } from '../hooks/wrappers/functions/useRevokeRegisteredDevice';
|
|
@@ -76,6 +78,7 @@ export { useSignInWithPasskey, type UseSignInWithPasskeyParams, } from '../hooks
|
|
|
76
78
|
export { useSignInWithSocialPopUp, type UseSignInWithSocialPopUpParams, } from '../hooks/wrappers/functions/useSignInWithSocialPopUp';
|
|
77
79
|
export { useSignInWithSocialRedirect, type UseSignInWithSocialRedirectParams, } from '../hooks/wrappers/functions/useSignInWithSocialRedirect';
|
|
78
80
|
export { useSignMessage, type UseSignMessageParams, } from '../hooks/wrappers/functions/useSignMessage';
|
|
81
|
+
export { useSignSerializedTransaction, type UseSignSerializedTransactionParams, } from '../hooks/wrappers/functions/useSignSerializedTransaction';
|
|
79
82
|
export { useSubmitFlowTransaction, type UseSubmitFlowTransactionParams, } from '../hooks/wrappers/functions/useSubmitFlowTransaction';
|
|
80
83
|
export { useGetSwapQuote, type UseGetSwapQuoteParams, } from '../hooks/wrappers/functions/useGetSwapQuote';
|
|
81
84
|
export { useGetSwapStatus, type UseGetSwapStatusParams, } from '../hooks/wrappers/functions/useGetSwapStatus';
|
|
@@ -90,12 +93,14 @@ export { useUpdateBusinessAccount, type UseUpdateBusinessAccountParams, } from '
|
|
|
90
93
|
export { useUpdateBusinessAccountMemberRole, type UseUpdateBusinessAccountMemberRoleParams, } from '../hooks/wrappers/functions/useUpdateBusinessAccountMemberRole';
|
|
91
94
|
export { useUpdateUser, type UseUpdateUserParams, } from '../hooks/wrappers/functions/useUpdateUser';
|
|
92
95
|
export { useGetUserSocialAccounts } from '../hooks/wrappers/functions/useGetUserSocialAccounts';
|
|
96
|
+
export { useUpsertWalletPolicyRule, type UseUpsertWalletPolicyRuleParams, } from '../hooks/wrappers/functions/useUpsertWalletPolicyRule';
|
|
93
97
|
export { useVerifyOTP, type UseVerifyOTPParams, } from '../hooks/wrappers/functions/useVerifyOTP';
|
|
94
98
|
export { useVerifyWalletAccount, type UseVerifyWalletAccountParams, } from '../hooks/wrappers/functions/useVerifyWalletAccount';
|
|
95
99
|
export { useGetWalletAccounts } from '../hooks/wrappers/functions/useGetWalletAccounts';
|
|
96
100
|
export { useGetWalletConnectCatalog, type UseGetWalletConnectCatalogParams, } from '../hooks/wrappers/functions/useGetWalletConnectCatalog';
|
|
97
101
|
export { useGetWalletConnectCatalogWalletByWalletProviderKey, type UseGetWalletConnectCatalogWalletByWalletProviderKeyParams, } from '../hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey';
|
|
98
102
|
export { useGetWalletOptionsCatalogue, type UseGetWalletOptionsCatalogueParams, } from '../hooks/wrappers/functions/useGetWalletOptionsCatalogue';
|
|
103
|
+
export { useGetWalletPolicyLayer, type UseGetWalletPolicyLayerParams, } from '../hooks/wrappers/functions/useGetWalletPolicyLayer';
|
|
99
104
|
export { useGetWalletProviderDataByKey, type UseGetWalletProviderDataByKeyParams, } from '../hooks/wrappers/functions/useGetWalletProviderDataByKey';
|
|
100
105
|
export { useOnWalletProviderEvent } from '../hooks/wrappers/functions/useOnWalletProviderEvent';
|
|
101
106
|
export { useIsDeviceRegistrationRequired } from '../hooks/wrappers/functions/useIsDeviceRegistrationRequired';
|
|
@@ -109,6 +114,7 @@ export { useCreateWalletForBusinessAccount, type UseCreateWalletForBusinessAccou
|
|
|
109
114
|
export { useDelegateWaasKeyShares, type UseDelegateWaasKeySharesParams, } from '../hooks/wrappers/functions/useDelegateWaasKeyShares';
|
|
110
115
|
export { useExportWaasClientKeyshares, type UseExportWaasClientKeysharesParams, } from '../hooks/wrappers/functions/useExportWaasClientKeyshares';
|
|
111
116
|
export { useExportWaasPrivateKey, type UseExportWaasPrivateKeyParams, } from '../hooks/wrappers/functions/useExportWaasPrivateKey';
|
|
117
|
+
export { useGetSignerPolicyLayer, type UseGetSignerPolicyLayerParams, } from '../hooks/wrappers/functions/useGetSignerPolicyLayer';
|
|
112
118
|
export { useGetWalletRecoveryState, type UseGetWalletRecoveryStateParams, } from '../hooks/wrappers/functions/useGetWalletRecoveryState';
|
|
113
119
|
export { useImportWaasPrivateKey, type UseImportWaasPrivateKeyParams, } from '../hooks/wrappers/functions/useImportWaasPrivateKey';
|
|
114
120
|
export { useMigrateFromFireblocks, type UseMigrateFromFireblocksParams, } from '../hooks/wrappers/functions/useMigrateFromFireblocks';
|
|
@@ -117,6 +123,13 @@ export { useRevokeWaasDelegation, type UseRevokeWaasDelegationParams, } from '..
|
|
|
117
123
|
export { useSetWaasWalletAccountPassword, type UseSetWaasWalletAccountPasswordParams, } from '../hooks/wrappers/functions/useSetWaasWalletAccountPassword';
|
|
118
124
|
export { useUnlockWallet, type UseUnlockWalletParams, } from '../hooks/wrappers/functions/useUnlockWallet';
|
|
119
125
|
export { useUpdateWaasPassword, type UseUpdateWaasPasswordParams, } from '../hooks/wrappers/functions/useUpdateWaasPassword';
|
|
126
|
+
export { useUpsertSignerPolicyRule, type UseUpsertSignerPolicyRuleParams, } from '../hooks/wrappers/functions/useUpsertSignerPolicyRule';
|
|
127
|
+
export { useCreatePolicy, type UseCreatePolicyParams, } from '../hooks/wrappers/functions/useCreatePolicy';
|
|
128
|
+
export { useGetPolicy, type UseGetPolicyParams, } from '../hooks/wrappers/functions/useGetPolicy';
|
|
129
|
+
export { useRemovePolicyRules, type UseRemovePolicyRulesParams, } from '../hooks/wrappers/functions/useRemovePolicyRules';
|
|
130
|
+
export { useGetAccountPolicyLayer, type UseGetAccountPolicyLayerParams, } from '../hooks/wrappers/functions/useGetAccountPolicyLayer';
|
|
131
|
+
export { useUpsertAccountPolicyRule, type UseUpsertAccountPolicyRuleParams, } from '../hooks/wrappers/functions/useUpsertAccountPolicyRule';
|
|
132
|
+
export { useRemoveAccountPolicyRule, type UseRemoveAccountPolicyRuleParams, } from '../hooks/wrappers/functions/useRemoveAccountPolicyRule';
|
|
120
133
|
export { useGetYieldDetails, type UseGetYieldDetailsParams, } from '../hooks/wrappers/functions/useGetYieldDetails';
|
|
121
134
|
export { useGetYieldPosition, type UseGetYieldPositionParams, } from '../hooks/wrappers/functions/useGetYieldPosition';
|
|
122
135
|
export { useGetYieldRewards, type UseGetYieldRewardsParams, } from '../hooks/wrappers/functions/useGetYieldRewards';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,GACjC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,6BAA6B,EAC7B,KAAK,mCAAmC,GACzC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,yCAAyC,EACzC,KAAK,+CAA+C,GACrD,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,8BAA8B,EAC9B,KAAK,o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AyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,eAAe,EACf,KAAK,qBAAqB,GAC3B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,YAAY,EACZ,KAAK,kBAAkB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,wBAAwB,EACxB,KAAK,8BAA8B,GACpC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,0BAA0B,EAC1B,KAAK,gCAAgC,GACtC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,0BAA0B,EAC1B,KAAK,gCAAgC,GACtC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare const useAddBusinessAccountSigner: ({ mutateParams, }?: UseAddBus
|
|
|
45
45
|
password?: string;
|
|
46
46
|
signerType?: import("../../../../../../client/src/modules/waas/businessAccounts/businessAccounts.types").BusinessAccountSignerType;
|
|
47
47
|
targetIdentity: import("@dynamic-labs-sdk/client/waas").TargetIdentity;
|
|
48
|
-
walletAccount: import("@dynamic-labs-sdk/client").
|
|
48
|
+
walletAccount: import("@dynamic-labs-sdk/client/waas").WaasWalletAccount;
|
|
49
49
|
walletId?: string;
|
|
50
50
|
}>;
|
|
51
51
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreatePolicy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { createPolicy } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
|
+
type CreatePolicyVariables = Parameters<typeof createPolicy>[0];
|
|
4
|
+
type CreatePolicyResult = Awaited<ReturnType<typeof createPolicy>>;
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useCreatePolicy}: an optional override of the
|
|
7
|
+
* underlying react-query mutation options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseCreatePolicyParams = {
|
|
12
|
+
* mutateParams: { onSuccess: () => console.log('saved') },
|
|
13
|
+
* };
|
|
14
|
+
* ```
|
|
15
|
+
* @see useCreatePolicy
|
|
16
|
+
* @see createPolicy
|
|
17
|
+
*/
|
|
18
|
+
export type UseCreatePolicyParams = {
|
|
19
|
+
/**
|
|
20
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
21
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
22
|
+
*/
|
|
23
|
+
mutateParams?: NonNullable<UseBaseMutationParams<CreatePolicyResult, CreatePolicyVariables>['mutateParams']>;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Creates or updates a wallet's or signer's policy rules from the
|
|
27
|
+
* `PolicyRules` sugar map, in one atomic `batch` PATCH.
|
|
28
|
+
*
|
|
29
|
+
* Wraps `createPolicy` from `@dynamic-labs-sdk/client/waas`. On success,
|
|
30
|
+
* invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
|
|
31
|
+
* {@link useGetSignerPolicyLayer} — all three read the same underlying
|
|
32
|
+
* wallet/signer policy layer this mutates — so mounted consumers of any of
|
|
33
|
+
* them refetch the updated policy.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* const { mutate: createPolicy, isPending } = useCreatePolicy();
|
|
38
|
+
* <button
|
|
39
|
+
* onClick={() => createPolicy({ chain, rules, scope })}
|
|
40
|
+
* disabled={isPending}
|
|
41
|
+
* >
|
|
42
|
+
* Save policy
|
|
43
|
+
* </button>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` creates the policy; the resolved `data` is the policy layer after the batch is applied.
|
|
47
|
+
* @see createPolicy
|
|
48
|
+
* @see UseCreatePolicyParams
|
|
49
|
+
*/
|
|
50
|
+
export declare const useCreatePolicy: ({ mutateParams, }?: UseCreatePolicyParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").WaasPolicyLayerResponse, Error, {
|
|
51
|
+
chain: import("@dynamic-labs/sdk-api-core").WaasChainEnum;
|
|
52
|
+
chainIds?: number[];
|
|
53
|
+
rules: import("@dynamic-labs-sdk/client/waas").PolicyRules;
|
|
54
|
+
scope: import("@dynamic-labs-sdk/client/waas").PolicyScope;
|
|
55
|
+
}>;
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=useCreatePolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreatePolicy.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAChE,KAAK,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAEnE;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,CAAC,cAAc,CAAC,CACjF,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,eAAe,uBAEzB,qBAAqB;;;;;EAWpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetAccountPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,8BAA8B,GACpC,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { getAccountPolicyLayer } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type GetAccountPolicyLayerResult = Awaited<ReturnType<typeof getAccountPolicyLayer>>;
|
|
4
|
+
type GetAccountPolicyLayerArgs = Parameters<typeof getAccountPolicyLayer>[0];
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useGetAccountPolicyLayer}: the `getAccountPolicyLayer` args plus an
|
|
7
|
+
* optional override of the underlying react-query options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseGetAccountPolicyLayerParams = { businessAccountId };
|
|
12
|
+
* ```
|
|
13
|
+
* @see useGetAccountPolicyLayer
|
|
14
|
+
* @see getAccountPolicyLayer
|
|
15
|
+
*/
|
|
16
|
+
export type UseGetAccountPolicyLayerParams = GetAccountPolicyLayerArgs & {
|
|
17
|
+
/**
|
|
18
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
19
|
+
* staleTime, refetchInterval, etc.).
|
|
20
|
+
*/
|
|
21
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetAccountPolicyLayerResult>['queryParams']>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Wraps `getAccountPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Retrieves a business
|
|
25
|
+
* account's active policy rules (the account-Layer).
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* const { data: accountPolicyLayer, isLoading } = useGetAccountPolicyLayer({ businessAccountId });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @returns A react-query result whose `data` is the account-Layer resolved by `getAccountPolicyLayer`.
|
|
33
|
+
* @see getAccountPolicyLayer
|
|
34
|
+
* @see UseGetAccountPolicyLayerParams
|
|
35
|
+
*/
|
|
36
|
+
export declare const useGetAccountPolicyLayer: ({ queryParams, ...args }: UseGetAccountPolicyLayerParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs/sdk-api-core").WaasPolicyLayerResponse, Error>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=useGetAccountPolicyLayer.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetAccountPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,2BAA2B,GAAG,OAAO,CACxC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CACzC,CAAC;AACF,KAAK,yBAAyB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7E;;;;;;;;;;GAUG;AACH,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,GAAG;IACvE;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,2BAA2B,CAAC,CAAC,aAAa,CAAC,CAC/D,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,6BAGlC,8BAA8B,wHAK7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetPolicy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getPolicy } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type GetPolicyResult = Awaited<ReturnType<typeof getPolicy>>;
|
|
4
|
+
type GetPolicyArgs = Parameters<typeof getPolicy>[0];
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useGetPolicy}: the `getPolicy` args plus an optional
|
|
7
|
+
* override of the underlying react-query options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseGetPolicyParams = { scope: { walletId } };
|
|
12
|
+
* ```
|
|
13
|
+
* @see useGetPolicy
|
|
14
|
+
* @see getPolicy
|
|
15
|
+
*/
|
|
16
|
+
export type UseGetPolicyParams = GetPolicyArgs & {
|
|
17
|
+
/**
|
|
18
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
19
|
+
* staleTime, refetchInterval, etc.).
|
|
20
|
+
*/
|
|
21
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetPolicyResult>['queryParams']>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Wraps `getPolicy` from `@dynamic-labs-sdk/client/waas`. Retrieves a policy
|
|
25
|
+
* layer's rules for the given scope.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* const { data: policy, isLoading } = useGetPolicy({ scope: { walletId } });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @returns A react-query result whose `data` is the policy detail resolved by `getPolicy`.
|
|
33
|
+
* @see getPolicy
|
|
34
|
+
* @see UseGetPolicyParams
|
|
35
|
+
*/
|
|
36
|
+
export declare const useGetPolicy: ({ queryParams, ...args }: UseGetPolicyParams) => import("@tanstack/react-query").UseQueryResult<{
|
|
37
|
+
layerId: string;
|
|
38
|
+
rules: import("@dynamic-labs-sdk/client/waas").PolicyRules;
|
|
39
|
+
unmapped: import("@dynamic-labs/sdk-api-core").WaasPolicyRule[];
|
|
40
|
+
updatedAt: Date;
|
|
41
|
+
}, Error>;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=useGetPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetPolicy.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetPolicy/useGetPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAE1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;AAC7D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAErD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG;IAC/C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,CACnD,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,6BAA8B,kBAAkB;;;;;SAKrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSignerPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import { getSignerPolicyLayer } from '@dynamic-labs-sdk/client/waas';
|
|
3
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
|
+
type GetSignerPolicyLayerResult = Awaited<ReturnType<typeof getSignerPolicyLayer>>;
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useGetSignerPolicyLayer}: the wallet account (and
|
|
7
|
+
* optional share set) to read the signer policy layer for, plus optional
|
|
8
|
+
* react-query options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const params: UseGetSignerPolicyLayerParams = { walletAccount };
|
|
13
|
+
* ```
|
|
14
|
+
* @see useGetSignerPolicyLayer
|
|
15
|
+
* @see getSignerPolicyLayer
|
|
16
|
+
*/
|
|
17
|
+
export type UseGetSignerPolicyLayerParams = {
|
|
18
|
+
/**
|
|
19
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
20
|
+
* staleTime, refetchInterval, etc.).
|
|
21
|
+
*/
|
|
22
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetSignerPolicyLayerResult>['queryParams']>;
|
|
23
|
+
/** Targets a share set other than the caller's own. Omit to read the caller's own active share set. */
|
|
24
|
+
shareSetId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* **Pseudo-required.** The wallet account to read the signer policy layer
|
|
27
|
+
* for. Accepting `undefined` lets callers wire this up before the wallet
|
|
28
|
+
* account has loaded — the hook stays disabled until a real value is
|
|
29
|
+
* supplied.
|
|
30
|
+
*/
|
|
31
|
+
walletAccount: WalletAccount | undefined;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Wraps `getSignerPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Returns
|
|
35
|
+
* a signer's active policy rules (the signer-Layer) — the caller's own
|
|
36
|
+
* active share set by default, or another share set on the same wallet when
|
|
37
|
+
* `shareSetId` is given. The hook stays disabled until `walletAccount` is
|
|
38
|
+
* defined.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* const { data, isLoading } = useGetSignerPolicyLayer({ walletAccount });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @returns A react-query result whose `data` is the signer-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
|
|
46
|
+
* @see getSignerPolicyLayer
|
|
47
|
+
* @see UseGetSignerPolicyLayerParams
|
|
48
|
+
*/
|
|
49
|
+
export declare const useGetSignerPolicyLayer: ({ queryParams, shareSetId, walletAccount, }: UseGetSignerPolicyLayerParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs/sdk-api-core").WaasPolicyLayerResponse, Error>;
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=useGetSignerPolicyLayer.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetSignerPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,0BAA0B,GAAG,OAAO,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAC9D,CAAC;IACF,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,gDAIjC,6BAA6B,wHAc5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import { getWalletPolicyLayer } from '@dynamic-labs-sdk/client/waas';
|
|
3
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
|
+
type GetWalletPolicyLayerResult = Awaited<ReturnType<typeof getWalletPolicyLayer>>;
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useGetWalletPolicyLayer}: the wallet account to read
|
|
7
|
+
* the policy layer for, plus optional react-query options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseGetWalletPolicyLayerParams = { walletAccount };
|
|
12
|
+
* ```
|
|
13
|
+
* @see useGetWalletPolicyLayer
|
|
14
|
+
* @see getWalletPolicyLayer
|
|
15
|
+
*/
|
|
16
|
+
export type UseGetWalletPolicyLayerParams = {
|
|
17
|
+
/**
|
|
18
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
19
|
+
* staleTime, refetchInterval, etc.).
|
|
20
|
+
*/
|
|
21
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetWalletPolicyLayerResult>['queryParams']>;
|
|
22
|
+
/**
|
|
23
|
+
* **Pseudo-required.** The wallet account to read the policy layer for.
|
|
24
|
+
* Accepting `undefined` lets callers wire this up before the wallet
|
|
25
|
+
* account has loaded — the hook stays disabled until a real value is
|
|
26
|
+
* supplied.
|
|
27
|
+
*/
|
|
28
|
+
walletAccount: WalletAccount | undefined;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Returns a wallet's active policy rules (the wallet-Layer).
|
|
32
|
+
*
|
|
33
|
+
* Wraps `getWalletPolicyLayer` from `@dynamic-labs-sdk/client/waas`. The hook
|
|
34
|
+
* stays disabled until `walletAccount` is defined.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* const { data, isLoading } = useGetWalletPolicyLayer({ walletAccount });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @returns A react-query result whose `data` is the wallet-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
|
|
42
|
+
* @see getWalletPolicyLayer
|
|
43
|
+
* @see UseGetWalletPolicyLayerParams
|
|
44
|
+
*/
|
|
45
|
+
export declare const useGetWalletPolicyLayer: ({ queryParams, walletAccount, }: UseGetWalletPolicyLayerParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs/sdk-api-core").WaasPolicyLayerResponse, Error>;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=useGetWalletPolicyLayer.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetWalletPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC;AAEnF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;IACzF;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,oCAGjC,6BAA6B,wHAW5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,YAAY,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { removeAccountPolicyRule } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
|
+
type RemoveAccountPolicyRuleVariables = Parameters<typeof removeAccountPolicyRule>[0];
|
|
4
|
+
type RemoveAccountPolicyRuleResult = Awaited<ReturnType<typeof removeAccountPolicyRule>>;
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useRemoveAccountPolicyRule}: an optional override of
|
|
7
|
+
* the underlying react-query mutation options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseRemoveAccountPolicyRuleParams = {
|
|
12
|
+
* mutateParams: { onSuccess: () => console.log('removed') },
|
|
13
|
+
* };
|
|
14
|
+
* ```
|
|
15
|
+
* @see useRemoveAccountPolicyRule
|
|
16
|
+
* @see removeAccountPolicyRule
|
|
17
|
+
*/
|
|
18
|
+
export type UseRemoveAccountPolicyRuleParams = {
|
|
19
|
+
/**
|
|
20
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
21
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
22
|
+
*/
|
|
23
|
+
mutateParams?: NonNullable<UseBaseMutationParams<RemoveAccountPolicyRuleResult, RemoveAccountPolicyRuleVariables>['mutateParams']>;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Removes a single rule from a business account's account-Layer.
|
|
27
|
+
*
|
|
28
|
+
* Wraps `removeAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
|
|
29
|
+
* success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
|
|
30
|
+
* refetch the updated rules.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* const { mutate: removeRule, isPending } = useRemoveAccountPolicyRule();
|
|
35
|
+
* <button
|
|
36
|
+
* onClick={() => removeRule({ businessAccountId, ruleId })}
|
|
37
|
+
* disabled={isPending}
|
|
38
|
+
* >
|
|
39
|
+
* Remove rule
|
|
40
|
+
* </button>
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the account-Layer after the rule is removed.
|
|
44
|
+
* @see removeAccountPolicyRule
|
|
45
|
+
* @see UseRemoveAccountPolicyRuleParams
|
|
46
|
+
*/
|
|
47
|
+
export declare const useRemoveAccountPolicyRule: ({ mutateParams, }?: UseRemoveAccountPolicyRuleParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").WaasPolicyLayerResponse, Error, {
|
|
48
|
+
businessAccountId: string;
|
|
49
|
+
ruleId: string;
|
|
50
|
+
}>;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=useRemoveAccountPolicyRule.d.ts.map
|
package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveAccountPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,gCAAgC,GAAG,UAAU,CAChD,OAAO,uBAAuB,CAC/B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,6BAA6B,GAAG,OAAO,CAC1C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,6BAA6B,EAC7B,gCAAgC,CACjC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,0BAA0B,uBAEpC,gCAAgC;;;EAS/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemovePolicyRules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { removePolicyRules } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
|
+
type RemovePolicyRulesVariables = Parameters<typeof removePolicyRules>[0];
|
|
4
|
+
type RemovePolicyRulesResult = Awaited<ReturnType<typeof removePolicyRules>>;
|
|
5
|
+
/**
|
|
6
|
+
* Parameters for {@link useRemovePolicyRules}: an optional override of
|
|
7
|
+
* the underlying react-query mutation options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseRemovePolicyRulesParams = {
|
|
12
|
+
* mutateParams: { onSuccess: () => console.log('removed') },
|
|
13
|
+
* };
|
|
14
|
+
* ```
|
|
15
|
+
* @see useRemovePolicyRules
|
|
16
|
+
* @see removePolicyRules
|
|
17
|
+
*/
|
|
18
|
+
export type UseRemovePolicyRulesParams = {
|
|
19
|
+
/**
|
|
20
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
21
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
22
|
+
*/
|
|
23
|
+
mutateParams?: NonNullable<UseBaseMutationParams<RemovePolicyRulesResult, RemovePolicyRulesVariables>['mutateParams']>;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Removes one or more rules from a policy layer via a single atomic batch.
|
|
27
|
+
*
|
|
28
|
+
* Wraps `removePolicyRules` from `@dynamic-labs-sdk/client/waas`. On success,
|
|
29
|
+
* invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
|
|
30
|
+
* {@link useGetSignerPolicyLayer} — all three read the same underlying
|
|
31
|
+
* wallet/signer policy layer this mutates — so mounted consumers of any of
|
|
32
|
+
* them refetch the updated rules.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```tsx
|
|
36
|
+
* const { mutate: removeRules, isPending } = useRemovePolicyRules();
|
|
37
|
+
* <button
|
|
38
|
+
* onClick={() => removeRules({ chain, rules: ['blockExport'], scope })}
|
|
39
|
+
* disabled={isPending}
|
|
40
|
+
* >
|
|
41
|
+
* Remove rules
|
|
42
|
+
* </button>
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rules; the resolved `data` is the policy layer after the batch is applied.
|
|
46
|
+
* @see removePolicyRules
|
|
47
|
+
* @see UseRemovePolicyRulesParams
|
|
48
|
+
*/
|
|
49
|
+
export declare const useRemovePolicyRules: ({ mutateParams, }?: UseRemovePolicyRulesParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").WaasPolicyLayerResponse, Error, {
|
|
50
|
+
chain: import("@dynamic-labs/sdk-api-core").WaasChainEnum;
|
|
51
|
+
chainIds?: number[];
|
|
52
|
+
rules: (keyof import("@dynamic-labs-sdk/client/waas").PolicyRules)[];
|
|
53
|
+
scope: import("@dynamic-labs-sdk/client/waas").PolicyScope;
|
|
54
|
+
}>;
|
|
55
|
+
export {};
|
|
56
|
+
//# sourceMappingURL=useRemovePolicyRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemovePolicyRules.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,KAAK,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,uBAAuB,EACvB,0BAA0B,CAC3B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,oBAAoB,uBAE9B,0BAA0B;;;;;EAWzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
|