@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/index.cjs
CHANGED
|
@@ -174,7 +174,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
174
174
|
};
|
|
175
175
|
|
|
176
176
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
177
|
-
const SDK_VERSION$1 = '1.
|
|
177
|
+
const SDK_VERSION$1 = '1.11.0';
|
|
178
178
|
const getReferrer$1 = () => {
|
|
179
179
|
if (isNode$1()) {
|
|
180
180
|
return '';
|
|
@@ -8442,8 +8442,8 @@ class NftOwnersApi extends BaseAPI$2 {
|
|
|
8442
8442
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
8443
8443
|
return {
|
|
8444
8444
|
/**
|
|
8445
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8446
|
-
* @summary Mint NFTs
|
|
8445
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8446
|
+
* @summary [Experimental] Mint NFTs
|
|
8447
8447
|
* @param {string} contractAddress The address of contract
|
|
8448
8448
|
* @param {string} chainName The name of chain
|
|
8449
8449
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -8457,7 +8457,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8457
8457
|
assertParamExists$2('createMintRequest', 'chainName', chainName);
|
|
8458
8458
|
// verify required parameter 'createMintRequestRequest' is not null or undefined
|
|
8459
8459
|
assertParamExists$2('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
|
|
8460
|
-
const localVarPath = `/
|
|
8460
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8461
8461
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8462
8462
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8463
8463
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8482,8 +8482,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8482
8482
|
};
|
|
8483
8483
|
},
|
|
8484
8484
|
/**
|
|
8485
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8486
|
-
* @summary Get mint request by reference ID
|
|
8485
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8486
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8487
8487
|
* @param {string} contractAddress The address of contract
|
|
8488
8488
|
* @param {string} chainName The name of chain
|
|
8489
8489
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -8497,7 +8497,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8497
8497
|
assertParamExists$2('getMintRequest', 'chainName', chainName);
|
|
8498
8498
|
// verify required parameter 'referenceId' is not null or undefined
|
|
8499
8499
|
assertParamExists$2('getMintRequest', 'referenceId', referenceId);
|
|
8500
|
-
const localVarPath = `/
|
|
8500
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
|
|
8501
8501
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8502
8502
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
|
|
8503
8503
|
.replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
|
|
@@ -8601,8 +8601,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8601
8601
|
};
|
|
8602
8602
|
},
|
|
8603
8603
|
/**
|
|
8604
|
-
* Retrieve the status of all mints for a given contract address
|
|
8605
|
-
* @summary List mint requests
|
|
8604
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8605
|
+
* @summary [Experimental] List mint requests
|
|
8606
8606
|
* @param {string} contractAddress The address of contract
|
|
8607
8607
|
* @param {string} chainName The name of chain
|
|
8608
8608
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -8616,7 +8616,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8616
8616
|
assertParamExists$2('listMintRequests', 'contractAddress', contractAddress);
|
|
8617
8617
|
// verify required parameter 'chainName' is not null or undefined
|
|
8618
8618
|
assertParamExists$2('listMintRequests', 'chainName', chainName);
|
|
8619
|
-
const localVarPath = `/
|
|
8619
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8620
8620
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8621
8621
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8622
8622
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8753,8 +8753,8 @@ const NftsApiFp = function (configuration) {
|
|
|
8753
8753
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
8754
8754
|
return {
|
|
8755
8755
|
/**
|
|
8756
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8757
|
-
* @summary Mint NFTs
|
|
8756
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8757
|
+
* @summary [Experimental] Mint NFTs
|
|
8758
8758
|
* @param {string} contractAddress The address of contract
|
|
8759
8759
|
* @param {string} chainName The name of chain
|
|
8760
8760
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -8766,8 +8766,8 @@ const NftsApiFp = function (configuration) {
|
|
|
8766
8766
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8767
8767
|
},
|
|
8768
8768
|
/**
|
|
8769
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8770
|
-
* @summary Get mint request by reference ID
|
|
8769
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8770
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8771
8771
|
* @param {string} contractAddress The address of contract
|
|
8772
8772
|
* @param {string} chainName The name of chain
|
|
8773
8773
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -8806,8 +8806,8 @@ const NftsApiFp = function (configuration) {
|
|
|
8806
8806
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8807
8807
|
},
|
|
8808
8808
|
/**
|
|
8809
|
-
* Retrieve the status of all mints for a given contract address
|
|
8810
|
-
* @summary List mint requests
|
|
8809
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8810
|
+
* @summary [Experimental] List mint requests
|
|
8811
8811
|
* @param {string} contractAddress The address of contract
|
|
8812
8812
|
* @param {string} chainName The name of chain
|
|
8813
8813
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -8861,8 +8861,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8861
8861
|
const localVarFp = NftsApiFp(configuration);
|
|
8862
8862
|
return {
|
|
8863
8863
|
/**
|
|
8864
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8865
|
-
* @summary Mint NFTs
|
|
8864
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8865
|
+
* @summary [Experimental] Mint NFTs
|
|
8866
8866
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8867
8867
|
* @param {*} [options] Override http request option.
|
|
8868
8868
|
* @throws {RequiredError}
|
|
@@ -8871,8 +8871,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8871
8871
|
return localVarFp.createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(axios, basePath));
|
|
8872
8872
|
},
|
|
8873
8873
|
/**
|
|
8874
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8875
|
-
* @summary Get mint request by reference ID
|
|
8874
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8875
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8876
8876
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8877
8877
|
* @param {*} [options] Override http request option.
|
|
8878
8878
|
* @throws {RequiredError}
|
|
@@ -8901,8 +8901,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8901
8901
|
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
8902
8902
|
},
|
|
8903
8903
|
/**
|
|
8904
|
-
* Retrieve the status of all mints for a given contract address
|
|
8905
|
-
* @summary List mint requests
|
|
8904
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8905
|
+
* @summary [Experimental] List mint requests
|
|
8906
8906
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8907
8907
|
* @param {*} [options] Override http request option.
|
|
8908
8908
|
* @throws {RequiredError}
|
|
@@ -8940,8 +8940,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8940
8940
|
*/
|
|
8941
8941
|
class NftsApi extends BaseAPI$2 {
|
|
8942
8942
|
/**
|
|
8943
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8944
|
-
* @summary Mint NFTs
|
|
8943
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8944
|
+
* @summary [Experimental] Mint NFTs
|
|
8945
8945
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8946
8946
|
* @param {*} [options] Override http request option.
|
|
8947
8947
|
* @throws {RequiredError}
|
|
@@ -8951,8 +8951,8 @@ class NftsApi extends BaseAPI$2 {
|
|
|
8951
8951
|
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8952
8952
|
}
|
|
8953
8953
|
/**
|
|
8954
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8955
|
-
* @summary Get mint request by reference ID
|
|
8954
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8955
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8956
8956
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8957
8957
|
* @param {*} [options] Override http request option.
|
|
8958
8958
|
* @throws {RequiredError}
|
|
@@ -8984,8 +8984,8 @@ class NftsApi extends BaseAPI$2 {
|
|
|
8984
8984
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8985
8985
|
}
|
|
8986
8986
|
/**
|
|
8987
|
-
* Retrieve the status of all mints for a given contract address
|
|
8988
|
-
* @summary List mint requests
|
|
8987
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8988
|
+
* @summary [Experimental] List mint requests
|
|
8989
8989
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8990
8990
|
* @param {*} [options] Override http request option.
|
|
8991
8991
|
* @throws {RequiredError}
|
|
@@ -11528,7 +11528,7 @@ class MultiRollupApiClients {
|
|
|
11528
11528
|
}
|
|
11529
11529
|
|
|
11530
11530
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11531
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
11531
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.11.0' };
|
|
11532
11532
|
const createConfig = ({ basePath, headers, }) => {
|
|
11533
11533
|
if (!basePath.trim()) {
|
|
11534
11534
|
throw Error('basePath can not be empty');
|
|
@@ -11600,7 +11600,7 @@ class APIError extends Error {
|
|
|
11600
11600
|
|
|
11601
11601
|
/* eslint-disable implicit-arrow-linebreak */
|
|
11602
11602
|
const defaultHeaders = {
|
|
11603
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
11603
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.11.0',
|
|
11604
11604
|
};
|
|
11605
11605
|
/**
|
|
11606
11606
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11863,6 +11863,7 @@ class BlockchainData {
|
|
|
11863
11863
|
}
|
|
11864
11864
|
/**
|
|
11865
11865
|
* Create a mint request to mint a set of NFTs for a given collection
|
|
11866
|
+
* @experimental
|
|
11866
11867
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
11867
11868
|
* @returns a promise that resolves with the remaining rate limits
|
|
11868
11869
|
* @throws {@link index.APIError}
|
|
@@ -11877,6 +11878,7 @@ class BlockchainData {
|
|
|
11877
11878
|
}
|
|
11878
11879
|
/**
|
|
11879
11880
|
* List all mint requests for a given contract address
|
|
11881
|
+
* @experimental
|
|
11880
11882
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
11881
11883
|
* @returns a promise that resolves with a list of mint requests
|
|
11882
11884
|
* @throws {@link index.APIError}
|
|
@@ -11891,6 +11893,7 @@ class BlockchainData {
|
|
|
11891
11893
|
}
|
|
11892
11894
|
/**
|
|
11893
11895
|
* Retrieve the status of a single mint request identified by its reference ID
|
|
11896
|
+
* @experimental
|
|
11894
11897
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
11895
11898
|
* @returns a promise that resolves with a single mint request
|
|
11896
11899
|
* @throws {@link index.APIError}
|
|
@@ -12075,7 +12078,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
12075
12078
|
chainID,
|
|
12076
12079
|
coreContractAddress,
|
|
12077
12080
|
registrationContractAddress,
|
|
12078
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
12081
|
+
sdkVersion: 'ts-immutable-sdk-1.11.0',
|
|
12079
12082
|
});
|
|
12080
12083
|
/**
|
|
12081
12084
|
* Sets `sdkVersion` at the time of build
|
|
@@ -37757,7 +37760,7 @@ const flattenProperties = (properties) => {
|
|
|
37757
37760
|
};
|
|
37758
37761
|
|
|
37759
37762
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
37760
|
-
const SDK_VERSION = '1.
|
|
37763
|
+
const SDK_VERSION = '1.11.0';
|
|
37761
37764
|
const getReferrer = () => {
|
|
37762
37765
|
if (isNode()) {
|
|
37763
37766
|
return '';
|
|
@@ -42927,7 +42930,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
42927
42930
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
42928
42931
|
};
|
|
42929
42932
|
|
|
42930
|
-
const SDK_VERSION_MARKER = '1.
|
|
42933
|
+
const SDK_VERSION_MARKER = '1.11.0';
|
|
42931
42934
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
42932
42935
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
42933
42936
|
|
package/dist/index.d.ts
CHANGED
|
@@ -18356,6 +18356,7 @@ declare class BlockchainData {
|
|
|
18356
18356
|
listAllNFTs(request: NftsApiListAllNFTsRequest): Promise<ListNFTsResult$1>;
|
|
18357
18357
|
/**
|
|
18358
18358
|
* Create a mint request to mint a set of NFTs for a given collection
|
|
18359
|
+
* @experimental
|
|
18359
18360
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
18360
18361
|
* @returns a promise that resolves with the remaining rate limits
|
|
18361
18362
|
* @throws {@link index.APIError}
|
|
@@ -18363,6 +18364,7 @@ declare class BlockchainData {
|
|
|
18363
18364
|
createMintRequest(request: NftsApiCreateMintRequestRequest): Promise<CreateMintRequestResult$1>;
|
|
18364
18365
|
/**
|
|
18365
18366
|
* List all mint requests for a given contract address
|
|
18367
|
+
* @experimental
|
|
18366
18368
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
18367
18369
|
* @returns a promise that resolves with a list of mint requests
|
|
18368
18370
|
* @throws {@link index.APIError}
|
|
@@ -18370,6 +18372,7 @@ declare class BlockchainData {
|
|
|
18370
18372
|
listMintRequests(request: NftsApiListMintRequestsRequest): Promise<ListMintRequestsResult$1>;
|
|
18371
18373
|
/**
|
|
18372
18374
|
* Retrieve the status of a single mint request identified by its reference ID
|
|
18375
|
+
* @experimental
|
|
18373
18376
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
18374
18377
|
* @returns a promise that resolves with a single mint request
|
|
18375
18378
|
* @throws {@link index.APIError}
|
|
@@ -32543,7 +32546,6 @@ type OnRampWidgetParams = {
|
|
|
32543
32546
|
* Sale Widget parameters
|
|
32544
32547
|
* @property {string} amount
|
|
32545
32548
|
* @property {string} environmentId
|
|
32546
|
-
* @property {string} fromTokenAddress
|
|
32547
32549
|
* @property {SaleItem[]} items
|
|
32548
32550
|
* @property {WalletProviderName | undefined} walletProviderName
|
|
32549
32551
|
*/
|
|
@@ -32552,8 +32554,6 @@ type SaleWidgetParams = {
|
|
|
32552
32554
|
amount?: string;
|
|
32553
32555
|
/** Environment id from Immutable Hub */
|
|
32554
32556
|
environmentId?: string;
|
|
32555
|
-
/** Contract address of the token accepted for payments */
|
|
32556
|
-
fromTokenAddress?: string;
|
|
32557
32557
|
/** The list of products to be purchased */
|
|
32558
32558
|
items?: SaleItem[];
|
|
32559
32559
|
/** The name of the NFT collection on sale */
|
package/dist/index.js
CHANGED
|
@@ -152,7 +152,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
155
|
-
const SDK_VERSION$1 = '1.
|
|
155
|
+
const SDK_VERSION$1 = '1.11.0';
|
|
156
156
|
const getReferrer$1 = () => {
|
|
157
157
|
if (isNode$1()) {
|
|
158
158
|
return '';
|
|
@@ -8420,8 +8420,8 @@ class NftOwnersApi extends BaseAPI$2 {
|
|
|
8420
8420
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
8421
8421
|
return {
|
|
8422
8422
|
/**
|
|
8423
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8424
|
-
* @summary Mint NFTs
|
|
8423
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8424
|
+
* @summary [Experimental] Mint NFTs
|
|
8425
8425
|
* @param {string} contractAddress The address of contract
|
|
8426
8426
|
* @param {string} chainName The name of chain
|
|
8427
8427
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -8435,7 +8435,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8435
8435
|
assertParamExists$2('createMintRequest', 'chainName', chainName);
|
|
8436
8436
|
// verify required parameter 'createMintRequestRequest' is not null or undefined
|
|
8437
8437
|
assertParamExists$2('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
|
|
8438
|
-
const localVarPath = `/
|
|
8438
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8439
8439
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8440
8440
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8441
8441
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8460,8 +8460,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8460
8460
|
};
|
|
8461
8461
|
},
|
|
8462
8462
|
/**
|
|
8463
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8464
|
-
* @summary Get mint request by reference ID
|
|
8463
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8464
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8465
8465
|
* @param {string} contractAddress The address of contract
|
|
8466
8466
|
* @param {string} chainName The name of chain
|
|
8467
8467
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -8475,7 +8475,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8475
8475
|
assertParamExists$2('getMintRequest', 'chainName', chainName);
|
|
8476
8476
|
// verify required parameter 'referenceId' is not null or undefined
|
|
8477
8477
|
assertParamExists$2('getMintRequest', 'referenceId', referenceId);
|
|
8478
|
-
const localVarPath = `/
|
|
8478
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
|
|
8479
8479
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8480
8480
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
|
|
8481
8481
|
.replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
|
|
@@ -8579,8 +8579,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8579
8579
|
};
|
|
8580
8580
|
},
|
|
8581
8581
|
/**
|
|
8582
|
-
* Retrieve the status of all mints for a given contract address
|
|
8583
|
-
* @summary List mint requests
|
|
8582
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8583
|
+
* @summary [Experimental] List mint requests
|
|
8584
8584
|
* @param {string} contractAddress The address of contract
|
|
8585
8585
|
* @param {string} chainName The name of chain
|
|
8586
8586
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -8594,7 +8594,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8594
8594
|
assertParamExists$2('listMintRequests', 'contractAddress', contractAddress);
|
|
8595
8595
|
// verify required parameter 'chainName' is not null or undefined
|
|
8596
8596
|
assertParamExists$2('listMintRequests', 'chainName', chainName);
|
|
8597
|
-
const localVarPath = `/
|
|
8597
|
+
const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8598
8598
|
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8599
8599
|
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8600
8600
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8731,8 +8731,8 @@ const NftsApiFp = function (configuration) {
|
|
|
8731
8731
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
8732
8732
|
return {
|
|
8733
8733
|
/**
|
|
8734
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8735
|
-
* @summary Mint NFTs
|
|
8734
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8735
|
+
* @summary [Experimental] Mint NFTs
|
|
8736
8736
|
* @param {string} contractAddress The address of contract
|
|
8737
8737
|
* @param {string} chainName The name of chain
|
|
8738
8738
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -8744,8 +8744,8 @@ const NftsApiFp = function (configuration) {
|
|
|
8744
8744
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8745
8745
|
},
|
|
8746
8746
|
/**
|
|
8747
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8748
|
-
* @summary Get mint request by reference ID
|
|
8747
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8748
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8749
8749
|
* @param {string} contractAddress The address of contract
|
|
8750
8750
|
* @param {string} chainName The name of chain
|
|
8751
8751
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -8784,8 +8784,8 @@ const NftsApiFp = function (configuration) {
|
|
|
8784
8784
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8785
8785
|
},
|
|
8786
8786
|
/**
|
|
8787
|
-
* Retrieve the status of all mints for a given contract address
|
|
8788
|
-
* @summary List mint requests
|
|
8787
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8788
|
+
* @summary [Experimental] List mint requests
|
|
8789
8789
|
* @param {string} contractAddress The address of contract
|
|
8790
8790
|
* @param {string} chainName The name of chain
|
|
8791
8791
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -8839,8 +8839,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8839
8839
|
const localVarFp = NftsApiFp(configuration);
|
|
8840
8840
|
return {
|
|
8841
8841
|
/**
|
|
8842
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8843
|
-
* @summary Mint NFTs
|
|
8842
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8843
|
+
* @summary [Experimental] Mint NFTs
|
|
8844
8844
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8845
8845
|
* @param {*} [options] Override http request option.
|
|
8846
8846
|
* @throws {RequiredError}
|
|
@@ -8849,8 +8849,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8849
8849
|
return localVarFp.createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(axios, basePath));
|
|
8850
8850
|
},
|
|
8851
8851
|
/**
|
|
8852
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8853
|
-
* @summary Get mint request by reference ID
|
|
8852
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8853
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8854
8854
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8855
8855
|
* @param {*} [options] Override http request option.
|
|
8856
8856
|
* @throws {RequiredError}
|
|
@@ -8879,8 +8879,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8879
8879
|
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
8880
8880
|
},
|
|
8881
8881
|
/**
|
|
8882
|
-
* Retrieve the status of all mints for a given contract address
|
|
8883
|
-
* @summary List mint requests
|
|
8882
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8883
|
+
* @summary [Experimental] List mint requests
|
|
8884
8884
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8885
8885
|
* @param {*} [options] Override http request option.
|
|
8886
8886
|
* @throws {RequiredError}
|
|
@@ -8918,8 +8918,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8918
8918
|
*/
|
|
8919
8919
|
class NftsApi extends BaseAPI$2 {
|
|
8920
8920
|
/**
|
|
8921
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8922
|
-
* @summary Mint NFTs
|
|
8921
|
+
* [Experimental] Create a mint request to mint a set of NFTs for a given collection
|
|
8922
|
+
* @summary [Experimental] Mint NFTs
|
|
8923
8923
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8924
8924
|
* @param {*} [options] Override http request option.
|
|
8925
8925
|
* @throws {RequiredError}
|
|
@@ -8929,8 +8929,8 @@ class NftsApi extends BaseAPI$2 {
|
|
|
8929
8929
|
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8930
8930
|
}
|
|
8931
8931
|
/**
|
|
8932
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8933
|
-
* @summary Get mint request by reference ID
|
|
8932
|
+
* [Experimental] Retrieve the status of a mint request identified by its reference_id
|
|
8933
|
+
* @summary [Experimental] Get mint request by reference ID
|
|
8934
8934
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8935
8935
|
* @param {*} [options] Override http request option.
|
|
8936
8936
|
* @throws {RequiredError}
|
|
@@ -8962,8 +8962,8 @@ class NftsApi extends BaseAPI$2 {
|
|
|
8962
8962
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8963
8963
|
}
|
|
8964
8964
|
/**
|
|
8965
|
-
* Retrieve the status of all mints for a given contract address
|
|
8966
|
-
* @summary List mint requests
|
|
8965
|
+
* [Experimental] Retrieve the status of all mints for a given contract address
|
|
8966
|
+
* @summary [Experimental] List mint requests
|
|
8967
8967
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8968
8968
|
* @param {*} [options] Override http request option.
|
|
8969
8969
|
* @throws {RequiredError}
|
|
@@ -11506,7 +11506,7 @@ class MultiRollupApiClients {
|
|
|
11506
11506
|
}
|
|
11507
11507
|
|
|
11508
11508
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11509
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
11509
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.11.0' };
|
|
11510
11510
|
const createConfig = ({ basePath, headers, }) => {
|
|
11511
11511
|
if (!basePath.trim()) {
|
|
11512
11512
|
throw Error('basePath can not be empty');
|
|
@@ -11578,7 +11578,7 @@ class APIError extends Error {
|
|
|
11578
11578
|
|
|
11579
11579
|
/* eslint-disable implicit-arrow-linebreak */
|
|
11580
11580
|
const defaultHeaders = {
|
|
11581
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
11581
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.11.0',
|
|
11582
11582
|
};
|
|
11583
11583
|
/**
|
|
11584
11584
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11841,6 +11841,7 @@ class BlockchainData {
|
|
|
11841
11841
|
}
|
|
11842
11842
|
/**
|
|
11843
11843
|
* Create a mint request to mint a set of NFTs for a given collection
|
|
11844
|
+
* @experimental
|
|
11844
11845
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
11845
11846
|
* @returns a promise that resolves with the remaining rate limits
|
|
11846
11847
|
* @throws {@link index.APIError}
|
|
@@ -11855,6 +11856,7 @@ class BlockchainData {
|
|
|
11855
11856
|
}
|
|
11856
11857
|
/**
|
|
11857
11858
|
* List all mint requests for a given contract address
|
|
11859
|
+
* @experimental
|
|
11858
11860
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
11859
11861
|
* @returns a promise that resolves with a list of mint requests
|
|
11860
11862
|
* @throws {@link index.APIError}
|
|
@@ -11869,6 +11871,7 @@ class BlockchainData {
|
|
|
11869
11871
|
}
|
|
11870
11872
|
/**
|
|
11871
11873
|
* Retrieve the status of a single mint request identified by its reference ID
|
|
11874
|
+
* @experimental
|
|
11872
11875
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
11873
11876
|
* @returns a promise that resolves with a single mint request
|
|
11874
11877
|
* @throws {@link index.APIError}
|
|
@@ -12053,7 +12056,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
12053
12056
|
chainID,
|
|
12054
12057
|
coreContractAddress,
|
|
12055
12058
|
registrationContractAddress,
|
|
12056
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
12059
|
+
sdkVersion: 'ts-immutable-sdk-1.11.0',
|
|
12057
12060
|
});
|
|
12058
12061
|
/**
|
|
12059
12062
|
* Sets `sdkVersion` at the time of build
|
|
@@ -37735,7 +37738,7 @@ const flattenProperties = (properties) => {
|
|
|
37735
37738
|
};
|
|
37736
37739
|
|
|
37737
37740
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
37738
|
-
const SDK_VERSION = '1.
|
|
37741
|
+
const SDK_VERSION = '1.11.0';
|
|
37739
37742
|
const getReferrer = () => {
|
|
37740
37743
|
if (isNode()) {
|
|
37741
37744
|
return '';
|
|
@@ -42905,7 +42908,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
42905
42908
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
42906
42909
|
};
|
|
42907
42910
|
|
|
42908
|
-
const SDK_VERSION_MARKER = '1.
|
|
42911
|
+
const SDK_VERSION_MARKER = '1.11.0';
|
|
42909
42912
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
42910
42913
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
42911
42914
|
|
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.11.0';
|
|
135
135
|
const getReferrer = () => {
|
|
136
136
|
if (isNode()) {
|
|
137
137
|
return '';
|