@imtbl/sdk 1.43.2-alpha.4 → 1.43.2-alpha.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 +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.browser.js.map +1 -1
- package/dist/index.cjs +21 -12
- package/dist/index.js +21 -12
- package/dist/minting_backend.js +2 -2
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +18 -9
- package/dist/webhook.js +1 -1
- package/dist/x.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -185,7 +185,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
185
185
|
};
|
|
186
186
|
|
|
187
187
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
188
|
-
const SDK_VERSION$1 = '1.43.2-alpha.
|
|
188
|
+
const SDK_VERSION$1 = '1.43.2-alpha.6';
|
|
189
189
|
const getFrameParentDomain$1 = () => {
|
|
190
190
|
if (isNode$1()) {
|
|
191
191
|
return '';
|
|
@@ -14212,7 +14212,7 @@ class MultiRollupApiClients {
|
|
|
14212
14212
|
}
|
|
14213
14213
|
|
|
14214
14214
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14215
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.
|
|
14215
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
14216
14216
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14217
14217
|
if (!basePath.trim()) {
|
|
14218
14218
|
throw Error('basePath can not be empty');
|
|
@@ -14284,7 +14284,7 @@ class APIError extends Error {
|
|
|
14284
14284
|
|
|
14285
14285
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14286
14286
|
const defaultHeaders$1 = {
|
|
14287
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.43.2-alpha.
|
|
14287
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.43.2-alpha.6',
|
|
14288
14288
|
};
|
|
14289
14289
|
/**
|
|
14290
14290
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14758,7 +14758,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14758
14758
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14759
14759
|
class ApiConfiguration extends index$2.Configuration {
|
|
14760
14760
|
}
|
|
14761
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.
|
|
14761
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
14762
14762
|
/**
|
|
14763
14763
|
* @dev use createImmutableXConfiguration instead
|
|
14764
14764
|
*/
|
|
@@ -14799,7 +14799,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14799
14799
|
coreContractAddress,
|
|
14800
14800
|
registrationContractAddress,
|
|
14801
14801
|
registrationV4ContractAddress,
|
|
14802
|
-
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.
|
|
14802
|
+
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.6',
|
|
14803
14803
|
baseConfig,
|
|
14804
14804
|
});
|
|
14805
14805
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -30623,18 +30623,27 @@ class ZkEvmProvider {
|
|
|
30623
30623
|
return ethers.utils.hexlify(chainId);
|
|
30624
30624
|
}
|
|
30625
30625
|
// Pass through methods
|
|
30626
|
-
case 'eth_gasPrice':
|
|
30627
30626
|
case 'eth_getBalance':
|
|
30628
30627
|
case 'eth_getCode':
|
|
30629
|
-
case '
|
|
30630
|
-
|
|
30628
|
+
case 'eth_getTransactionCount': {
|
|
30629
|
+
const [address, blockNumber] = request.params || [];
|
|
30630
|
+
return this.#rpcProvider.send(request.method, [address, blockNumber || 'latest']);
|
|
30631
|
+
}
|
|
30632
|
+
case 'eth_getStorageAt': {
|
|
30633
|
+
const [address, storageSlot, blockNumber] = request.params || [];
|
|
30634
|
+
return this.#rpcProvider.send(request.method, [address, storageSlot, blockNumber || 'latest']);
|
|
30635
|
+
}
|
|
30631
30636
|
case 'eth_call':
|
|
30637
|
+
case 'eth_estimateGas': {
|
|
30638
|
+
const [transaction, blockNumber] = request.params || [];
|
|
30639
|
+
return this.#rpcProvider.send(request.method, [transaction, blockNumber || 'latest']);
|
|
30640
|
+
}
|
|
30641
|
+
case 'eth_gasPrice':
|
|
30632
30642
|
case 'eth_blockNumber':
|
|
30633
30643
|
case 'eth_getBlockByHash':
|
|
30634
30644
|
case 'eth_getBlockByNumber':
|
|
30635
30645
|
case 'eth_getTransactionByHash':
|
|
30636
|
-
case 'eth_getTransactionReceipt':
|
|
30637
|
-
case 'eth_getTransactionCount': {
|
|
30646
|
+
case 'eth_getTransactionReceipt': {
|
|
30638
30647
|
return this.#rpcProvider.send(request.method, request.params || []);
|
|
30639
30648
|
}
|
|
30640
30649
|
default: {
|
|
@@ -52226,7 +52235,7 @@ const flattenProperties = (properties) => {
|
|
|
52226
52235
|
};
|
|
52227
52236
|
|
|
52228
52237
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
52229
|
-
const SDK_VERSION = '1.43.2-alpha.
|
|
52238
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
52230
52239
|
const getFrameParentDomain = () => {
|
|
52231
52240
|
if (isNode()) {
|
|
52232
52241
|
return '';
|
|
@@ -57545,7 +57554,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
57545
57554
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
57546
57555
|
};
|
|
57547
57556
|
|
|
57548
|
-
const SDK_VERSION_MARKER = '1.43.2-alpha.
|
|
57557
|
+
const SDK_VERSION_MARKER = '1.43.2-alpha.6';
|
|
57549
57558
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
57550
57559
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
57551
57560
|
|
package/dist/index.js
CHANGED
|
@@ -162,7 +162,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
165
|
-
const SDK_VERSION$1 = '1.43.2-alpha.
|
|
165
|
+
const SDK_VERSION$1 = '1.43.2-alpha.6';
|
|
166
166
|
const getFrameParentDomain$1 = () => {
|
|
167
167
|
if (isNode$1()) {
|
|
168
168
|
return '';
|
|
@@ -14189,7 +14189,7 @@ class MultiRollupApiClients {
|
|
|
14189
14189
|
}
|
|
14190
14190
|
|
|
14191
14191
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14192
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.
|
|
14192
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
14193
14193
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14194
14194
|
if (!basePath.trim()) {
|
|
14195
14195
|
throw Error('basePath can not be empty');
|
|
@@ -14261,7 +14261,7 @@ class APIError extends Error {
|
|
|
14261
14261
|
|
|
14262
14262
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14263
14263
|
const defaultHeaders$1 = {
|
|
14264
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.43.2-alpha.
|
|
14264
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.43.2-alpha.6',
|
|
14265
14265
|
};
|
|
14266
14266
|
/**
|
|
14267
14267
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14735,7 +14735,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14735
14735
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14736
14736
|
class ApiConfiguration extends index$2.Configuration {
|
|
14737
14737
|
}
|
|
14738
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.
|
|
14738
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
14739
14739
|
/**
|
|
14740
14740
|
* @dev use createImmutableXConfiguration instead
|
|
14741
14741
|
*/
|
|
@@ -14776,7 +14776,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14776
14776
|
coreContractAddress,
|
|
14777
14777
|
registrationContractAddress,
|
|
14778
14778
|
registrationV4ContractAddress,
|
|
14779
|
-
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.
|
|
14779
|
+
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.6',
|
|
14780
14780
|
baseConfig,
|
|
14781
14781
|
});
|
|
14782
14782
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -30600,18 +30600,27 @@ class ZkEvmProvider {
|
|
|
30600
30600
|
return utils$3.hexlify(chainId);
|
|
30601
30601
|
}
|
|
30602
30602
|
// Pass through methods
|
|
30603
|
-
case 'eth_gasPrice':
|
|
30604
30603
|
case 'eth_getBalance':
|
|
30605
30604
|
case 'eth_getCode':
|
|
30606
|
-
case '
|
|
30607
|
-
|
|
30605
|
+
case 'eth_getTransactionCount': {
|
|
30606
|
+
const [address, blockNumber] = request.params || [];
|
|
30607
|
+
return this.#rpcProvider.send(request.method, [address, blockNumber || 'latest']);
|
|
30608
|
+
}
|
|
30609
|
+
case 'eth_getStorageAt': {
|
|
30610
|
+
const [address, storageSlot, blockNumber] = request.params || [];
|
|
30611
|
+
return this.#rpcProvider.send(request.method, [address, storageSlot, blockNumber || 'latest']);
|
|
30612
|
+
}
|
|
30608
30613
|
case 'eth_call':
|
|
30614
|
+
case 'eth_estimateGas': {
|
|
30615
|
+
const [transaction, blockNumber] = request.params || [];
|
|
30616
|
+
return this.#rpcProvider.send(request.method, [transaction, blockNumber || 'latest']);
|
|
30617
|
+
}
|
|
30618
|
+
case 'eth_gasPrice':
|
|
30609
30619
|
case 'eth_blockNumber':
|
|
30610
30620
|
case 'eth_getBlockByHash':
|
|
30611
30621
|
case 'eth_getBlockByNumber':
|
|
30612
30622
|
case 'eth_getTransactionByHash':
|
|
30613
|
-
case 'eth_getTransactionReceipt':
|
|
30614
|
-
case 'eth_getTransactionCount': {
|
|
30623
|
+
case 'eth_getTransactionReceipt': {
|
|
30615
30624
|
return this.#rpcProvider.send(request.method, request.params || []);
|
|
30616
30625
|
}
|
|
30617
30626
|
default: {
|
|
@@ -52203,7 +52212,7 @@ const flattenProperties = (properties) => {
|
|
|
52203
52212
|
};
|
|
52204
52213
|
|
|
52205
52214
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
52206
|
-
const SDK_VERSION = '1.43.2-alpha.
|
|
52215
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
52207
52216
|
const getFrameParentDomain = () => {
|
|
52208
52217
|
if (isNode()) {
|
|
52209
52218
|
return '';
|
|
@@ -57522,7 +57531,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
57522
57531
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
57523
57532
|
};
|
|
57524
57533
|
|
|
57525
|
-
const SDK_VERSION_MARKER = '1.43.2-alpha.
|
|
57534
|
+
const SDK_VERSION_MARKER = '1.43.2-alpha.6';
|
|
57526
57535
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
57527
57536
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
57528
57537
|
|
package/dist/minting_backend.js
CHANGED
|
@@ -5286,7 +5286,7 @@ const flattenProperties = (properties) => {
|
|
|
5286
5286
|
};
|
|
5287
5287
|
|
|
5288
5288
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
5289
|
-
const SDK_VERSION = '1.43.2-alpha.
|
|
5289
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
5290
5290
|
const getFrameParentDomain = () => {
|
|
5291
5291
|
if (isNode()) {
|
|
5292
5292
|
return '';
|
|
@@ -5554,7 +5554,7 @@ class APIError extends Error {
|
|
|
5554
5554
|
|
|
5555
5555
|
/* eslint-disable implicit-arrow-linebreak */
|
|
5556
5556
|
const defaultHeaders = {
|
|
5557
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.43.2-alpha.
|
|
5557
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.43.2-alpha.6',
|
|
5558
5558
|
};
|
|
5559
5559
|
/**
|
|
5560
5560
|
* createAPIConfiguration to create a custom Configuration
|
package/dist/orderbook.js
CHANGED
|
@@ -133,7 +133,7 @@ const flattenProperties = (properties) => {
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
136
|
-
const SDK_VERSION = '1.43.2-alpha.
|
|
136
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
137
137
|
const getFrameParentDomain = () => {
|
|
138
138
|
if (isNode()) {
|
|
139
139
|
return '';
|
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.43.2-alpha.
|
|
11462
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
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.43.2-alpha.
|
|
11641
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
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.43.2-alpha.
|
|
12031
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
12032
12032
|
/**
|
|
12033
12033
|
* @dev use createImmutableXConfiguration instead
|
|
12034
12034
|
*/
|
|
@@ -12069,7 +12069,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
12069
12069
|
coreContractAddress,
|
|
12070
12070
|
registrationContractAddress,
|
|
12071
12071
|
registrationV4ContractAddress,
|
|
12072
|
-
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.
|
|
12072
|
+
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.6',
|
|
12073
12073
|
baseConfig,
|
|
12074
12074
|
});
|
|
12075
12075
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -22783,18 +22783,27 @@ class ZkEvmProvider {
|
|
|
22783
22783
|
return utils$2.hexlify(chainId);
|
|
22784
22784
|
}
|
|
22785
22785
|
// Pass through methods
|
|
22786
|
-
case 'eth_gasPrice':
|
|
22787
22786
|
case 'eth_getBalance':
|
|
22788
22787
|
case 'eth_getCode':
|
|
22789
|
-
case '
|
|
22790
|
-
|
|
22788
|
+
case 'eth_getTransactionCount': {
|
|
22789
|
+
const [address, blockNumber] = request.params || [];
|
|
22790
|
+
return this.#rpcProvider.send(request.method, [address, blockNumber || 'latest']);
|
|
22791
|
+
}
|
|
22792
|
+
case 'eth_getStorageAt': {
|
|
22793
|
+
const [address, storageSlot, blockNumber] = request.params || [];
|
|
22794
|
+
return this.#rpcProvider.send(request.method, [address, storageSlot, blockNumber || 'latest']);
|
|
22795
|
+
}
|
|
22791
22796
|
case 'eth_call':
|
|
22797
|
+
case 'eth_estimateGas': {
|
|
22798
|
+
const [transaction, blockNumber] = request.params || [];
|
|
22799
|
+
return this.#rpcProvider.send(request.method, [transaction, blockNumber || 'latest']);
|
|
22800
|
+
}
|
|
22801
|
+
case 'eth_gasPrice':
|
|
22792
22802
|
case 'eth_blockNumber':
|
|
22793
22803
|
case 'eth_getBlockByHash':
|
|
22794
22804
|
case 'eth_getBlockByNumber':
|
|
22795
22805
|
case 'eth_getTransactionByHash':
|
|
22796
|
-
case 'eth_getTransactionReceipt':
|
|
22797
|
-
case 'eth_getTransactionCount': {
|
|
22806
|
+
case 'eth_getTransactionReceipt': {
|
|
22798
22807
|
return this.#rpcProvider.send(request.method, request.params || []);
|
|
22799
22808
|
}
|
|
22800
22809
|
default: {
|
package/dist/webhook.js
CHANGED
|
@@ -129,7 +129,7 @@ const flattenProperties = (properties) => {
|
|
|
129
129
|
};
|
|
130
130
|
|
|
131
131
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
132
|
-
const SDK_VERSION = '1.43.2-alpha.
|
|
132
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
133
133
|
const getFrameParentDomain = () => {
|
|
134
134
|
if (isNode()) {
|
|
135
135
|
return '';
|
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.43.2-alpha.
|
|
9006
|
+
const SDK_VERSION = '1.43.2-alpha.6';
|
|
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.43.2-alpha.
|
|
9272
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.43.2-alpha.6' };
|
|
9273
9273
|
/**
|
|
9274
9274
|
* @dev use createImmutableXConfiguration instead
|
|
9275
9275
|
*/
|
|
@@ -9310,7 +9310,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9310
9310
|
coreContractAddress,
|
|
9311
9311
|
registrationContractAddress,
|
|
9312
9312
|
registrationV4ContractAddress,
|
|
9313
|
-
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.
|
|
9313
|
+
sdkVersion: 'ts-immutable-sdk-1.43.2-alpha.6',
|
|
9314
9314
|
baseConfig,
|
|
9315
9315
|
});
|
|
9316
9316
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/package.json
CHANGED