@distilled.cloud/coinbase 0.19.1 → 0.20.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/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts +2 -2
- package/lib/operations/createEndUser.d.ts +16 -16
- package/lib/operations/createEvmAccount.d.ts +2 -2
- package/lib/operations/createEvmEip7702Delegation.d.ts +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts +3 -3
- package/lib/operations/createEvmSmartAccount.d.ts +3 -3
- package/lib/operations/createEvmSwapQuote.d.ts +5 -5
- package/lib/operations/createOnrampOrder.d.ts +15 -15
- package/lib/operations/createOnrampSession.d.ts +17 -17
- package/lib/operations/createPolicy.d.ts +4 -4
- package/lib/operations/createSolanaAccount.d.ts +2 -2
- package/lib/operations/createSpendPermission.d.ts +15 -15
- package/lib/operations/createWebhookSubscription.d.ts +12 -12
- package/lib/operations/exportEvmAccountByName.d.ts +1 -1
- package/lib/operations/exportSolanaAccountByName.d.ts +1 -1
- package/lib/operations/getDelegationForEndUser.d.ts +1 -1
- package/lib/operations/getEndUser.d.ts +15 -15
- package/lib/operations/getEvmAccount.d.ts +1 -1
- package/lib/operations/getEvmAccountByName.d.ts +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +2 -2
- package/lib/operations/getEvmSmartAccount.d.ts +2 -2
- package/lib/operations/getEvmSmartAccountByName.d.ts +2 -2
- package/lib/operations/getEvmSwapPrice.d.ts +5 -5
- package/lib/operations/getOnrampOrderById.d.ts +12 -12
- package/lib/operations/getOnrampUserLimits.d.ts +1 -1
- package/lib/operations/getPolicyById.d.ts +3 -3
- package/lib/operations/getSQLSchema.d.ts +5 -5
- package/lib/operations/getSolanaAccount.d.ts +1 -1
- package/lib/operations/getSolanaAccountByName.d.ts +1 -1
- package/lib/operations/getUserOperation.d.ts +9 -9
- package/lib/operations/getWebhookSubscription.d.ts +5 -5
- package/lib/operations/importEndUser.d.ts +16 -16
- package/lib/operations/importEvmAccount.d.ts +2 -2
- package/lib/operations/importSolanaAccount.d.ts +1 -1
- package/lib/operations/listDataTokenBalances.d.ts +2 -2
- package/lib/operations/listEndUsers.d.ts +15 -15
- package/lib/operations/listEvmAccounts.d.ts +1 -1
- package/lib/operations/listEvmSmartAccounts.d.ts +2 -2
- package/lib/operations/listEvmTokenBalances.d.ts +2 -2
- package/lib/operations/listPolicies.d.ts +4 -4
- package/lib/operations/listSolanaAccounts.d.ts +1 -1
- package/lib/operations/listSolanaTokenBalances.d.ts +2 -2
- package/lib/operations/listSpendPermissions.d.ts +8 -8
- package/lib/operations/listTokensForAccount.d.ts +1 -1
- package/lib/operations/listWebhookSubscriptionEvents.d.ts +9 -9
- package/lib/operations/listWebhookSubscriptions.d.ts +6 -6
- package/lib/operations/prepareAndSendUserOperation.d.ts +12 -12
- package/lib/operations/prepareUserOperation.d.ts +13 -13
- package/lib/operations/requestEvmFaucet.d.ts +1 -1
- package/lib/operations/revokeSpendPermission.d.ts +10 -10
- package/lib/operations/runSQLQuery.d.ts +7 -7
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts +4 -4
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts +3 -3
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts +5 -5
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts +3 -3
- package/lib/operations/sendUserOperation.d.ts +10 -10
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts +16 -16
- package/lib/operations/settleX402Payment.d.ts +5 -5
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts +2 -2
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts +2 -2
- package/lib/operations/signEvmTypedData.d.ts +5 -5
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts +7 -7
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts +2 -2
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts +2 -2
- package/lib/operations/supportedX402PaymentKinds.d.ts +4 -4
- package/lib/operations/updateEvmAccount.d.ts +2 -2
- package/lib/operations/updateEvmSmartAccount.d.ts +2 -2
- package/lib/operations/updatePolicy.d.ts +4 -4
- package/lib/operations/updateSolanaAccount.d.ts +2 -2
- package/lib/operations/updateWebhookSubscription.d.ts +13 -13
- package/lib/operations/validateEndUserAccessToken.d.ts +15 -15
- package/lib/operations/verifyX402Payment.d.ts +3 -3
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -47,28 +47,28 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
47
47
|
export declare const revokeSpendPermission: import("@distilled.cloud/core/client").OperationMethod<{
|
|
48
48
|
readonly address: string;
|
|
49
49
|
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
50
|
-
readonly paymasterUrl?: string | undefined;
|
|
51
50
|
readonly permissionHash: string;
|
|
51
|
+
readonly paymasterUrl?: string | undefined;
|
|
52
52
|
}, {
|
|
53
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
54
|
+
readonly userOpHash: string;
|
|
53
55
|
readonly calls: readonly {
|
|
54
|
-
readonly data: string;
|
|
55
|
-
readonly overrideGasLimit?: string | undefined;
|
|
56
56
|
readonly to: string;
|
|
57
57
|
readonly value: string;
|
|
58
|
+
readonly data: string;
|
|
59
|
+
readonly overrideGasLimit?: string | undefined;
|
|
58
60
|
}[];
|
|
59
|
-
readonly
|
|
61
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
62
|
+
readonly transactionHash?: string | undefined;
|
|
60
63
|
readonly receipts?: readonly {
|
|
61
|
-
readonly blockHash?: string | undefined;
|
|
62
|
-
readonly blockNumber?: number | undefined;
|
|
63
|
-
readonly gasUsed?: string | undefined;
|
|
64
64
|
readonly revert?: {
|
|
65
65
|
readonly data: string;
|
|
66
66
|
readonly message: string;
|
|
67
67
|
} | undefined;
|
|
68
68
|
readonly transactionHash?: string | undefined;
|
|
69
|
+
readonly blockHash?: string | undefined;
|
|
70
|
+
readonly blockNumber?: number | undefined;
|
|
71
|
+
readonly gasUsed?: string | undefined;
|
|
69
72
|
}[] | undefined;
|
|
70
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
71
|
-
readonly transactionHash?: string | undefined;
|
|
72
|
-
readonly userOpHash: string;
|
|
73
73
|
}, never, import("../credentials.ts").Credentials>;
|
|
74
74
|
//# sourceMappingURL=revokeSpendPermission.d.ts.map
|
|
@@ -56,17 +56,11 @@ export type RunSQLQueryOutput = typeof RunSQLQueryOutput.Type;
|
|
|
56
56
|
* This can be helpful for users who wish to reduce expensive calls to the SQL API by reusing cached results.
|
|
57
57
|
*/
|
|
58
58
|
export declare const runSQLQuery: import("@distilled.cloud/core/client").OperationMethod<{
|
|
59
|
+
readonly sql: string;
|
|
59
60
|
readonly cache?: {
|
|
60
61
|
readonly maxAgeMs?: number | undefined;
|
|
61
62
|
} | undefined;
|
|
62
|
-
readonly sql: string;
|
|
63
63
|
}, {
|
|
64
|
-
readonly metadata?: {
|
|
65
|
-
readonly cached?: boolean | undefined;
|
|
66
|
-
readonly executionTimeMs?: number | undefined;
|
|
67
|
-
readonly executionTimestamp?: string | undefined;
|
|
68
|
-
readonly rowCount?: number | undefined;
|
|
69
|
-
} | undefined;
|
|
70
64
|
readonly result?: readonly {
|
|
71
65
|
readonly [x: string]: unknown;
|
|
72
66
|
}[] | undefined;
|
|
@@ -76,5 +70,11 @@ export declare const runSQLQuery: import("@distilled.cloud/core/client").Operati
|
|
|
76
70
|
readonly type?: "Bool" | "Date" | "DateTime" | "DateTime64" | "Float32" | "Float64" | "Int128" | "Int16" | "Int256" | "Int32" | "Int64" | "Int8" | "String" | "UInt128" | "UInt16" | "UInt256" | "UInt32" | "UInt64" | "UInt8" | "UUID" | undefined;
|
|
77
71
|
}[] | undefined;
|
|
78
72
|
} | undefined;
|
|
73
|
+
readonly metadata?: {
|
|
74
|
+
readonly cached?: boolean | undefined;
|
|
75
|
+
readonly executionTimestamp?: string | undefined;
|
|
76
|
+
readonly executionTimeMs?: number | undefined;
|
|
77
|
+
readonly rowCount?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
79
|
}, never, import("../credentials.ts").Credentials>;
|
|
80
80
|
//# sourceMappingURL=runSQLQuery.d.ts.map
|
|
@@ -41,15 +41,15 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
41
41
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
42
42
|
*/
|
|
43
43
|
export declare const sendEvmAssetWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
44
|
+
readonly userId: string;
|
|
44
45
|
readonly address: string;
|
|
45
|
-
readonly amount: string;
|
|
46
46
|
readonly asset: "usdc";
|
|
47
|
-
readonly network: "arbitrum" | "arbitrum-sepolia" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
48
|
-
readonly paymasterUrl?: string | undefined;
|
|
49
47
|
readonly projectID?: string | undefined;
|
|
50
48
|
readonly to: string;
|
|
49
|
+
readonly amount: string;
|
|
50
|
+
readonly network: "arbitrum" | "arbitrum-sepolia" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
51
51
|
readonly useCdpPaymaster?: boolean | undefined;
|
|
52
|
-
readonly
|
|
52
|
+
readonly paymasterUrl?: string | undefined;
|
|
53
53
|
readonly walletSecretId?: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
readonly transactionHash?: string | null | undefined;
|
|
@@ -49,12 +49,12 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
49
49
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
50
50
|
*/
|
|
51
51
|
export declare const sendEvmTransactionWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
52
|
+
readonly userId: string;
|
|
53
|
+
readonly projectID?: string | undefined;
|
|
52
54
|
readonly address: string;
|
|
53
55
|
readonly network: "arbitrum" | "arbitrum-sepolia" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
54
|
-
readonly projectID?: string | undefined;
|
|
55
|
-
readonly transaction: string;
|
|
56
|
-
readonly userId: string;
|
|
57
56
|
readonly walletSecretId?: string | undefined;
|
|
57
|
+
readonly transaction: string;
|
|
58
58
|
}, {
|
|
59
59
|
readonly transactionHash: string;
|
|
60
60
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -41,16 +41,16 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
41
41
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
42
42
|
*/
|
|
43
43
|
export declare const sendSolanaAssetWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
44
|
+
readonly userId: string;
|
|
44
45
|
readonly address: string;
|
|
45
|
-
readonly amount: string;
|
|
46
46
|
readonly asset: "usdc";
|
|
47
|
-
readonly createRecipientAta?: boolean | undefined;
|
|
48
|
-
readonly network: "solana" | "solana-devnet";
|
|
49
47
|
readonly projectID?: string | undefined;
|
|
50
48
|
readonly to: string;
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
49
|
+
readonly amount: string;
|
|
50
|
+
readonly network: "solana" | "solana-devnet";
|
|
51
|
+
readonly createRecipientAta?: boolean | undefined;
|
|
53
52
|
readonly walletSecretId?: string | undefined;
|
|
53
|
+
readonly useCdpSponsor?: boolean | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
readonly transactionSignature: string;
|
|
56
56
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -47,13 +47,13 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
47
47
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
48
48
|
*/
|
|
49
49
|
export declare const sendSolanaTransactionWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
50
|
+
readonly userId: string;
|
|
51
|
+
readonly projectID?: string | undefined;
|
|
50
52
|
readonly address: string;
|
|
51
53
|
readonly network: "solana" | "solana-devnet";
|
|
52
|
-
readonly
|
|
54
|
+
readonly walletSecretId?: string | undefined;
|
|
53
55
|
readonly transaction: string;
|
|
54
56
|
readonly useCdpSponsor?: boolean | undefined;
|
|
55
|
-
readonly userId: string;
|
|
56
|
-
readonly walletSecretId?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
readonly transactionSignature: string;
|
|
59
59
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -41,28 +41,28 @@ export type SendUserOperationOutput = typeof SendUserOperationOutput.Type;
|
|
|
41
41
|
*/
|
|
42
42
|
export declare const sendUserOperation: import("@distilled.cloud/core/client").OperationMethod<{
|
|
43
43
|
readonly address: string;
|
|
44
|
-
readonly signature: string;
|
|
45
44
|
readonly userOpHash: string;
|
|
45
|
+
readonly signature: string;
|
|
46
46
|
}, {
|
|
47
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
48
|
+
readonly userOpHash: string;
|
|
47
49
|
readonly calls: readonly {
|
|
48
|
-
readonly data: string;
|
|
49
|
-
readonly overrideGasLimit?: string | undefined;
|
|
50
50
|
readonly to: string;
|
|
51
51
|
readonly value: string;
|
|
52
|
+
readonly data: string;
|
|
53
|
+
readonly overrideGasLimit?: string | undefined;
|
|
52
54
|
}[];
|
|
53
|
-
readonly
|
|
55
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
56
|
+
readonly transactionHash?: string | undefined;
|
|
54
57
|
readonly receipts?: readonly {
|
|
55
|
-
readonly blockHash?: string | undefined;
|
|
56
|
-
readonly blockNumber?: number | undefined;
|
|
57
|
-
readonly gasUsed?: string | undefined;
|
|
58
58
|
readonly revert?: {
|
|
59
59
|
readonly data: string;
|
|
60
60
|
readonly message: string;
|
|
61
61
|
} | undefined;
|
|
62
62
|
readonly transactionHash?: string | undefined;
|
|
63
|
+
readonly blockHash?: string | undefined;
|
|
64
|
+
readonly blockNumber?: number | undefined;
|
|
65
|
+
readonly gasUsed?: string | undefined;
|
|
63
66
|
}[] | undefined;
|
|
64
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
65
|
-
readonly transactionHash?: string | undefined;
|
|
66
|
-
readonly userOpHash: string;
|
|
67
67
|
}, never, import("../credentials.ts").Credentials>;
|
|
68
68
|
//# sourceMappingURL=sendUserOperation.d.ts.map
|
|
@@ -61,40 +61,40 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
61
61
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
62
62
|
*/
|
|
63
63
|
export declare const sendUserOperationWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
64
|
+
readonly userId: string;
|
|
64
65
|
readonly address: string;
|
|
66
|
+
readonly projectID?: string | undefined;
|
|
67
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
65
68
|
readonly calls: readonly {
|
|
66
|
-
readonly data: string;
|
|
67
|
-
readonly overrideGasLimit?: string | undefined;
|
|
68
69
|
readonly to: string;
|
|
69
70
|
readonly value: string;
|
|
71
|
+
readonly data: string;
|
|
72
|
+
readonly overrideGasLimit?: string | undefined;
|
|
70
73
|
}[];
|
|
71
|
-
readonly dataSuffix?: string | undefined;
|
|
72
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
73
|
-
readonly paymasterUrl?: string | undefined;
|
|
74
|
-
readonly projectID?: string | undefined;
|
|
75
74
|
readonly useCdpPaymaster: boolean;
|
|
76
|
-
readonly
|
|
75
|
+
readonly paymasterUrl?: string | undefined;
|
|
77
76
|
readonly walletSecretId?: string | undefined;
|
|
77
|
+
readonly dataSuffix?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
80
|
+
readonly userOpHash: string;
|
|
79
81
|
readonly calls: readonly {
|
|
80
|
-
readonly data: string;
|
|
81
|
-
readonly overrideGasLimit?: string | undefined;
|
|
82
82
|
readonly to: string;
|
|
83
83
|
readonly value: string;
|
|
84
|
+
readonly data: string;
|
|
85
|
+
readonly overrideGasLimit?: string | undefined;
|
|
84
86
|
}[];
|
|
85
|
-
readonly
|
|
87
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
88
|
+
readonly transactionHash?: string | undefined;
|
|
86
89
|
readonly receipts?: readonly {
|
|
87
|
-
readonly blockHash?: string | undefined;
|
|
88
|
-
readonly blockNumber?: number | undefined;
|
|
89
|
-
readonly gasUsed?: string | undefined;
|
|
90
90
|
readonly revert?: {
|
|
91
91
|
readonly data: string;
|
|
92
92
|
readonly message: string;
|
|
93
93
|
} | undefined;
|
|
94
94
|
readonly transactionHash?: string | undefined;
|
|
95
|
+
readonly blockHash?: string | undefined;
|
|
96
|
+
readonly blockNumber?: number | undefined;
|
|
97
|
+
readonly gasUsed?: string | undefined;
|
|
95
98
|
}[] | undefined;
|
|
96
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
97
|
-
readonly transactionHash?: string | undefined;
|
|
98
|
-
readonly userOpHash: string;
|
|
99
99
|
}, never, import("../credentials.ts").Credentials>;
|
|
100
100
|
//# sourceMappingURL=sendUserOperationWithEndUserAccount.d.ts.map
|
|
@@ -21,16 +21,16 @@ export type SettleX402PaymentOutput = typeof SettleX402PaymentOutput.Type;
|
|
|
21
21
|
* Settle an x402 protocol payment with a specific scheme and network.
|
|
22
22
|
*/
|
|
23
23
|
export declare const settleX402Payment: import("@distilled.cloud/core/client").OperationMethod<{
|
|
24
|
+
readonly x402Version: 1 | 2;
|
|
24
25
|
readonly paymentPayload: unknown;
|
|
25
26
|
readonly paymentRequirements: unknown;
|
|
26
|
-
readonly x402Version: 1 | 2;
|
|
27
27
|
}, {
|
|
28
|
-
readonly
|
|
29
|
-
readonly errorMessage?: string | undefined;
|
|
28
|
+
readonly success: boolean;
|
|
30
29
|
readonly errorReason?: "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" | "settle_exact_evm_transaction_confirmation_timed_out" | "settle_exact_failed_onchain" | "settle_exact_node_failure" | "settle_exact_svm_block_height_exceeded" | "settle_exact_svm_transaction_confirmation_timed_out" | "unknown_error" | undefined;
|
|
31
|
-
readonly
|
|
30
|
+
readonly errorMessage?: string | undefined;
|
|
32
31
|
readonly payer: string;
|
|
33
|
-
readonly success: boolean;
|
|
34
32
|
readonly transaction: string;
|
|
33
|
+
readonly network: string;
|
|
34
|
+
readonly amount?: string | undefined;
|
|
35
35
|
}, never, import("../credentials.ts").Credentials>;
|
|
36
36
|
//# sourceMappingURL=settleX402Payment.d.ts.map
|
|
@@ -33,10 +33,10 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
33
33
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
34
34
|
*/
|
|
35
35
|
export declare const signEvmMessageWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
+
readonly userId: string;
|
|
37
|
+
readonly projectID?: string | undefined;
|
|
36
38
|
readonly address: string;
|
|
37
39
|
readonly message: string;
|
|
38
|
-
readonly projectID?: string | undefined;
|
|
39
|
-
readonly userId: string;
|
|
40
40
|
readonly walletSecretId?: string | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
readonly signature: string;
|
|
@@ -34,10 +34,10 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
34
34
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
35
35
|
*/
|
|
36
36
|
export declare const signEvmTransactionWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
37
|
-
readonly
|
|
37
|
+
readonly userId: string;
|
|
38
38
|
readonly projectID?: string | undefined;
|
|
39
|
+
readonly address: string;
|
|
39
40
|
readonly transaction: string;
|
|
40
|
-
readonly userId: string;
|
|
41
41
|
readonly walletSecretId?: string | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
readonly signedTransaction: string;
|
|
@@ -35,15 +35,15 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
35
35
|
export declare const signEvmTypedData: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
36
|
readonly address: string;
|
|
37
37
|
readonly domain: {
|
|
38
|
-
readonly chainId?: number | undefined;
|
|
39
38
|
readonly name?: string | undefined;
|
|
40
|
-
readonly salt?: string | undefined;
|
|
41
|
-
readonly verifyingContract?: string | undefined;
|
|
42
39
|
readonly version?: string | undefined;
|
|
40
|
+
readonly chainId?: number | undefined;
|
|
41
|
+
readonly verifyingContract?: string | undefined;
|
|
42
|
+
readonly salt?: string | undefined;
|
|
43
43
|
};
|
|
44
|
-
readonly message: unknown;
|
|
45
|
-
readonly primaryType: string;
|
|
46
44
|
readonly types: unknown;
|
|
45
|
+
readonly primaryType: string;
|
|
46
|
+
readonly message: unknown;
|
|
47
47
|
}, {
|
|
48
48
|
readonly signature: string;
|
|
49
49
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -43,21 +43,21 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
43
43
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
44
44
|
*/
|
|
45
45
|
export declare const signEvmTypedDataWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
46
|
-
readonly
|
|
46
|
+
readonly userId: string;
|
|
47
47
|
readonly projectID?: string | undefined;
|
|
48
|
+
readonly address: string;
|
|
48
49
|
readonly typedData: {
|
|
49
50
|
readonly domain: {
|
|
50
|
-
readonly chainId?: number | undefined;
|
|
51
51
|
readonly name?: string | undefined;
|
|
52
|
-
readonly salt?: string | undefined;
|
|
53
|
-
readonly verifyingContract?: string | undefined;
|
|
54
52
|
readonly version?: string | undefined;
|
|
53
|
+
readonly chainId?: number | undefined;
|
|
54
|
+
readonly verifyingContract?: string | undefined;
|
|
55
|
+
readonly salt?: string | undefined;
|
|
55
56
|
};
|
|
56
|
-
readonly message: unknown;
|
|
57
|
-
readonly primaryType: string;
|
|
58
57
|
readonly types: unknown;
|
|
58
|
+
readonly primaryType: string;
|
|
59
|
+
readonly message: unknown;
|
|
59
60
|
};
|
|
60
|
-
readonly userId: string;
|
|
61
61
|
readonly walletSecretId?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
readonly signature: string;
|
|
@@ -33,10 +33,10 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
33
33
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
34
34
|
*/
|
|
35
35
|
export declare const signSolanaMessageWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
+
readonly userId: string;
|
|
37
|
+
readonly projectID?: string | undefined;
|
|
36
38
|
readonly address: string;
|
|
37
39
|
readonly message: string;
|
|
38
|
-
readonly projectID?: string | undefined;
|
|
39
|
-
readonly userId: string;
|
|
40
40
|
readonly walletSecretId?: string | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
readonly signature: string;
|
|
@@ -38,10 +38,10 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
38
38
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
39
39
|
*/
|
|
40
40
|
export declare const signSolanaTransactionWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
41
|
-
readonly
|
|
41
|
+
readonly userId: string;
|
|
42
42
|
readonly projectID?: string | undefined;
|
|
43
|
+
readonly address: string;
|
|
43
44
|
readonly transaction: string;
|
|
44
|
-
readonly userId: string;
|
|
45
45
|
readonly walletSecretId?: string | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
readonly signedTransaction: string;
|
|
@@ -18,15 +18,15 @@ export type SupportedX402PaymentKindsOutput = typeof SupportedX402PaymentKindsOu
|
|
|
18
18
|
* Get the supported x402 protocol payment schemes and networks that the facilitator is able to verify and settle payments for.
|
|
19
19
|
*/
|
|
20
20
|
export declare const supportedX402PaymentKinds: import("@distilled.cloud/core/client").OperationMethod<{}, {
|
|
21
|
-
readonly extensions: readonly string[];
|
|
22
21
|
readonly kinds: readonly {
|
|
22
|
+
readonly x402Version: 1 | 2;
|
|
23
|
+
readonly scheme: "exact" | "upto";
|
|
24
|
+
readonly network: "base" | "base-sepolia" | "eip155:137" | "eip155:8453" | "eip155:84532" | "polygon" | "solana" | "solana-devnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
23
25
|
readonly extra?: {
|
|
24
26
|
readonly [x: string]: unknown;
|
|
25
27
|
} | undefined;
|
|
26
|
-
readonly network: "base" | "base-sepolia" | "eip155:137" | "eip155:8453" | "eip155:84532" | "polygon" | "solana" | "solana-devnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
27
|
-
readonly scheme: "exact" | "upto";
|
|
28
|
-
readonly x402Version: 1 | 2;
|
|
29
28
|
}[];
|
|
29
|
+
readonly extensions: readonly string[];
|
|
30
30
|
readonly signers: {
|
|
31
31
|
readonly [x: string]: readonly string[];
|
|
32
32
|
};
|
|
@@ -25,14 +25,14 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
25
25
|
* @param address - The 0x-prefixed address of the EVM account. The address does not need to be checksummed.
|
|
26
26
|
*/
|
|
27
27
|
export declare const updateEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
-
readonly accountPolicy?: string | undefined;
|
|
29
28
|
readonly address: string;
|
|
30
29
|
readonly name?: string | undefined;
|
|
30
|
+
readonly accountPolicy?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
readonly address: string;
|
|
33
|
-
readonly createdAt?: string | undefined;
|
|
34
33
|
readonly name?: string | undefined;
|
|
35
34
|
readonly policies?: readonly string[] | undefined;
|
|
35
|
+
readonly createdAt?: string | undefined;
|
|
36
36
|
readonly updatedAt?: string | undefined;
|
|
37
37
|
}, never, import("../credentials.ts").Credentials>;
|
|
38
38
|
//# sourceMappingURL=updateEvmAccount.d.ts.map
|
|
@@ -25,10 +25,10 @@ export declare const updateEvmSmartAccount: import("@distilled.cloud/core/client
|
|
|
25
25
|
readonly name?: string | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
readonly address: string;
|
|
28
|
-
readonly createdAt?: string | undefined;
|
|
29
|
-
readonly name?: string | undefined;
|
|
30
28
|
readonly owners: readonly string[];
|
|
29
|
+
readonly name?: string | undefined;
|
|
31
30
|
readonly policies?: readonly string[] | undefined;
|
|
31
|
+
readonly createdAt?: string | undefined;
|
|
32
32
|
readonly updatedAt?: string | undefined;
|
|
33
33
|
}, never, import("../credentials.ts").Credentials>;
|
|
34
34
|
//# sourceMappingURL=updateEvmSmartAccount.d.ts.map
|
|
@@ -26,15 +26,15 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
26
26
|
* @param policyId - The ID of the policy to update.
|
|
27
27
|
*/
|
|
28
28
|
export declare const updatePolicy: import("@distilled.cloud/core/client").OperationMethod<{
|
|
29
|
-
readonly description?: string | undefined;
|
|
30
29
|
readonly policyId: string;
|
|
30
|
+
readonly description?: string | undefined;
|
|
31
31
|
readonly rules: readonly unknown[];
|
|
32
32
|
}, {
|
|
33
|
-
readonly createdAt: string;
|
|
34
|
-
readonly description?: string | undefined;
|
|
35
33
|
readonly id: string;
|
|
36
|
-
readonly
|
|
34
|
+
readonly description?: string | undefined;
|
|
37
35
|
readonly scope: "account" | "project";
|
|
36
|
+
readonly rules: readonly unknown[];
|
|
37
|
+
readonly createdAt: string;
|
|
38
38
|
readonly updatedAt: string;
|
|
39
39
|
}, never, import("../credentials.ts").Credentials>;
|
|
40
40
|
//# sourceMappingURL=updatePolicy.d.ts.map
|
|
@@ -25,14 +25,14 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
25
25
|
* @param address - The base58 encoded address of the Solana account.
|
|
26
26
|
*/
|
|
27
27
|
export declare const updateSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
-
readonly accountPolicy?: string | undefined;
|
|
29
28
|
readonly address: string;
|
|
30
29
|
readonly name?: string | undefined;
|
|
30
|
+
readonly accountPolicy?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
readonly address: string;
|
|
33
|
-
readonly createdAt?: string | undefined;
|
|
34
33
|
readonly name?: string | undefined;
|
|
35
34
|
readonly policies?: readonly string[] | undefined;
|
|
35
|
+
readonly createdAt?: string | undefined;
|
|
36
36
|
readonly updatedAt?: string | undefined;
|
|
37
37
|
}, never, import("../credentials.ts").Credentials>;
|
|
38
38
|
//# sourceMappingURL=updateSolanaAccount.d.ts.map
|
|
@@ -45,41 +45,41 @@ export type UpdateWebhookSubscriptionOutput = typeof UpdateWebhookSubscriptionOu
|
|
|
45
45
|
* @param subscriptionId - Unique identifier for the webhook subscription.
|
|
46
46
|
*/
|
|
47
47
|
export declare const updateWebhookSubscription: import("@distilled.cloud/core/client").OperationMethod<{
|
|
48
|
+
readonly subscriptionId: string;
|
|
48
49
|
readonly description?: string | undefined;
|
|
49
50
|
readonly eventTypes: readonly string[];
|
|
50
51
|
readonly isEnabled: boolean;
|
|
51
|
-
readonly labels?: {
|
|
52
|
-
readonly [x: string]: string;
|
|
53
|
-
} | undefined;
|
|
54
|
-
readonly metadata?: {
|
|
55
|
-
readonly [x: string]: string;
|
|
56
|
-
} | undefined;
|
|
57
|
-
readonly subscriptionId: string;
|
|
58
52
|
readonly target: {
|
|
53
|
+
readonly url: string;
|
|
59
54
|
readonly headers?: {
|
|
60
55
|
readonly [x: string]: string;
|
|
61
56
|
} | undefined;
|
|
62
|
-
readonly url: string;
|
|
63
57
|
};
|
|
58
|
+
readonly metadata?: {
|
|
59
|
+
readonly [x: string]: string;
|
|
60
|
+
} | undefined;
|
|
61
|
+
readonly labels?: {
|
|
62
|
+
readonly [x: string]: string;
|
|
63
|
+
} | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
readonly createdAt: string;
|
|
66
|
+
readonly updatedAt?: string | undefined;
|
|
66
67
|
readonly description?: string | undefined;
|
|
67
68
|
readonly eventTypes: readonly string[];
|
|
68
69
|
readonly isEnabled: boolean;
|
|
69
|
-
readonly labels?: {
|
|
70
|
-
readonly [x: string]: string;
|
|
71
|
-
} | undefined;
|
|
72
70
|
readonly metadata?: {
|
|
73
71
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
74
72
|
} | undefined;
|
|
75
73
|
readonly secret: string | import("effect/Redacted").Redacted<string>;
|
|
76
74
|
readonly subscriptionId: string;
|
|
77
75
|
readonly target: {
|
|
76
|
+
readonly url: string;
|
|
78
77
|
readonly headers?: {
|
|
79
78
|
readonly [x: string]: string;
|
|
80
79
|
} | undefined;
|
|
81
|
-
readonly url: string;
|
|
82
80
|
};
|
|
83
|
-
readonly
|
|
81
|
+
readonly labels?: {
|
|
82
|
+
readonly [x: string]: string;
|
|
83
|
+
} | undefined;
|
|
84
84
|
}, never, import("../credentials.ts").Credentials>;
|
|
85
85
|
//# sourceMappingURL=updateWebhookSubscription.d.ts.map
|
|
@@ -43,33 +43,33 @@ export type ValidateEndUserAccessTokenOutput = typeof ValidateEndUserAccessToken
|
|
|
43
43
|
export declare const validateEndUserAccessToken: import("@distilled.cloud/core/client").OperationMethod<{
|
|
44
44
|
readonly accessToken: string | import("effect/Redacted").Redacted<string>;
|
|
45
45
|
}, {
|
|
46
|
+
readonly userId: string;
|
|
46
47
|
readonly authenticationMethods: readonly unknown[];
|
|
47
|
-
readonly
|
|
48
|
+
readonly mfaMethods?: {
|
|
49
|
+
readonly enrollmentPromptedAt?: string | undefined;
|
|
50
|
+
readonly totp?: {
|
|
51
|
+
readonly enrolledAt: string;
|
|
52
|
+
} | undefined;
|
|
53
|
+
readonly sms?: {
|
|
54
|
+
readonly enrolledAt: string;
|
|
55
|
+
} | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
readonly evmAccounts: readonly string[];
|
|
48
58
|
readonly evmAccountObjects: readonly {
|
|
49
59
|
readonly address: string;
|
|
50
60
|
readonly createdAt: string;
|
|
51
61
|
}[];
|
|
52
|
-
readonly
|
|
62
|
+
readonly evmSmartAccounts: readonly string[];
|
|
53
63
|
readonly evmSmartAccountObjects: readonly {
|
|
54
64
|
readonly address: string;
|
|
55
|
-
readonly createdAt: string;
|
|
56
65
|
readonly ownerAddresses: readonly string[];
|
|
66
|
+
readonly createdAt: string;
|
|
57
67
|
}[];
|
|
58
|
-
readonly
|
|
59
|
-
readonly mfaMethods?: {
|
|
60
|
-
readonly enrollmentPromptedAt?: string | undefined;
|
|
61
|
-
readonly sms?: {
|
|
62
|
-
readonly enrolledAt: string;
|
|
63
|
-
} | undefined;
|
|
64
|
-
readonly totp?: {
|
|
65
|
-
readonly enrolledAt: string;
|
|
66
|
-
} | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
+
readonly solanaAccounts: readonly string[];
|
|
68
69
|
readonly solanaAccountObjects: readonly {
|
|
69
70
|
readonly address: string;
|
|
70
71
|
readonly createdAt: string;
|
|
71
72
|
}[];
|
|
72
|
-
readonly
|
|
73
|
-
readonly userId: string;
|
|
73
|
+
readonly createdAt: string;
|
|
74
74
|
}, never, import("../credentials.ts").Credentials>;
|
|
75
75
|
//# sourceMappingURL=validateEndUserAccessToken.d.ts.map
|
|
@@ -18,13 +18,13 @@ export type VerifyX402PaymentOutput = typeof VerifyX402PaymentOutput.Type;
|
|
|
18
18
|
* Verify an x402 protocol payment with a specific scheme and network.
|
|
19
19
|
*/
|
|
20
20
|
export declare const verifyX402Payment: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
+
readonly x402Version: 1 | 2;
|
|
21
22
|
readonly paymentPayload: unknown;
|
|
22
23
|
readonly paymentRequirements: unknown;
|
|
23
|
-
readonly x402Version: 1 | 2;
|
|
24
24
|
}, {
|
|
25
|
-
readonly invalidMessage?: string | undefined;
|
|
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
25
|
readonly isValid: boolean;
|
|
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
|
+
readonly invalidMessage?: string | undefined;
|
|
28
28
|
readonly payer: string;
|
|
29
29
|
}, never, import("../credentials.ts").Credentials>;
|
|
30
30
|
//# sourceMappingURL=verifyX402Payment.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/coinbase",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"specs:update": "git -C specs/cdp-sdk fetch && git -C specs/cdp-sdk checkout main && git -C specs/cdp-sdk pull"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@distilled.cloud/core": "0.
|
|
76
|
+
"@distilled.cloud/core": "0.20.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/bun": "^1.3.0",
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
"yaml": "^2.8.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"effect": ">=4.0.0-beta.
|
|
86
|
+
"effect": ">=4.0.0-beta.66 || >=4.0.0"
|
|
87
87
|
}
|
|
88
88
|
}
|