@imtbl/sdk 0.45.3-alpha → 0.45.5
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/sdk.js +2 -2
- package/dist/browser/checkout/widgets.js +47 -47
- package/dist/checkout.js +3 -3
- package/dist/index.browser.js +3 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.js +5 -5
- package/dist/passport.js +2 -2
- package/dist/x.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10906,7 +10906,7 @@ class MultiRollupApiClients {
|
|
|
10906
10906
|
}
|
|
10907
10907
|
|
|
10908
10908
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10909
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.45.
|
|
10909
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.45.5' };
|
|
10910
10910
|
const createConfig = ({ basePath, headers, }) => {
|
|
10911
10911
|
if (!basePath.trim()) {
|
|
10912
10912
|
throw Error('basePath can not be empty');
|
|
@@ -10978,7 +10978,7 @@ class APIError extends Error {
|
|
|
10978
10978
|
|
|
10979
10979
|
/* eslint-disable implicit-arrow-linebreak */
|
|
10980
10980
|
const defaultHeaders = {
|
|
10981
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.45.
|
|
10981
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.45.5',
|
|
10982
10982
|
};
|
|
10983
10983
|
/**
|
|
10984
10984
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11417,7 +11417,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
11417
11417
|
chainID,
|
|
11418
11418
|
coreContractAddress,
|
|
11419
11419
|
registrationContractAddress,
|
|
11420
|
-
sdkVersion: 'ts-immutable-sdk-0.45.
|
|
11420
|
+
sdkVersion: 'ts-immutable-sdk-0.45.5',
|
|
11421
11421
|
});
|
|
11422
11422
|
/**
|
|
11423
11423
|
* Sets `sdkVersion` at the time of build
|
|
@@ -41788,7 +41788,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
41788
41788
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
41789
41789
|
};
|
|
41790
41790
|
|
|
41791
|
-
const SDK_VERSION_MARKER = '0.45.
|
|
41791
|
+
const SDK_VERSION_MARKER = '0.45.5';
|
|
41792
41792
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
41793
41793
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
41794
41794
|
|
|
@@ -41993,7 +41993,7 @@ async function getERC20TokenInfo(web3Provider, tokenAddress) {
|
|
|
41993
41993
|
}, { type: CheckoutErrorType.GET_ERC20_INFO_ERROR });
|
|
41994
41994
|
}
|
|
41995
41995
|
|
|
41996
|
-
const CACHE_DATA_TTL =
|
|
41996
|
+
const CACHE_DATA_TTL = 5; // seconds
|
|
41997
41997
|
/**
|
|
41998
41998
|
* Blockscout class provides a client abstraction for the Immutable 3rd party indexer.
|
|
41999
41999
|
*/
|
package/dist/index.js
CHANGED
|
@@ -10884,7 +10884,7 @@ class MultiRollupApiClients {
|
|
|
10884
10884
|
}
|
|
10885
10885
|
|
|
10886
10886
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10887
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.45.
|
|
10887
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.45.5' };
|
|
10888
10888
|
const createConfig = ({ basePath, headers, }) => {
|
|
10889
10889
|
if (!basePath.trim()) {
|
|
10890
10890
|
throw Error('basePath can not be empty');
|
|
@@ -10956,7 +10956,7 @@ class APIError extends Error {
|
|
|
10956
10956
|
|
|
10957
10957
|
/* eslint-disable implicit-arrow-linebreak */
|
|
10958
10958
|
const defaultHeaders = {
|
|
10959
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.45.
|
|
10959
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.45.5',
|
|
10960
10960
|
};
|
|
10961
10961
|
/**
|
|
10962
10962
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11395,7 +11395,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
11395
11395
|
chainID,
|
|
11396
11396
|
coreContractAddress,
|
|
11397
11397
|
registrationContractAddress,
|
|
11398
|
-
sdkVersion: 'ts-immutable-sdk-0.45.
|
|
11398
|
+
sdkVersion: 'ts-immutable-sdk-0.45.5',
|
|
11399
11399
|
});
|
|
11400
11400
|
/**
|
|
11401
11401
|
* Sets `sdkVersion` at the time of build
|
|
@@ -41766,7 +41766,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
41766
41766
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
41767
41767
|
};
|
|
41768
41768
|
|
|
41769
|
-
const SDK_VERSION_MARKER = '0.45.
|
|
41769
|
+
const SDK_VERSION_MARKER = '0.45.5';
|
|
41770
41770
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
41771
41771
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
41772
41772
|
|
|
@@ -41971,7 +41971,7 @@ async function getERC20TokenInfo(web3Provider, tokenAddress) {
|
|
|
41971
41971
|
}, { type: CheckoutErrorType.GET_ERC20_INFO_ERROR });
|
|
41972
41972
|
}
|
|
41973
41973
|
|
|
41974
|
-
const CACHE_DATA_TTL =
|
|
41974
|
+
const CACHE_DATA_TTL = 5; // seconds
|
|
41975
41975
|
/**
|
|
41976
41976
|
* Blockscout class provides a client abstraction for the Immutable 3rd party indexer.
|
|
41977
41977
|
*/
|
package/dist/passport.js
CHANGED
|
@@ -8724,7 +8724,7 @@ class MultiRollupApiClients {
|
|
|
8724
8724
|
}
|
|
8725
8725
|
|
|
8726
8726
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8727
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.45.
|
|
8727
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.45.5' };
|
|
8728
8728
|
const createConfig = ({ basePath, headers, }) => {
|
|
8729
8729
|
if (!basePath.trim()) {
|
|
8730
8730
|
throw Error('basePath can not be empty');
|
|
@@ -9030,7 +9030,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9030
9030
|
chainID,
|
|
9031
9031
|
coreContractAddress,
|
|
9032
9032
|
registrationContractAddress,
|
|
9033
|
-
sdkVersion: 'ts-immutable-sdk-0.45.
|
|
9033
|
+
sdkVersion: 'ts-immutable-sdk-0.45.5',
|
|
9034
9034
|
});
|
|
9035
9035
|
/**
|
|
9036
9036
|
* Sets `sdkVersion` at the time of build
|
package/dist/x.js
CHANGED
|
@@ -261,7 +261,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
261
261
|
chainID,
|
|
262
262
|
coreContractAddress,
|
|
263
263
|
registrationContractAddress,
|
|
264
|
-
sdkVersion: 'ts-immutable-sdk-0.45.
|
|
264
|
+
sdkVersion: 'ts-immutable-sdk-0.45.5',
|
|
265
265
|
});
|
|
266
266
|
/**
|
|
267
267
|
* Sets `sdkVersion` at the time of build
|
package/package.json
CHANGED