@distilled.cloud/coinbase 0.25.1 → 0.26.1
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/lib/client.d.ts +2 -2
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +20 -11
- package/lib/client.js.map +1 -1
- package/lib/operations/addEndUserEvmAccount.d.ts +1 -1
- package/lib/operations/addEndUserEvmAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserSolanaAccount.d.ts +1 -1
- package/lib/operations/addEndUserSolanaAccount.d.ts.map +1 -1
- package/lib/operations/createEndUser.d.ts +1 -1
- package/lib/operations/createEndUser.d.ts.map +1 -1
- package/lib/operations/createEvmAccount.d.ts +1 -1
- package/lib/operations/createEvmAccount.d.ts.map +1 -1
- package/lib/operations/createEvmEip7702Delegation.d.ts +1 -1
- package/lib/operations/createEvmEip7702Delegation.d.ts.map +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/createEvmSmartAccount.d.ts +1 -1
- package/lib/operations/createEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/createEvmSwapQuote.d.ts +1 -1
- package/lib/operations/createEvmSwapQuote.d.ts.map +1 -1
- package/lib/operations/createOnrampOrder.d.ts +1 -1
- package/lib/operations/createOnrampOrder.d.ts.map +1 -1
- package/lib/operations/createOnrampSession.d.ts +1 -1
- package/lib/operations/createOnrampSession.d.ts.map +1 -1
- package/lib/operations/createPolicy.d.ts +1 -1
- package/lib/operations/createPolicy.d.ts.map +1 -1
- package/lib/operations/createSolanaAccount.d.ts +1 -1
- package/lib/operations/createSolanaAccount.d.ts.map +1 -1
- package/lib/operations/createSpendPermission.d.ts +1 -1
- package/lib/operations/createSpendPermission.d.ts.map +1 -1
- package/lib/operations/createWebhookSubscription.d.ts +1 -1
- package/lib/operations/createWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/deletePolicy.d.ts +1 -1
- package/lib/operations/deletePolicy.d.ts.map +1 -1
- package/lib/operations/deleteWebhookSubscription.d.ts +1 -1
- package/lib/operations/deleteWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/exportEvmAccount.d.ts +1 -1
- package/lib/operations/exportEvmAccount.d.ts.map +1 -1
- package/lib/operations/exportEvmAccountByName.d.ts +1 -1
- package/lib/operations/exportEvmAccountByName.d.ts.map +1 -1
- package/lib/operations/exportSolanaAccount.d.ts +1 -1
- package/lib/operations/exportSolanaAccount.d.ts.map +1 -1
- package/lib/operations/exportSolanaAccountByName.d.ts +1 -1
- package/lib/operations/exportSolanaAccountByName.d.ts.map +1 -1
- package/lib/operations/getDelegationForEndUser.d.ts +1 -1
- package/lib/operations/getDelegationForEndUser.d.ts.map +1 -1
- package/lib/operations/getEndUser.d.ts +1 -1
- package/lib/operations/getEndUser.d.ts.map +1 -1
- package/lib/operations/getEvmAccount.d.ts +1 -1
- package/lib/operations/getEvmAccount.d.ts.map +1 -1
- package/lib/operations/getEvmAccountByName.d.ts +1 -1
- package/lib/operations/getEvmAccountByName.d.ts.map +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts.map +1 -1
- package/lib/operations/getEvmSmartAccount.d.ts +1 -1
- package/lib/operations/getEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/getEvmSmartAccountByName.d.ts +1 -1
- package/lib/operations/getEvmSmartAccountByName.d.ts.map +1 -1
- package/lib/operations/getEvmSwapPrice.d.ts +1 -1
- package/lib/operations/getEvmSwapPrice.d.ts.map +1 -1
- package/lib/operations/getOnrampOrderById.d.ts +1 -1
- package/lib/operations/getOnrampOrderById.d.ts.map +1 -1
- package/lib/operations/getOnrampUserLimits.d.ts +1 -1
- package/lib/operations/getOnrampUserLimits.d.ts.map +1 -1
- package/lib/operations/getPolicyById.d.ts +1 -1
- package/lib/operations/getPolicyById.d.ts.map +1 -1
- package/lib/operations/getSQLGrammar.d.ts +1 -1
- package/lib/operations/getSQLGrammar.d.ts.map +1 -1
- package/lib/operations/getSQLSchema.d.ts +1 -1
- package/lib/operations/getSQLSchema.d.ts.map +1 -1
- package/lib/operations/getSolanaAccount.d.ts +1 -1
- package/lib/operations/getSolanaAccount.d.ts.map +1 -1
- package/lib/operations/getSolanaAccountByName.d.ts +1 -1
- package/lib/operations/getSolanaAccountByName.d.ts.map +1 -1
- package/lib/operations/getUserOperation.d.ts +1 -1
- package/lib/operations/getUserOperation.d.ts.map +1 -1
- package/lib/operations/getWebhookSubscription.d.ts +1 -1
- package/lib/operations/getWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/importEndUser.d.ts +1 -1
- package/lib/operations/importEndUser.d.ts.map +1 -1
- package/lib/operations/importEvmAccount.d.ts +1 -1
- package/lib/operations/importEvmAccount.d.ts.map +1 -1
- package/lib/operations/importSolanaAccount.d.ts +1 -1
- package/lib/operations/importSolanaAccount.d.ts.map +1 -1
- package/lib/operations/listDataTokenBalances.d.ts +1 -1
- package/lib/operations/listDataTokenBalances.d.ts.map +1 -1
- package/lib/operations/listEndUsers.d.ts +1 -1
- package/lib/operations/listEndUsers.d.ts.map +1 -1
- package/lib/operations/listEvmAccounts.d.ts +1 -1
- package/lib/operations/listEvmAccounts.d.ts.map +1 -1
- package/lib/operations/listEvmSmartAccounts.d.ts +1 -1
- package/lib/operations/listEvmSmartAccounts.d.ts.map +1 -1
- package/lib/operations/listEvmTokenBalances.d.ts +1 -1
- package/lib/operations/listEvmTokenBalances.d.ts.map +1 -1
- package/lib/operations/listPolicies.d.ts +1 -1
- package/lib/operations/listPolicies.d.ts.map +1 -1
- package/lib/operations/listSolanaAccounts.d.ts +1 -1
- package/lib/operations/listSolanaAccounts.d.ts.map +1 -1
- package/lib/operations/listSolanaTokenBalances.d.ts +1 -1
- package/lib/operations/listSolanaTokenBalances.d.ts.map +1 -1
- package/lib/operations/listSpendPermissions.d.ts +1 -1
- package/lib/operations/listSpendPermissions.d.ts.map +1 -1
- package/lib/operations/listTokensForAccount.d.ts +1 -1
- package/lib/operations/listTokensForAccount.d.ts.map +1 -1
- package/lib/operations/listWebhookSubscriptionEvents.d.ts +1 -1
- package/lib/operations/listWebhookSubscriptionEvents.d.ts.map +1 -1
- package/lib/operations/listWebhookSubscriptions.d.ts +1 -1
- package/lib/operations/listWebhookSubscriptions.d.ts.map +1 -1
- package/lib/operations/prepareAndSendUserOperation.d.ts +1 -1
- package/lib/operations/prepareAndSendUserOperation.d.ts.map +1 -1
- package/lib/operations/prepareUserOperation.d.ts +1 -1
- package/lib/operations/prepareUserOperation.d.ts.map +1 -1
- package/lib/operations/requestEvmFaucet.d.ts +1 -1
- package/lib/operations/requestEvmFaucet.d.ts.map +1 -1
- package/lib/operations/requestSolanaFaucet.d.ts +1 -1
- package/lib/operations/requestSolanaFaucet.d.ts.map +1 -1
- package/lib/operations/revokeDelegationForEndUser.d.ts +1 -1
- package/lib/operations/revokeDelegationForEndUser.d.ts.map +1 -1
- package/lib/operations/revokeSpendPermission.d.ts +1 -1
- package/lib/operations/revokeSpendPermission.d.ts.map +1 -1
- package/lib/operations/runSQLQuery.d.ts +1 -1
- package/lib/operations/runSQLQuery.d.ts.map +1 -1
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts +1 -1
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendEvmTransaction.d.ts +1 -1
- package/lib/operations/sendEvmTransaction.d.ts.map +1 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts +1 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts +1 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendSolanaTransaction.d.ts +1 -1
- package/lib/operations/sendSolanaTransaction.d.ts.map +1 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts +1 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendUserOperation.d.ts +1 -1
- package/lib/operations/sendUserOperation.d.ts.map +1 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts +1 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/settleX402Payment.d.ts +1 -1
- package/lib/operations/settleX402Payment.d.ts.map +1 -1
- package/lib/operations/signEvmHash.d.ts +1 -1
- package/lib/operations/signEvmHash.d.ts.map +1 -1
- package/lib/operations/signEvmMessage.d.ts +1 -1
- package/lib/operations/signEvmMessage.d.ts.map +1 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts +1 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signEvmTransaction.d.ts +1 -1
- package/lib/operations/signEvmTransaction.d.ts.map +1 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts +1 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signEvmTypedData.d.ts +1 -1
- package/lib/operations/signEvmTypedData.d.ts.map +1 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts +1 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signSolanaMessage.d.ts +1 -1
- package/lib/operations/signSolanaMessage.d.ts.map +1 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts +1 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signSolanaTransaction.d.ts +1 -1
- package/lib/operations/signSolanaTransaction.d.ts.map +1 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts +1 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/supportedX402PaymentKinds.d.ts +1 -1
- package/lib/operations/supportedX402PaymentKinds.d.ts.map +1 -1
- package/lib/operations/updateEvmAccount.d.ts +1 -1
- package/lib/operations/updateEvmAccount.d.ts.map +1 -1
- package/lib/operations/updateEvmSmartAccount.d.ts +1 -1
- package/lib/operations/updateEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/updatePolicy.d.ts +1 -1
- package/lib/operations/updatePolicy.d.ts.map +1 -1
- package/lib/operations/updateSolanaAccount.d.ts +1 -1
- package/lib/operations/updateSolanaAccount.d.ts.map +1 -1
- package/lib/operations/updateWebhookSubscription.d.ts +1 -1
- package/lib/operations/updateWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/validateEndUserAccessToken.d.ts +1 -1
- package/lib/operations/validateEndUserAccessToken.d.ts.map +1 -1
- package/lib/operations/verifyX402Payment.d.ts +1 -1
- package/lib/operations/verifyX402Payment.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +37 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmHash.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gBAAgB;;;EAG+C,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;EAE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmHash.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gBAAgB;;;EAG+C,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;EAE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW;;;;;yDAGrB,CAAC"}
|
|
@@ -29,5 +29,5 @@ export declare const signEvmMessage: import("@distilled.cloud/core/client").Oper
|
|
|
29
29
|
readonly message: string;
|
|
30
30
|
}, {
|
|
31
31
|
readonly signature: string;
|
|
32
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
32
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
33
33
|
//# sourceMappingURL=signEvmMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmMessage.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;EAK/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;EAE/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmMessage.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;EAK/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;EAE/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc;;;;;yDAGxB,CAAC"}
|
|
@@ -40,5 +40,5 @@ export declare const signEvmMessageWithEndUserAccount: import("@distilled.cloud/
|
|
|
40
40
|
readonly walletSecretId?: string | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
readonly signature: string;
|
|
43
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
43
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
44
44
|
//# sourceMappingURL=signEvmMessageWithEndUserAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmMessageWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmMessageWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qCAAqC;;;;;;EAY/C,CAAC;AACJ,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAGpD,eAAO,MAAM,sCAAsC;;EAG/C,CAAC;AACL,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmMessageWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmMessageWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qCAAqC;;;;;;EAY/C,CAAC;AACJ,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAGpD,eAAO,MAAM,sCAAsC;;EAG/C,CAAC;AACL,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;yDAIxC,CAAC"}
|
|
@@ -30,5 +30,5 @@ export declare const signEvmTransaction: import("@distilled.cloud/core/client").
|
|
|
30
30
|
readonly transaction: string;
|
|
31
31
|
}, {
|
|
32
32
|
readonly signedTransaction: string;
|
|
33
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
33
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
34
34
|
//# sourceMappingURL=signEvmTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;EASjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;EAGjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;EASjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;EAGjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;yDAG5B,CAAC"}
|
|
@@ -41,5 +41,5 @@ export declare const signEvmTransactionWithEndUserAccount: import("@distilled.cl
|
|
|
41
41
|
readonly walletSecretId?: string | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
readonly signedTransaction: string;
|
|
44
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
44
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
45
45
|
//# sourceMappingURL=signEvmTransactionWithEndUserAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmTransactionWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTransactionWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yCAAyC;;;;;;EAYnD,CAAC;AACJ,MAAM,MAAM,yCAAyC,GACnD,OAAO,yCAAyC,CAAC,IAAI,CAAC;AAGxD,eAAO,MAAM,0CAA0C;;EAGnD,CAAC;AACL,MAAM,MAAM,0CAA0C,GACpD,OAAO,0CAA0C,CAAC,IAAI,CAAC;AAGzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmTransactionWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTransactionWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yCAAyC;;;;;;EAYnD,CAAC;AACJ,MAAM,MAAM,yCAAyC,GACnD,OAAO,yCAAyC,CAAC,IAAI,CAAC;AAGxD,eAAO,MAAM,0CAA0C;;EAGnD,CAAC;AACL,MAAM,MAAM,0CAA0C,GACpD,OAAO,0CAA0C,CAAC,IAAI,CAAC;AAGzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;yDAI5C,CAAC"}
|
|
@@ -46,5 +46,5 @@ export declare const signEvmTypedData: import("@distilled.cloud/core/client").Op
|
|
|
46
46
|
readonly message: unknown;
|
|
47
47
|
}, {
|
|
48
48
|
readonly signature: string;
|
|
49
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
49
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
50
50
|
//# sourceMappingURL=signEvmTypedData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmTypedData.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAiBjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;EAIlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmTypedData.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAiBjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;EAIlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;yDAG1B,CAAC"}
|
|
@@ -61,5 +61,5 @@ export declare const signEvmTypedDataWithEndUserAccount: import("@distilled.clou
|
|
|
61
61
|
readonly walletSecretId?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
readonly signature: string;
|
|
64
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
64
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
65
65
|
//# sourceMappingURL=signEvmTypedDataWithEndUserAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signEvmTypedDataWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTypedDataWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;EAuBjD,CAAC;AACJ,MAAM,MAAM,uCAAuC,GACjD,OAAO,uCAAuC,CAAC,IAAI,CAAC;AAGtD,eAAO,MAAM,wCAAwC;;EAGjD,CAAC;AACL,MAAM,MAAM,wCAAwC,GAClD,OAAO,wCAAwC,CAAC,IAAI,CAAC;AAGvD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signEvmTypedDataWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTypedDataWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;EAuBjD,CAAC;AACJ,MAAM,MAAM,uCAAuC,GACjD,OAAO,uCAAuC,CAAC,IAAI,CAAC;AAGtD,eAAO,MAAM,wCAAwC;;EAGjD,CAAC;AACL,MAAM,MAAM,wCAAwC,GAClD,OAAO,wCAAwC,CAAC,IAAI,CAAC;AAGvD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;yDAI1C,CAAC"}
|
|
@@ -29,5 +29,5 @@ export declare const signSolanaMessage: import("@distilled.cloud/core/client").O
|
|
|
29
29
|
readonly message: string;
|
|
30
30
|
}, {
|
|
31
31
|
readonly signature: string;
|
|
32
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
32
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
33
33
|
//# sourceMappingURL=signSolanaMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signSolanaMessage.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;EAUlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;EAGhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iBAAiB;;;;;
|
|
1
|
+
{"version":3,"file":"signSolanaMessage.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;EAUlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;EAGhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iBAAiB;;;;;yDAG3B,CAAC"}
|
|
@@ -40,5 +40,5 @@ export declare const signSolanaMessageWithEndUserAccount: import("@distilled.clo
|
|
|
40
40
|
readonly walletSecretId?: string | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
readonly signature: string;
|
|
43
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
43
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
44
44
|
//# sourceMappingURL=signSolanaMessageWithEndUserAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signSolanaMessageWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaMessageWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wCAAwC;;;;;;EAYlD,CAAC;AACJ,MAAM,MAAM,wCAAwC,GAClD,OAAO,wCAAwC,CAAC,IAAI,CAAC;AAGvD,eAAO,MAAM,yCAAyC;;EAGlD,CAAC;AACL,MAAM,MAAM,yCAAyC,GACnD,OAAO,yCAAyC,CAAC,IAAI,CAAC;AAGxD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signSolanaMessageWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaMessageWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wCAAwC;;;;;;EAYlD,CAAC;AACJ,MAAM,MAAM,wCAAwC,GAClD,OAAO,wCAAwC,CAAC,IAAI,CAAC;AAGvD,eAAO,MAAM,yCAAyC;;EAGlD,CAAC;AACL,MAAM,MAAM,yCAAyC,GACnD,OAAO,yCAAyC,CAAC,IAAI,CAAC;AAGxD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;yDAI3C,CAAC"}
|
|
@@ -34,5 +34,5 @@ export declare const signSolanaTransaction: import("@distilled.cloud/core/client
|
|
|
34
34
|
readonly transaction: string;
|
|
35
35
|
}, {
|
|
36
36
|
readonly signedTransaction: string;
|
|
37
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
37
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
38
38
|
//# sourceMappingURL=signSolanaTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signSolanaTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EASpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;EAGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,qBAAqB;;;;;
|
|
1
|
+
{"version":3,"file":"signSolanaTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EASpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;EAGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,qBAAqB;;;;;yDAKjC,CAAC"}
|
|
@@ -45,5 +45,5 @@ export declare const signSolanaTransactionWithEndUserAccount: import("@distilled
|
|
|
45
45
|
readonly walletSecretId?: string | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
readonly signedTransaction: string;
|
|
48
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
48
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
49
49
|
//# sourceMappingURL=signSolanaTransactionWithEndUserAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signSolanaTransactionWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaTransactionWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4CAA4C;;;;;;EAYtD,CAAC;AACJ,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D,eAAO,MAAM,6CAA6C;;EAGtD,CAAC;AACL,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signSolanaTransactionWithEndUserAccount.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaTransactionWithEndUserAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4CAA4C;;;;;;EAYtD,CAAC;AACJ,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D,eAAO,MAAM,6CAA6C;;EAGtD,CAAC;AACL,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;yDAI/C,CAAC"}
|
|
@@ -30,5 +30,5 @@ export declare const supportedX402PaymentKinds: import("@distilled.cloud/core/cl
|
|
|
30
30
|
readonly signers: {
|
|
31
31
|
readonly [x: string]: readonly string[];
|
|
32
32
|
};
|
|
33
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
33
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
34
34
|
//# sourceMappingURL=supportedX402PaymentKinds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supportedX402PaymentKinds.d.ts","sourceRoot":"","sources":["../../src/operations/supportedX402PaymentKinds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B,mBAGxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;EAuBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"supportedX402PaymentKinds.d.ts","sourceRoot":"","sources":["../../src/operations/supportedX402PaymentKinds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B,mBAGxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;EAuBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;yDAKrC,CAAC"}
|
|
@@ -34,5 +34,5 @@ export declare const updateEvmAccount: import("@distilled.cloud/core/client").Op
|
|
|
34
34
|
readonly policies?: readonly string[] | undefined;
|
|
35
35
|
readonly createdAt?: string | undefined;
|
|
36
36
|
readonly updatedAt?: string | undefined;
|
|
37
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
37
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
38
38
|
//# sourceMappingURL=updateEvmAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;EAIoC,CAAC;AACvE,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;EAQlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"updateEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;EAIoC,CAAC;AACvE,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;EAQlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;yDAG1B,CAAC"}
|
|
@@ -30,5 +30,5 @@ export declare const updateEvmSmartAccount: import("@distilled.cloud/core/client
|
|
|
30
30
|
readonly policies?: readonly string[] | undefined;
|
|
31
31
|
readonly createdAt?: string | undefined;
|
|
32
32
|
readonly updatedAt?: string | undefined;
|
|
33
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
33
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
34
34
|
//# sourceMappingURL=updateEvmSmartAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAIuC,CAAC;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;EAQpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"updateEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAIuC,CAAC;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;EAQpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;yDAKjC,CAAC"}
|
|
@@ -36,5 +36,5 @@ export declare const updatePolicy: import("@distilled.cloud/core/client").Operat
|
|
|
36
36
|
readonly rules: readonly unknown[];
|
|
37
37
|
readonly createdAt: string;
|
|
38
38
|
readonly updatedAt: string;
|
|
39
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
39
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
40
40
|
//# sourceMappingURL=updatePolicy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePolicy.d.ts","sourceRoot":"","sources":["../../src/operations/updatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAM7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"updatePolicy.d.ts","sourceRoot":"","sources":["../../src/operations/updatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAM7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;yDAGtB,CAAC"}
|
|
@@ -34,5 +34,5 @@ export declare const updateSolanaAccount: import("@distilled.cloud/core/client")
|
|
|
34
34
|
readonly policies?: readonly string[] | undefined;
|
|
35
35
|
readonly createdAt?: string | undefined;
|
|
36
36
|
readonly updatedAt?: string | undefined;
|
|
37
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
37
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
38
38
|
//# sourceMappingURL=updateSolanaAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;EAKsC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;EAOlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"updateSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;EAKsC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;EAOlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;yDAG7B,CAAC"}
|
|
@@ -81,5 +81,5 @@ export declare const updateWebhookSubscription: import("@distilled.cloud/core/cl
|
|
|
81
81
|
readonly labels?: {
|
|
82
82
|
readonly [x: string]: string;
|
|
83
83
|
} | undefined;
|
|
84
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
84
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
85
85
|
//# sourceMappingURL=updateWebhookSubscription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAiBxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAmBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"updateWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAiBxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAmBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAKrC,CAAC"}
|
|
@@ -71,5 +71,5 @@ export declare const validateEndUserAccessToken: import("@distilled.cloud/core/c
|
|
|
71
71
|
readonly createdAt: string;
|
|
72
72
|
}[];
|
|
73
73
|
readonly createdAt: string;
|
|
74
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
74
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
75
75
|
//# sourceMappingURL=validateEndUserAccessToken.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateEndUserAccessToken.d.ts","sourceRoot":"","sources":["../../src/operations/validateEndUserAccessToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,+BAA+B;;EAKzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"validateEndUserAccessToken.d.ts","sourceRoot":"","sources":["../../src/operations/validateEndUserAccessToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,+BAA+B;;EAKzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAKtC,CAAC"}
|
|
@@ -26,5 +26,5 @@ export declare const verifyX402Payment: import("@distilled.cloud/core/client").O
|
|
|
26
26
|
readonly invalidReason?: "insufficient_funds" | "invalid_exact_evm_payload_authorization_from_address_kyt" | "invalid_exact_evm_payload_authorization_to_address_kyt" | "invalid_exact_evm_payload_authorization_typed_data_message" | "invalid_exact_evm_payload_authorization_valid_after" | "invalid_exact_evm_payload_authorization_valid_before" | "invalid_exact_evm_payload_authorization_value" | "invalid_exact_evm_payload_authorization_value_too_low" | "invalid_exact_evm_payload_signature" | "invalid_exact_evm_payload_signature_address" | "invalid_exact_evm_permit2_payload_allowance_required" | "invalid_exact_evm_permit2_payload_amount" | "invalid_exact_evm_permit2_payload_deadline" | "invalid_exact_evm_permit2_payload_recipient" | "invalid_exact_evm_permit2_payload_signature" | "invalid_exact_evm_permit2_payload_spender" | "invalid_exact_evm_permit2_payload_valid_after" | "invalid_exact_svm_payload_transaction" | "invalid_exact_svm_payload_transaction_amount_mismatch" | "invalid_exact_svm_payload_transaction_cannot_derive_receiver_ata" | "invalid_exact_svm_payload_transaction_create_ata_instruction" | "invalid_exact_svm_payload_transaction_create_ata_instruction_incorrect_asset" | "invalid_exact_svm_payload_transaction_create_ata_instruction_incorrect_payee" | "invalid_exact_svm_payload_transaction_fee_payer_included_in_instruction_accounts" | "invalid_exact_svm_payload_transaction_fee_payer_transferring_funds" | "invalid_exact_svm_payload_transaction_instruction_not_spl_token_transfer_checked" | "invalid_exact_svm_payload_transaction_instruction_not_token_2022_transfer_checked" | "invalid_exact_svm_payload_transaction_instructions" | "invalid_exact_svm_payload_transaction_instructions_compute_limit_instruction" | "invalid_exact_svm_payload_transaction_instructions_compute_price_instruction" | "invalid_exact_svm_payload_transaction_instructions_compute_price_instruction_too_high" | "invalid_exact_svm_payload_transaction_instructions_length" | "invalid_exact_svm_payload_transaction_not_a_transfer_instruction" | "invalid_exact_svm_payload_transaction_receiver_ata_not_found" | "invalid_exact_svm_payload_transaction_sender_ata_not_found" | "invalid_exact_svm_payload_transaction_simulation_failed" | "invalid_exact_svm_payload_transaction_transfer_to_incorrect_ata" | "invalid_network" | "invalid_payload" | "invalid_payment_requirements" | "invalid_scheme" | "invalid_x402_version" | "unknown_error" | undefined;
|
|
27
27
|
readonly invalidMessage?: string | undefined;
|
|
28
28
|
readonly payer: string;
|
|
29
|
-
}, never, import("../credentials.ts").Credentials>;
|
|
29
|
+
}, never, import("../credentials.ts").Credentials, never>;
|
|
30
30
|
//# sourceMappingURL=verifyX402Payment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyX402Payment.d.ts","sourceRoot":"","sources":["../../src/operations/verifyX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;EAoDhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"verifyX402Payment.d.ts","sourceRoot":"","sources":["../../src/operations/verifyX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;EAoDhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;yDAG3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/coinbase",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"specs:update": "git -C specs/cdp-sdk fetch && git -C specs/cdp-sdk checkout main && git -C specs/cdp-sdk pull"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@distilled.cloud/core": "0.
|
|
77
|
+
"@distilled.cloud/core": "0.26.1"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@types/bun": "^1.3.0",
|
package/src/client.ts
CHANGED
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
*
|
|
31
31
|
* Errors are dispatched first by `errorType`, then by HTTP status code.
|
|
32
32
|
*/
|
|
33
|
+
import { makeAPI } from "@distilled.cloud/core/client";
|
|
34
|
+
import { parseRetryAfterForStatus } from "@distilled.cloud/core/retry-after";
|
|
33
35
|
import * as Effect from "effect/Effect";
|
|
34
36
|
import * as Redacted from "effect/Redacted";
|
|
35
37
|
import * as Schema from "effect/Schema";
|
|
36
38
|
import * as crypto from "node:crypto";
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { Retry } from "./retry.ts";
|
|
39
|
+
import type { Config } from "./credentials.ts";
|
|
40
|
+
import { Credentials } from "./credentials.ts";
|
|
40
41
|
import {
|
|
41
|
-
HTTP_STATUS_MAP,
|
|
42
42
|
COINBASE_HTTP_STATUS_MAP,
|
|
43
|
+
CoinbaseParseError,
|
|
43
44
|
ERROR_TYPE_MAP,
|
|
45
|
+
HTTP_STATUS_MAP,
|
|
44
46
|
STANDARD_ERROR_TYPE_MAP,
|
|
45
47
|
UnknownCoinbaseError,
|
|
46
|
-
CoinbaseParseError,
|
|
47
48
|
} from "./errors.ts";
|
|
48
|
-
import
|
|
49
|
-
import { Credentials } from "./credentials.ts";
|
|
49
|
+
import { Retry } from "./retry.ts";
|
|
50
50
|
|
|
51
51
|
// Re-export for convenience
|
|
52
52
|
export { UnknownCoinbaseError } from "./errors.ts";
|
|
@@ -115,9 +115,14 @@ const resolveSigningKey = (
|
|
|
115
115
|
*
|
|
116
116
|
* The JWT includes:
|
|
117
117
|
* - header: { alg, kid, typ: "JWT", nonce }
|
|
118
|
-
* - payload: { sub, iss: "cdp",
|
|
118
|
+
* - payload: { sub, iss: "cdp", aud, nbf, exp, uri }
|
|
119
119
|
*/
|
|
120
|
-
const generateJwt = (
|
|
120
|
+
const generateJwt = (
|
|
121
|
+
apiKeyId: string,
|
|
122
|
+
apiKeySecret: string,
|
|
123
|
+
method: string,
|
|
124
|
+
uri: string,
|
|
125
|
+
): string => {
|
|
121
126
|
const { jwsAlg, key } = resolveSigningKey(apiKeySecret);
|
|
122
127
|
|
|
123
128
|
const now = Math.floor(Date.now() / 1000);
|
|
@@ -130,9 +135,10 @@ const generateJwt = (apiKeyId: string, apiKeySecret: string): string => {
|
|
|
130
135
|
const payload = {
|
|
131
136
|
sub: apiKeyId,
|
|
132
137
|
iss: "cdp",
|
|
133
|
-
|
|
138
|
+
aud: ["cdp_service"],
|
|
134
139
|
nbf: now,
|
|
135
140
|
exp: now + 120,
|
|
141
|
+
uri: `${method} ${uri}`,
|
|
136
142
|
};
|
|
137
143
|
|
|
138
144
|
const headerB64 = base64url(Buffer.from(JSON.stringify(header)));
|
|
@@ -218,7 +224,15 @@ const matchError = (
|
|
|
218
224
|
errorBody: unknown,
|
|
219
225
|
_errors?: readonly unknown[],
|
|
220
226
|
headers?: Record<string, string | undefined>,
|
|
221
|
-
): Effect.Effect<
|
|
227
|
+
): Effect.Effect<unknown, unknown> => {
|
|
228
|
+
if (
|
|
229
|
+
errorBody &&
|
|
230
|
+
typeof errorBody === "object" &&
|
|
231
|
+
("isValid" in errorBody || "success" in errorBody)
|
|
232
|
+
) {
|
|
233
|
+
return Effect.succeed(errorBody);
|
|
234
|
+
}
|
|
235
|
+
|
|
222
236
|
try {
|
|
223
237
|
const parsed = Schema.decodeUnknownSync(CoinbaseErrorResponse)(errorBody);
|
|
224
238
|
const errorProps = {
|
|
@@ -289,14 +303,22 @@ const matchError = (
|
|
|
289
303
|
export const API = makeAPI<Credentials>({
|
|
290
304
|
credentials: Credentials as any,
|
|
291
305
|
getBaseUrl: (creds: any) => (creds as Config).apiBaseUrl,
|
|
292
|
-
getAuthHeaders: (
|
|
293
|
-
|
|
294
|
-
const
|
|
306
|
+
getAuthHeaders: () => ({}),
|
|
307
|
+
getRequestHeaders: (_requestOptions, { method, parts, credentials }) => {
|
|
308
|
+
const c = credentials as any;
|
|
309
|
+
const baseUrl = new URL(c.apiBaseUrl);
|
|
310
|
+
const uri = `${baseUrl.host}${baseUrl.pathname}${parts.path}`;
|
|
311
|
+
const jwt = generateJwt(
|
|
312
|
+
c.apiKeyId,
|
|
313
|
+
Redacted.value(c.apiKeySecret),
|
|
314
|
+
method,
|
|
315
|
+
uri,
|
|
316
|
+
);
|
|
295
317
|
return {
|
|
296
318
|
Authorization: `Bearer ${jwt}`,
|
|
297
319
|
};
|
|
298
320
|
},
|
|
299
|
-
matchError,
|
|
321
|
+
matchError: matchError as any,
|
|
300
322
|
ParseError: CoinbaseParseError as any,
|
|
301
323
|
retry: Retry as any,
|
|
302
324
|
});
|