@imtbl/sdk 1.10.0-alpha → 1.11.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.d.ts +3 -0
- package/dist/blockchain_data.js +32 -29
- package/dist/browser/checkout/{BridgeWidget-36fe7401.js → BridgeWidget-31d071b4.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-21725b01.js → OnRampWidget-4eec34f6.js} +1 -1
- package/dist/browser/checkout/{SaleWidget-3677a1c5.js → SaleWidget-596fd2e5.js} +2 -2
- package/dist/browser/checkout/{SpendingCapHero-5fb4ac25.js → SpendingCapHero-bb5926a7.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-0d6bc0d4.js → SwapWidget-35e7e9f2.js} +1 -1
- package/dist/browser/checkout/{TopUpView-60d92a82.js → TopUpView-a266b45b.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-2fcbc4bb.js → WalletWidget-fbdc8df9.js} +1 -1
- package/dist/browser/checkout/{auto-track-62ee6964.js → auto-track-8e44b259.js} +1 -1
- package/dist/browser/checkout/{balance-b321aaf7.js → balance-2f1a40a7.js} +1 -1
- package/dist/browser/checkout/{index-ab695071.js → index-05c37e37.js} +1 -1
- package/dist/browser/checkout/{index-1a8c04a2.js → index-12cfbb8d.js} +1 -1
- package/dist/browser/checkout/{index-c4bede96.js → index-44c1fadf.js} +1 -1
- package/dist/browser/checkout/{index-407df153.js → index-75030038.js} +1 -1
- package/dist/browser/checkout/{index-352de7c2.js → index-881a9811.js} +1 -1
- package/dist/browser/checkout/{index-0dadb136.js → index-d506d80c.js} +1 -1
- package/dist/browser/checkout/index-d708abfc.js +1 -0
- package/dist/browser/checkout/{index-9ae59197.js → index-ec746bdd.js} +2 -2
- package/dist/browser/checkout/{index.umd-4c6acdc2.js → index.umd-8511e3cb.js} +1 -1
- package/dist/browser/checkout/{retry-d9a527bc.js → retry-d29da2e9.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useTransakEvents-9ceb1e81.js → useTransakEvents-eca6f619.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +3 -3
- package/dist/checkout.d.ts +0 -3
- package/dist/checkout.js +34 -31
- 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 +36 -33
- package/dist/index.d.ts +3 -3
- package/dist/index.js +36 -33
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +24 -24
- package/dist/x.js +2 -2
- package/package.json +1 -1
- package/dist/browser/checkout/index-a7be28ed.js +0 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -23493,7 +23493,6 @@ type OnRampWidgetParams = {
|
|
|
23493
23493
|
* Sale Widget parameters
|
|
23494
23494
|
* @property {string} amount
|
|
23495
23495
|
* @property {string} environmentId
|
|
23496
|
-
* @property {string} fromTokenAddress
|
|
23497
23496
|
* @property {SaleItem[]} items
|
|
23498
23497
|
* @property {WalletProviderName | undefined} walletProviderName
|
|
23499
23498
|
*/
|
|
@@ -23502,8 +23501,6 @@ type SaleWidgetParams = {
|
|
|
23502
23501
|
amount?: string;
|
|
23503
23502
|
/** Environment id from Immutable Hub */
|
|
23504
23503
|
environmentId?: string;
|
|
23505
|
-
/** Contract address of the token accepted for payments */
|
|
23506
|
-
fromTokenAddress?: string;
|
|
23507
23504
|
/** The list of products to be purchased */
|
|
23508
23505
|
items?: SaleItem[];
|
|
23509
23506
|
/** The name of the NFT collection on sale */
|
package/dist/checkout.js
CHANGED
|
@@ -139,7 +139,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
142
|
-
const SDK_VERSION$1 = '1.
|
|
142
|
+
const SDK_VERSION$1 = '1.11.0';
|
|
143
143
|
const getReferrer$1 = () => {
|
|
144
144
|
if (isNode$1()) {
|
|
145
145
|
return '';
|
|
@@ -17479,7 +17479,7 @@ const flattenProperties = (properties) => {
|
|
|
17479
17479
|
};
|
|
17480
17480
|
|
|
17481
17481
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
17482
|
-
const SDK_VERSION = '1.
|
|
17482
|
+
const SDK_VERSION = '1.11.0';
|
|
17483
17483
|
const getReferrer = () => {
|
|
17484
17484
|
if (isNode()) {
|
|
17485
17485
|
return '';
|
|
@@ -24949,8 +24949,8 @@ class NftOwnersApi extends BaseAPI {
|
|
|
24949
24949
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
24950
24950
|
return {
|
|
24951
24951
|
/**
|
|
24952
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
24953
|
-
* @summary Mint NFTs
|
|
24952
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
24953
|
+
* @summary [Experimental] Mint NFTs
|
|
24954
24954
|
* @param {string} contractAddress The address of contract
|
|
24955
24955
|
* @param {string} chainName The name of chain
|
|
24956
24956
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -24964,7 +24964,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
24964
24964
|
assertParamExists('createMintRequest', 'chainName', chainName);
|
|
24965
24965
|
// verify required parameter 'createMintRequestRequest' is not null or undefined
|
|
24966
24966
|
assertParamExists('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
|
|
24967
|
-
const localVarPath = `/
|
|
24967
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
24968
24968
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
24969
24969
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
24970
24970
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -24989,8 +24989,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
24989
24989
|
};
|
|
24990
24990
|
},
|
|
24991
24991
|
/**
|
|
24992
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
24993
|
-
* @summary Get mint request by reference ID
|
|
24992
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
24993
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
24994
24994
|
* @param {string} contractAddress The address of contract
|
|
24995
24995
|
* @param {string} chainName The name of chain
|
|
24996
24996
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -25004,7 +25004,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
25004
25004
|
assertParamExists('getMintRequest', 'chainName', chainName);
|
|
25005
25005
|
// verify required parameter 'referenceId' is not null or undefined
|
|
25006
25006
|
assertParamExists('getMintRequest', 'referenceId', referenceId);
|
|
25007
|
-
const localVarPath = `/
|
|
25007
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
|
|
25008
25008
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
25009
25009
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
|
|
25010
25010
|
.replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
|
|
@@ -25108,8 +25108,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
25108
25108
|
};
|
|
25109
25109
|
},
|
|
25110
25110
|
/**
|
|
25111
|
-
* Retrieve the status of all mints for a given contract address
|
|
25112
|
-
* @summary List mint requests
|
|
25111
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
25112
|
+
* @summary [Experimental] List mint requests
|
|
25113
25113
|
* @param {string} contractAddress The address of contract
|
|
25114
25114
|
* @param {string} chainName The name of chain
|
|
25115
25115
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -25123,7 +25123,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
25123
25123
|
assertParamExists('listMintRequests', 'contractAddress', contractAddress);
|
|
25124
25124
|
// verify required parameter 'chainName' is not null or undefined
|
|
25125
25125
|
assertParamExists('listMintRequests', 'chainName', chainName);
|
|
25126
|
-
const localVarPath = `/
|
|
25126
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
25127
25127
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
25128
25128
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
25129
25129
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25260,8 +25260,8 @@ const NftsApiFp = function (configuration) {
|
|
|
25260
25260
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
25261
25261
|
return {
|
|
25262
25262
|
/**
|
|
25263
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
25264
|
-
* @summary Mint NFTs
|
|
25263
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
25264
|
+
* @summary [Experimental] Mint NFTs
|
|
25265
25265
|
* @param {string} contractAddress The address of contract
|
|
25266
25266
|
* @param {string} chainName The name of chain
|
|
25267
25267
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -25273,8 +25273,8 @@ const NftsApiFp = function (configuration) {
|
|
|
25273
25273
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25274
25274
|
},
|
|
25275
25275
|
/**
|
|
25276
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
25277
|
-
* @summary Get mint request by reference ID
|
|
25276
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
25277
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
25278
25278
|
* @param {string} contractAddress The address of contract
|
|
25279
25279
|
* @param {string} chainName The name of chain
|
|
25280
25280
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -25313,8 +25313,8 @@ const NftsApiFp = function (configuration) {
|
|
|
25313
25313
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25314
25314
|
},
|
|
25315
25315
|
/**
|
|
25316
|
-
* Retrieve the status of all mints for a given contract address
|
|
25317
|
-
* @summary List mint requests
|
|
25316
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
25317
|
+
* @summary [Experimental] List mint requests
|
|
25318
25318
|
* @param {string} contractAddress The address of contract
|
|
25319
25319
|
* @param {string} chainName The name of chain
|
|
25320
25320
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -25368,8 +25368,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25368
25368
|
const localVarFp = NftsApiFp(configuration);
|
|
25369
25369
|
return {
|
|
25370
25370
|
/**
|
|
25371
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
25372
|
-
* @summary Mint NFTs
|
|
25371
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
25372
|
+
* @summary [Experimental] Mint NFTs
|
|
25373
25373
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
25374
25374
|
* @param {*} [options] Override http request option.
|
|
25375
25375
|
* @throws {RequiredError}
|
|
@@ -25378,8 +25378,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25378
25378
|
return localVarFp.createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(axios, basePath));
|
|
25379
25379
|
},
|
|
25380
25380
|
/**
|
|
25381
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
25382
|
-
* @summary Get mint request by reference ID
|
|
25381
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
25382
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
25383
25383
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
25384
25384
|
* @param {*} [options] Override http request option.
|
|
25385
25385
|
* @throws {RequiredError}
|
|
@@ -25408,8 +25408,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25408
25408
|
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
25409
25409
|
},
|
|
25410
25410
|
/**
|
|
25411
|
-
* Retrieve the status of all mints for a given contract address
|
|
25412
|
-
* @summary List mint requests
|
|
25411
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
25412
|
+
* @summary [Experimental] List mint requests
|
|
25413
25413
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
25414
25414
|
* @param {*} [options] Override http request option.
|
|
25415
25415
|
* @throws {RequiredError}
|
|
@@ -25447,8 +25447,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25447
25447
|
*/
|
|
25448
25448
|
class NftsApi extends BaseAPI {
|
|
25449
25449
|
/**
|
|
25450
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
25451
|
-
* @summary Mint NFTs
|
|
25450
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
25451
|
+
* @summary [Experimental] Mint NFTs
|
|
25452
25452
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
25453
25453
|
* @param {*} [options] Override http request option.
|
|
25454
25454
|
* @throws {RequiredError}
|
|
@@ -25458,8 +25458,8 @@ class NftsApi extends BaseAPI {
|
|
|
25458
25458
|
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25459
25459
|
}
|
|
25460
25460
|
/**
|
|
25461
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
25462
|
-
* @summary Get mint request by reference ID
|
|
25461
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
25462
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
25463
25463
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
25464
25464
|
* @param {*} [options] Override http request option.
|
|
25465
25465
|
* @throws {RequiredError}
|
|
@@ -25491,8 +25491,8 @@ class NftsApi extends BaseAPI {
|
|
|
25491
25491
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
25492
25492
|
}
|
|
25493
25493
|
/**
|
|
25494
|
-
* Retrieve the status of all mints for a given contract address
|
|
25495
|
-
* @summary List mint requests
|
|
25494
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
25495
|
+
* @summary [Experimental] List mint requests
|
|
25496
25496
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
25497
25497
|
* @param {*} [options] Override http request option.
|
|
25498
25498
|
* @throws {RequiredError}
|
|
@@ -27955,7 +27955,7 @@ class APIError extends Error {
|
|
|
27955
27955
|
|
|
27956
27956
|
/* eslint-disable implicit-arrow-linebreak */
|
|
27957
27957
|
const defaultHeaders = {
|
|
27958
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
27958
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.11.0',
|
|
27959
27959
|
};
|
|
27960
27960
|
/**
|
|
27961
27961
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -28218,6 +28218,7 @@ class BlockchainData {
|
|
|
28218
28218
|
}
|
|
28219
28219
|
/**
|
|
28220
28220
|
* Create a mint request to mint a set of NFTs for a given collection
|
|
28221
|
+
* @experimental
|
|
28221
28222
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
28222
28223
|
* @returns a promise that resolves with the remaining rate limits
|
|
28223
28224
|
* @throws {@link index.APIError}
|
|
@@ -28232,6 +28233,7 @@ class BlockchainData {
|
|
|
28232
28233
|
}
|
|
28233
28234
|
/**
|
|
28234
28235
|
* List all mint requests for a given contract address
|
|
28236
|
+
* @experimental
|
|
28235
28237
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
28236
28238
|
* @returns a promise that resolves with a list of mint requests
|
|
28237
28239
|
* @throws {@link index.APIError}
|
|
@@ -28246,6 +28248,7 @@ class BlockchainData {
|
|
|
28246
28248
|
}
|
|
28247
28249
|
/**
|
|
28248
28250
|
* Retrieve the status of a single mint request identified by its reference ID
|
|
28251
|
+
* @experimental
|
|
28249
28252
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
28250
28253
|
* @returns a promise that resolves with a single mint request
|
|
28251
28254
|
* @throws {@link index.APIError}
|
|
@@ -29366,7 +29369,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
29366
29369
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
29367
29370
|
};
|
|
29368
29371
|
|
|
29369
|
-
const SDK_VERSION_MARKER = '1.
|
|
29372
|
+
const SDK_VERSION_MARKER = '1.11.0';
|
|
29370
29373
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
29371
29374
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
29372
29375
|
|
package/dist/config.js
CHANGED
|
@@ -128,7 +128,7 @@ const flattenProperties = (properties) => {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
131
|
-
const SDK_VERSION = '1.
|
|
131
|
+
const SDK_VERSION = '1.11.0';
|
|
132
132
|
const getReferrer = () => {
|
|
133
133
|
if (isNode()) {
|
|
134
134
|
return '';
|