@imtbl/sdk 1.22.0 → 1.23.0
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/checkout.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.js +7 -7
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +4 -4
- package/dist/x.js +3 -3
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -180,7 +180,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
180
180
|
};
|
|
181
181
|
|
|
182
182
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
183
|
-
const SDK_VERSION$1 = '1.
|
|
183
|
+
const SDK_VERSION$1 = '1.23.0';
|
|
184
184
|
const getReferrer$1 = () => {
|
|
185
185
|
if (isNode$1()) {
|
|
186
186
|
return '';
|
|
@@ -13731,7 +13731,7 @@ class MultiRollupApiClients {
|
|
|
13731
13731
|
}
|
|
13732
13732
|
|
|
13733
13733
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13734
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
13734
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
13735
13735
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13736
13736
|
if (!basePath.trim()) {
|
|
13737
13737
|
throw Error('basePath can not be empty');
|
|
@@ -13803,7 +13803,7 @@ class APIError extends Error {
|
|
|
13803
13803
|
|
|
13804
13804
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13805
13805
|
const defaultHeaders$1 = {
|
|
13806
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
13806
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.23.0',
|
|
13807
13807
|
};
|
|
13808
13808
|
/**
|
|
13809
13809
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14277,7 +14277,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14277
14277
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14278
14278
|
class ApiConfiguration extends index$2.Configuration {
|
|
14279
14279
|
}
|
|
14280
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
14280
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
14281
14281
|
/**
|
|
14282
14282
|
* @dev use createImmutableXConfiguration instead
|
|
14283
14283
|
*/
|
|
@@ -14316,7 +14316,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14316
14316
|
chainID,
|
|
14317
14317
|
coreContractAddress,
|
|
14318
14318
|
registrationContractAddress,
|
|
14319
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
14319
|
+
sdkVersion: 'ts-immutable-sdk-1.23.0',
|
|
14320
14320
|
baseConfig,
|
|
14321
14321
|
});
|
|
14322
14322
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -45632,7 +45632,7 @@ const flattenProperties = (properties) => {
|
|
|
45632
45632
|
};
|
|
45633
45633
|
|
|
45634
45634
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45635
|
-
const SDK_VERSION = '1.
|
|
45635
|
+
const SDK_VERSION = '1.23.0';
|
|
45636
45636
|
const getReferrer = () => {
|
|
45637
45637
|
if (isNode()) {
|
|
45638
45638
|
return '';
|
|
@@ -50827,7 +50827,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50827
50827
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
50828
50828
|
};
|
|
50829
50829
|
|
|
50830
|
-
const SDK_VERSION_MARKER = '1.
|
|
50830
|
+
const SDK_VERSION_MARKER = '1.23.0';
|
|
50831
50831
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50832
50832
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50833
50833
|
|
package/dist/index.js
CHANGED
|
@@ -158,7 +158,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
161
|
-
const SDK_VERSION$1 = '1.
|
|
161
|
+
const SDK_VERSION$1 = '1.23.0';
|
|
162
162
|
const getReferrer$1 = () => {
|
|
163
163
|
if (isNode$1()) {
|
|
164
164
|
return '';
|
|
@@ -13709,7 +13709,7 @@ class MultiRollupApiClients {
|
|
|
13709
13709
|
}
|
|
13710
13710
|
|
|
13711
13711
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13712
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
13712
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
13713
13713
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13714
13714
|
if (!basePath.trim()) {
|
|
13715
13715
|
throw Error('basePath can not be empty');
|
|
@@ -13781,7 +13781,7 @@ class APIError extends Error {
|
|
|
13781
13781
|
|
|
13782
13782
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13783
13783
|
const defaultHeaders$1 = {
|
|
13784
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
13784
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.23.0',
|
|
13785
13785
|
};
|
|
13786
13786
|
/**
|
|
13787
13787
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14255,7 +14255,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14255
14255
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14256
14256
|
class ApiConfiguration extends index$2.Configuration {
|
|
14257
14257
|
}
|
|
14258
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
14258
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
14259
14259
|
/**
|
|
14260
14260
|
* @dev use createImmutableXConfiguration instead
|
|
14261
14261
|
*/
|
|
@@ -14294,7 +14294,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14294
14294
|
chainID,
|
|
14295
14295
|
coreContractAddress,
|
|
14296
14296
|
registrationContractAddress,
|
|
14297
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
14297
|
+
sdkVersion: 'ts-immutable-sdk-1.23.0',
|
|
14298
14298
|
baseConfig,
|
|
14299
14299
|
});
|
|
14300
14300
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -45610,7 +45610,7 @@ const flattenProperties = (properties) => {
|
|
|
45610
45610
|
};
|
|
45611
45611
|
|
|
45612
45612
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45613
|
-
const SDK_VERSION = '1.
|
|
45613
|
+
const SDK_VERSION = '1.23.0';
|
|
45614
45614
|
const getReferrer = () => {
|
|
45615
45615
|
if (isNode()) {
|
|
45616
45616
|
return '';
|
|
@@ -50805,7 +50805,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50805
50805
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
50806
50806
|
};
|
|
50807
50807
|
|
|
50808
|
-
const SDK_VERSION_MARKER = '1.
|
|
50808
|
+
const SDK_VERSION_MARKER = '1.23.0';
|
|
50809
50809
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50810
50810
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50811
50811
|
|
package/dist/orderbook.js
CHANGED
|
@@ -131,7 +131,7 @@ const flattenProperties = (properties) => {
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
134
|
-
const SDK_VERSION = '1.
|
|
134
|
+
const SDK_VERSION = '1.23.0';
|
|
135
135
|
const getReferrer = () => {
|
|
136
136
|
if (isNode()) {
|
|
137
137
|
return '';
|
package/dist/passport.js
CHANGED
|
@@ -11446,7 +11446,7 @@ class MultiRollupApiClients {
|
|
|
11446
11446
|
}
|
|
11447
11447
|
|
|
11448
11448
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11449
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
11449
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
11450
11450
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
11451
11451
|
if (!basePath.trim()) {
|
|
11452
11452
|
throw Error('basePath can not be empty');
|
|
@@ -11625,7 +11625,7 @@ const flattenProperties = (properties) => {
|
|
|
11625
11625
|
};
|
|
11626
11626
|
|
|
11627
11627
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
11628
|
-
const SDK_VERSION = '1.
|
|
11628
|
+
const SDK_VERSION = '1.23.0';
|
|
11629
11629
|
const getReferrer = () => {
|
|
11630
11630
|
if (isNode()) {
|
|
11631
11631
|
return '';
|
|
@@ -11875,7 +11875,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
11875
11875
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
11876
11876
|
class ApiConfiguration extends index$2.Configuration {
|
|
11877
11877
|
}
|
|
11878
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
11878
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
11879
11879
|
/**
|
|
11880
11880
|
* @dev use createImmutableXConfiguration instead
|
|
11881
11881
|
*/
|
|
@@ -11914,7 +11914,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
11914
11914
|
chainID,
|
|
11915
11915
|
coreContractAddress,
|
|
11916
11916
|
registrationContractAddress,
|
|
11917
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
11917
|
+
sdkVersion: 'ts-immutable-sdk-1.23.0',
|
|
11918
11918
|
baseConfig,
|
|
11919
11919
|
});
|
|
11920
11920
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/dist/x.js
CHANGED
|
@@ -8954,7 +8954,7 @@ const flattenProperties = (properties) => {
|
|
|
8954
8954
|
};
|
|
8955
8955
|
|
|
8956
8956
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
8957
|
-
const SDK_VERSION = '1.
|
|
8957
|
+
const SDK_VERSION = '1.23.0';
|
|
8958
8958
|
const getReferrer = () => {
|
|
8959
8959
|
if (isNode()) {
|
|
8960
8960
|
return '';
|
|
@@ -9197,7 +9197,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
9197
9197
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
9198
9198
|
class ApiConfiguration extends index$2.Configuration {
|
|
9199
9199
|
}
|
|
9200
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
9200
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.23.0' };
|
|
9201
9201
|
/**
|
|
9202
9202
|
* @dev use createImmutableXConfiguration instead
|
|
9203
9203
|
*/
|
|
@@ -9236,7 +9236,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9236
9236
|
chainID,
|
|
9237
9237
|
coreContractAddress,
|
|
9238
9238
|
registrationContractAddress,
|
|
9239
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
9239
|
+
sdkVersion: 'ts-immutable-sdk-1.23.0',
|
|
9240
9240
|
baseConfig,
|
|
9241
9241
|
});
|
|
9242
9242
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imtbl/sdk",
|
|
3
3
|
"description": "Immutable Unified SDK",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.23.0",
|
|
5
5
|
"author": "Immutable",
|
|
6
6
|
"browser": "./dist/index.browser.js",
|
|
7
7
|
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"crypto-browserify": "^3.12.0",
|
|
35
35
|
"elliptic": "^6.5.4",
|
|
36
36
|
"enc-utils": "^3.0.0",
|
|
37
|
+
"ethereumjs-wallet": "^1.0.2",
|
|
37
38
|
"ethers": "^5.7.2",
|
|
38
39
|
"global-const": "^0.1.2",
|
|
39
40
|
"https-browserify": "^1.0.0",
|