@imtbl/sdk 1.7.0 → 1.7.2
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 +2 -2
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets.js +63 -63
- package/dist/checkout.d.ts +11 -0
- package/dist/checkout.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -6
- package/dist/index.d.ts +11 -0
- package/dist/index.js +7 -6
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +4 -3
- package/dist/x.js +2 -2
- package/package.json +1 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -22397,6 +22397,7 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
|
|
|
22397
22397
|
/**
|
|
22398
22398
|
* A type representing various remotely defined configurations which are
|
|
22399
22399
|
* accessible via the Checkout config and configured based on the Environment.
|
|
22400
|
+
* @property {ConnectConfig} connect
|
|
22400
22401
|
* @property {DexConfig} dex
|
|
22401
22402
|
* @property {OnRampConfig} onramp
|
|
22402
22403
|
* @property {BridgeConfig} bridge
|
|
@@ -22406,6 +22407,8 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
|
|
|
22406
22407
|
* @property {TelemetryConfig | undefined} telemetry
|
|
22407
22408
|
*/
|
|
22408
22409
|
type RemoteConfiguration = {
|
|
22410
|
+
/** The config used for the Connect. */
|
|
22411
|
+
connect: ConnectConfig;
|
|
22409
22412
|
/** The config used for the DEX. */
|
|
22410
22413
|
dex: DexConfig;
|
|
22411
22414
|
/** The config used for the OnRamp */
|
|
@@ -22457,6 +22460,14 @@ type OnRampConfig = {
|
|
|
22457
22460
|
/** OnRamp config for Transak provider */
|
|
22458
22461
|
[key: string]: OnRampProviderConfig;
|
|
22459
22462
|
};
|
|
22463
|
+
/**
|
|
22464
|
+
* A type representing the configuration for the Connect.
|
|
22465
|
+
* @property {boolean} walletConnect
|
|
22466
|
+
*/
|
|
22467
|
+
type ConnectConfig = {
|
|
22468
|
+
/** A boolean value for enabling/disabling WalletConnect */
|
|
22469
|
+
walletConnect: boolean;
|
|
22470
|
+
};
|
|
22460
22471
|
/**
|
|
22461
22472
|
* A type representing the configuration for the DEX.
|
|
22462
22473
|
* @property {ExchangeOverrides | undefined} overrides
|
package/dist/checkout.js
CHANGED
|
@@ -139,7 +139,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
142
|
-
const SDK_VERSION$1 = '1.7.
|
|
142
|
+
const SDK_VERSION$1 = '1.7.2';
|
|
143
143
|
const getReferrer$1 = () => {
|
|
144
144
|
if (isNode$1()) {
|
|
145
145
|
return '';
|
|
@@ -17479,7 +17479,7 @@ const flattenProperties = (properties) => {
|
|
|
17479
17479
|
};
|
|
17480
17480
|
|
|
17481
17481
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
17482
|
-
const SDK_VERSION = '1.7.
|
|
17482
|
+
const SDK_VERSION = '1.7.2';
|
|
17483
17483
|
const getReferrer = () => {
|
|
17484
17484
|
if (isNode()) {
|
|
17485
17485
|
return '';
|
|
@@ -27725,7 +27725,7 @@ class APIError extends Error {
|
|
|
27725
27725
|
|
|
27726
27726
|
/* eslint-disable implicit-arrow-linebreak */
|
|
27727
27727
|
const defaultHeaders = {
|
|
27728
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.
|
|
27728
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.2',
|
|
27729
27729
|
};
|
|
27730
27730
|
/**
|
|
27731
27731
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -29092,7 +29092,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
29092
29092
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
29093
29093
|
};
|
|
29094
29094
|
|
|
29095
|
-
const SDK_VERSION_MARKER = '1.7.
|
|
29095
|
+
const SDK_VERSION_MARKER = '1.7.2';
|
|
29096
29096
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
29097
29097
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
29098
29098
|
|
package/dist/config.js
CHANGED
|
@@ -128,7 +128,7 @@ const flattenProperties = (properties) => {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
131
|
-
const SDK_VERSION = '1.7.
|
|
131
|
+
const SDK_VERSION = '1.7.2';
|
|
132
132
|
const getReferrer = () => {
|
|
133
133
|
if (isNode()) {
|
|
134
134
|
return '';
|