@imtbl/sdk 1.36.2 → 1.36.3
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 +5 -10
- package/dist/config.js +1 -1
- package/dist/index.browser.js +5 -5
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +8 -13
- package/dist/index.js +8 -13
- package/dist/orderbook.js +2 -7
- package/dist/passport.js +4 -4
- package/dist/x.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -183,7 +183,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
183
183
|
};
|
|
184
184
|
|
|
185
185
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
186
|
-
const SDK_VERSION$1 = '1.36.
|
|
186
|
+
const SDK_VERSION$1 = '1.36.3';
|
|
187
187
|
const getFrameParentDomain$1 = () => {
|
|
188
188
|
if (isNode$1()) {
|
|
189
189
|
return '';
|
|
@@ -14210,7 +14210,7 @@ class MultiRollupApiClients {
|
|
|
14210
14210
|
}
|
|
14211
14211
|
|
|
14212
14212
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14213
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
14213
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
14214
14214
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14215
14215
|
if (!basePath.trim()) {
|
|
14216
14216
|
throw Error('basePath can not be empty');
|
|
@@ -14282,7 +14282,7 @@ class APIError extends Error {
|
|
|
14282
14282
|
|
|
14283
14283
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14284
14284
|
const defaultHeaders$1 = {
|
|
14285
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.36.
|
|
14285
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.36.3',
|
|
14286
14286
|
};
|
|
14287
14287
|
/**
|
|
14288
14288
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14756,7 +14756,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14756
14756
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14757
14757
|
class ApiConfiguration extends index$2.Configuration {
|
|
14758
14758
|
}
|
|
14759
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
14759
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
14760
14760
|
/**
|
|
14761
14761
|
* @dev use createImmutableXConfiguration instead
|
|
14762
14762
|
*/
|
|
@@ -14795,7 +14795,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14795
14795
|
chainID,
|
|
14796
14796
|
coreContractAddress,
|
|
14797
14797
|
registrationContractAddress,
|
|
14798
|
-
sdkVersion: 'ts-immutable-sdk-1.36.
|
|
14798
|
+
sdkVersion: 'ts-immutable-sdk-1.36.3',
|
|
14799
14799
|
baseConfig,
|
|
14800
14800
|
});
|
|
14801
14801
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -29269,8 +29269,6 @@ function getOrderbookConfig(config) {
|
|
|
29269
29269
|
case Environment$1.SANDBOX:
|
|
29270
29270
|
return {
|
|
29271
29271
|
seaportContractAddress: '0x7d117aA8BD6D31c4fa91722f246388f38ab1942c',
|
|
29272
|
-
// eslint-disable-next-line max-len
|
|
29273
|
-
// zoneContractAddress: '0x8831867E347AB87FA30199C5B695F0A31604Bb52', // ImmutableSignedZoneV1
|
|
29274
29272
|
zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3',
|
|
29275
29273
|
apiEndpoint: 'https://api.sandbox.immutable.com',
|
|
29276
29274
|
chainName: TESTNET_CHAIN_NAME,
|
|
@@ -29280,10 +29278,7 @@ function getOrderbookConfig(config) {
|
|
|
29280
29278
|
case Environment$1.PRODUCTION:
|
|
29281
29279
|
return {
|
|
29282
29280
|
seaportContractAddress: '0x6c12aD6F0bD274191075Eb2E78D7dA5ba6453424',
|
|
29283
|
-
|
|
29284
|
-
zoneContractAddress: '0x00338b92Bec262078B3e49BF12bbEA058916BF91',
|
|
29285
|
-
// eslint-disable-next-line max-len
|
|
29286
|
-
// zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3', // ImmutableSignedZoneV2
|
|
29281
|
+
zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3',
|
|
29287
29282
|
apiEndpoint: 'https://api.immutable.com',
|
|
29288
29283
|
chainName: MAINNET_CHAIN_NAME,
|
|
29289
29284
|
provider: getConfiguredProvider('https://rpc.immutable.com', config.baseConfig.rateLimitingKey),
|
|
@@ -58195,7 +58190,7 @@ const flattenProperties = (properties) => {
|
|
|
58195
58190
|
};
|
|
58196
58191
|
|
|
58197
58192
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
58198
|
-
const SDK_VERSION = '1.36.
|
|
58193
|
+
const SDK_VERSION = '1.36.3';
|
|
58199
58194
|
const getFrameParentDomain = () => {
|
|
58200
58195
|
if (isNode()) {
|
|
58201
58196
|
return '';
|
|
@@ -63488,7 +63483,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
63488
63483
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
63489
63484
|
};
|
|
63490
63485
|
|
|
63491
|
-
const SDK_VERSION_MARKER = '1.36.
|
|
63486
|
+
const SDK_VERSION_MARKER = '1.36.3';
|
|
63492
63487
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
63493
63488
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
63494
63489
|
|
package/dist/index.js
CHANGED
|
@@ -160,7 +160,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
163
|
-
const SDK_VERSION$1 = '1.36.
|
|
163
|
+
const SDK_VERSION$1 = '1.36.3';
|
|
164
164
|
const getFrameParentDomain$1 = () => {
|
|
165
165
|
if (isNode$1()) {
|
|
166
166
|
return '';
|
|
@@ -14187,7 +14187,7 @@ class MultiRollupApiClients {
|
|
|
14187
14187
|
}
|
|
14188
14188
|
|
|
14189
14189
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14190
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
14190
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
14191
14191
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14192
14192
|
if (!basePath.trim()) {
|
|
14193
14193
|
throw Error('basePath can not be empty');
|
|
@@ -14259,7 +14259,7 @@ class APIError extends Error {
|
|
|
14259
14259
|
|
|
14260
14260
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14261
14261
|
const defaultHeaders$1 = {
|
|
14262
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.36.
|
|
14262
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.36.3',
|
|
14263
14263
|
};
|
|
14264
14264
|
/**
|
|
14265
14265
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14733,7 +14733,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14733
14733
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14734
14734
|
class ApiConfiguration extends index$2.Configuration {
|
|
14735
14735
|
}
|
|
14736
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
14736
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
14737
14737
|
/**
|
|
14738
14738
|
* @dev use createImmutableXConfiguration instead
|
|
14739
14739
|
*/
|
|
@@ -14772,7 +14772,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14772
14772
|
chainID,
|
|
14773
14773
|
coreContractAddress,
|
|
14774
14774
|
registrationContractAddress,
|
|
14775
|
-
sdkVersion: 'ts-immutable-sdk-1.36.
|
|
14775
|
+
sdkVersion: 'ts-immutable-sdk-1.36.3',
|
|
14776
14776
|
baseConfig,
|
|
14777
14777
|
});
|
|
14778
14778
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -29246,8 +29246,6 @@ function getOrderbookConfig(config) {
|
|
|
29246
29246
|
case Environment$1.SANDBOX:
|
|
29247
29247
|
return {
|
|
29248
29248
|
seaportContractAddress: '0x7d117aA8BD6D31c4fa91722f246388f38ab1942c',
|
|
29249
|
-
// eslint-disable-next-line max-len
|
|
29250
|
-
// zoneContractAddress: '0x8831867E347AB87FA30199C5B695F0A31604Bb52', // ImmutableSignedZoneV1
|
|
29251
29249
|
zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3',
|
|
29252
29250
|
apiEndpoint: 'https://api.sandbox.immutable.com',
|
|
29253
29251
|
chainName: TESTNET_CHAIN_NAME,
|
|
@@ -29257,10 +29255,7 @@ function getOrderbookConfig(config) {
|
|
|
29257
29255
|
case Environment$1.PRODUCTION:
|
|
29258
29256
|
return {
|
|
29259
29257
|
seaportContractAddress: '0x6c12aD6F0bD274191075Eb2E78D7dA5ba6453424',
|
|
29260
|
-
|
|
29261
|
-
zoneContractAddress: '0x00338b92Bec262078B3e49BF12bbEA058916BF91',
|
|
29262
|
-
// eslint-disable-next-line max-len
|
|
29263
|
-
// zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3', // ImmutableSignedZoneV2
|
|
29258
|
+
zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3',
|
|
29264
29259
|
apiEndpoint: 'https://api.immutable.com',
|
|
29265
29260
|
chainName: MAINNET_CHAIN_NAME,
|
|
29266
29261
|
provider: getConfiguredProvider('https://rpc.immutable.com', config.baseConfig.rateLimitingKey),
|
|
@@ -58172,7 +58167,7 @@ const flattenProperties = (properties) => {
|
|
|
58172
58167
|
};
|
|
58173
58168
|
|
|
58174
58169
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
58175
|
-
const SDK_VERSION = '1.36.
|
|
58170
|
+
const SDK_VERSION = '1.36.3';
|
|
58176
58171
|
const getFrameParentDomain = () => {
|
|
58177
58172
|
if (isNode()) {
|
|
58178
58173
|
return '';
|
|
@@ -63465,7 +63460,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
63465
63460
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
63466
63461
|
};
|
|
63467
63462
|
|
|
63468
|
-
const SDK_VERSION_MARKER = '1.36.
|
|
63463
|
+
const SDK_VERSION_MARKER = '1.36.3';
|
|
63469
63464
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
63470
63465
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
63471
63466
|
|
package/dist/orderbook.js
CHANGED
|
@@ -132,7 +132,7 @@ const flattenProperties = (properties) => {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
135
|
-
const SDK_VERSION = '1.36.
|
|
135
|
+
const SDK_VERSION = '1.36.3';
|
|
136
136
|
const getFrameParentDomain = () => {
|
|
137
137
|
if (isNode()) {
|
|
138
138
|
return '';
|
|
@@ -1710,8 +1710,6 @@ function getOrderbookConfig(config) {
|
|
|
1710
1710
|
case Environment.SANDBOX:
|
|
1711
1711
|
return {
|
|
1712
1712
|
seaportContractAddress: '0x7d117aA8BD6D31c4fa91722f246388f38ab1942c',
|
|
1713
|
-
// eslint-disable-next-line max-len
|
|
1714
|
-
// zoneContractAddress: '0x8831867E347AB87FA30199C5B695F0A31604Bb52', // ImmutableSignedZoneV1
|
|
1715
1713
|
zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3',
|
|
1716
1714
|
apiEndpoint: 'https://api.sandbox.immutable.com',
|
|
1717
1715
|
chainName: TESTNET_CHAIN_NAME,
|
|
@@ -1721,10 +1719,7 @@ function getOrderbookConfig(config) {
|
|
|
1721
1719
|
case Environment.PRODUCTION:
|
|
1722
1720
|
return {
|
|
1723
1721
|
seaportContractAddress: '0x6c12aD6F0bD274191075Eb2E78D7dA5ba6453424',
|
|
1724
|
-
|
|
1725
|
-
zoneContractAddress: '0x00338b92Bec262078B3e49BF12bbEA058916BF91',
|
|
1726
|
-
// eslint-disable-next-line max-len
|
|
1727
|
-
// zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3', // ImmutableSignedZoneV2
|
|
1722
|
+
zoneContractAddress: '0x1004f9615E79462c711Ff05a386BdbA91a7628C3',
|
|
1728
1723
|
apiEndpoint: 'https://api.immutable.com',
|
|
1729
1724
|
chainName: MAINNET_CHAIN_NAME,
|
|
1730
1725
|
provider: getConfiguredProvider('https://rpc.immutable.com', config.baseConfig.rateLimitingKey),
|
package/dist/passport.js
CHANGED
|
@@ -11459,7 +11459,7 @@ class MultiRollupApiClients {
|
|
|
11459
11459
|
}
|
|
11460
11460
|
|
|
11461
11461
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11462
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
11462
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
11463
11463
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
11464
11464
|
if (!basePath.trim()) {
|
|
11465
11465
|
throw Error('basePath can not be empty');
|
|
@@ -11638,7 +11638,7 @@ const flattenProperties = (properties) => {
|
|
|
11638
11638
|
};
|
|
11639
11639
|
|
|
11640
11640
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
11641
|
-
const SDK_VERSION = '1.36.
|
|
11641
|
+
const SDK_VERSION = '1.36.3';
|
|
11642
11642
|
const getFrameParentDomain = () => {
|
|
11643
11643
|
if (isNode()) {
|
|
11644
11644
|
return '';
|
|
@@ -12028,7 +12028,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
12028
12028
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
12029
12029
|
class ApiConfiguration extends index$2.Configuration {
|
|
12030
12030
|
}
|
|
12031
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
12031
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
12032
12032
|
/**
|
|
12033
12033
|
* @dev use createImmutableXConfiguration instead
|
|
12034
12034
|
*/
|
|
@@ -12067,7 +12067,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
12067
12067
|
chainID,
|
|
12068
12068
|
coreContractAddress,
|
|
12069
12069
|
registrationContractAddress,
|
|
12070
|
-
sdkVersion: 'ts-immutable-sdk-1.36.
|
|
12070
|
+
sdkVersion: 'ts-immutable-sdk-1.36.3',
|
|
12071
12071
|
baseConfig,
|
|
12072
12072
|
});
|
|
12073
12073
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/dist/x.js
CHANGED
|
@@ -9003,7 +9003,7 @@ const flattenProperties = (properties) => {
|
|
|
9003
9003
|
};
|
|
9004
9004
|
|
|
9005
9005
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
9006
|
-
const SDK_VERSION = '1.36.
|
|
9006
|
+
const SDK_VERSION = '1.36.3';
|
|
9007
9007
|
const getFrameParentDomain = () => {
|
|
9008
9008
|
if (isNode()) {
|
|
9009
9009
|
return '';
|
|
@@ -9269,7 +9269,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
9269
9269
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
9270
9270
|
class ApiConfiguration extends index$2.Configuration {
|
|
9271
9271
|
}
|
|
9272
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.
|
|
9272
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.36.3' };
|
|
9273
9273
|
/**
|
|
9274
9274
|
* @dev use createImmutableXConfiguration instead
|
|
9275
9275
|
*/
|
|
@@ -9308,7 +9308,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9308
9308
|
chainID,
|
|
9309
9309
|
coreContractAddress,
|
|
9310
9310
|
registrationContractAddress,
|
|
9311
|
-
sdkVersion: 'ts-immutable-sdk-1.36.
|
|
9311
|
+
sdkVersion: 'ts-immutable-sdk-1.36.3',
|
|
9312
9312
|
baseConfig,
|
|
9313
9313
|
});
|
|
9314
9314
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/package.json
CHANGED