@imtbl/sdk 0.27.15-alpha.3 → 0.27.15-alpha.4
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 +1 -1
- package/dist/browser/checkout/sdk.js +1 -1
- package/dist/browser/checkout/widgets.js +1 -1
- package/dist/checkout_sdk.js +20 -4
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +3 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +22 -6
- package/dist/index.js +22 -6
- package/dist/passport.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3630,7 +3630,7 @@ class MultiRollupApiClients {
|
|
|
3630
3630
|
}
|
|
3631
3631
|
|
|
3632
3632
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3633
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.15-alpha.
|
|
3633
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.15-alpha.4' };
|
|
3634
3634
|
const createConfig = ({ basePath, headers, }) => {
|
|
3635
3635
|
if (!basePath.trim()) {
|
|
3636
3636
|
throw Error('basePath can not be empty');
|
|
@@ -3690,7 +3690,7 @@ class APIError extends Error {
|
|
|
3690
3690
|
|
|
3691
3691
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3692
3692
|
const defaultHeaders = {
|
|
3693
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.15-alpha.
|
|
3693
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.15-alpha.4',
|
|
3694
3694
|
};
|
|
3695
3695
|
/**
|
|
3696
3696
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -4101,7 +4101,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4101
4101
|
chainID,
|
|
4102
4102
|
coreContractAddress,
|
|
4103
4103
|
registrationContractAddress,
|
|
4104
|
-
sdkVersion: 'ts-immutable-sdk-0.27.15-alpha.
|
|
4104
|
+
sdkVersion: 'ts-immutable-sdk-0.27.15-alpha.4',
|
|
4105
4105
|
});
|
|
4106
4106
|
/**
|
|
4107
4107
|
* Sets `sdkVersion` at the time of build
|
|
@@ -33403,7 +33403,7 @@ async function getItemRequirementsFromRequirements(provider, requirements) {
|
|
|
33403
33403
|
return itemRequirements;
|
|
33404
33404
|
}
|
|
33405
33405
|
|
|
33406
|
-
const SDK_VERSION_MARKER = '0.27.15-alpha.
|
|
33406
|
+
const SDK_VERSION_MARKER = '0.27.15-alpha.4';
|
|
33407
33407
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
33408
33408
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
33409
33409
|
|
|
@@ -33508,10 +33508,26 @@ class Checkout {
|
|
|
33508
33508
|
try {
|
|
33509
33509
|
const script = loadUnresolved(init.version);
|
|
33510
33510
|
if (script.loaded) {
|
|
33511
|
-
|
|
33511
|
+
// eslint-disable-next-line no-constant-condition
|
|
33512
|
+
while (true) {
|
|
33513
|
+
try {
|
|
33514
|
+
const f = new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config);
|
|
33515
|
+
resolve(f);
|
|
33516
|
+
}
|
|
33517
|
+
catch { /* Empty */ }
|
|
33518
|
+
}
|
|
33512
33519
|
}
|
|
33513
33520
|
else {
|
|
33514
|
-
script.element.onload = () =>
|
|
33521
|
+
script.element.onload = () => {
|
|
33522
|
+
// eslint-disable-next-line no-constant-condition
|
|
33523
|
+
while (true) {
|
|
33524
|
+
try {
|
|
33525
|
+
const f = new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config);
|
|
33526
|
+
resolve(f);
|
|
33527
|
+
}
|
|
33528
|
+
catch { /* Empty */ }
|
|
33529
|
+
}
|
|
33530
|
+
};
|
|
33515
33531
|
}
|
|
33516
33532
|
}
|
|
33517
33533
|
catch (err) {
|
package/dist/index.js
CHANGED
|
@@ -3608,7 +3608,7 @@ class MultiRollupApiClients {
|
|
|
3608
3608
|
}
|
|
3609
3609
|
|
|
3610
3610
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3611
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.15-alpha.
|
|
3611
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.15-alpha.4' };
|
|
3612
3612
|
const createConfig = ({ basePath, headers, }) => {
|
|
3613
3613
|
if (!basePath.trim()) {
|
|
3614
3614
|
throw Error('basePath can not be empty');
|
|
@@ -3668,7 +3668,7 @@ class APIError extends Error {
|
|
|
3668
3668
|
|
|
3669
3669
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3670
3670
|
const defaultHeaders = {
|
|
3671
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.15-alpha.
|
|
3671
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.15-alpha.4',
|
|
3672
3672
|
};
|
|
3673
3673
|
/**
|
|
3674
3674
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -4079,7 +4079,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4079
4079
|
chainID,
|
|
4080
4080
|
coreContractAddress,
|
|
4081
4081
|
registrationContractAddress,
|
|
4082
|
-
sdkVersion: 'ts-immutable-sdk-0.27.15-alpha.
|
|
4082
|
+
sdkVersion: 'ts-immutable-sdk-0.27.15-alpha.4',
|
|
4083
4083
|
});
|
|
4084
4084
|
/**
|
|
4085
4085
|
* Sets `sdkVersion` at the time of build
|
|
@@ -33381,7 +33381,7 @@ async function getItemRequirementsFromRequirements(provider, requirements) {
|
|
|
33381
33381
|
return itemRequirements;
|
|
33382
33382
|
}
|
|
33383
33383
|
|
|
33384
|
-
const SDK_VERSION_MARKER = '0.27.15-alpha.
|
|
33384
|
+
const SDK_VERSION_MARKER = '0.27.15-alpha.4';
|
|
33385
33385
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
33386
33386
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
33387
33387
|
|
|
@@ -33486,10 +33486,26 @@ class Checkout {
|
|
|
33486
33486
|
try {
|
|
33487
33487
|
const script = loadUnresolved(init.version);
|
|
33488
33488
|
if (script.loaded) {
|
|
33489
|
-
|
|
33489
|
+
// eslint-disable-next-line no-constant-condition
|
|
33490
|
+
while (true) {
|
|
33491
|
+
try {
|
|
33492
|
+
const f = new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config);
|
|
33493
|
+
resolve(f);
|
|
33494
|
+
}
|
|
33495
|
+
catch { /* Empty */ }
|
|
33496
|
+
}
|
|
33490
33497
|
}
|
|
33491
33498
|
else {
|
|
33492
|
-
script.element.onload = () =>
|
|
33499
|
+
script.element.onload = () => {
|
|
33500
|
+
// eslint-disable-next-line no-constant-condition
|
|
33501
|
+
while (true) {
|
|
33502
|
+
try {
|
|
33503
|
+
const f = new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config);
|
|
33504
|
+
resolve(f);
|
|
33505
|
+
}
|
|
33506
|
+
catch { /* Empty */ }
|
|
33507
|
+
}
|
|
33508
|
+
};
|
|
33493
33509
|
}
|
|
33494
33510
|
}
|
|
33495
33511
|
catch (err) {
|
package/dist/passport.js
CHANGED
|
@@ -2072,7 +2072,7 @@ class MultiRollupApiClients {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
|
|
2074
2074
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
2075
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.27.15-alpha.
|
|
2075
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.27.15-alpha.4' };
|
|
2076
2076
|
const createConfig = ({ basePath, headers, }) => {
|
|
2077
2077
|
if (!basePath.trim()) {
|
|
2078
2078
|
throw Error('basePath can not be empty');
|
|
@@ -2128,7 +2128,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
2128
2128
|
chainID,
|
|
2129
2129
|
coreContractAddress,
|
|
2130
2130
|
registrationContractAddress,
|
|
2131
|
-
sdkVersion: 'ts-immutable-sdk-0.27.15-alpha.
|
|
2131
|
+
sdkVersion: 'ts-immutable-sdk-0.27.15-alpha.4',
|
|
2132
2132
|
});
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Sets `sdkVersion` at the time of build
|
package/package.json
CHANGED