@imtbl/sdk 1.19.5-alpha → 1.19.6-alpha
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 +11 -11
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +13 -9
- package/dist/index.js +13 -9
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +10 -6
- package/dist/x.js +9 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -182,7 +182,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
185
|
-
const SDK_VERSION$1 = '1.19.
|
|
185
|
+
const SDK_VERSION$1 = '1.19.6-alpha';
|
|
186
186
|
const getReferrer$1 = () => {
|
|
187
187
|
if (isNode$1()) {
|
|
188
188
|
return '';
|
|
@@ -13558,7 +13558,7 @@ class MultiRollupApiClients {
|
|
|
13558
13558
|
}
|
|
13559
13559
|
|
|
13560
13560
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13561
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
13561
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
13562
13562
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13563
13563
|
if (!basePath.trim()) {
|
|
13564
13564
|
throw Error('basePath can not be empty');
|
|
@@ -13630,7 +13630,7 @@ class APIError extends Error {
|
|
|
13630
13630
|
|
|
13631
13631
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13632
13632
|
const defaultHeaders$1 = {
|
|
13633
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.19.
|
|
13633
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.19.6-alpha',
|
|
13634
13634
|
};
|
|
13635
13635
|
/**
|
|
13636
13636
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14104,7 +14104,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14104
14104
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14105
14105
|
class ApiConfiguration extends index$2.Configuration {
|
|
14106
14106
|
}
|
|
14107
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
14107
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
14108
14108
|
/**
|
|
14109
14109
|
* @dev use createImmutableXConfiguration instead
|
|
14110
14110
|
*/
|
|
@@ -14143,7 +14143,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14143
14143
|
chainID,
|
|
14144
14144
|
coreContractAddress,
|
|
14145
14145
|
registrationContractAddress,
|
|
14146
|
-
sdkVersion: 'ts-immutable-sdk-1.19.
|
|
14146
|
+
sdkVersion: 'ts-immutable-sdk-1.19.6-alpha',
|
|
14147
14147
|
baseConfig,
|
|
14148
14148
|
});
|
|
14149
14149
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -16355,8 +16355,10 @@ const DEFAULT_ACCOUNT_APPLICATION = 'immutablex';
|
|
|
16355
16355
|
const DEFAULT_ACCOUNT_INDEX = '1';
|
|
16356
16356
|
const prime = new BN$2('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
16357
16357
|
const order = new BN$2('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
16358
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16359
|
+
const { PresetCurve: PresetCurve$1 } = elliptic__namespace.curves;
|
|
16358
16360
|
// eslint-disable-next-line new-cap
|
|
16359
|
-
const starkEc = new elliptic__namespace.ec(new
|
|
16361
|
+
const starkEc = new elliptic__namespace.ec(new PresetCurve$1({
|
|
16360
16362
|
type: 'short',
|
|
16361
16363
|
prime: null,
|
|
16362
16364
|
p: prime,
|
|
@@ -16544,8 +16546,10 @@ G = (874739451078007766457464989774322083649278607533249481151382481072868806602
|
|
|
16544
16546
|
https://docs.starkware.co/starkex-v4/crypto/stark-curve
|
|
16545
16547
|
*/
|
|
16546
16548
|
const starkEcOrder = new BN$2('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
16549
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16550
|
+
const { PresetCurve } = elliptic__namespace.curves;
|
|
16547
16551
|
// eslint-disable-next-line new-cap
|
|
16548
|
-
new elliptic__namespace.ec(new
|
|
16552
|
+
new elliptic__namespace.ec(new PresetCurve({
|
|
16549
16553
|
type: 'short',
|
|
16550
16554
|
prime: null,
|
|
16551
16555
|
p: '08000000 00000011 00000000 00000000 00000000 00000000 00000000 00000001',
|
|
@@ -45439,7 +45443,7 @@ const flattenProperties = (properties) => {
|
|
|
45439
45443
|
};
|
|
45440
45444
|
|
|
45441
45445
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45442
|
-
const SDK_VERSION = '1.19.
|
|
45446
|
+
const SDK_VERSION = '1.19.6-alpha';
|
|
45443
45447
|
const getReferrer = () => {
|
|
45444
45448
|
if (isNode()) {
|
|
45445
45449
|
return '';
|
|
@@ -50634,7 +50638,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50634
50638
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
50635
50639
|
};
|
|
50636
50640
|
|
|
50637
|
-
const SDK_VERSION_MARKER = '1.19.
|
|
50641
|
+
const SDK_VERSION_MARKER = '1.19.6-alpha';
|
|
50638
50642
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50639
50643
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50640
50644
|
|
package/dist/index.js
CHANGED
|
@@ -159,7 +159,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
162
|
-
const SDK_VERSION$1 = '1.19.
|
|
162
|
+
const SDK_VERSION$1 = '1.19.6-alpha';
|
|
163
163
|
const getReferrer$1 = () => {
|
|
164
164
|
if (isNode$1()) {
|
|
165
165
|
return '';
|
|
@@ -13535,7 +13535,7 @@ class MultiRollupApiClients {
|
|
|
13535
13535
|
}
|
|
13536
13536
|
|
|
13537
13537
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13538
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
13538
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
13539
13539
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13540
13540
|
if (!basePath.trim()) {
|
|
13541
13541
|
throw Error('basePath can not be empty');
|
|
@@ -13607,7 +13607,7 @@ class APIError extends Error {
|
|
|
13607
13607
|
|
|
13608
13608
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13609
13609
|
const defaultHeaders$1 = {
|
|
13610
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.19.
|
|
13610
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.19.6-alpha',
|
|
13611
13611
|
};
|
|
13612
13612
|
/**
|
|
13613
13613
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14081,7 +14081,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14081
14081
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14082
14082
|
class ApiConfiguration extends index$2.Configuration {
|
|
14083
14083
|
}
|
|
14084
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
14084
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
14085
14085
|
/**
|
|
14086
14086
|
* @dev use createImmutableXConfiguration instead
|
|
14087
14087
|
*/
|
|
@@ -14120,7 +14120,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14120
14120
|
chainID,
|
|
14121
14121
|
coreContractAddress,
|
|
14122
14122
|
registrationContractAddress,
|
|
14123
|
-
sdkVersion: 'ts-immutable-sdk-1.19.
|
|
14123
|
+
sdkVersion: 'ts-immutable-sdk-1.19.6-alpha',
|
|
14124
14124
|
baseConfig,
|
|
14125
14125
|
});
|
|
14126
14126
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -16332,8 +16332,10 @@ const DEFAULT_ACCOUNT_APPLICATION = 'immutablex';
|
|
|
16332
16332
|
const DEFAULT_ACCOUNT_INDEX = '1';
|
|
16333
16333
|
const prime = new BN$2('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
16334
16334
|
const order = new BN$2('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
16335
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16336
|
+
const { PresetCurve: PresetCurve$1 } = elliptic.curves;
|
|
16335
16337
|
// eslint-disable-next-line new-cap
|
|
16336
|
-
const starkEc = new elliptic.ec(new
|
|
16338
|
+
const starkEc = new elliptic.ec(new PresetCurve$1({
|
|
16337
16339
|
type: 'short',
|
|
16338
16340
|
prime: null,
|
|
16339
16341
|
p: prime,
|
|
@@ -16521,8 +16523,10 @@ G = (874739451078007766457464989774322083649278607533249481151382481072868806602
|
|
|
16521
16523
|
https://docs.starkware.co/starkex-v4/crypto/stark-curve
|
|
16522
16524
|
*/
|
|
16523
16525
|
const starkEcOrder = new BN$2('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
16526
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16527
|
+
const { PresetCurve } = elliptic.curves;
|
|
16524
16528
|
// eslint-disable-next-line new-cap
|
|
16525
|
-
new elliptic.ec(new
|
|
16529
|
+
new elliptic.ec(new PresetCurve({
|
|
16526
16530
|
type: 'short',
|
|
16527
16531
|
prime: null,
|
|
16528
16532
|
p: '08000000 00000011 00000000 00000000 00000000 00000000 00000000 00000001',
|
|
@@ -45416,7 +45420,7 @@ const flattenProperties = (properties) => {
|
|
|
45416
45420
|
};
|
|
45417
45421
|
|
|
45418
45422
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45419
|
-
const SDK_VERSION = '1.19.
|
|
45423
|
+
const SDK_VERSION = '1.19.6-alpha';
|
|
45420
45424
|
const getReferrer = () => {
|
|
45421
45425
|
if (isNode()) {
|
|
45422
45426
|
return '';
|
|
@@ -50611,7 +50615,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50611
50615
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
50612
50616
|
};
|
|
50613
50617
|
|
|
50614
|
-
const SDK_VERSION_MARKER = '1.19.
|
|
50618
|
+
const SDK_VERSION_MARKER = '1.19.6-alpha';
|
|
50615
50619
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50616
50620
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50617
50621
|
|
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.19.
|
|
134
|
+
const SDK_VERSION = '1.19.6-alpha';
|
|
135
135
|
const getReferrer = () => {
|
|
136
136
|
if (isNode()) {
|
|
137
137
|
return '';
|
package/dist/passport.js
CHANGED
|
@@ -11350,7 +11350,7 @@ class MultiRollupApiClients {
|
|
|
11350
11350
|
}
|
|
11351
11351
|
|
|
11352
11352
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11353
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
11353
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
11354
11354
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
11355
11355
|
if (!basePath.trim()) {
|
|
11356
11356
|
throw Error('basePath can not be empty');
|
|
@@ -11529,7 +11529,7 @@ const flattenProperties = (properties) => {
|
|
|
11529
11529
|
};
|
|
11530
11530
|
|
|
11531
11531
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
11532
|
-
const SDK_VERSION = '1.19.
|
|
11532
|
+
const SDK_VERSION = '1.19.6-alpha';
|
|
11533
11533
|
const getReferrer = () => {
|
|
11534
11534
|
if (isNode()) {
|
|
11535
11535
|
return '';
|
|
@@ -11779,7 +11779,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
11779
11779
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
11780
11780
|
class ApiConfiguration extends index$2.Configuration {
|
|
11781
11781
|
}
|
|
11782
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
11782
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
11783
11783
|
/**
|
|
11784
11784
|
* @dev use createImmutableXConfiguration instead
|
|
11785
11785
|
*/
|
|
@@ -11818,7 +11818,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
11818
11818
|
chainID,
|
|
11819
11819
|
coreContractAddress,
|
|
11820
11820
|
registrationContractAddress,
|
|
11821
|
-
sdkVersion: 'ts-immutable-sdk-1.19.
|
|
11821
|
+
sdkVersion: 'ts-immutable-sdk-1.19.6-alpha',
|
|
11822
11822
|
baseConfig,
|
|
11823
11823
|
});
|
|
11824
11824
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -14001,8 +14001,10 @@ const constantPointsHex = [
|
|
|
14001
14001
|
];
|
|
14002
14002
|
const prime = new BN('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
14003
14003
|
const order = new BN('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
14004
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14005
|
+
const { PresetCurve: PresetCurve$1 } = elliptic.curves;
|
|
14004
14006
|
// eslint-disable-next-line new-cap
|
|
14005
|
-
const starkEc = new elliptic.ec(new
|
|
14007
|
+
const starkEc = new elliptic.ec(new PresetCurve$1({
|
|
14006
14008
|
type: 'short',
|
|
14007
14009
|
prime: null,
|
|
14008
14010
|
p: prime,
|
|
@@ -14070,8 +14072,10 @@ G = (874739451078007766457464989774322083649278607533249481151382481072868806602
|
|
|
14070
14072
|
https://docs.starkware.co/starkex-v4/crypto/stark-curve
|
|
14071
14073
|
*/
|
|
14072
14074
|
const starkEcOrder = new BN('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
14075
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14076
|
+
const { PresetCurve } = elliptic.curves;
|
|
14073
14077
|
// eslint-disable-next-line new-cap
|
|
14074
|
-
new elliptic.ec(new
|
|
14078
|
+
new elliptic.ec(new PresetCurve({
|
|
14075
14079
|
type: 'short',
|
|
14076
14080
|
prime: null,
|
|
14077
14081
|
p: '08000000 00000011 00000000 00000000 00000000 00000000 00000000 00000001',
|
package/dist/x.js
CHANGED
|
@@ -8953,7 +8953,7 @@ const flattenProperties = (properties) => {
|
|
|
8953
8953
|
};
|
|
8954
8954
|
|
|
8955
8955
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
8956
|
-
const SDK_VERSION = '1.19.
|
|
8956
|
+
const SDK_VERSION = '1.19.6-alpha';
|
|
8957
8957
|
const getReferrer = () => {
|
|
8958
8958
|
if (isNode()) {
|
|
8959
8959
|
return '';
|
|
@@ -9196,7 +9196,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
9196
9196
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
9197
9197
|
class ApiConfiguration extends index$2.Configuration {
|
|
9198
9198
|
}
|
|
9199
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.
|
|
9199
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.19.6-alpha' };
|
|
9200
9200
|
/**
|
|
9201
9201
|
* @dev use createImmutableXConfiguration instead
|
|
9202
9202
|
*/
|
|
@@ -9235,7 +9235,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9235
9235
|
chainID,
|
|
9236
9236
|
coreContractAddress,
|
|
9237
9237
|
registrationContractAddress,
|
|
9238
|
-
sdkVersion: 'ts-immutable-sdk-1.19.
|
|
9238
|
+
sdkVersion: 'ts-immutable-sdk-1.19.6-alpha',
|
|
9239
9239
|
baseConfig,
|
|
9240
9240
|
});
|
|
9241
9241
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -11447,8 +11447,10 @@ const DEFAULT_ACCOUNT_APPLICATION = 'immutablex';
|
|
|
11447
11447
|
const DEFAULT_ACCOUNT_INDEX = '1';
|
|
11448
11448
|
const prime = new BN('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
11449
11449
|
const order = new BN('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
11450
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11451
|
+
const { PresetCurve: PresetCurve$1 } = elliptic.curves;
|
|
11450
11452
|
// eslint-disable-next-line new-cap
|
|
11451
|
-
const starkEc = new elliptic.ec(new
|
|
11453
|
+
const starkEc = new elliptic.ec(new PresetCurve$1({
|
|
11452
11454
|
type: 'short',
|
|
11453
11455
|
prime: null,
|
|
11454
11456
|
p: prime,
|
|
@@ -11636,8 +11638,10 @@ G = (874739451078007766457464989774322083649278607533249481151382481072868806602
|
|
|
11636
11638
|
https://docs.starkware.co/starkex-v4/crypto/stark-curve
|
|
11637
11639
|
*/
|
|
11638
11640
|
const starkEcOrder = new BN('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
11641
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11642
|
+
const { PresetCurve } = elliptic.curves;
|
|
11639
11643
|
// eslint-disable-next-line new-cap
|
|
11640
|
-
new elliptic.ec(new
|
|
11644
|
+
new elliptic.ec(new PresetCurve({
|
|
11641
11645
|
type: 'short',
|
|
11642
11646
|
prime: null,
|
|
11643
11647
|
p: '08000000 00000011 00000000 00000000 00000000 00000000 00000000 00000001',
|
package/package.json
CHANGED