@dynamic-labs/sdk-api-core 0.0.830 → 0.0.838
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +192 -0
- package/src/apis/SDKApi.d.ts +73 -1
- package/src/apis/SDKApi.js +192 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/index.cjs +28 -0
- package/src/index.js +6 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.cjs +40 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.d.ts +23 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.js +34 -0
- package/src/models/CoinbaseOnrampFee.d.ts +1 -1
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.cjs +58 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +100 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.js +52 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.cjs +43 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.d.ts +27 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.js +37 -0
- package/src/models/CoinbaseOnrampOrder.d.ts +4 -4
- package/src/models/CoinbaseOnrampOrderCreateRequest.d.ts +2 -2
- package/src/models/CryptoDotComPaymentCreateRequest.cjs +50 -0
- package/src/models/CryptoDotComPaymentCreateRequest.d.ts +76 -0
- package/src/models/CryptoDotComPaymentCreateRequest.js +44 -0
- package/src/models/CryptoDotComPaymentResponse.cjs +71 -0
- package/src/models/CryptoDotComPaymentResponse.d.ts +141 -0
- package/src/models/CryptoDotComPaymentResponse.js +65 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/ExternalAuth.d.ts +1 -1
- package/src/models/GeneratedTokenResponse.cjs +43 -0
- package/src/models/GeneratedTokenResponse.d.ts +27 -0
- package/src/models/GeneratedTokenResponse.js +37 -0
- package/src/models/MinifiedDynamicJwt.cjs +2 -0
- package/src/models/MinifiedDynamicJwt.d.ts +6 -0
- package/src/models/MinifiedDynamicJwt.js +2 -0
- package/src/models/TokenBalance.cjs +2 -0
- package/src/models/TokenBalance.d.ts +6 -0
- package/src/models/TokenBalance.js +2 -0
- package/src/models/index.d.ts +6 -0
|
@@ -24,6 +24,7 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'price': !runtime.exists(json, 'price') ? undefined : json['price'],
|
|
25
25
|
'marketValue': !runtime.exists(json, 'marketValue') ? undefined : json['marketValue'],
|
|
26
26
|
'liquidityPoolSizeUsd': !runtime.exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
27
|
+
'totalSupply': !runtime.exists(json, 'totalSupply') ? undefined : json['totalSupply'],
|
|
27
28
|
'isNative': !runtime.exists(json, 'isNative') ? undefined : json['isNative'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
@@ -46,6 +47,7 @@ function TokenBalanceToJSON(value) {
|
|
|
46
47
|
'price': value.price,
|
|
47
48
|
'marketValue': value.marketValue,
|
|
48
49
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
50
|
+
'totalSupply': value.totalSupply,
|
|
49
51
|
'isNative': value.isNative,
|
|
50
52
|
};
|
|
51
53
|
}
|
|
@@ -20,6 +20,7 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'price': !exists(json, 'price') ? undefined : json['price'],
|
|
21
21
|
'marketValue': !exists(json, 'marketValue') ? undefined : json['marketValue'],
|
|
22
22
|
'liquidityPoolSizeUsd': !exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
23
|
+
'totalSupply': !exists(json, 'totalSupply') ? undefined : json['totalSupply'],
|
|
23
24
|
'isNative': !exists(json, 'isNative') ? undefined : json['isNative'],
|
|
24
25
|
};
|
|
25
26
|
}
|
|
@@ -42,6 +43,7 @@ function TokenBalanceToJSON(value) {
|
|
|
42
43
|
'price': value.price,
|
|
43
44
|
'marketValue': value.marketValue,
|
|
44
45
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
46
|
+
'totalSupply': value.totalSupply,
|
|
45
47
|
'isNative': value.isNative,
|
|
46
48
|
};
|
|
47
49
|
}
|
package/src/models/index.d.ts
CHANGED
|
@@ -31,8 +31,11 @@ export * from './BlockaidValidation';
|
|
|
31
31
|
export * from './ChainConfiguration';
|
|
32
32
|
export * from './ChainEnum';
|
|
33
33
|
export * from './CoinbaseMpcWalletProperties';
|
|
34
|
+
export * from './CoinbaseOnrampBuyUrlExperience';
|
|
34
35
|
export * from './CoinbaseOnrampFee';
|
|
35
36
|
export * from './CoinbaseOnrampFeeType';
|
|
37
|
+
export * from './CoinbaseOnrampGetBuyUrlRequest';
|
|
38
|
+
export * from './CoinbaseOnrampGetBuyUrlResponse';
|
|
36
39
|
export * from './CoinbaseOnrampOrder';
|
|
37
40
|
export * from './CoinbaseOnrampOrderCreateRequest';
|
|
38
41
|
export * from './CoinbaseOnrampOrderPaymentLinkType';
|
|
@@ -58,6 +61,8 @@ export * from './CreateUserEmbeddedWalletsRequest';
|
|
|
58
61
|
export * from './CreateUserWaasWalletsRequest';
|
|
59
62
|
export * from './CreateWaasAccountRequest';
|
|
60
63
|
export * from './CreateWalletAccountRequest';
|
|
64
|
+
export * from './CryptoDotComPaymentCreateRequest';
|
|
65
|
+
export * from './CryptoDotComPaymentResponse';
|
|
61
66
|
export * from './Currency';
|
|
62
67
|
export * from './CurrencyType';
|
|
63
68
|
export * from './CustomFieldType';
|
|
@@ -116,6 +121,7 @@ export * from './Funding';
|
|
|
116
121
|
export * from './FundingExternalWallets';
|
|
117
122
|
export * from './FundingExternalWalletsDefaultSettings';
|
|
118
123
|
export * from './FundingExternalWalletsMinAmount';
|
|
124
|
+
export * from './GeneratedTokenResponse';
|
|
119
125
|
export * from './GetPasskeyAuthenticationOptionsResponse';
|
|
120
126
|
export * from './GetPasskeyRegistrationOptionsResponse';
|
|
121
127
|
export * from './GetUserPasskeysResponse';
|