@imtbl/sdk 0.17.4 → 0.17.6
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/blockchain_data.js +1 -1
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +10 -1
- package/dist/checkout_sdk.js +3114 -62
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +15 -15
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +268 -53
- package/dist/index.d.ts +10 -1
- package/dist/index.js +268 -53
- package/dist/passport.js +2 -2
- package/package.json +1 -1
package/dist/checkout_sdk.d.ts
CHANGED
|
@@ -11283,6 +11283,7 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
|
|
|
11283
11283
|
type RemoteConfiguration = {
|
|
11284
11284
|
dex: DexConfig;
|
|
11285
11285
|
onramp: OnRampConfig;
|
|
11286
|
+
bridge: BridgeConfig;
|
|
11286
11287
|
allowedNetworks: AllowedNetworkConfig[];
|
|
11287
11288
|
gasEstimateTokens?: GasEstimateTokenConfig;
|
|
11288
11289
|
};
|
|
@@ -11324,6 +11325,13 @@ type DexConfig = {
|
|
|
11324
11325
|
overrides?: ExchangeOverrides;
|
|
11325
11326
|
tokens?: TokenInfo[];
|
|
11326
11327
|
};
|
|
11328
|
+
/**
|
|
11329
|
+
* A type representing the configuration for the Bridge.
|
|
11330
|
+
* @property {TokenInfo[] | undefined} tokens - An array of tokens compatible with the Bridge.
|
|
11331
|
+
*/
|
|
11332
|
+
type BridgeConfig = {
|
|
11333
|
+
tokens?: TokenInfo[];
|
|
11334
|
+
};
|
|
11327
11335
|
/**
|
|
11328
11336
|
* A type representing an allowed network.
|
|
11329
11337
|
* @property {number} chainId - The network chain id.
|
|
@@ -11815,7 +11823,8 @@ declare enum CheckoutErrorType {
|
|
|
11815
11823
|
GET_ERC721_ALLOWANCE_ERROR = "GET_ERC721_ALLOWANCE_ERROR",
|
|
11816
11824
|
EXECUTE_APPROVAL_TRANSACTION_ERROR = "EXECUTE_APPROVAL_TRANSACTION_ERROR",
|
|
11817
11825
|
EXECUTE_FULFILMENT_TRANSACTION_ERROR = "EXECUTE_FULFILMENT_TRANSACTION_ERROR",
|
|
11818
|
-
SIGN_MESSAGE_ERROR = "SIGN_MESSAGE_ERROR"
|
|
11826
|
+
SIGN_MESSAGE_ERROR = "SIGN_MESSAGE_ERROR",
|
|
11827
|
+
BRIDGE_GAS_ESTIMATE_ERROR = "BRIDGE_GAS_ESTIMATE_ERROR"
|
|
11819
11828
|
}
|
|
11820
11829
|
/**
|
|
11821
11830
|
* Represents an error object with a specific type, optional message, and optional data.
|