@coinbase/cdp-sdk 1.29.0 → 1.30.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/CHANGELOG.md +10 -0
- package/_cjs/accounts/evm/networkCapabilities.js +101 -0
- package/_cjs/accounts/evm/networkCapabilities.js.map +1 -1
- package/_cjs/accounts/evm/toEvmServerAccount.js +11 -0
- package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
- package/_cjs/accounts/evm/toEvmSmartAccount.js +11 -0
- package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
- package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js +10 -0
- package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
- package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +10 -0
- package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
- package/_cjs/accounts/solana/toSolanaAccount.js +11 -1
- package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
- package/_cjs/actions/evm/getUserOperation.js +1 -0
- package/_cjs/actions/evm/getUserOperation.js.map +1 -1
- package/_cjs/actions/evm/spend-permissions/account.use.js +33 -0
- package/_cjs/actions/evm/spend-permissions/account.use.js.map +1 -0
- package/_cjs/actions/evm/spend-permissions/smartAccount.use.js +35 -0
- package/_cjs/actions/evm/spend-permissions/smartAccount.use.js.map +1 -0
- package/_cjs/actions/evm/spend-permissions/types.js +3 -0
- package/_cjs/actions/evm/spend-permissions/types.js.map +1 -0
- package/_cjs/actions/solana/sendTransaction.js +1 -0
- package/_cjs/actions/solana/sendTransaction.js.map +1 -1
- package/_cjs/actions/solana/signTransaction.js +1 -0
- package/_cjs/actions/solana/signTransaction.js.map +1 -1
- package/_cjs/auth/hooks/axios/withAuth.js +3 -0
- package/_cjs/auth/hooks/axios/withAuth.js.map +1 -1
- package/_cjs/auth/utils/http.js +2 -1
- package/_cjs/auth/utils/http.js.map +1 -1
- package/_cjs/client/evm/evm.js +51 -1
- package/_cjs/client/evm/evm.js.map +1 -1
- package/_cjs/client/solana/solana.js.map +1 -1
- package/_cjs/index.js +5 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +41 -3
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +14 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +72 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +1 -1
- package/_cjs/openapi-client/generated/index.msw.js +2 -0
- package/_cjs/openapi-client/generated/index.msw.js.map +1 -1
- package/_cjs/openapi-client/generated/onramp/onramp.js +30 -0
- package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -0
- package/_cjs/openapi-client/generated/onramp/onramp.msw.js +98 -0
- package/_cjs/openapi-client/generated/onramp/onramp.msw.js.map +1 -0
- package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js +15 -0
- package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -0
- package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js +69 -0
- package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js.map +1 -0
- package/_cjs/openapi-client/index.js +2 -0
- package/_cjs/openapi-client/index.js.map +1 -1
- package/_cjs/spend-permissions/constants.js +716 -0
- package/_cjs/spend-permissions/constants.js.map +1 -0
- package/_cjs/spend-permissions/types.js +3 -0
- package/_cjs/spend-permissions/types.js.map +1 -0
- package/_cjs/version.js +1 -1
- package/_esm/accounts/evm/networkCapabilities.js +101 -0
- package/_esm/accounts/evm/networkCapabilities.js.map +1 -1
- package/_esm/accounts/evm/toEvmServerAccount.js +11 -0
- package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
- package/_esm/accounts/evm/toEvmSmartAccount.js +11 -0
- package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
- package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js +10 -0
- package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
- package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +10 -0
- package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
- package/_esm/accounts/solana/toSolanaAccount.js +11 -1
- package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
- package/_esm/actions/evm/getUserOperation.js +1 -0
- package/_esm/actions/evm/getUserOperation.js.map +1 -1
- package/_esm/actions/evm/spend-permissions/account.use.js +30 -0
- package/_esm/actions/evm/spend-permissions/account.use.js.map +1 -0
- package/_esm/actions/evm/spend-permissions/smartAccount.use.js +32 -0
- package/_esm/actions/evm/spend-permissions/smartAccount.use.js.map +1 -0
- package/_esm/actions/evm/spend-permissions/types.js +2 -0
- package/_esm/actions/evm/spend-permissions/types.js.map +1 -0
- package/_esm/actions/solana/sendTransaction.js +1 -0
- package/_esm/actions/solana/sendTransaction.js.map +1 -1
- package/_esm/actions/solana/signTransaction.js +1 -0
- package/_esm/actions/solana/signTransaction.js.map +1 -1
- package/_esm/auth/hooks/axios/withAuth.js +3 -0
- package/_esm/auth/hooks/axios/withAuth.js.map +1 -1
- package/_esm/auth/utils/http.js +2 -1
- package/_esm/auth/utils/http.js.map +1 -1
- package/_esm/client/evm/evm.js +51 -1
- package/_esm/client/evm/evm.js.map +1 -1
- package/_esm/client/solana/solana.js +2 -2
- package/_esm/client/solana/solana.js.map +1 -1
- package/_esm/index.js +2 -1
- package/_esm/index.js.map +1 -1
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +39 -1
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +12 -0
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +69 -0
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +1 -1
- package/_esm/openapi-client/generated/index.msw.js +2 -0
- package/_esm/openapi-client/generated/index.msw.js.map +1 -1
- package/_esm/openapi-client/generated/onramp/onramp.js +25 -0
- package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -0
- package/_esm/openapi-client/generated/onramp/onramp.msw.js +90 -0
- package/_esm/openapi-client/generated/onramp/onramp.msw.js.map +1 -0
- package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js +11 -0
- package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -0
- package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js +63 -0
- package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js.map +1 -0
- package/_esm/openapi-client/index.js +2 -0
- package/_esm/openapi-client/index.js.map +1 -1
- package/_esm/spend-permissions/constants.js +713 -0
- package/_esm/spend-permissions/constants.js.map +1 -0
- package/_esm/spend-permissions/types.js +2 -0
- package/_esm/spend-permissions/types.js.map +1 -0
- package/_esm/version.js +1 -1
- package/_types/accounts/evm/networkCapabilities.d.ts +101 -0
- package/_types/accounts/evm/networkCapabilities.d.ts.map +1 -1
- package/_types/accounts/evm/toEvmServerAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toEvmSmartAccount.d.ts +1 -1
- package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
- package/_types/accounts/evm/types.d.ts +6 -0
- package/_types/accounts/evm/types.d.ts.map +1 -1
- package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
- package/_types/actions/evm/getUserOperation.d.ts.map +1 -1
- package/_types/actions/evm/spend-permissions/account.use.d.ts +15 -0
- package/_types/actions/evm/spend-permissions/account.use.d.ts.map +1 -0
- package/_types/actions/evm/spend-permissions/smartAccount.use.d.ts +15 -0
- package/_types/actions/evm/spend-permissions/smartAccount.use.d.ts.map +1 -0
- package/_types/actions/evm/spend-permissions/types.d.ts +13 -0
- package/_types/actions/evm/spend-permissions/types.d.ts.map +1 -0
- package/_types/actions/evm/types.d.ts +75 -0
- package/_types/actions/evm/types.d.ts.map +1 -1
- package/_types/actions/solana/sendTransaction.d.ts +8 -2
- package/_types/actions/solana/sendTransaction.d.ts.map +1 -1
- package/_types/actions/solana/signTransaction.d.ts +8 -2
- package/_types/actions/solana/signTransaction.d.ts.map +1 -1
- package/_types/actions/solana/types.d.ts +38 -3
- package/_types/actions/solana/types.d.ts.map +1 -1
- package/_types/auth/hooks/axios/withAuth.d.ts.map +1 -1
- package/_types/auth/utils/http.d.ts.map +1 -1
- package/_types/client/evm/evm.d.ts +19 -1
- package/_types/client/evm/evm.d.ts.map +1 -1
- package/_types/client/evm/evm.types.d.ts +29 -2
- package/_types/client/evm/evm.types.d.ts.map +1 -1
- package/_types/client/solana/solana.d.ts +5 -3
- package/_types/client/solana/solana.d.ts.map +1 -1
- package/_types/index.d.ts +3 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +333 -1
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +7 -1
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts +2 -0
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts.map +1 -1
- package/_types/openapi-client/generated/index.msw.d.ts +2 -0
- package/_types/openapi-client/generated/index.msw.d.ts.map +1 -1
- package/_types/openapi-client/generated/onramp/onramp.d.ts +28 -0
- package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -0
- package/_types/openapi-client/generated/onramp/onramp.msw.d.ts +8 -0
- package/_types/openapi-client/generated/onramp/onramp.msw.d.ts.map +1 -0
- package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts +20 -0
- package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts.map +1 -0
- package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.msw.d.ts +6 -0
- package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.msw.d.ts.map +1 -0
- package/_types/openapi-client/index.d.ts +4 -0
- package/_types/openapi-client/index.d.ts.map +1 -1
- package/_types/spend-permissions/constants.d.ts +1357 -0
- package/_types/spend-permissions/constants.d.ts.map +1 -0
- package/_types/spend-permissions/types.d.ts +30 -0
- package/_types/spend-permissions/types.d.ts.map +1 -0
- package/_types/version.d.ts +1 -1
- package/accounts/evm/networkCapabilities.ts +101 -0
- package/accounts/evm/toEvmServerAccount.ts +15 -0
- package/accounts/evm/toEvmSmartAccount.ts +19 -4
- package/accounts/evm/toNetworkScopedEvmServerAccount.ts +15 -0
- package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +15 -0
- package/accounts/evm/types.ts +18 -0
- package/accounts/solana/toSolanaAccount.ts +17 -3
- package/actions/evm/getUserOperation.ts +1 -0
- package/actions/evm/spend-permissions/account.use.ts +48 -0
- package/actions/evm/spend-permissions/smartAccount.use.ts +49 -0
- package/actions/evm/spend-permissions/types.ts +13 -0
- package/actions/evm/types.ts +81 -0
- package/actions/solana/sendTransaction.ts +10 -2
- package/actions/solana/signTransaction.ts +10 -2
- package/actions/solana/types.ts +44 -2
- package/auth/hooks/axios/withAuth.ts +3 -0
- package/auth/utils/http.ts +2 -1
- package/client/evm/evm.ts +61 -1
- package/client/evm/evm.types.ts +31 -0
- package/client/solana/solana.ts +10 -5
- package/index.ts +6 -1
- package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +375 -1
- package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.ts +85 -0
- package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts +23 -0
- package/openapi-client/generated/index.msw.ts +2 -0
- package/openapi-client/generated/onramp/onramp.msw.ts +135 -0
- package/openapi-client/generated/onramp/onramp.ts +54 -0
- package/openapi-client/generated/x402-facilitator/x402-facilitator.msw.ts +85 -0
- package/openapi-client/generated/x402-facilitator/x402-facilitator.ts +34 -0
- package/openapi-client/index.ts +2 -0
- package/package.json +1 -1
- package/spend-permissions/constants.ts +713 -0
- package/spend-permissions/types.ts +42 -0
- package/version.ts +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.6.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Coinbase Developer Platform APIs
|
|
5
|
+
* The Coinbase Developer Platform APIs - leading the world's transition onchain.
|
|
6
|
+
* OpenAPI spec version: 2.0.0
|
|
7
|
+
*/
|
|
8
|
+
import { faker } from "@faker-js/faker";
|
|
9
|
+
import { HttpResponse, delay, http } from "msw";
|
|
10
|
+
import { OnrampOrderStatus, OnrampPaymentLinkType, OnrampPaymentMethodTypeId, } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
|
|
11
|
+
export const getCreateOnrampOrderResponseMock = (overrideResponse = {}) => ({
|
|
12
|
+
order: {
|
|
13
|
+
orderId: faker.string.alpha(20),
|
|
14
|
+
paymentTotal: faker.string.alpha(20),
|
|
15
|
+
paymentSubtotal: {},
|
|
16
|
+
paymentCurrency: faker.string.alpha(20),
|
|
17
|
+
paymentMethod: faker.helpers.arrayElement(Object.values(OnrampPaymentMethodTypeId)),
|
|
18
|
+
purchaseAmount: faker.string.alpha(20),
|
|
19
|
+
purchaseCurrency: faker.string.alpha(20),
|
|
20
|
+
fees: Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({
|
|
21
|
+
type: faker.helpers.arrayElement(["FEE_TYPE_NETWORK", "FEE_TYPE_EXCHANGE"]),
|
|
22
|
+
amount: faker.string.alpha(20),
|
|
23
|
+
currency: faker.string.alpha(20),
|
|
24
|
+
})),
|
|
25
|
+
exchangeRate: faker.string.alpha(20),
|
|
26
|
+
destinationAddress: faker.string.alpha(20),
|
|
27
|
+
destinationNetwork: faker.string.alpha(20),
|
|
28
|
+
status: faker.helpers.arrayElement(Object.values(OnrampOrderStatus)),
|
|
29
|
+
txHash: faker.helpers.arrayElement([faker.string.alpha(20), undefined]),
|
|
30
|
+
createdAt: faker.string.alpha(20),
|
|
31
|
+
updatedAt: faker.string.alpha(20),
|
|
32
|
+
},
|
|
33
|
+
paymentLink: faker.helpers.arrayElement([
|
|
34
|
+
{
|
|
35
|
+
url: faker.string.alpha(20),
|
|
36
|
+
paymentLinkType: faker.helpers.arrayElement(Object.values(OnrampPaymentLinkType)),
|
|
37
|
+
},
|
|
38
|
+
undefined,
|
|
39
|
+
]),
|
|
40
|
+
...overrideResponse,
|
|
41
|
+
});
|
|
42
|
+
export const getGetOnrampOrderByIdResponseMock = (overrideResponse = {}) => ({
|
|
43
|
+
order: {
|
|
44
|
+
orderId: faker.string.alpha(20),
|
|
45
|
+
paymentTotal: faker.string.alpha(20),
|
|
46
|
+
paymentSubtotal: {},
|
|
47
|
+
paymentCurrency: faker.string.alpha(20),
|
|
48
|
+
paymentMethod: faker.helpers.arrayElement(Object.values(OnrampPaymentMethodTypeId)),
|
|
49
|
+
purchaseAmount: faker.string.alpha(20),
|
|
50
|
+
purchaseCurrency: faker.string.alpha(20),
|
|
51
|
+
fees: Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({
|
|
52
|
+
type: faker.helpers.arrayElement(["FEE_TYPE_NETWORK", "FEE_TYPE_EXCHANGE"]),
|
|
53
|
+
amount: faker.string.alpha(20),
|
|
54
|
+
currency: faker.string.alpha(20),
|
|
55
|
+
})),
|
|
56
|
+
exchangeRate: faker.string.alpha(20),
|
|
57
|
+
destinationAddress: faker.string.alpha(20),
|
|
58
|
+
destinationNetwork: faker.string.alpha(20),
|
|
59
|
+
status: faker.helpers.arrayElement(Object.values(OnrampOrderStatus)),
|
|
60
|
+
txHash: faker.helpers.arrayElement([faker.string.alpha(20), undefined]),
|
|
61
|
+
createdAt: faker.string.alpha(20),
|
|
62
|
+
updatedAt: faker.string.alpha(20),
|
|
63
|
+
},
|
|
64
|
+
...overrideResponse,
|
|
65
|
+
});
|
|
66
|
+
export const getCreateOnrampOrderMockHandler = (overrideResponse) => {
|
|
67
|
+
return http.post("*/v2/onramp/orders", async (info) => {
|
|
68
|
+
await delay(0);
|
|
69
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
70
|
+
? typeof overrideResponse === "function"
|
|
71
|
+
? await overrideResponse(info)
|
|
72
|
+
: overrideResponse
|
|
73
|
+
: getCreateOnrampOrderResponseMock()), { status: 201, headers: { "Content-Type": "application/json" } });
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
export const getGetOnrampOrderByIdMockHandler = (overrideResponse) => {
|
|
77
|
+
return http.get("*/v2/onramp/orders/:orderId", async (info) => {
|
|
78
|
+
await delay(0);
|
|
79
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
80
|
+
? typeof overrideResponse === "function"
|
|
81
|
+
? await overrideResponse(info)
|
|
82
|
+
: overrideResponse
|
|
83
|
+
: getGetOnrampOrderByIdResponseMock()), { status: 200, headers: { "Content-Type": "application/json" } });
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
export const getOnrampMock = () => [
|
|
87
|
+
getCreateOnrampOrderMockHandler(),
|
|
88
|
+
getGetOnrampOrderByIdMockHandler(),
|
|
89
|
+
];
|
|
90
|
+
//# sourceMappingURL=onramp.msw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onramp.msw.js","sourceRoot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M,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,CACjE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC;IACjC,+BAA+B,EAAE;IACjC,gCAAgC,EAAE;CACnC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { cdpApiClient } from "../../cdpApiClient.js";
|
|
2
|
+
/**
|
|
3
|
+
* Lists all active discovered x402 resources.
|
|
4
|
+
This endpoint returns resources that have been discovered and cached by the x402 facilitator, including their payment requirements and metadata.
|
|
5
|
+
The response is paginated, and by default, returns 100 items per page.
|
|
6
|
+
* @summary List discovered x402 resources
|
|
7
|
+
*/
|
|
8
|
+
export const listX402DiscoveryResources = (params, options) => {
|
|
9
|
+
return cdpApiClient({ url: `/v2/x402/discovery/resources`, method: "GET", params }, options);
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=x402-facilitator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x402-facilitator.js","sourceRoot":"","sources":["../../../../openapi-client/generated/x402-facilitator/x402-facilitator.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,MAAyC,EACzC,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB,EAAE,GAAG,EAAE,8BAA8B,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAC9D,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.6.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Coinbase Developer Platform APIs
|
|
5
|
+
* The Coinbase Developer Platform APIs - leading the world's transition onchain.
|
|
6
|
+
* OpenAPI spec version: 2.0.0
|
|
7
|
+
*/
|
|
8
|
+
import { faker } from "@faker-js/faker";
|
|
9
|
+
import { HttpResponse, delay, http } from "msw";
|
|
10
|
+
import { X402Version } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
|
|
11
|
+
export const getListX402DiscoveryResourcesResponseMock = (overrideResponse = {}) => ({
|
|
12
|
+
x402Version: faker.helpers.arrayElement(Object.values(X402Version)),
|
|
13
|
+
items: Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({
|
|
14
|
+
resource: faker.string.alpha(20),
|
|
15
|
+
type: faker.helpers.arrayElement(["http"]),
|
|
16
|
+
x402Version: faker.helpers.arrayElement(Object.values(X402Version)),
|
|
17
|
+
accepts: faker.helpers.arrayElement([
|
|
18
|
+
Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({
|
|
19
|
+
scheme: faker.helpers.arrayElement(["exact"]),
|
|
20
|
+
network: faker.helpers.arrayElement(["base-sepolia", "base"]),
|
|
21
|
+
maxAmountRequired: faker.string.alpha(20),
|
|
22
|
+
resource: faker.string.alpha(20),
|
|
23
|
+
description: faker.string.alpha(20),
|
|
24
|
+
mimeType: faker.string.alpha(20),
|
|
25
|
+
outputSchema: faker.helpers.arrayElement([{}, undefined]),
|
|
26
|
+
payTo: faker.helpers.fromRegExp("^0x[a-fA-F0-9]{40}|[A-Za-z0-9][A-Za-z0-9-]{0,34}[A-Za-z0-9]$"),
|
|
27
|
+
maxTimeoutSeconds: faker.number.int({ min: undefined, max: undefined }),
|
|
28
|
+
asset: faker.helpers.fromRegExp("^0x[a-fA-F0-9]{40}|[A-Za-z0-9][A-Za-z0-9-]{0,34}[A-Za-z0-9]$"),
|
|
29
|
+
extra: faker.helpers.arrayElement([{}, undefined]),
|
|
30
|
+
})),
|
|
31
|
+
undefined,
|
|
32
|
+
]),
|
|
33
|
+
lastUpdated: `${faker.date.past().toISOString().split(".")[0]}Z`,
|
|
34
|
+
metadata: faker.helpers.arrayElement([{}, undefined]),
|
|
35
|
+
})),
|
|
36
|
+
pagination: {
|
|
37
|
+
limit: faker.helpers.arrayElement([
|
|
38
|
+
faker.number.int({ min: undefined, max: undefined }),
|
|
39
|
+
undefined,
|
|
40
|
+
]),
|
|
41
|
+
offset: faker.helpers.arrayElement([
|
|
42
|
+
faker.number.int({ min: undefined, max: undefined }),
|
|
43
|
+
undefined,
|
|
44
|
+
]),
|
|
45
|
+
total: faker.helpers.arrayElement([
|
|
46
|
+
faker.number.int({ min: undefined, max: undefined }),
|
|
47
|
+
undefined,
|
|
48
|
+
]),
|
|
49
|
+
},
|
|
50
|
+
...overrideResponse,
|
|
51
|
+
});
|
|
52
|
+
export const getListX402DiscoveryResourcesMockHandler = (overrideResponse) => {
|
|
53
|
+
return http.get("*/v2/x402/discovery/resources", async (info) => {
|
|
54
|
+
await delay(0);
|
|
55
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
56
|
+
? typeof overrideResponse === "function"
|
|
57
|
+
? await overrideResponse(info)
|
|
58
|
+
: overrideResponse
|
|
59
|
+
: getListX402DiscoveryResourcesResponseMock()), { status: 200, headers: { "Content-Type": "application/json" } });
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
export const getX402FacilitatorMock = () => [getListX402DiscoveryResourcesMockHandler()];
|
|
63
|
+
//# sourceMappingURL=x402-facilitator.msw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x402-facilitator.msw.js","sourceRoot":"","sources":["../../../../openapi-client/generated/x402-facilitator/x402-facilitator.msw.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAG1E,MAAM,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,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;YACpD,SAAS;SACV,CAAC;QACF,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC;YAChC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;YACpD,SAAS;SACV,CAAC;KACH;IACD,GAAG,gBAAgB;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACtD,gBAIkF,EAClF,EAAE;IACF,OAAO,IAAI,CAAC,GAAG,CAAC,+BAA+B,EAAE,KAAK,EAAC,IAAI,EAAC,EAAE;QAC5D,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;QAEf,OAAO,IAAI,YAAY,CACrB,IAAI,CAAC,SAAS,CACZ,gBAAgB,KAAK,SAAS;YAC5B,CAAC,CAAC,OAAO,gBAAgB,KAAK,UAAU;gBACtC,CAAC,CAAC,MAAM,gBAAgB,CAAC,IAAI,CAAC;gBAC9B,CAAC,CAAC,gBAAgB;YACpB,CAAC,CAAC,yCAAyC,EAAE,CAChD,EACD,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,CACjE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAAC,CAAC,wCAAwC,EAAE,CAAC,CAAC"}
|
|
@@ -8,6 +8,8 @@ export * from "./generated/solana-token-balances/solana-token-balances.js";
|
|
|
8
8
|
export * from "./generated/faucets/faucets.js";
|
|
9
9
|
export * from "./generated/policy-engine/policy-engine.js";
|
|
10
10
|
export * from "./generated/payments-alpha/payments-alpha.js";
|
|
11
|
+
export * from "./generated/x402-facilitator/x402-facilitator.js";
|
|
12
|
+
export * from "./generated/onramp/onramp.js";
|
|
11
13
|
import { configure } from "./cdpApiClient.js";
|
|
12
14
|
import * as evm from "./generated/evm-accounts/evm-accounts.js";
|
|
13
15
|
import * as evmSmartAccounts from "./generated/evm-smart-accounts/evm-smart-accounts.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../openapi-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sDAAsD,CAAC;AACrE,cAAc,0CAA0C,CAAC;AACzD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oCAAoC,CAAC;AACnD,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../openapi-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sDAAsD,CAAC;AACrE,cAAc,0CAA0C,CAAC;AACzD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oCAAoC,CAAC;AACnD,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,8BAA8B,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,GAAG,MAAM,0CAA0C,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,sDAAsD,CAAC;AACzF,OAAO,KAAK,QAAQ,MAAM,oCAAoC,CAAC;AAC/D,OAAO,KAAK,gBAAgB,MAAM,sDAAsD,CAAC;AACzF,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,QAAQ,MAAM,8CAA8C,CAAC;AACzE,OAAO,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