@dynamic-labs-sdk/zerodev 0.1.0-alpha.17 → 0.1.0-alpha.19
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/CHANGELOG.md +10 -0
- package/index.cjs.js +463 -18
- package/index.esm.js +463 -22
- package/package.json +5 -5
- package/src/addZerodevExtension/addZerodevExtension.d.ts.map +1 -1
- package/src/canSponsorTransaction/canSponsorTransaction.d.ts +29 -0
- package/src/canSponsorTransaction/canSponsorTransaction.d.ts.map +1 -0
- package/src/canSponsorTransaction/index.d.ts +2 -0
- package/src/canSponsorTransaction/index.d.ts.map +1 -0
- package/src/constants.d.ts +5 -0
- package/src/constants.d.ts.map +1 -1
- package/src/createKernelClientForWalletAccount/createKernelClientForWalletAccount.d.ts +27 -0
- package/src/createKernelClientForWalletAccount/createKernelClientForWalletAccount.d.ts.map +1 -0
- package/src/createKernelClientForWalletAccount/index.d.ts +2 -0
- package/src/createKernelClientForWalletAccount/index.d.ts.map +1 -0
- package/src/estimateTransactionGas/estimateTransactionGas.d.ts +18 -0
- package/src/estimateTransactionGas/estimateTransactionGas.d.ts.map +1 -0
- package/src/estimateTransactionGas/index.d.ts +2 -0
- package/src/estimateTransactionGas/index.d.ts.map +1 -0
- package/src/exports/index.d.ts +5 -0
- package/src/exports/index.d.ts.map +1 -1
- package/src/isGasSponsorshipError/index.d.ts +2 -0
- package/src/isGasSponsorshipError/index.d.ts.map +1 -0
- package/src/isGasSponsorshipError/isGasSponsorshipError.d.ts +2 -0
- package/src/isGasSponsorshipError/isGasSponsorshipError.d.ts.map +1 -0
- package/src/isZerodevWalletAccount/index.d.ts +2 -0
- package/src/isZerodevWalletAccount/index.d.ts.map +1 -0
- package/src/isZerodevWalletAccount/isZerodevWalletAccount.d.ts +9 -0
- package/src/isZerodevWalletAccount/isZerodevWalletAccount.d.ts.map +1 -0
- package/src/utils/calculateGasForUserOperation/calculateGasForUserOperation.d.ts +7 -0
- package/src/utils/calculateGasForUserOperation/calculateGasForUserOperation.d.ts.map +1 -0
- package/src/utils/calculateGasForUserOperation/index.d.ts +2 -0
- package/src/utils/calculateGasForUserOperation/index.d.ts.map +1 -0
- package/src/utils/createKernelAccount/createKernelAccount.d.ts +1 -1
- package/src/utils/createKernelAccount/createKernelAccount.d.ts.map +1 -1
- package/src/utils/createZerodevWalletProvider/createZerodevWalletProvider.d.ts +4 -0
- package/src/utils/createZerodevWalletProvider/createZerodevWalletProvider.d.ts.map +1 -0
- package/src/utils/createZerodevWalletProvider/index.d.ts +2 -0
- package/src/utils/createZerodevWalletProvider/index.d.ts.map +1 -0
- package/src/utils/getAllUserZerodevAddresses/getAllUserZerodevAddresses.d.ts +3 -0
- package/src/utils/getAllUserZerodevAddresses/getAllUserZerodevAddresses.d.ts.map +1 -0
- package/src/utils/getAllUserZerodevAddresses/index.d.ts +2 -0
- package/src/utils/getAllUserZerodevAddresses/index.d.ts.map +1 -0
- package/src/utils/prepareUserOperationWithKernelClient/index.d.ts +2 -0
- package/src/utils/prepareUserOperationWithKernelClient/index.d.ts.map +1 -0
- package/src/utils/prepareUserOperationWithKernelClient/prepareUserOperationWithKernelClient.d.ts +466 -0
- package/src/utils/prepareUserOperationWithKernelClient/prepareUserOperationWithKernelClient.d.ts.map +1 -0
- package/src/utils/signMessage/index.d.ts +2 -0
- package/src/utils/signMessage/index.d.ts.map +1 -0
- package/src/utils/signMessage/signMessage.d.ts +11 -0
- package/src/utils/signMessage/signMessage.d.ts.map +1 -0
package/src/utils/prepareUserOperationWithKernelClient/prepareUserOperationWithKernelClient.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepareUserOperationWithKernelClient.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/prepareUserOperationWithKernelClient/prepareUserOperationWithKernelClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,KAAK,0CAA0C,GAAG;IAChD,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,EAAE;QACX,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,EAAE,EAAE,GAAG,CAAC;QACR,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,oCAAoC,mCAG9C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/signMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type DynamicClient } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { EvmWalletAccount } from '@dynamic-labs-sdk/evm';
|
|
3
|
+
type SignMessageParams = {
|
|
4
|
+
message: string;
|
|
5
|
+
walletAccount: EvmWalletAccount;
|
|
6
|
+
};
|
|
7
|
+
export declare const signMessage: ({ walletAccount, message }: SignMessageParams, client: DynamicClient) => Promise<{
|
|
8
|
+
signature: string;
|
|
9
|
+
}>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=signMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signMessage.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/signMessage/signMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAK9D,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,WAAW,+BACM,iBAAiB,UACrC,aAAa,KACpB,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAgC/B,CAAC"}
|