@coinbase/cdp-api-client 0.0.70 → 0.0.72

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/dist/esm/index.js CHANGED
@@ -1,150 +1,150 @@
1
1
  import { Analytics as e } from "./index2.js";
2
2
  import "./index3.js";
3
3
  import { VERSION as t } from "./index4.js";
4
- import { authenticateUserWithCustomAuth as s, createEndUserEvmAccount as p, createEndUserEvmSmartAccount as c, createEndUserSolanaAccount as m, createSpendPermissionWithEndUserAccount as d, exportEndUserEvmAccount as u, exportEndUserSolanaAccount as l, getAuthenticatedEndUser as y, getUserOperationWithEndUserAccount as T, initiateAuthentication as S, initiateMfaEnrollment as E, initiateMfaVerification as A, listSpendPermissionsWithEndUserAccount as h, logOutEndUser as C, refreshAccessToken as O, registerTemporaryWalletSecret as v, revokeSpendPermissionWithEndUserAccount as g, sendEvmTransactionWithEndUserAccount as R, sendSolanaTransactionWithEndUserAccount as k, sendUserOperationWithEndUserAccount as U, signEvmHashWithEndUserAccount as P, signEvmMessageWithEndUserAccount as f, signEvmTransactionWithEndUserAccount as N, signEvmTypedDataWithEndUserAccount as w, signSolanaHashWithEndUserAccount as D, signSolanaMessageWithEndUserAccount as M, signSolanaTransactionWithEndUserAccount as W, submitMfaEnrollment as I, submitMfaVerification as V, verifyEmailAuthentication as b, verifyOAuthCode as q, verifySmsAuthentication as L } from "./index5.js";
5
- import { AbiFunctionType as x, AbiInputType as F, AbiStateMutability as B, AccountType as H, AchDetailsAccountType as K, AddressRiskNetwork as j, AddressRiskRiskLevel as G, AssetType as J, CapabilityStatus as Q, CoolPaymentMethodType as _, CreateDepositDestinationRequestType as z, CreatePaymentMethodRequestAchType as Y, CreatePaymentMethodRequestFedwireType as Z, CryptoDepositDestinationType as $, CustomerType as ee, DepositDestinationType as te, DeveloperJWTAuthenticationType as re, EmailAuthenticationType as ne, ErrorType as ie, EthValueCriterionOperator as oe, EthValueCriterionType as ae, EvmAddressCriterionOperator as se, EvmAddressCriterionType as pe, EvmDataCriterionType as ce, EvmDataParameterConditionListOperator as me, EvmDataParameterConditionOperator as de, EvmMessageCriterionType as ue, EvmNetworkCriterionNetworksItem as le, EvmNetworkCriterionOperator as ye, EvmNetworkCriterionType as Te, EvmSwapsNetwork as Se, EvmTypedAddressConditionOperator as Ee, EvmTypedNumericalConditionOperator as Ae, EvmUserOperationNetwork as he, EvmUserOperationStatus as Ce, InitiateEmailAuthenticationNextStepType as Oe, InitiateEmailAuthenticationRequestType as ve, InitiateSmsAuthenticationNextStepType as ge, InitiateSmsAuthenticationRequestType as Re, InvitationStatus as ke, KnownAbiType as Ue, KnownIdlType as Pe, LimitPeriod as fe, LinkAccountType as Ne, LinkableEntityRole as we, LinkableEntityType as De, ListEvmTokenBalancesNetwork as Me, ListSolanaTokenBalancesNetwork as We, MfaMethod as Ie, MintAddressCriterionOperator as Ve, MintAddressCriterionType as be, NetUSDChangeCriterionOperator as qe, NetUSDChangeCriterionType as Le, Network as Xe, OAuth2ProviderType as xe, OnchainDataResultSchemaColumnsItemType as Fe, OnrampOrderFeeType as Be, OnrampOrderPaymentMethodTypeId as He, OnrampOrderStatus as Ke, OnrampPaymentLinkType as je, OnrampQuotePaymentMethodTypeId as Ge, PermissionCatalogObjectsItemType as Je, PermissionSubjectType as Qe, PermissionVerb as _e, PolicyScope as ze, PrepareUserOperationRuleAction as Ye, PrepareUserOperationRuleOperation as Ze, ProgramIdCriterionOperator as $e, ProgramIdCriterionType as et, RefreshAccessTokenBodyGrantType as tt, RequirementErrorCode as rt, RequirementField as nt, SendEvmTransactionRuleAction as it, SendEvmTransactionRuleOperation as ot, SendEvmTransactionWithEndUserAccountBodyNetwork as at, SendSolTransactionRuleAction as st, SendSolTransactionRuleOperation as pt, SendSolanaTransactionWithEndUserAccountBodyNetwork as ct, SendUserOperationRuleAction as mt, SendUserOperationRuleOperation as dt, SignEvmHashRuleAction as ut, SignEvmHashRuleOperation as lt, SignEvmMessageRuleAction as yt, SignEvmMessageRuleOperation as Tt, SignEvmTransactionRuleAction as St, SignEvmTransactionRuleOperation as Et, SignEvmTypedDataFieldCriterionType as At, SignEvmTypedDataRuleAction as ht, SignEvmTypedDataRuleOperation as Ct, SignEvmTypedDataVerifyingContractCriterionOperator as Ot, SignEvmTypedDataVerifyingContractCriterionType as vt, SignSolMessageRuleAction as gt, SignSolMessageRuleOperation as Rt, SignSolTransactionRuleAction as kt, SignSolTransactionRuleOperation as Ut, SmsAuthenticationType as Pt, SolAddressCriterionOperator as ft, SolAddressCriterionType as Nt, SolDataCriterionType as wt, SolDataParameterConditionListOperator as Dt, SolDataParameterConditionOperator as Mt, SolMessageCriterionType as Wt, SolNetworkCriterionNetworksItem as It, SolNetworkCriterionOperator as Vt, SolNetworkCriterionType as bt, SolValueCriterionOperator as qt, SolValueCriterionType as Lt, SpendPermissionNetwork as Xt, SplAddressCriterionOperator as xt, SplAddressCriterionType as Ft, SplValueCriterionOperator as Bt, SplValueCriterionType as Ht, TransferCancellationReason as Kt, TransferFeeName as jt, TransferRequestAmountType as Gt, TransferReversalReason as Jt, TransferStatus as Qt, TransferStatusChangedWebhookEventEventType as _t, X402DiscoveryResourceType as zt, X402PaymentPayloadNetwork as Yt, X402PaymentPayloadScheme as Zt, X402PaymentRequirementsNetwork as $t, X402PaymentRequirementsScheme as er, X402SettleErrorReason as tr, X402SupportedPaymentKindNetwork as rr, X402SupportedPaymentKindScheme as nr, X402VerifyInvalidReason as ir, X402Version as or } from "./index6.js";
6
- import { configureCdpApiClient as sr, setAuthManager as pr } from "./index7.js";
7
- import { APIError as mr, HttpErrorType as dr, UnknownApiError as ur, UnknownError as lr, isOpenAPIError as yr } from "./index8.js";
4
+ import { authenticateUserWithCustomAuth as s, createEndUserEvmAccount as p, createEndUserEvmSmartAccount as c, createEndUserSolanaAccount as d, createSpendPermissionWithEndUserAccount as m, exportEndUserEvmAccount as u, exportEndUserSolanaAccount as l, getAuthenticatedEndUser as y, getUserOperationWithEndUserAccount as T, initiateAuthentication as S, initiateMfaEnrollment as E, initiateMfaVerification as A, listSpendPermissionsWithEndUserAccount as h, logOutEndUser as C, recordMfaEnrollmentPrompted as O, refreshAccessToken as v, registerTemporaryWalletSecret as g, revokeSpendPermissionWithEndUserAccount as R, sendEvmTransactionWithEndUserAccount as k, sendSolanaTransactionWithEndUserAccount as P, sendUserOperationWithEndUserAccount as U, signEvmHashWithEndUserAccount as f, signEvmMessageWithEndUserAccount as w, signEvmTransactionWithEndUserAccount as N, signEvmTypedDataWithEndUserAccount as D, signSolanaHashWithEndUserAccount as M, signSolanaMessageWithEndUserAccount as W, signSolanaTransactionWithEndUserAccount as I, submitMfaEnrollment as V, submitMfaVerification as b, verifyEmailAuthentication as q, verifyOAuthCode as L, verifySmsAuthentication as X } from "./index5.js";
5
+ import { AbiFunctionType as F, AbiInputType as B, AbiStateMutability as H, AccountType as K, AchDetailsAccountType as j, AddressRiskNetwork as G, AddressRiskRiskLevel as J, AssetType as Q, CapabilityStatus as _, CoolPaymentMethodType as z, CreateDepositDestinationRequestType as Y, CreatePaymentMethodRequestAchType as Z, CreatePaymentMethodRequestFedwireType as $, CryptoDepositDestinationType as ee, CustomerType as te, DepositDestinationType as re, DeveloperJWTAuthenticationType as ne, EmailAuthenticationType as ie, ErrorType as oe, EthValueCriterionOperator as ae, EthValueCriterionType as se, EvmAddressCriterionOperator as pe, EvmAddressCriterionType as ce, EvmDataCriterionType as de, EvmDataParameterConditionListOperator as me, EvmDataParameterConditionOperator as ue, EvmMessageCriterionType as le, EvmNetworkCriterionNetworksItem as ye, EvmNetworkCriterionOperator as Te, EvmNetworkCriterionType as Se, EvmSwapsNetwork as Ee, EvmTypedAddressConditionOperator as Ae, EvmTypedNumericalConditionOperator as he, EvmUserOperationNetwork as Ce, EvmUserOperationStatus as Oe, InitiateEmailAuthenticationNextStepType as ve, InitiateEmailAuthenticationRequestType as ge, InitiateSmsAuthenticationNextStepType as Re, InitiateSmsAuthenticationRequestType as ke, InvitationStatus as Pe, KnownAbiType as Ue, KnownIdlType as fe, LimitPeriod as we, LinkAccountType as Ne, LinkableEntityRole as De, LinkableEntityType as Me, ListEvmTokenBalancesNetwork as We, ListSolanaTokenBalancesNetwork as Ie, MfaMethod as Ve, MintAddressCriterionOperator as be, MintAddressCriterionType as qe, NetUSDChangeCriterionOperator as Le, NetUSDChangeCriterionType as Xe, Network as xe, OAuth2ProviderType as Fe, OnchainDataResultSchemaColumnsItemType as Be, OnrampOrderFeeType as He, OnrampOrderPaymentMethodTypeId as Ke, OnrampOrderStatus as je, OnrampPaymentLinkType as Ge, OnrampQuotePaymentMethodTypeId as Je, PermissionCatalogObjectsItemType as Qe, PermissionSubjectType as _e, PermissionVerb as ze, PolicyScope as Ye, PrepareUserOperationRuleAction as Ze, PrepareUserOperationRuleOperation as $e, ProgramIdCriterionOperator as et, ProgramIdCriterionType as tt, RefreshAccessTokenBodyGrantType as rt, RequirementErrorCode as nt, RequirementField as it, SendEvmTransactionRuleAction as ot, SendEvmTransactionRuleOperation as at, SendEvmTransactionWithEndUserAccountBodyNetwork as st, SendSolTransactionRuleAction as pt, SendSolTransactionRuleOperation as ct, SendSolanaTransactionWithEndUserAccountBodyNetwork as dt, SendUserOperationRuleAction as mt, SendUserOperationRuleOperation as ut, SignEvmHashRuleAction as lt, SignEvmHashRuleOperation as yt, SignEvmMessageRuleAction as Tt, SignEvmMessageRuleOperation as St, SignEvmTransactionRuleAction as Et, SignEvmTransactionRuleOperation as At, SignEvmTypedDataFieldCriterionType as ht, SignEvmTypedDataRuleAction as Ct, SignEvmTypedDataRuleOperation as Ot, SignEvmTypedDataVerifyingContractCriterionOperator as vt, SignEvmTypedDataVerifyingContractCriterionType as gt, SignSolMessageRuleAction as Rt, SignSolMessageRuleOperation as kt, SignSolTransactionRuleAction as Pt, SignSolTransactionRuleOperation as Ut, SmsAuthenticationType as ft, SolAddressCriterionOperator as wt, SolAddressCriterionType as Nt, SolDataCriterionType as Dt, SolDataParameterConditionListOperator as Mt, SolDataParameterConditionOperator as Wt, SolMessageCriterionType as It, SolNetworkCriterionNetworksItem as Vt, SolNetworkCriterionOperator as bt, SolNetworkCriterionType as qt, SolValueCriterionOperator as Lt, SolValueCriterionType as Xt, SpendPermissionNetwork as xt, SplAddressCriterionOperator as Ft, SplAddressCriterionType as Bt, SplValueCriterionOperator as Ht, SplValueCriterionType as Kt, TransferCancellationReason as jt, TransferFeeType as Gt, TransferRequestAmountType as Jt, TransferReversalReason as Qt, TransferStatus as _t, TransferStatusChangedWebhookEventEventType as zt, X402DiscoveryResourceType as Yt, X402PaymentPayloadNetwork as Zt, X402PaymentPayloadScheme as $t, X402PaymentRequirementsNetwork as er, X402PaymentRequirementsScheme as tr, X402SettleErrorReason as rr, X402SupportedPaymentKindNetwork as nr, X402SupportedPaymentKindScheme as ir, X402VerifyInvalidReason as or, X402Version as ar } from "./index6.js";
6
+ import { configureCdpApiClient as pr, setAuthManager as cr } from "./index7.js";
7
+ import { APIError as mr, HttpErrorType as ur, UnknownApiError as lr, UnknownError as yr, isOpenAPIError as Tr } from "./index8.js";
8
8
  e.registerPackageVersion("api_client", t);
9
9
  export {
10
10
  mr as APIError,
11
- x as AbiFunctionType,
12
- F as AbiInputType,
13
- B as AbiStateMutability,
14
- H as AccountType,
15
- K as AchDetailsAccountType,
16
- j as AddressRiskNetwork,
17
- G as AddressRiskRiskLevel,
18
- J as AssetType,
19
- Q as CapabilityStatus,
20
- _ as CoolPaymentMethodType,
21
- z as CreateDepositDestinationRequestType,
22
- Y as CreatePaymentMethodRequestAchType,
23
- Z as CreatePaymentMethodRequestFedwireType,
24
- $ as CryptoDepositDestinationType,
25
- ee as CustomerType,
26
- te as DepositDestinationType,
27
- re as DeveloperJWTAuthenticationType,
28
- ne as EmailAuthenticationType,
29
- ie as ErrorType,
30
- oe as EthValueCriterionOperator,
31
- ae as EthValueCriterionType,
32
- se as EvmAddressCriterionOperator,
33
- pe as EvmAddressCriterionType,
34
- ce as EvmDataCriterionType,
11
+ F as AbiFunctionType,
12
+ B as AbiInputType,
13
+ H as AbiStateMutability,
14
+ K as AccountType,
15
+ j as AchDetailsAccountType,
16
+ G as AddressRiskNetwork,
17
+ J as AddressRiskRiskLevel,
18
+ Q as AssetType,
19
+ _ as CapabilityStatus,
20
+ z as CoolPaymentMethodType,
21
+ Y as CreateDepositDestinationRequestType,
22
+ Z as CreatePaymentMethodRequestAchType,
23
+ $ as CreatePaymentMethodRequestFedwireType,
24
+ ee as CryptoDepositDestinationType,
25
+ te as CustomerType,
26
+ re as DepositDestinationType,
27
+ ne as DeveloperJWTAuthenticationType,
28
+ ie as EmailAuthenticationType,
29
+ oe as ErrorType,
30
+ ae as EthValueCriterionOperator,
31
+ se as EthValueCriterionType,
32
+ pe as EvmAddressCriterionOperator,
33
+ ce as EvmAddressCriterionType,
34
+ de as EvmDataCriterionType,
35
35
  me as EvmDataParameterConditionListOperator,
36
- de as EvmDataParameterConditionOperator,
37
- ue as EvmMessageCriterionType,
38
- le as EvmNetworkCriterionNetworksItem,
39
- ye as EvmNetworkCriterionOperator,
40
- Te as EvmNetworkCriterionType,
41
- Se as EvmSwapsNetwork,
42
- Ee as EvmTypedAddressConditionOperator,
43
- Ae as EvmTypedNumericalConditionOperator,
44
- he as EvmUserOperationNetwork,
45
- Ce as EvmUserOperationStatus,
46
- dr as HttpErrorType,
47
- Oe as InitiateEmailAuthenticationNextStepType,
48
- ve as InitiateEmailAuthenticationRequestType,
49
- ge as InitiateSmsAuthenticationNextStepType,
50
- Re as InitiateSmsAuthenticationRequestType,
51
- ke as InvitationStatus,
36
+ ue as EvmDataParameterConditionOperator,
37
+ le as EvmMessageCriterionType,
38
+ ye as EvmNetworkCriterionNetworksItem,
39
+ Te as EvmNetworkCriterionOperator,
40
+ Se as EvmNetworkCriterionType,
41
+ Ee as EvmSwapsNetwork,
42
+ Ae as EvmTypedAddressConditionOperator,
43
+ he as EvmTypedNumericalConditionOperator,
44
+ Ce as EvmUserOperationNetwork,
45
+ Oe as EvmUserOperationStatus,
46
+ ur as HttpErrorType,
47
+ ve as InitiateEmailAuthenticationNextStepType,
48
+ ge as InitiateEmailAuthenticationRequestType,
49
+ Re as InitiateSmsAuthenticationNextStepType,
50
+ ke as InitiateSmsAuthenticationRequestType,
51
+ Pe as InvitationStatus,
52
52
  Ue as KnownAbiType,
53
- Pe as KnownIdlType,
54
- fe as LimitPeriod,
53
+ fe as KnownIdlType,
54
+ we as LimitPeriod,
55
55
  Ne as LinkAccountType,
56
- we as LinkableEntityRole,
57
- De as LinkableEntityType,
58
- Me as ListEvmTokenBalancesNetwork,
59
- We as ListSolanaTokenBalancesNetwork,
60
- Ie as MfaMethod,
61
- Ve as MintAddressCriterionOperator,
62
- be as MintAddressCriterionType,
63
- qe as NetUSDChangeCriterionOperator,
64
- Le as NetUSDChangeCriterionType,
65
- Xe as Network,
66
- xe as OAuth2ProviderType,
67
- Fe as OnchainDataResultSchemaColumnsItemType,
68
- Be as OnrampOrderFeeType,
69
- He as OnrampOrderPaymentMethodTypeId,
70
- Ke as OnrampOrderStatus,
71
- je as OnrampPaymentLinkType,
72
- Ge as OnrampQuotePaymentMethodTypeId,
73
- Je as PermissionCatalogObjectsItemType,
74
- Qe as PermissionSubjectType,
75
- _e as PermissionVerb,
76
- ze as PolicyScope,
77
- Ye as PrepareUserOperationRuleAction,
78
- Ze as PrepareUserOperationRuleOperation,
79
- $e as ProgramIdCriterionOperator,
80
- et as ProgramIdCriterionType,
81
- tt as RefreshAccessTokenBodyGrantType,
82
- rt as RequirementErrorCode,
83
- nt as RequirementField,
84
- it as SendEvmTransactionRuleAction,
85
- ot as SendEvmTransactionRuleOperation,
86
- at as SendEvmTransactionWithEndUserAccountBodyNetwork,
87
- st as SendSolTransactionRuleAction,
88
- pt as SendSolTransactionRuleOperation,
89
- ct as SendSolanaTransactionWithEndUserAccountBodyNetwork,
56
+ De as LinkableEntityRole,
57
+ Me as LinkableEntityType,
58
+ We as ListEvmTokenBalancesNetwork,
59
+ Ie as ListSolanaTokenBalancesNetwork,
60
+ Ve as MfaMethod,
61
+ be as MintAddressCriterionOperator,
62
+ qe as MintAddressCriterionType,
63
+ Le as NetUSDChangeCriterionOperator,
64
+ Xe as NetUSDChangeCriterionType,
65
+ xe as Network,
66
+ Fe as OAuth2ProviderType,
67
+ Be as OnchainDataResultSchemaColumnsItemType,
68
+ He as OnrampOrderFeeType,
69
+ Ke as OnrampOrderPaymentMethodTypeId,
70
+ je as OnrampOrderStatus,
71
+ Ge as OnrampPaymentLinkType,
72
+ Je as OnrampQuotePaymentMethodTypeId,
73
+ Qe as PermissionCatalogObjectsItemType,
74
+ _e as PermissionSubjectType,
75
+ ze as PermissionVerb,
76
+ Ye as PolicyScope,
77
+ Ze as PrepareUserOperationRuleAction,
78
+ $e as PrepareUserOperationRuleOperation,
79
+ et as ProgramIdCriterionOperator,
80
+ tt as ProgramIdCriterionType,
81
+ rt as RefreshAccessTokenBodyGrantType,
82
+ nt as RequirementErrorCode,
83
+ it as RequirementField,
84
+ ot as SendEvmTransactionRuleAction,
85
+ at as SendEvmTransactionRuleOperation,
86
+ st as SendEvmTransactionWithEndUserAccountBodyNetwork,
87
+ pt as SendSolTransactionRuleAction,
88
+ ct as SendSolTransactionRuleOperation,
89
+ dt as SendSolanaTransactionWithEndUserAccountBodyNetwork,
90
90
  mt as SendUserOperationRuleAction,
91
- dt as SendUserOperationRuleOperation,
92
- ut as SignEvmHashRuleAction,
93
- lt as SignEvmHashRuleOperation,
94
- yt as SignEvmMessageRuleAction,
95
- Tt as SignEvmMessageRuleOperation,
96
- St as SignEvmTransactionRuleAction,
97
- Et as SignEvmTransactionRuleOperation,
98
- At as SignEvmTypedDataFieldCriterionType,
99
- ht as SignEvmTypedDataRuleAction,
100
- Ct as SignEvmTypedDataRuleOperation,
101
- Ot as SignEvmTypedDataVerifyingContractCriterionOperator,
102
- vt as SignEvmTypedDataVerifyingContractCriterionType,
103
- gt as SignSolMessageRuleAction,
104
- Rt as SignSolMessageRuleOperation,
105
- kt as SignSolTransactionRuleAction,
91
+ ut as SendUserOperationRuleOperation,
92
+ lt as SignEvmHashRuleAction,
93
+ yt as SignEvmHashRuleOperation,
94
+ Tt as SignEvmMessageRuleAction,
95
+ St as SignEvmMessageRuleOperation,
96
+ Et as SignEvmTransactionRuleAction,
97
+ At as SignEvmTransactionRuleOperation,
98
+ ht as SignEvmTypedDataFieldCriterionType,
99
+ Ct as SignEvmTypedDataRuleAction,
100
+ Ot as SignEvmTypedDataRuleOperation,
101
+ vt as SignEvmTypedDataVerifyingContractCriterionOperator,
102
+ gt as SignEvmTypedDataVerifyingContractCriterionType,
103
+ Rt as SignSolMessageRuleAction,
104
+ kt as SignSolMessageRuleOperation,
105
+ Pt as SignSolTransactionRuleAction,
106
106
  Ut as SignSolTransactionRuleOperation,
107
- Pt as SmsAuthenticationType,
108
- ft as SolAddressCriterionOperator,
107
+ ft as SmsAuthenticationType,
108
+ wt as SolAddressCriterionOperator,
109
109
  Nt as SolAddressCriterionType,
110
- wt as SolDataCriterionType,
111
- Dt as SolDataParameterConditionListOperator,
112
- Mt as SolDataParameterConditionOperator,
113
- Wt as SolMessageCriterionType,
114
- It as SolNetworkCriterionNetworksItem,
115
- Vt as SolNetworkCriterionOperator,
116
- bt as SolNetworkCriterionType,
117
- qt as SolValueCriterionOperator,
118
- Lt as SolValueCriterionType,
119
- Xt as SpendPermissionNetwork,
120
- xt as SplAddressCriterionOperator,
121
- Ft as SplAddressCriterionType,
122
- Bt as SplValueCriterionOperator,
123
- Ht as SplValueCriterionType,
124
- Kt as TransferCancellationReason,
125
- jt as TransferFeeName,
126
- Gt as TransferRequestAmountType,
127
- Jt as TransferReversalReason,
128
- Qt as TransferStatus,
129
- _t as TransferStatusChangedWebhookEventEventType,
130
- ur as UnknownApiError,
131
- lr as UnknownError,
132
- zt as X402DiscoveryResourceType,
133
- Yt as X402PaymentPayloadNetwork,
134
- Zt as X402PaymentPayloadScheme,
135
- $t as X402PaymentRequirementsNetwork,
136
- er as X402PaymentRequirementsScheme,
137
- tr as X402SettleErrorReason,
138
- rr as X402SupportedPaymentKindNetwork,
139
- nr as X402SupportedPaymentKindScheme,
140
- ir as X402VerifyInvalidReason,
141
- or as X402Version,
110
+ Dt as SolDataCriterionType,
111
+ Mt as SolDataParameterConditionListOperator,
112
+ Wt as SolDataParameterConditionOperator,
113
+ It as SolMessageCriterionType,
114
+ Vt as SolNetworkCriterionNetworksItem,
115
+ bt as SolNetworkCriterionOperator,
116
+ qt as SolNetworkCriterionType,
117
+ Lt as SolValueCriterionOperator,
118
+ Xt as SolValueCriterionType,
119
+ xt as SpendPermissionNetwork,
120
+ Ft as SplAddressCriterionOperator,
121
+ Bt as SplAddressCriterionType,
122
+ Ht as SplValueCriterionOperator,
123
+ Kt as SplValueCriterionType,
124
+ jt as TransferCancellationReason,
125
+ Gt as TransferFeeType,
126
+ Jt as TransferRequestAmountType,
127
+ Qt as TransferReversalReason,
128
+ _t as TransferStatus,
129
+ zt as TransferStatusChangedWebhookEventEventType,
130
+ lr as UnknownApiError,
131
+ yr as UnknownError,
132
+ Yt as X402DiscoveryResourceType,
133
+ Zt as X402PaymentPayloadNetwork,
134
+ $t as X402PaymentPayloadScheme,
135
+ er as X402PaymentRequirementsNetwork,
136
+ tr as X402PaymentRequirementsScheme,
137
+ rr as X402SettleErrorReason,
138
+ nr as X402SupportedPaymentKindNetwork,
139
+ ir as X402SupportedPaymentKindScheme,
140
+ or as X402VerifyInvalidReason,
141
+ ar as X402Version,
142
142
  s as authenticateUserWithCustomAuth,
143
- sr as configureCdpApiClient,
143
+ pr as configureCdpApiClient,
144
144
  p as createEndUserEvmAccount,
145
145
  c as createEndUserEvmSmartAccount,
146
- m as createEndUserSolanaAccount,
147
- d as createSpendPermissionWithEndUserAccount,
146
+ d as createEndUserSolanaAccount,
147
+ m as createSpendPermissionWithEndUserAccount,
148
148
  u as exportEndUserEvmAccount,
149
149
  l as exportEndUserSolanaAccount,
150
150
  y as getAuthenticatedEndUser,
@@ -152,26 +152,27 @@ export {
152
152
  S as initiateAuthentication,
153
153
  E as initiateMfaEnrollment,
154
154
  A as initiateMfaVerification,
155
- yr as isOpenAPIError,
155
+ Tr as isOpenAPIError,
156
156
  h as listSpendPermissionsWithEndUserAccount,
157
157
  C as logOutEndUser,
158
- O as refreshAccessToken,
159
- v as registerTemporaryWalletSecret,
160
- g as revokeSpendPermissionWithEndUserAccount,
161
- R as sendEvmTransactionWithEndUserAccount,
162
- k as sendSolanaTransactionWithEndUserAccount,
158
+ O as recordMfaEnrollmentPrompted,
159
+ v as refreshAccessToken,
160
+ g as registerTemporaryWalletSecret,
161
+ R as revokeSpendPermissionWithEndUserAccount,
162
+ k as sendEvmTransactionWithEndUserAccount,
163
+ P as sendSolanaTransactionWithEndUserAccount,
163
164
  U as sendUserOperationWithEndUserAccount,
164
- pr as setAuthManager,
165
- P as signEvmHashWithEndUserAccount,
166
- f as signEvmMessageWithEndUserAccount,
165
+ cr as setAuthManager,
166
+ f as signEvmHashWithEndUserAccount,
167
+ w as signEvmMessageWithEndUserAccount,
167
168
  N as signEvmTransactionWithEndUserAccount,
168
- w as signEvmTypedDataWithEndUserAccount,
169
- D as signSolanaHashWithEndUserAccount,
170
- M as signSolanaMessageWithEndUserAccount,
171
- W as signSolanaTransactionWithEndUserAccount,
172
- I as submitMfaEnrollment,
173
- V as submitMfaVerification,
174
- b as verifyEmailAuthentication,
175
- q as verifyOAuthCode,
176
- L as verifySmsAuthentication
169
+ D as signEvmTypedDataWithEndUserAccount,
170
+ M as signSolanaHashWithEndUserAccount,
171
+ W as signSolanaMessageWithEndUserAccount,
172
+ I as signSolanaTransactionWithEndUserAccount,
173
+ V as submitMfaEnrollment,
174
+ b as submitMfaVerification,
175
+ q as verifyEmailAuthentication,
176
+ L as verifyOAuthCode,
177
+ X as verifySmsAuthentication
177
178
  };
@@ -373,7 +373,7 @@ function X() {
373
373
  );
374
374
  }, o.useTransition = function() {
375
375
  return i.H.useTransition();
376
- }, o.version = "19.1.0", o;
376
+ }, o.version = "19.1.2", o;
377
377
  }
378
378
  export {
379
379
  X as __require
@@ -479,11 +479,14 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
479
479
  return null;
480
480
  };
481
481
  d = {
482
- "react-stack-bottom-frame": function(e) {
482
+ react_stack_bottom_frame: function(e) {
483
483
  return e();
484
484
  }
485
485
  };
486
- var ce, fe, le = {}, je = d["react-stack-bottom-frame"].bind(d, F)(), Pe = ie(B(F)), de = !1, pe = /\/+/g, he = typeof reportError == "function" ? reportError : function(e) {
486
+ var ce, fe, le = {}, je = d.react_stack_bottom_frame.bind(
487
+ d,
488
+ F
489
+ )(), Pe = ie(B(F)), de = !1, pe = /\/+/g, he = typeof reportError == "function" ? reportError : function(e) {
487
490
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
488
491
  var t = new window.ErrorEvent("error", {
489
492
  bubbles: !0,
@@ -826,7 +829,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
826
829
  );
827
830
  }, u.useTransition = function() {
828
831
  return l().useTransition();
829
- }, u.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
832
+ }, u.version = "19.1.2", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
830
833
  }();
831
834
  }(v, v.exports), v.exports);
832
835
  }
@@ -1,4 +1,4 @@
1
- const o = "0.0.70";
1
+ const o = "0.0.72";
2
2
  export {
3
3
  o as VERSION
4
4
  };
@@ -15,7 +15,7 @@ const d = (e, t, n) => s(
15
15
  data: t
16
16
  },
17
17
  n
18
- ), c = (e, t, n) => s(
18
+ ), p = (e, t, n) => s(
19
19
  {
20
20
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/sms`,
21
21
  method: "POST",
@@ -23,7 +23,7 @@ const d = (e, t, n) => s(
23
23
  data: t
24
24
  },
25
25
  n
26
- ), p = (e, t, n, a) => s(
26
+ ), c = (e, t, n, a) => s(
27
27
  {
28
28
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/oauth/${t}`,
29
29
  method: "POST",
@@ -96,7 +96,7 @@ const d = (e, t, n) => s(
96
96
  data: n
97
97
  },
98
98
  a
99
- ), y = (e, t, n, a) => s(
99
+ ), b = (e, t, n, a) => s(
100
100
  {
101
101
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/message`,
102
102
  method: "POST",
@@ -104,7 +104,7 @@ const d = (e, t, n) => s(
104
104
  data: n
105
105
  },
106
106
  a
107
- ), b = (e, t, n, a) => s(
107
+ ), y = (e, t, n, a) => s(
108
108
  {
109
109
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/typed-data`,
110
110
  method: "POST",
@@ -128,13 +128,13 @@ const d = (e, t, n) => s(
128
128
  data: n
129
129
  },
130
130
  a
131
- ), O = (e, t, n, a, r) => s(
131
+ ), P = (e, t, n, a, r) => s(
132
132
  {
133
133
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${a}`,
134
134
  method: "GET"
135
135
  },
136
136
  r
137
- ), P = (e, t, n, a, r) => s(
137
+ ), O = (e, t, n, a, r) => s(
138
138
  {
139
139
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/send`,
140
140
  method: "POST",
@@ -165,7 +165,7 @@ const d = (e, t, n) => s(
165
165
  data: a
166
166
  },
167
167
  r
168
- ), g = (e, t, n, a) => s(
168
+ ), f = (e, t, n, a) => s(
169
169
  {
170
170
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana`,
171
171
  method: "POST",
@@ -173,7 +173,7 @@ const d = (e, t, n) => s(
173
173
  data: n
174
174
  },
175
175
  a
176
- ), f = (e, t, n, a) => s(
176
+ ), g = (e, t, n, a) => s(
177
177
  {
178
178
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/export`,
179
179
  method: "POST",
@@ -241,38 +241,45 @@ const d = (e, t, n) => s(
241
241
  data: a
242
242
  },
243
243
  r
244
+ ), q = (e, t, n) => s(
245
+ {
246
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/mfa/prompt`,
247
+ method: "PUT"
248
+ },
249
+ n
244
250
  );
245
251
  export {
246
252
  m as authenticateUserWithCustomAuth,
247
253
  T as createEndUserEvmAccount,
248
254
  w as createEndUserEvmSmartAccount,
249
- g as createEndUserSolanaAccount,
255
+ f as createEndUserSolanaAccount,
250
256
  C as createSpendPermissionWithEndUserAccount,
251
257
  E as exportEndUserEvmAccount,
252
- f as exportEndUserSolanaAccount,
258
+ g as exportEndUserSolanaAccount,
253
259
  h as getAuthenticatedEndUser,
254
- O as getUserOperationWithEndUserAccount,
260
+ P as getUserOperationWithEndUserAccount,
255
261
  d as initiateAuthentication,
256
262
  G as initiateMfaEnrollment,
257
263
  V as initiateMfaVerification,
258
264
  A as listSpendPermissionsWithEndUserAccount,
259
265
  u as logOutEndUser,
266
+ q as recordMfaEnrollmentPrompted,
260
267
  l as refreshAccessToken,
261
268
  $ as registerTemporaryWalletSecret,
262
269
  U as revokeSpendPermissionWithEndUserAccount,
263
270
  S as sendEvmTransactionWithEndUserAccount,
264
271
  k as sendSolanaTransactionWithEndUserAccount,
265
- P as sendUserOperationWithEndUserAccount,
272
+ O as sendUserOperationWithEndUserAccount,
266
273
  v as signEvmHashWithEndUserAccount,
267
- y as signEvmMessageWithEndUserAccount,
274
+ b as signEvmMessageWithEndUserAccount,
268
275
  j as signEvmTransactionWithEndUserAccount,
269
- b as signEvmTypedDataWithEndUserAccount,
276
+ y as signEvmTypedDataWithEndUserAccount,
270
277
  W as signSolanaHashWithEndUserAccount,
271
278
  M as signSolanaMessageWithEndUserAccount,
272
279
  x as signSolanaTransactionWithEndUserAccount,
273
280
  H as submitMfaEnrollment,
274
281
  D as submitMfaVerification,
275
282
  i as verifyEmailAuthentication,
276
- p as verifyOAuthCode,
277
- c as verifySmsAuthentication
283
+ c as verifyOAuthCode,
284
+ p as verifySmsAuthentication
278
285
  };
@@ -76,7 +76,6 @@ const e = {
76
76
  solana: "solana",
77
77
  aptos: "aptos",
78
78
  arbitrum: "arbitrum",
79
- avacchain: "avacchain",
80
79
  optimism: "optimism",
81
80
  polygon: "polygon",
82
81
  sui: "sui"
@@ -93,11 +92,10 @@ const e = {
93
92
  expired: "expired",
94
93
  reversed: "reversed"
95
94
  }, m = {
96
- network_fee: "network_fee",
97
- processing_fee: "processing_fee",
98
- wire_fee: "wire_fee",
99
- exchange_fee: "exchange_fee",
100
- spread_fee: "spread_fee"
95
+ bank: "bank",
96
+ conversion: "conversion",
97
+ network: "network",
98
+ other: "other"
101
99
  }, v = {
102
100
  user_requested: "user_requested",
103
101
  compliance_reversal: "compliance_reversal",
@@ -117,9 +115,9 @@ const e = {
117
115
  source: "source"
118
116
  }, T = {
119
117
  email: "email"
120
- }, f = {
121
- sms: "sms"
122
118
  }, h = {
119
+ sms: "sms"
120
+ }, f = {
123
121
  jwt: "jwt"
124
122
  }, g = {
125
123
  google: "google",
@@ -333,10 +331,10 @@ const e = {
333
331
  "==": "=="
334
332
  }, Te = {
335
333
  splAddress: "splAddress"
336
- }, fe = {
334
+ }, he = {
337
335
  in: "in",
338
336
  not_in: "not in"
339
- }, he = {
337
+ }, fe = {
340
338
  splValue: "splValue"
341
339
  }, ge = {
342
340
  ">": ">",
@@ -559,7 +557,7 @@ const e = {
559
557
  transferstatus_changed: "transfer.status_changed"
560
558
  }, Ta = {
561
559
  refresh_token: "refresh_token"
562
- }, fa = {
560
+ }, ha = {
563
561
  base: "base",
564
562
  "base-sepolia": "base-sepolia",
565
563
  ethereum: "ethereum",
@@ -568,7 +566,7 @@ const e = {
568
566
  polygon: "polygon",
569
567
  optimism: "optimism",
570
568
  arbitrum: "arbitrum"
571
- }, ha = {
569
+ }, fa = {
572
570
  solana: "solana",
573
571
  "solana-devnet": "solana-devnet"
574
572
  };
@@ -589,7 +587,7 @@ export {
589
587
  d as CryptoDepositDestinationType,
590
588
  i as CustomerType,
591
589
  s as DepositDestinationType,
592
- h as DeveloperJWTAuthenticationType,
590
+ f as DeveloperJWTAuthenticationType,
593
591
  T as EmailAuthenticationType,
594
592
  a as ErrorType,
595
593
  q as EthValueCriterionOperator,
@@ -647,10 +645,10 @@ export {
647
645
  _ as RequirementField,
648
646
  ae as SendEvmTransactionRuleAction,
649
647
  te as SendEvmTransactionRuleOperation,
650
- fa as SendEvmTransactionWithEndUserAccountBodyNetwork,
648
+ ha as SendEvmTransactionWithEndUserAccountBodyNetwork,
651
649
  Ie as SendSolTransactionRuleAction,
652
650
  Ue as SendSolTransactionRuleOperation,
653
- ha as SendSolanaTransactionWithEndUserAccountBodyNetwork,
651
+ fa as SendSolanaTransactionWithEndUserAccountBodyNetwork,
654
652
  Ve as SendUserOperationRuleAction,
655
653
  Be as SendUserOperationRuleOperation,
656
654
  ze as SignEvmHashRuleAction,
@@ -668,7 +666,7 @@ export {
668
666
  qe as SignSolMessageRuleOperation,
669
667
  Re as SignSolTransactionRuleAction,
670
668
  Ce as SignSolTransactionRuleOperation,
671
- f as SmsAuthenticationType,
669
+ h as SmsAuthenticationType,
672
670
  ve as SolAddressCriterionOperator,
673
671
  me as SolAddressCriterionType,
674
672
  ke as SolDataCriterionType,
@@ -681,12 +679,12 @@ export {
681
679
  ye as SolValueCriterionOperator,
682
680
  ue as SolValueCriterionType,
683
681
  w as SpendPermissionNetwork,
684
- fe as SplAddressCriterionOperator,
682
+ he as SplAddressCriterionOperator,
685
683
  Te as SplAddressCriterionType,
686
684
  ge as SplValueCriterionOperator,
687
- he as SplValueCriterionType,
685
+ fe as SplValueCriterionType,
688
686
  u as TransferCancellationReason,
689
- m as TransferFeeName,
687
+ m as TransferFeeType,
690
688
  y as TransferRequestAmountType,
691
689
  v as TransferReversalReason,
692
690
  p as TransferStatus,
@@ -298,8 +298,8 @@ export declare interface CreateAccountRequest {
298
298
 
299
299
  export declare interface CreateCustomAuthConfigRequest {
300
300
  enabled: boolean;
301
- jwksUrl: string;
302
- issuer: string;
301
+ jwksUrl: Url;
302
+ issuer: Url;
303
303
  audience?: string;
304
304
  }
305
305
 
@@ -383,7 +383,7 @@ export declare interface CreateSpendPermissionRequest {
383
383
  salt?: string;
384
384
  extraData?: string;
385
385
  useCdpPaymaster: boolean;
386
- paymasterUrl?: string;
386
+ paymasterUrl?: Url;
387
387
  }
388
388
 
389
389
  export declare const createSpendPermissionWithEndUserAccount: (projectId: string, userId: string, address: string, createSpendPermissionRequest: CreateSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
@@ -438,7 +438,7 @@ export declare const CryptoDepositDestinationType: {
438
438
  export declare interface CustomAuthConfig {
439
439
  enabled: boolean;
440
440
  jwksUrl: string;
441
- issuer: string;
441
+ issuer: Url;
442
442
  audience?: string;
443
443
  createdAt?: string;
444
444
  updatedAt?: string;
@@ -569,15 +569,33 @@ export declare interface EndUser {
569
569
  authenticationMethods: AuthenticationMethods;
570
570
  mfaMethods?: MFAMethods;
571
571
  evmAccounts: string[];
572
+ evmAccountObjects?: EndUserEvmAccount[];
572
573
  evmSmartAccounts: string[];
574
+ evmSmartAccountObjects?: EndUserEvmSmartAccount[];
573
575
  solanaAccounts: string[];
576
+ solanaAccountObjects?: EndUserSolanaAccount[];
577
+ createdAt: string;
578
+ }
579
+
580
+ export declare interface EndUserEvmAccount {
581
+ address: string;
582
+ createdAt: string;
583
+ }
584
+
585
+ export declare interface EndUserEvmSmartAccount {
586
+ address: string;
587
+ ownerAddresses: string[];
588
+ createdAt: string;
589
+ }
590
+
591
+ export declare interface EndUserSolanaAccount {
592
+ address: string;
574
593
  createdAt: string;
575
594
  }
576
595
 
577
596
  export declare interface Entity {
578
597
  entityId: EntityId;
579
598
  name: string;
580
- productionEntityId?: string;
581
599
  legalEntityId?: string | null;
582
600
  type?: string;
583
601
  capabilities: CapabilitiesMap;
@@ -595,7 +613,7 @@ declare interface Error_2 {
595
613
  errorType: ErrorType;
596
614
  errorMessage: string;
597
615
  correlationId?: string;
598
- errorLink?: string;
616
+ errorLink?: Url;
599
617
  }
600
618
  export { Error_2 as Error }
601
619
 
@@ -812,13 +830,13 @@ export declare interface EvmSpendPermissionsCreateSpendPermissionRequest {
812
830
  end: string;
813
831
  salt?: string;
814
832
  extraData?: string;
815
- paymasterUrl?: string;
833
+ paymasterUrl?: Url;
816
834
  }
817
835
 
818
836
  export declare interface EvmSpendPermissionsRevokeSpendPermissionRequest {
819
837
  network: SpendPermissionNetwork;
820
838
  permissionHash: string;
821
- paymasterUrl?: string;
839
+ paymasterUrl?: Url;
822
840
  }
823
841
 
824
842
  export declare type EvmSwapsNetwork = (typeof EvmSwapsNetwork)[keyof typeof EvmSwapsNetwork];
@@ -909,7 +927,7 @@ export declare type ExportEndUserEvmAccountBody = {
909
927
  address: string;
910
928
  exportEncryptionKey: string;
911
929
  walletSecretId: string;
912
- parentOrigin?: string;
930
+ parentOrigin?: Url;
913
931
  };
914
932
 
915
933
  export declare type ExportEndUserEvmAccountResult = NonNullable<Awaited<ReturnType<typeof exportEndUserEvmAccount>>>;
@@ -924,7 +942,7 @@ export declare type ExportEndUserSolanaAccountBody = {
924
942
  address: string;
925
943
  exportEncryptionKey: string;
926
944
  walletSecretId: string;
927
- parentOrigin?: string;
945
+ parentOrigin?: Url;
928
946
  };
929
947
 
930
948
  export declare type ExportEndUserSolanaAccountResult = NonNullable<Awaited<ReturnType<typeof exportEndUserSolanaAccount>>>;
@@ -1056,7 +1074,7 @@ export declare type InitiateAuthenticationResult = NonNullable<Awaited<ReturnTyp
1056
1074
 
1057
1075
  export declare interface InitiateEmailAuthenticationNextStep {
1058
1076
  type: InitiateEmailAuthenticationNextStepType;
1059
- url: string;
1077
+ url: Url;
1060
1078
  }
1061
1079
 
1062
1080
  export declare type InitiateEmailAuthenticationNextStepType = (typeof InitiateEmailAuthenticationNextStepType)[keyof typeof InitiateEmailAuthenticationNextStepType];
@@ -1099,12 +1117,12 @@ export declare type InitiateMfaVerificationResult = NonNullable<Awaited<ReturnTy
1099
1117
 
1100
1118
  export declare interface InitiateOAuthAuthenticationRequest {
1101
1119
  type: OAuth2ProviderType;
1102
- redirectUrl: string;
1120
+ redirectUrl: Url;
1103
1121
  }
1104
1122
 
1105
1123
  export declare interface InitiateOAuthAuthenticationResponse {
1106
1124
  flowId: string;
1107
- authUrl: string;
1125
+ authUrl: Url;
1108
1126
  }
1109
1127
 
1110
1128
  export declare interface InitiateSmsAuthenticationNextStep {
@@ -1296,6 +1314,14 @@ export declare interface Metadata {
1296
1314
 
1297
1315
  export declare type MfaAlreadyEnrolledErrorResponse = Error_2;
1298
1316
 
1317
+ export declare interface MfaConfig {
1318
+ projectId: string;
1319
+ enabled: boolean;
1320
+ totpConfig: TotpConfig;
1321
+ createdAt: string;
1322
+ updatedAt: string;
1323
+ }
1324
+
1299
1325
  export declare type MfaFlowExpiredErrorResponse = Error_2;
1300
1326
 
1301
1327
  export declare type MfaInvalidCodeErrorResponse = Error_2;
@@ -1307,6 +1333,7 @@ export declare const MfaMethod: {
1307
1333
  };
1308
1334
 
1309
1335
  export declare interface MFAMethods {
1336
+ enrollmentPromptedAt?: string;
1310
1337
  totp?: MFAMethodsTotp;
1311
1338
  }
1312
1339
 
@@ -1365,7 +1392,6 @@ export declare const Network: {
1365
1392
  readonly solana: "solana";
1366
1393
  readonly aptos: "aptos";
1367
1394
  readonly arbitrum: "arbitrum";
1368
- readonly avacchain: "avacchain";
1369
1395
  readonly optimism: "optimism";
1370
1396
  readonly polygon: "polygon";
1371
1397
  readonly sui: "sui";
@@ -1522,7 +1548,7 @@ export declare const OnrampOrderStatus: {
1522
1548
  };
1523
1549
 
1524
1550
  export declare interface OnrampPaymentLink {
1525
- url: string;
1551
+ url: Url;
1526
1552
  paymentLinkType: OnrampPaymentLinkType;
1527
1553
  }
1528
1554
 
@@ -1555,7 +1581,7 @@ export declare const OnrampQuotePaymentMethodTypeId: {
1555
1581
  };
1556
1582
 
1557
1583
  export declare interface OnrampSession {
1558
- onrampUrl: string;
1584
+ onrampUrl: Url;
1559
1585
  }
1560
1586
 
1561
1587
  export declare type Owner = string;
@@ -1727,6 +1753,14 @@ export declare type ProjectId = string;
1727
1753
 
1728
1754
  export declare type RateLimitExceededResponse = Error_2;
1729
1755
 
1756
+ export declare const recordMfaEnrollmentPrompted: (projectId: string, userId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<RecordMfaEnrollmentPrompted200>;
1757
+
1758
+ export declare type RecordMfaEnrollmentPrompted200 = {
1759
+ enrollmentPromptedAt: string;
1760
+ };
1761
+
1762
+ export declare type RecordMfaEnrollmentPromptedResult = NonNullable<Awaited<ReturnType<typeof recordMfaEnrollmentPrompted>>>;
1763
+
1730
1764
  export declare const refreshAccessToken: (projectId: string, refreshAccessTokenBody: RefreshAccessTokenBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<RefreshAccessToken200>;
1731
1765
 
1732
1766
  export declare type RefreshAccessToken200 = {
@@ -1813,7 +1847,7 @@ export declare interface RevokeSpendPermissionRequest {
1813
1847
  network: SpendPermissionNetwork;
1814
1848
  permissionHash: string;
1815
1849
  useCdpPaymaster: boolean;
1816
- paymasterUrl?: string;
1850
+ paymasterUrl?: Url;
1817
1851
  }
1818
1852
 
1819
1853
  export declare const revokeSpendPermissionWithEndUserAccount: (projectId: string, userId: string, address: string, revokeSpendPermissionRequest: RevokeSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
@@ -1962,8 +1996,9 @@ export declare type SendUserOperationWithEndUserAccountBody = {
1962
1996
  network: EvmUserOperationNetwork;
1963
1997
  calls: EvmCall[];
1964
1998
  useCdpPaymaster: boolean;
1965
- paymasterUrl?: string;
1999
+ paymasterUrl?: Url;
1966
2000
  walletSecretId: string;
2001
+ dataSuffix?: string;
1967
2002
  };
1968
2003
 
1969
2004
  export declare type SendUserOperationWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendUserOperationWithEndUserAccount>>>;
@@ -2552,6 +2587,10 @@ export declare interface TokenFee {
2552
2587
 
2553
2588
  export declare type ToToken = string;
2554
2589
 
2590
+ export declare interface TotpConfig {
2591
+ enabled?: boolean;
2592
+ }
2593
+
2555
2594
  export declare interface Transfer {
2556
2595
  transferId: string;
2557
2596
  status: TransferStatus;
@@ -2596,22 +2635,21 @@ export declare type TransferExchangeRate = {
2596
2635
  };
2597
2636
 
2598
2637
  export declare interface TransferFee {
2599
- name: TransferFeeName;
2638
+ type: TransferFeeType;
2600
2639
  amount: string;
2601
2640
  asset: string;
2602
2641
  }
2603
2642
 
2604
- export declare type TransferFeeName = (typeof TransferFeeName)[keyof typeof TransferFeeName];
2643
+ export declare type TransferFees = TransferFee[];
2605
2644
 
2606
- export declare const TransferFeeName: {
2607
- readonly network_fee: "network_fee";
2608
- readonly processing_fee: "processing_fee";
2609
- readonly wire_fee: "wire_fee";
2610
- readonly exchange_fee: "exchange_fee";
2611
- readonly spread_fee: "spread_fee";
2612
- };
2645
+ export declare type TransferFeeType = (typeof TransferFeeType)[keyof typeof TransferFeeType];
2613
2646
 
2614
- export declare type TransferFees = TransferFee[];
2647
+ export declare const TransferFeeType: {
2648
+ readonly bank: "bank";
2649
+ readonly conversion: "conversion";
2650
+ readonly network: "network";
2651
+ readonly other: "other";
2652
+ };
2615
2653
 
2616
2654
  export declare type TransferLastError = {
2617
2655
  code?: string;
@@ -2725,11 +2763,20 @@ export declare class UnknownError extends Error {
2725
2763
 
2726
2764
  export declare interface UpdateCustomAuthConfigRequest {
2727
2765
  enabled?: boolean;
2728
- jwksUrl?: string;
2729
- issuer?: string;
2766
+ jwksUrl?: Url;
2767
+ issuer?: Url;
2730
2768
  audience?: string;
2731
2769
  }
2732
2770
 
2771
+ export declare interface UpdateMfaConfigRequest {
2772
+ enabled?: boolean;
2773
+ totpConfig?: TotpConfig;
2774
+ }
2775
+
2776
+ export declare type Uri = string;
2777
+
2778
+ export declare type Url = string;
2779
+
2733
2780
  export declare interface UserOperationReceipt {
2734
2781
  revert?: UserOperationReceiptRevert;
2735
2782
  transactionHash?: string;
@@ -2841,6 +2888,7 @@ export declare interface WebhookSubscriptionResponse {
2841
2888
  eventTypes: string[];
2842
2889
  isEnabled: boolean;
2843
2890
  metadata?: WebhookSubscriptionResponseMetadata;
2891
+ secret: string;
2844
2892
  subscriptionId: string;
2845
2893
  target: WebhookTarget;
2846
2894
  labelKey?: string;
@@ -2885,7 +2933,7 @@ export declare type WebhookSubscriptionUpdateRequestMetadata = {
2885
2933
  };
2886
2934
 
2887
2935
  export declare interface WebhookTarget {
2888
- url: string;
2936
+ url: Url;
2889
2937
  headers?: WebhookTargetHeaders;
2890
2938
  }
2891
2939
 
@@ -2970,7 +3018,7 @@ export declare interface X402PaymentRequirements {
2970
3018
  scheme: X402PaymentRequirementsScheme;
2971
3019
  network: X402PaymentRequirementsNetwork;
2972
3020
  maxAmountRequired: string;
2973
- resource: string;
3021
+ resource: Url;
2974
3022
  description: string;
2975
3023
  mimeType: string;
2976
3024
  outputSchema?: X402PaymentRequirementsOutputSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-api-client",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",