@coinbase/cdp-sdk 1.38.5 → 1.39.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 +12 -0
- package/README.md +17 -0
- package/_cjs/analytics.js +164 -2
- package/_cjs/analytics.js.map +1 -1
- package/_cjs/auth/utils/http.js +2 -1
- package/_cjs/auth/utils/http.js.map +1 -1
- package/_cjs/client/end-user/endUser.js +82 -0
- package/_cjs/client/end-user/endUser.js.map +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +19 -2
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js +25 -1
- package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/onramp/onramp.js +1 -1
- package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +1 -2
- package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +1 -1
- package/_cjs/openapi-client/generated/webhooks/webhooks.js +130 -0
- package/_cjs/openapi-client/generated/webhooks/webhooks.js.map +1 -0
- package/_cjs/openapi-client/index.js +2 -0
- package/_cjs/openapi-client/index.js.map +1 -1
- package/_cjs/version.js +1 -1
- package/_esm/analytics.js +163 -1
- package/_esm/analytics.js.map +1 -1
- package/_esm/auth/utils/http.js +2 -1
- package/_esm/auth/utils/http.js.map +1 -1
- package/_esm/client/end-user/endUser.js +83 -1
- package/_esm/client/end-user/endUser.js.map +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +17 -0
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js +22 -0
- package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/onramp/onramp.js +1 -1
- package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +1 -2
- package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +1 -1
- package/_esm/openapi-client/generated/webhooks/webhooks.js +122 -0
- package/_esm/openapi-client/generated/webhooks/webhooks.js.map +1 -0
- package/_esm/openapi-client/index.js +2 -0
- package/_esm/openapi-client/index.js.map +1 -1
- package/_esm/version.js +1 -1
- package/_types/analytics.d.ts +27 -0
- package/_types/analytics.d.ts.map +1 -1
- package/_types/auth/utils/http.d.ts.map +1 -1
- package/_types/client/end-user/endUser.d.ts +65 -2
- package/_types/client/end-user/endUser.d.ts.map +1 -1
- package/_types/client/end-user/endUser.types.d.ts +9 -0
- package/_types/client/end-user/endUser.types.d.ts.map +1 -1
- package/_types/index.d.ts +2 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +369 -38
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
- package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +16 -1
- package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/onramp/onramp.d.ts +1 -1
- package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts +1 -2
- package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts.map +1 -1
- package/_types/openapi-client/generated/webhooks/webhooks.d.ts +117 -0
- package/_types/openapi-client/generated/webhooks/webhooks.d.ts.map +1 -0
- package/_types/openapi-client/index.d.ts +7 -0
- package/_types/openapi-client/index.d.ts.map +1 -1
- package/_types/version.d.ts +1 -1
- package/analytics.ts +225 -1
- package/auth/utils/http.ts +2 -1
- package/client/end-user/endUser.ts +99 -2
- package/client/end-user/endUser.types.ts +12 -0
- package/index.ts +2 -1
- package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +390 -38
- package/openapi-client/generated/end-user-accounts/end-user-accounts.ts +31 -0
- package/openapi-client/generated/onramp/onramp.ts +1 -1
- package/openapi-client/generated/sql-api-alpha/sql-api-alpha.ts +1 -2
- package/openapi-client/generated/webhooks/webhooks.ts +185 -0
- package/openapi-client/index.ts +2 -0
- package/package.json +1 -1
- package/version.ts +1 -1
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { cdpApiClient } from "../../cdpApiClient.js";
|
|
2
|
+
/**
|
|
3
|
+
* Creates an end user. An end user is an entity that can own CDP EVM accounts, EVM smart accounts, and/or Solana accounts. 1 or more authentication methods must be associated with an end user. By default, no accounts are created unless the optional `evmAccount` and/or `solanaAccount` fields are provided.
|
|
4
|
+
This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
|
|
5
|
+
* @summary Create an end user
|
|
6
|
+
*/
|
|
7
|
+
export const createEndUser = (createEndUserBody, options) => {
|
|
8
|
+
return cdpApiClient({
|
|
9
|
+
url: `/v2/end-users`,
|
|
10
|
+
method: "POST",
|
|
11
|
+
headers: { "Content-Type": "application/json" },
|
|
12
|
+
data: createEndUserBody,
|
|
13
|
+
}, options);
|
|
14
|
+
};
|
|
2
15
|
/**
|
|
3
16
|
* Lists the end users belonging to the developer's CDP Project.
|
|
4
17
|
By default, the response is sorted by creation date in ascending order and paginated to 20 users per page.
|
|
@@ -21,4 +34,13 @@ export const validateEndUserAccessToken = (validateEndUserAccessTokenBody, optio
|
|
|
21
34
|
data: validateEndUserAccessTokenBody,
|
|
22
35
|
}, options);
|
|
23
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Gets an end user by ID.
|
|
39
|
+
|
|
40
|
+
This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
|
|
41
|
+
* @summary Get an end user
|
|
42
|
+
*/
|
|
43
|
+
export const getEndUser = (userId, options) => {
|
|
44
|
+
return cdpApiClient({ url: `/v2/end-users/${userId}`, method: "GET" }, options);
|
|
45
|
+
};
|
|
24
46
|
//# sourceMappingURL=end-user-accounts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"end-user-accounts.js","sourceRoot":"","sources":["../../../../openapi-client/generated/end-user-accounts/end-user-accounts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"end-user-accounts.js","sourceRoot":"","sources":["../../../../openapi-client/generated/end-user-accounts/end-user-accounts.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,iBAAoC,EACpC,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB;QACE,GAAG,EAAE,eAAe;QACpB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,iBAAiB;KACxB,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,MAA2B,EAC3B,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CAAkB,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;AACjG,CAAC,CAAC;AACF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,8BAA8D,EAC9D,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB;QACE,GAAG,EAAE,mCAAmC;QACxC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,8BAA8B;KACrC,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE,OAA8C,EAAE,EAAE;IAC3F,OAAO,YAAY,CAAU,EAAE,GAAG,EAAE,iBAAiB,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;AAC3F,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { cdpApiClient } from "../../cdpApiClient.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Create a new Onramp order or get a quote for an Onramp order. Either `paymentAmount` or `purchaseAmount` must be provided.
|
|
4
4
|
|
|
5
|
-
This API currently only supports the payment method `GUEST_CHECKOUT_APPLE_PAY
|
|
5
|
+
This API currently only supports the payment method `GUEST_CHECKOUT_APPLE_PAY`.
|
|
6
6
|
|
|
7
7
|
For detailed integration instructions and to get access to this API, refer to the [Apple Pay Onramp API docs](https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api).
|
|
8
8
|
* @summary Create an onramp order
|
|
@@ -22,9 +22,8 @@ Queries are executed against optimized data structures for high-performance anal
|
|
|
22
22
|
|
|
23
23
|
### Query Limits
|
|
24
24
|
|
|
25
|
-
- Maximum result set:
|
|
25
|
+
- Maximum result set: 100,000 rows
|
|
26
26
|
- Query timeout: 30 seconds
|
|
27
|
-
- Maximum JOINs: 5
|
|
28
27
|
|
|
29
28
|
* @summary Run SQL Query
|
|
30
29
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-alpha.js","sourceRoot":"","sources":["../../../../openapi-client/generated/sql-api-alpha/sql-api-alpha.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD
|
|
1
|
+
{"version":3,"file":"sql-api-alpha.js","sourceRoot":"","sources":["../../../../openapi-client/generated/sql-api-alpha/sql-api-alpha.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,gBAAkC,EAClC,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB;QACE,GAAG,EAAE,oBAAoB;QACzB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,gBAAgB;KACvB,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAA8C,EAAE,EAAE;IAC9E,OAAO,YAAY,CAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;AACzF,CAAC,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { cdpApiClient } from "../../cdpApiClient.js";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieve a paginated list of webhook subscriptions for the authenticated project.
|
|
4
|
+
Returns subscriptions for all CDP product events (onchain, onramp/offramp, wallet, etc.)
|
|
5
|
+
in descending order by creation time.
|
|
6
|
+
|
|
7
|
+
### Use Cases
|
|
8
|
+
- Monitor all active webhook subscriptions across CDP products
|
|
9
|
+
- Audit webhook configurations
|
|
10
|
+
- Manage subscription lifecycle
|
|
11
|
+
|
|
12
|
+
* @summary List webhook subscriptions
|
|
13
|
+
*/
|
|
14
|
+
export const listWebhookSubscriptions = (params, options) => {
|
|
15
|
+
return cdpApiClient({ url: `/v2/data/webhooks/subscriptions`, method: "GET", params }, options);
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Subscribe to real-time events across CDP products using flexible filtering.
|
|
19
|
+
|
|
20
|
+
### Event Types
|
|
21
|
+
|
|
22
|
+
**Onchain Events** - Monitor Base mainnet with microsecond precision:
|
|
23
|
+
- `onchain.activity.detected` - Smart contract events, transfers, swaps, NFT activity
|
|
24
|
+
- **Requires** `labels` for filtering (e.g., `contract_address`, `event_name`)
|
|
25
|
+
|
|
26
|
+
**Onramp/Offramp Events** - Transaction lifecycle notifications:
|
|
27
|
+
- `onramp.transaction.created`, `onramp.transaction.updated`
|
|
28
|
+
- `onramp.transaction.success`, `onramp.transaction.failed`
|
|
29
|
+
- `offramp.transaction.created`, `offramp.transaction.updated`
|
|
30
|
+
- `offramp.transaction.success`, `offramp.transaction.failed`
|
|
31
|
+
- **No labels required** - maximum simplicity for transaction monitoring
|
|
32
|
+
|
|
33
|
+
**Wallet Events** - Wallet activity notifications:
|
|
34
|
+
- `wallet.activity.detected`
|
|
35
|
+
|
|
36
|
+
### Webhook Signature Verification
|
|
37
|
+
All webhooks include cryptographic signatures for security.
|
|
38
|
+
The signature secret is returned in `metadata.secret` when creating a subscription.
|
|
39
|
+
|
|
40
|
+
**Note:** Webhooks are in beta and this interface is subject to change.
|
|
41
|
+
|
|
42
|
+
See the [verification guide](https://docs.cdp.coinbase.com/onramp-&-offramp/webhooks#webhook-signature-verification) for implementation details.
|
|
43
|
+
|
|
44
|
+
### Onchain Label Filtering
|
|
45
|
+
|
|
46
|
+
For `onchain.activity.detected` events, use `labels` for precise filtering with AND logic (max 20 labels per webhook).
|
|
47
|
+
|
|
48
|
+
**Allowed labels** (all in snake_case format):
|
|
49
|
+
- `network` (required) - Blockchain network
|
|
50
|
+
- `contract_address` - Smart contract address
|
|
51
|
+
- `event_name` - Event name (e.g., "Transfer", "Burn")
|
|
52
|
+
- `event_signature` - Event signature hash
|
|
53
|
+
- `transaction_from` - Transaction sender address
|
|
54
|
+
- `transaction_to` - Transaction recipient address
|
|
55
|
+
- `params.*` - Any event parameter (e.g., `params.from`, `params.to`, `params.sender`, `params.tokenId`)
|
|
56
|
+
|
|
57
|
+
**Examples**:
|
|
58
|
+
- **Liquidity Pool Monitor**: `{"network": "base-mainnet", "contract_address": "0xcd1f9777571493aeacb7eae45cd30a226d3e612d", "event_name": "Burn"}`
|
|
59
|
+
- **Price Oracle Tracker**: `{"network": "base-mainnet", "contract_address": "0xbac4a9428ea707c51f171ed9890c3c2fa810305d", "event_name": "PriceUpdated"}`
|
|
60
|
+
- **DeFi Protocol Activity**: `{"network": "base-mainnet", "contract_address": "0x45c6e6a47a711b14d8357d5243f46704904578e3", "event_name": "Deposit"}`
|
|
61
|
+
|
|
62
|
+
* @summary Create webhook subscription
|
|
63
|
+
*/
|
|
64
|
+
export const createWebhookSubscription = (webhookSubscriptionRequest, options) => {
|
|
65
|
+
return cdpApiClient({
|
|
66
|
+
url: `/v2/data/webhooks/subscriptions`,
|
|
67
|
+
method: "POST",
|
|
68
|
+
headers: { "Content-Type": "application/json" },
|
|
69
|
+
data: webhookSubscriptionRequest,
|
|
70
|
+
}, options);
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Retrieve detailed information about a specific webhook subscription including
|
|
74
|
+
configuration, status, creation timestamp, and webhook signature secret.
|
|
75
|
+
|
|
76
|
+
### Response Includes
|
|
77
|
+
- Subscription configuration and filters
|
|
78
|
+
- Target URL and custom headers
|
|
79
|
+
- Webhook signature secret for verification
|
|
80
|
+
- Creation timestamp and status
|
|
81
|
+
|
|
82
|
+
* @summary Get webhook subscription details
|
|
83
|
+
*/
|
|
84
|
+
export const getWebhookSubscription = (subscriptionId, options) => {
|
|
85
|
+
return cdpApiClient({ url: `/v2/data/webhooks/subscriptions/${subscriptionId}`, method: "GET" }, options);
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Update an existing webhook subscription's configuration including
|
|
89
|
+
event types, target URL, filtering criteria, and enabled status.
|
|
90
|
+
All required fields must be provided, even if they are not being changed.
|
|
91
|
+
|
|
92
|
+
### Common Updates
|
|
93
|
+
- Change target URL or headers
|
|
94
|
+
- Add/remove event type filters
|
|
95
|
+
- Update multi-label filtering criteria
|
|
96
|
+
- Enable/disable subscription
|
|
97
|
+
|
|
98
|
+
* @summary Update webhook subscription
|
|
99
|
+
*/
|
|
100
|
+
export const updateWebhookSubscription = (subscriptionId, webhookSubscriptionUpdateRequest, options) => {
|
|
101
|
+
return cdpApiClient({
|
|
102
|
+
url: `/v2/data/webhooks/subscriptions/${subscriptionId}`,
|
|
103
|
+
method: "PUT",
|
|
104
|
+
headers: { "Content-Type": "application/json" },
|
|
105
|
+
data: webhookSubscriptionUpdateRequest,
|
|
106
|
+
}, options);
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Permanently delete a webhook subscription and stop all event deliveries.
|
|
110
|
+
This action cannot be undone.
|
|
111
|
+
|
|
112
|
+
### Important Notes
|
|
113
|
+
- All webhook deliveries will cease immediately
|
|
114
|
+
- Subscription cannot be recovered after deletion
|
|
115
|
+
- Consider disabling instead of deleting for temporary pauses
|
|
116
|
+
|
|
117
|
+
* @summary Delete webhook subscription
|
|
118
|
+
*/
|
|
119
|
+
export const deleteWebhookSubscription = (subscriptionId, options) => {
|
|
120
|
+
return cdpApiClient({ url: `/v2/data/webhooks/subscriptions/${subscriptionId}`, method: "DELETE" }, options);
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=webhooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../../../openapi-client/generated/webhooks/webhooks.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,MAAuC,EACvC,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB,EAAE,GAAG,EAAE,iCAAiC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EACjE,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,0BAAsD,EACtD,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB;QACE,GAAG,EAAE,iCAAiC;QACtC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,0BAA0B;KACjC,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,cAAsB,EACtB,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB,EAAE,GAAG,EAAE,mCAAmC,cAAc,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC3E,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,cAAsB,EACtB,gCAAkE,EAClE,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB;QACE,GAAG,EAAE,mCAAmC,cAAc,EAAE;QACxD,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,gCAAgC;KACvC,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AACF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,cAAsB,EACtB,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB,EAAE,GAAG,EAAE,mCAAmC,cAAc,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAC9E,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -23,11 +23,13 @@ import * as onchainData from "./generated/onchain-data/onchain-data.js";
|
|
|
23
23
|
import * as policies from "./generated/policy-engine/policy-engine.js";
|
|
24
24
|
import * as solana from "./generated/solana-accounts/solana-accounts.js";
|
|
25
25
|
import * as solanaTokenBalances from "./generated/solana-token-balances/solana-token-balances.js";
|
|
26
|
+
import * as webhooks from "./generated/webhooks/webhooks.js";
|
|
26
27
|
export const CdpOpenApiClient = {
|
|
27
28
|
...evm,
|
|
28
29
|
...evmSmartAccounts,
|
|
29
30
|
...evmSwaps,
|
|
30
31
|
...evmTokenBalances,
|
|
32
|
+
...webhooks,
|
|
31
33
|
...solana,
|
|
32
34
|
...solanaTokenBalances,
|
|
33
35
|
...faucets,
|
|
@@ -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,8BAA8B,CAAC;AAC7C,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,eAAe,MAAM,oDAAoD,CAAC;AACtF,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,WAAW,MAAM,0CAA0C,CAAC;AACxE,OAAO,KAAK,QAAQ,MAAM,4CAA4C,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,gDAAgD,CAAC;AACzE,OAAO,KAAK,mBAAmB,MAAM,4DAA4D,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,8BAA8B,CAAC;AAC7C,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,eAAe,MAAM,oDAAoD,CAAC;AACtF,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,WAAW,MAAM,0CAA0C,CAAC;AACxE,OAAO,KAAK,QAAQ,MAAM,4CAA4C,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,gDAAgD,CAAC;AACzE,OAAO,KAAK,mBAAmB,MAAM,4DAA4D,CAAC;AAClG,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAE7D,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,GAAG;IACN,GAAG,gBAAgB;IACnB,GAAG,QAAQ;IACX,GAAG,gBAAgB;IACnB,GAAG,QAAQ;IACX,GAAG,MAAM;IACT,GAAG,mBAAmB;IACtB,GAAG,OAAO;IACV,GAAG,WAAW;IACd,GAAG,QAAQ;IACX,GAAG,eAAe;IAClB,SAAS;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,GAAG;IACN,GAAG,gBAAgB;IACnB,GAAG,QAAQ;IACX,GAAG,gBAAgB;IACnB,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,GAAG,MAAM;IACT,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,GAAG,QAAQ;CACZ,CAAC"}
|
package/_esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "1.
|
|
1
|
+
export const version = "1.39.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/_types/analytics.d.ts
CHANGED
|
@@ -48,6 +48,13 @@ export declare const Analytics: {
|
|
|
48
48
|
sendEvent: typeof sendEvent;
|
|
49
49
|
trackAction: typeof trackAction;
|
|
50
50
|
};
|
|
51
|
+
export declare const AnalyticsDeprecated: {
|
|
52
|
+
identifier: string;
|
|
53
|
+
wrapClassWithErrorTracking: typeof wrapClassWithErrorTrackingDeprecated;
|
|
54
|
+
wrapObjectMethodsWithErrorTracking: typeof wrapObjectMethodsWithErrorTrackingDeprecated;
|
|
55
|
+
sendEvent: typeof sendEvent;
|
|
56
|
+
trackAction: typeof trackAction;
|
|
57
|
+
};
|
|
51
58
|
/**
|
|
52
59
|
* Sends an analytics event to the default endpoint
|
|
53
60
|
*
|
|
@@ -80,5 +87,25 @@ declare function wrapClassWithErrorTracking(ClassToWrap: any): void;
|
|
|
80
87
|
* @param object - The object whose methods should be wrapped.
|
|
81
88
|
*/
|
|
82
89
|
declare function wrapObjectMethodsWithErrorTracking(object: any): void;
|
|
90
|
+
/**
|
|
91
|
+
* Wraps all methods of a class with error tracking.
|
|
92
|
+
*
|
|
93
|
+
* @deprecated This is the old implementation that has a bug with methods calling themselves via prototype.
|
|
94
|
+
* Use Analytics.wrapClassWithErrorTracking instead.
|
|
95
|
+
* Kept for test compatibility.
|
|
96
|
+
*
|
|
97
|
+
* @param ClassToWrap - The class whose prototype methods should be wrapped.
|
|
98
|
+
*/
|
|
99
|
+
declare function wrapClassWithErrorTrackingDeprecated(ClassToWrap: any): void;
|
|
100
|
+
/**
|
|
101
|
+
* Wraps all methods of an object with error tracking.
|
|
102
|
+
*
|
|
103
|
+
* @deprecated This is the old implementation that has a bug with methods calling themselves via object property.
|
|
104
|
+
* Use Analytics.wrapObjectMethodsWithErrorTracking instead.
|
|
105
|
+
* Kept for test compatibility.
|
|
106
|
+
*
|
|
107
|
+
* @param object - The object whose methods should be wrapped.
|
|
108
|
+
*/
|
|
109
|
+
declare function wrapObjectMethodsWithErrorTrackingDeprecated(object: any): void;
|
|
83
110
|
export {};
|
|
84
111
|
//# sourceMappingURL=analytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../analytics.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,QAAQ,CAAC;IACpD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,KAAK,SAAS,GAAG,cAAc,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../analytics.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,QAAQ,CAAC;IACpD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,KAAK,SAAS,GAAG,cAAc,GAAG,eAAe,CAAC;AAQlD,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAMF,eAAO,MAAM,mBAAmB;gBAIR,MAAM;;;;;CAO7B,CAAC;AAEF;;;;;GAKG;AACH,iBAAe,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAgDxD;AAED;;;;;;;GAOG;AACH,iBAAS,WAAW,CAAC,MAAM,EAAE;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,QAAQ,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,GAAG,IAAI,CAmBP;AA6HD;;;;GAIG;AAEH,iBAAS,0BAA0B,CAAC,WAAW,EAAE,GAAG,GAAG,IAAI,CA8B1D;AAED;;;;GAIG;AAEH,iBAAS,kCAAkC,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CA2B7D;AAED;;;;;;;;GAQG;AAEH,iBAAS,oCAAoC,CAAC,WAAW,EAAE,GAAG,GAAG,IAAI,CAkCpE;AAED;;;;;;;;GAQG;AAEH,iBAAS,4CAA4C,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CAkCvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../auth/utils/http.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAsCjC;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../auth/utils/http.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAsCjC;AAmBD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAYlF"}
|
|
@@ -1,9 +1,72 @@
|
|
|
1
|
-
import { type ValidateAccessTokenOptions } from "./endUser.types.js";
|
|
2
|
-
import { type EndUser } from "../../openapi-client/index.js";
|
|
1
|
+
import { type ValidateAccessTokenOptions, type ListEndUsersOptions, type CreateEndUserOptions } from "./endUser.types.js";
|
|
2
|
+
import { type EndUser, type ListEndUsers200 } from "../../openapi-client/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* The CDP end user client.
|
|
5
5
|
*/
|
|
6
6
|
export declare class CDPEndUserClient {
|
|
7
|
+
/**
|
|
8
|
+
* Creates an end user. An end user is an entity that can own CDP EVM accounts,
|
|
9
|
+
* EVM smart accounts, and/or Solana accounts.
|
|
10
|
+
*
|
|
11
|
+
* @param options - The options for creating an end user.
|
|
12
|
+
*
|
|
13
|
+
* @returns A promise that resolves to the created end user.
|
|
14
|
+
*
|
|
15
|
+
* @example **Create an end user with an email authentication method**
|
|
16
|
+
* ```ts
|
|
17
|
+
* const endUser = await cdp.endUser.createEndUser({
|
|
18
|
+
* authenticationMethods: [
|
|
19
|
+
* { type: "email", email: "user@example.com" }
|
|
20
|
+
* ]
|
|
21
|
+
* });
|
|
22
|
+
* console.log(endUser.userId);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @example **Create an end user with an EVM EOA account**
|
|
26
|
+
* ```ts
|
|
27
|
+
* const endUser = await cdp.endUser.createEndUser({
|
|
28
|
+
* authenticationMethods: [
|
|
29
|
+
* { type: "email", email: "user@example.com" }
|
|
30
|
+
* ],
|
|
31
|
+
* evmAccount: { createSmartAccount: false }
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
createEndUser(options: CreateEndUserOptions): Promise<EndUser>;
|
|
36
|
+
/**
|
|
37
|
+
* Lists end users belonging to the developer's CDP Project.
|
|
38
|
+
* By default, the response is sorted by creation date in ascending order and paginated to 20 users per page.
|
|
39
|
+
*
|
|
40
|
+
* @param options - The options for listing end users.
|
|
41
|
+
*
|
|
42
|
+
* @returns A promise that resolves to a paginated list of end users.
|
|
43
|
+
*
|
|
44
|
+
* @example **List all end users**
|
|
45
|
+
* ```ts
|
|
46
|
+
* const result = await cdp.endUsers.listEndUsers();
|
|
47
|
+
* console.log(result.endUsers);
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @example **With pagination**
|
|
51
|
+
* ```ts
|
|
52
|
+
* let page = await cdp.endUsers.listEndUsers({ pageSize: 10 });
|
|
53
|
+
*
|
|
54
|
+
* while (page.nextPageToken) {
|
|
55
|
+
* page = await cdp.endUsers.listEndUsers({
|
|
56
|
+
* pageSize: 10,
|
|
57
|
+
* pageToken: page.nextPageToken
|
|
58
|
+
* });
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @example **With sorting**
|
|
63
|
+
* ```ts
|
|
64
|
+
* const result = await cdp.endUsers.listEndUsers({
|
|
65
|
+
* sort: ['createdAt=desc']
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
listEndUsers(options?: ListEndUsersOptions): Promise<ListEndUsers200>;
|
|
7
70
|
/**
|
|
8
71
|
* Validates an end user's access token. Throws an error if the access token is invalid.
|
|
9
72
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endUser.d.ts","sourceRoot":"","sources":["../../../client/end-user/endUser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"endUser.d.ts","sourceRoot":"","sources":["../../../client/end-user/endUser.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,qBAAa,gBAAgB;IAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACG,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAapE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACG,YAAY,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,eAAe,CAAC;IAa/E;;;;;;OAMG;IACG,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,OAAO,CAAC;CAWjF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreateEndUserBody, ListEndUsersParams } from "../../openapi-client/index.js";
|
|
1
2
|
/**
|
|
2
3
|
* The options for validating an access token.
|
|
3
4
|
*/
|
|
@@ -7,4 +8,12 @@ export interface ValidateAccessTokenOptions {
|
|
|
7
8
|
*/
|
|
8
9
|
accessToken: string;
|
|
9
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The options for listing end users.
|
|
13
|
+
*/
|
|
14
|
+
export type ListEndUsersOptions = ListEndUsersParams;
|
|
15
|
+
/**
|
|
16
|
+
* The options for creating an end user.
|
|
17
|
+
*/
|
|
18
|
+
export type CreateEndUserOptions = CreateEndUserBody;
|
|
10
19
|
//# sourceMappingURL=endUser.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endUser.types.d.ts","sourceRoot":"","sources":["../../../client/end-user/endUser.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
1
|
+
{"version":3,"file":"endUser.types.d.ts","sourceRoot":"","sources":["../../../client/end-user/endUser.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC"}
|
package/_types/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ export type { Policy } from "./policies/types.js";
|
|
|
4
4
|
export { CreatePolicyBodySchema, UpdatePolicyBodySchema, type CreatePolicyBody, type UpdatePolicyBody, } from "./policies/types.js";
|
|
5
5
|
export { NetworkError } from "./openapi-client/errors.js";
|
|
6
6
|
export type { SpendPermission, SpendPermissionInput } from "./spend-permissions/types.js";
|
|
7
|
-
export type { SpendPermissionNetwork } from "./openapi-client/index.js";
|
|
7
|
+
export type { SpendPermissionNetwork, ListEndUsers200, EndUser } from "./openapi-client/index.js";
|
|
8
|
+
export type { ListEndUsersOptions } from "./client/end-user/endUser.types.js";
|
|
8
9
|
export { SPEND_PERMISSION_MANAGER_ABI as spendPermissionManagerAbi, SPEND_PERMISSION_MANAGER_ADDRESS as spendPermissionManagerAddress, } from "./spend-permissions/constants.js";
|
|
9
10
|
export { parseEther, parseUnits } from "viem";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
package/_types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACjF,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC1F,YAAY,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACjF,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC1F,YAAY,EAAE,sBAAsB,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAClG,YAAY,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EACL,4BAA4B,IAAI,yBAAyB,EACzD,gCAAgC,IAAI,6BAA6B,GAClE,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC"}
|