@imtbl/sdk 1.20.7-alpha → 1.21.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/{BridgeWidget-96d21be7.js → BridgeWidget-48ef95fb.js} +1 -1
- package/dist/browser/checkout/{HorizontalMenu-actual-a3adaae7.js → HorizontalMenu-actual-1b0aa351.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-3372ba87.js → OnRampWidget-1c87f5ac.js} +1 -1
- package/dist/browser/checkout/{SaleWidget-9f8bf783.js → SaleWidget-51e77b6f.js} +1 -1
- package/dist/browser/checkout/{SpendingCapHero-57530fb0.js → SpendingCapHero-43d4d6a1.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-5b6cfa96.js → SwapWidget-3040f466.js} +1 -1
- package/dist/browser/checkout/{TopUpView-c72f0715.js → TopUpView-9237bc6c.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-78569f28.js → WalletWidget-b5e4f4d7.js} +1 -1
- package/dist/browser/checkout/{auto-track-154d6787.js → auto-track-dbd0e9c6.js} +1 -1
- package/dist/browser/checkout/{balance-01e0fff7.js → balance-3b1416a3.js} +1 -1
- package/dist/browser/checkout/{index-2913e282.js → index-383a69c3.js} +1 -1
- package/dist/browser/checkout/{index-b4e040e5.js → index-67abd982.js} +2 -2
- package/dist/browser/checkout/{index-9fbe0ac0.js → index-8107ef81.js} +1 -1
- package/dist/browser/checkout/{index-9abea5b9.js → index-a4b63381.js} +1 -1
- package/dist/browser/checkout/index-a81361a5.js +1 -0
- package/dist/browser/checkout/{index-1f0cceb7.js → index-d80910d5.js} +1 -1
- package/dist/browser/checkout/{index-ac02ee19.js → index-ebf766fc.js} +1 -1
- package/dist/browser/checkout/{index-945997ae.js → index-f5dd3066.js} +1 -1
- package/dist/browser/checkout/{index.umd-baccce2f.js → index.umd-b03c715d.js} +1 -1
- package/dist/browser/checkout/{retry-01b0b973.js → retry-da82ba74.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +2 -2
- package/dist/checkout.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +19 -7
- package/dist/index.js +19 -7
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +16 -4
- package/dist/x.js +3 -3
- package/package.json +1 -1
- package/dist/browser/checkout/index-596e3f7a.js +0 -1
package/dist/index.cjs
CHANGED
|
@@ -181,7 +181,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
184
|
-
const SDK_VERSION$1 = '1.
|
|
184
|
+
const SDK_VERSION$1 = '1.21.0';
|
|
185
185
|
const getReferrer$1 = () => {
|
|
186
186
|
if (isNode$1()) {
|
|
187
187
|
return '';
|
|
@@ -13557,7 +13557,7 @@ class MultiRollupApiClients {
|
|
|
13557
13557
|
}
|
|
13558
13558
|
|
|
13559
13559
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13560
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
13560
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
13561
13561
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13562
13562
|
if (!basePath.trim()) {
|
|
13563
13563
|
throw Error('basePath can not be empty');
|
|
@@ -13629,7 +13629,7 @@ class APIError extends Error {
|
|
|
13629
13629
|
|
|
13630
13630
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13631
13631
|
const defaultHeaders$1 = {
|
|
13632
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
13632
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.21.0',
|
|
13633
13633
|
};
|
|
13634
13634
|
/**
|
|
13635
13635
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14103,7 +14103,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14103
14103
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14104
14104
|
class ApiConfiguration extends index$2.Configuration {
|
|
14105
14105
|
}
|
|
14106
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
14106
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
14107
14107
|
/**
|
|
14108
14108
|
* @dev use createImmutableXConfiguration instead
|
|
14109
14109
|
*/
|
|
@@ -14142,7 +14142,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14142
14142
|
chainID,
|
|
14143
14143
|
coreContractAddress,
|
|
14144
14144
|
registrationContractAddress,
|
|
14145
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
14145
|
+
sdkVersion: 'ts-immutable-sdk-1.21.0',
|
|
14146
14146
|
baseConfig,
|
|
14147
14147
|
});
|
|
14148
14148
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -25410,6 +25410,10 @@ class PassportConfiguration {
|
|
|
25410
25410
|
}
|
|
25411
25411
|
}
|
|
25412
25412
|
|
|
25413
|
+
var SendMessage;
|
|
25414
|
+
(function (SendMessage) {
|
|
25415
|
+
SendMessage["CONFIRMATION_START"] = "confirmation_start";
|
|
25416
|
+
})(SendMessage || (SendMessage = {}));
|
|
25413
25417
|
var ReceiveMessage;
|
|
25414
25418
|
(function (ReceiveMessage) {
|
|
25415
25419
|
ReceiveMessage["CONFIRMATION_WINDOW_READY"] = "confirmation_window_ready";
|
|
@@ -25471,6 +25475,10 @@ class ConfirmationScreen {
|
|
|
25471
25475
|
}
|
|
25472
25476
|
switch (data.messageType) {
|
|
25473
25477
|
case ReceiveMessage.CONFIRMATION_WINDOW_READY: {
|
|
25478
|
+
this.confirmationWindow?.postMessage({
|
|
25479
|
+
eventType: PASSPORT_EVENT_TYPE,
|
|
25480
|
+
messageType: SendMessage.CONFIRMATION_START,
|
|
25481
|
+
}, this.config.passportDomain);
|
|
25474
25482
|
break;
|
|
25475
25483
|
}
|
|
25476
25484
|
case ReceiveMessage.TRANSACTION_CONFIRMED: {
|
|
@@ -25511,6 +25519,10 @@ class ConfirmationScreen {
|
|
|
25511
25519
|
}
|
|
25512
25520
|
switch (data.messageType) {
|
|
25513
25521
|
case ReceiveMessage.CONFIRMATION_WINDOW_READY: {
|
|
25522
|
+
this.confirmationWindow?.postMessage({
|
|
25523
|
+
eventType: PASSPORT_EVENT_TYPE,
|
|
25524
|
+
messageType: SendMessage.CONFIRMATION_START,
|
|
25525
|
+
}, this.config.passportDomain);
|
|
25514
25526
|
break;
|
|
25515
25527
|
}
|
|
25516
25528
|
case ReceiveMessage.MESSAGE_CONFIRMED: {
|
|
@@ -45446,7 +45458,7 @@ const flattenProperties = (properties) => {
|
|
|
45446
45458
|
};
|
|
45447
45459
|
|
|
45448
45460
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45449
|
-
const SDK_VERSION = '1.
|
|
45461
|
+
const SDK_VERSION = '1.21.0';
|
|
45450
45462
|
const getReferrer = () => {
|
|
45451
45463
|
if (isNode()) {
|
|
45452
45464
|
return '';
|
|
@@ -50641,7 +50653,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50641
50653
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
50642
50654
|
};
|
|
50643
50655
|
|
|
50644
|
-
const SDK_VERSION_MARKER = '1.
|
|
50656
|
+
const SDK_VERSION_MARKER = '1.21.0';
|
|
50645
50657
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50646
50658
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50647
50659
|
|
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.
|
|
162
|
+
const SDK_VERSION$1 = '1.21.0';
|
|
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.
|
|
13538
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
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.
|
|
13610
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.21.0',
|
|
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.
|
|
14084
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
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.
|
|
14123
|
+
sdkVersion: 'ts-immutable-sdk-1.21.0',
|
|
14124
14124
|
baseConfig,
|
|
14125
14125
|
});
|
|
14126
14126
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -25388,6 +25388,10 @@ class PassportConfiguration {
|
|
|
25388
25388
|
}
|
|
25389
25389
|
}
|
|
25390
25390
|
|
|
25391
|
+
var SendMessage;
|
|
25392
|
+
(function (SendMessage) {
|
|
25393
|
+
SendMessage["CONFIRMATION_START"] = "confirmation_start";
|
|
25394
|
+
})(SendMessage || (SendMessage = {}));
|
|
25391
25395
|
var ReceiveMessage;
|
|
25392
25396
|
(function (ReceiveMessage) {
|
|
25393
25397
|
ReceiveMessage["CONFIRMATION_WINDOW_READY"] = "confirmation_window_ready";
|
|
@@ -25449,6 +25453,10 @@ class ConfirmationScreen {
|
|
|
25449
25453
|
}
|
|
25450
25454
|
switch (data.messageType) {
|
|
25451
25455
|
case ReceiveMessage.CONFIRMATION_WINDOW_READY: {
|
|
25456
|
+
this.confirmationWindow?.postMessage({
|
|
25457
|
+
eventType: PASSPORT_EVENT_TYPE,
|
|
25458
|
+
messageType: SendMessage.CONFIRMATION_START,
|
|
25459
|
+
}, this.config.passportDomain);
|
|
25452
25460
|
break;
|
|
25453
25461
|
}
|
|
25454
25462
|
case ReceiveMessage.TRANSACTION_CONFIRMED: {
|
|
@@ -25489,6 +25497,10 @@ class ConfirmationScreen {
|
|
|
25489
25497
|
}
|
|
25490
25498
|
switch (data.messageType) {
|
|
25491
25499
|
case ReceiveMessage.CONFIRMATION_WINDOW_READY: {
|
|
25500
|
+
this.confirmationWindow?.postMessage({
|
|
25501
|
+
eventType: PASSPORT_EVENT_TYPE,
|
|
25502
|
+
messageType: SendMessage.CONFIRMATION_START,
|
|
25503
|
+
}, this.config.passportDomain);
|
|
25492
25504
|
break;
|
|
25493
25505
|
}
|
|
25494
25506
|
case ReceiveMessage.MESSAGE_CONFIRMED: {
|
|
@@ -45424,7 +45436,7 @@ const flattenProperties = (properties) => {
|
|
|
45424
45436
|
};
|
|
45425
45437
|
|
|
45426
45438
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45427
|
-
const SDK_VERSION = '1.
|
|
45439
|
+
const SDK_VERSION = '1.21.0';
|
|
45428
45440
|
const getReferrer = () => {
|
|
45429
45441
|
if (isNode()) {
|
|
45430
45442
|
return '';
|
|
@@ -50619,7 +50631,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50619
50631
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
50620
50632
|
};
|
|
50621
50633
|
|
|
50622
|
-
const SDK_VERSION_MARKER = '1.
|
|
50634
|
+
const SDK_VERSION_MARKER = '1.21.0';
|
|
50623
50635
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50624
50636
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50625
50637
|
|
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.21.0';
|
|
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.
|
|
11353
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
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.
|
|
11532
|
+
const SDK_VERSION = '1.21.0';
|
|
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.
|
|
11782
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
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.
|
|
11821
|
+
sdkVersion: 'ts-immutable-sdk-1.21.0',
|
|
11822
11822
|
baseConfig,
|
|
11823
11823
|
});
|
|
11824
11824
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -20369,6 +20369,10 @@ class PassportConfiguration {
|
|
|
20369
20369
|
}
|
|
20370
20370
|
}
|
|
20371
20371
|
|
|
20372
|
+
var SendMessage;
|
|
20373
|
+
(function (SendMessage) {
|
|
20374
|
+
SendMessage["CONFIRMATION_START"] = "confirmation_start";
|
|
20375
|
+
})(SendMessage || (SendMessage = {}));
|
|
20372
20376
|
var ReceiveMessage;
|
|
20373
20377
|
(function (ReceiveMessage) {
|
|
20374
20378
|
ReceiveMessage["CONFIRMATION_WINDOW_READY"] = "confirmation_window_ready";
|
|
@@ -20430,6 +20434,10 @@ class ConfirmationScreen {
|
|
|
20430
20434
|
}
|
|
20431
20435
|
switch (data.messageType) {
|
|
20432
20436
|
case ReceiveMessage.CONFIRMATION_WINDOW_READY: {
|
|
20437
|
+
this.confirmationWindow?.postMessage({
|
|
20438
|
+
eventType: PASSPORT_EVENT_TYPE,
|
|
20439
|
+
messageType: SendMessage.CONFIRMATION_START,
|
|
20440
|
+
}, this.config.passportDomain);
|
|
20433
20441
|
break;
|
|
20434
20442
|
}
|
|
20435
20443
|
case ReceiveMessage.TRANSACTION_CONFIRMED: {
|
|
@@ -20470,6 +20478,10 @@ class ConfirmationScreen {
|
|
|
20470
20478
|
}
|
|
20471
20479
|
switch (data.messageType) {
|
|
20472
20480
|
case ReceiveMessage.CONFIRMATION_WINDOW_READY: {
|
|
20481
|
+
this.confirmationWindow?.postMessage({
|
|
20482
|
+
eventType: PASSPORT_EVENT_TYPE,
|
|
20483
|
+
messageType: SendMessage.CONFIRMATION_START,
|
|
20484
|
+
}, this.config.passportDomain);
|
|
20473
20485
|
break;
|
|
20474
20486
|
}
|
|
20475
20487
|
case ReceiveMessage.MESSAGE_CONFIRMED: {
|
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.
|
|
8956
|
+
const SDK_VERSION = '1.21.0';
|
|
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.
|
|
9199
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.21.0' };
|
|
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.
|
|
9238
|
+
sdkVersion: 'ts-immutable-sdk-1.21.0',
|
|
9239
9239
|
baseConfig,
|
|
9240
9240
|
});
|
|
9241
9241
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cn as n,co as t}from"./index-b4e040e5.js";function i(i){return n(this,void 0,void 0,(function(){var n;return t(this,(function(t){switch(t.label){case 0:return[4,import("./index.umd-baccce2f.js").then((function(n){return n.i}))];case 1:return n=t.sent(),i._plugins=n,[2]}}))}))}export{i as loadLegacyVideoPlugins};
|