@imtbl/sdk 0.4.1-alpha → 0.4.2-alpha.1
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.d.ts +126 -48
- package/dist/blockchain-data.js +34 -32
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +0 -11
- package/dist/checkout_sdk.js +2970 -346
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +15 -15
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +2977 -351
- package/dist/index.d.ts +126 -59
- package/dist/index.js +2978 -352
- package/dist/passport.js +14 -14
- package/package.json +1 -1
package/dist/passport.js
CHANGED
|
@@ -3312,7 +3312,7 @@ let Configuration$1 = class Configuration {
|
|
|
3312
3312
|
/* tslint:disable */
|
|
3313
3313
|
/* eslint-disable */
|
|
3314
3314
|
/**
|
|
3315
|
-
* Immutable
|
|
3315
|
+
* Immutable zkEVM API
|
|
3316
3316
|
* Immutable Multi Rollup API
|
|
3317
3317
|
*
|
|
3318
3318
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -3324,7 +3324,7 @@ let Configuration$1 = class Configuration {
|
|
|
3324
3324
|
*/
|
|
3325
3325
|
// Some imports not used depending on template conditions
|
|
3326
3326
|
// @ts-ignore
|
|
3327
|
-
const BASE_PATH$1 = "https://
|
|
3327
|
+
const BASE_PATH$1 = "https://api.sandbox.immutable.com".replace(/\/+$/, "");
|
|
3328
3328
|
/**
|
|
3329
3329
|
*
|
|
3330
3330
|
* @export
|
|
@@ -3361,7 +3361,7 @@ let RequiredError$1 = class RequiredError extends Error {
|
|
|
3361
3361
|
/* tslint:disable */
|
|
3362
3362
|
/* eslint-disable */
|
|
3363
3363
|
/**
|
|
3364
|
-
* Immutable
|
|
3364
|
+
* Immutable zkEVM API
|
|
3365
3365
|
* Immutable Multi Rollup API
|
|
3366
3366
|
*
|
|
3367
3367
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -3459,7 +3459,7 @@ const createRequestFunction$1 = function (axiosArgs, globalAxios, BASE_PATH, con
|
|
|
3459
3459
|
/* tslint:disable */
|
|
3460
3460
|
/* eslint-disable */
|
|
3461
3461
|
/**
|
|
3462
|
-
* Immutable
|
|
3462
|
+
* Immutable zkEVM API
|
|
3463
3463
|
* Immutable Multi Rollup API
|
|
3464
3464
|
*
|
|
3465
3465
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -3654,7 +3654,7 @@ class ActivitiesApi extends BaseAPI$1 {
|
|
|
3654
3654
|
/* tslint:disable */
|
|
3655
3655
|
/* eslint-disable */
|
|
3656
3656
|
/**
|
|
3657
|
-
* Immutable
|
|
3657
|
+
* Immutable zkEVM API
|
|
3658
3658
|
* Immutable Multi Rollup API
|
|
3659
3659
|
*
|
|
3660
3660
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -3749,7 +3749,7 @@ class ChainsApi extends BaseAPI$1 {
|
|
|
3749
3749
|
/* tslint:disable */
|
|
3750
3750
|
/* eslint-disable */
|
|
3751
3751
|
/**
|
|
3752
|
-
* Immutable
|
|
3752
|
+
* Immutable zkEVM API
|
|
3753
3753
|
* Immutable Multi Rollup API
|
|
3754
3754
|
*
|
|
3755
3755
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -3905,7 +3905,7 @@ class CollectionsApi extends BaseAPI$1 {
|
|
|
3905
3905
|
/* tslint:disable */
|
|
3906
3906
|
/* eslint-disable */
|
|
3907
3907
|
/**
|
|
3908
|
-
* Immutable
|
|
3908
|
+
* Immutable zkEVM API
|
|
3909
3909
|
* Immutable Multi Rollup API
|
|
3910
3910
|
*
|
|
3911
3911
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -4015,7 +4015,7 @@ class NftOwnersApi extends BaseAPI$1 {
|
|
|
4015
4015
|
/* tslint:disable */
|
|
4016
4016
|
/* eslint-disable */
|
|
4017
4017
|
/**
|
|
4018
|
-
* Immutable
|
|
4018
|
+
* Immutable zkEVM API
|
|
4019
4019
|
* Immutable Multi Rollup API
|
|
4020
4020
|
*
|
|
4021
4021
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -4252,7 +4252,7 @@ class NftsApi extends BaseAPI$1 {
|
|
|
4252
4252
|
/* tslint:disable */
|
|
4253
4253
|
/* eslint-disable */
|
|
4254
4254
|
/**
|
|
4255
|
-
* Immutable
|
|
4255
|
+
* Immutable zkEVM API
|
|
4256
4256
|
* Immutable Multi Rollup API
|
|
4257
4257
|
*
|
|
4258
4258
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -4495,7 +4495,7 @@ class OrdersApi extends BaseAPI$1 {
|
|
|
4495
4495
|
/* tslint:disable */
|
|
4496
4496
|
/* eslint-disable */
|
|
4497
4497
|
/**
|
|
4498
|
-
* Immutable
|
|
4498
|
+
* Immutable zkEVM API
|
|
4499
4499
|
* Immutable Multi Rollup API
|
|
4500
4500
|
*
|
|
4501
4501
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -4608,7 +4608,7 @@ class MultiRollupApiClients {
|
|
|
4608
4608
|
}
|
|
4609
4609
|
|
|
4610
4610
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
4611
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.4.
|
|
4611
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.4.2-alpha.1' };
|
|
4612
4612
|
const createConfig = ({ basePath, headers, }) => {
|
|
4613
4613
|
if (!basePath.trim()) {
|
|
4614
4614
|
throw Error('basePath can not be empty');
|
|
@@ -4664,7 +4664,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4664
4664
|
chainID,
|
|
4665
4665
|
coreContractAddress,
|
|
4666
4666
|
registrationContractAddress,
|
|
4667
|
-
sdkVersion: 'ts-immutable-sdk-0.4.
|
|
4667
|
+
sdkVersion: 'ts-immutable-sdk-0.4.2-alpha.1',
|
|
4668
4668
|
});
|
|
4669
4669
|
/**
|
|
4670
4670
|
* Sets `sdkVersion` at the time of build
|
|
@@ -10086,7 +10086,7 @@ class PassportConfiguration {
|
|
|
10086
10086
|
this.magicProviderId = 'fSMzaRQ4O7p4fttl7pCyGVtJS_G70P8SNsLXtPPGHo0=';
|
|
10087
10087
|
this.passportDomain = 'https://passport.sandbox.immutable.com';
|
|
10088
10088
|
this.imxPublicApiDomain = 'https://api.sandbox.immutable.com';
|
|
10089
|
-
this.zkEvmRpcUrl = 'https://
|
|
10089
|
+
this.zkEvmRpcUrl = 'https://rpc.testnet.immutable.com';
|
|
10090
10090
|
this.zkEvmChainId = 'eip155:13392';
|
|
10091
10091
|
this.relayerUrl = 'https://api.sandbox.immutable.com/relayer-mr';
|
|
10092
10092
|
this.multiRollupConfig = multiRollupConfig.getSandbox();
|
|
@@ -10471,7 +10471,7 @@ const chainIdNumber = (chainId) => {
|
|
|
10471
10471
|
const MAX_TRANSACTION_HASH_RETRIEVAL_RETRIES = 30;
|
|
10472
10472
|
const TRANSACTION_HASH_RETRIEVAL_WAIT = 1000;
|
|
10473
10473
|
const sendTransaction = async ({ params, magicProvider, jsonRpcProvider, relayerClient, guardianClient, config, user, }) => {
|
|
10474
|
-
const popupWindowSize = { width: 480, height:
|
|
10474
|
+
const popupWindowSize = { width: 480, height: 520 };
|
|
10475
10475
|
guardianClient.loading(popupWindowSize);
|
|
10476
10476
|
const transactionRequest = params[0];
|
|
10477
10477
|
if (!transactionRequest.to) {
|
package/package.json
CHANGED