@imtbl/sdk 1.10.0-alpha → 1.10.0-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 +264 -845
- package/dist/blockchain_data.js +2 -274
- 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 +8 -8
- 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 +4 -276
- 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 +6 -278
- package/dist/index.d.ts +263 -847
- package/dist/index.js +6 -278
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +3 -203
- package/dist/x.js +2 -2
- package/package.json +1 -1
- package/dist/browser/checkout/index-a7be28ed.js +0 -1
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.10.0-alpha';
|
|
155
|
+
const SDK_VERSION$1 = '1.10.0-alpha.1';
|
|
156
156
|
const getReferrer$1 = () => {
|
|
157
157
|
if (isNode$1()) {
|
|
158
158
|
return '';
|
|
@@ -8419,85 +8419,6 @@ class NftOwnersApi extends BaseAPI$2 {
|
|
|
8419
8419
|
*/
|
|
8420
8420
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
8421
8421
|
return {
|
|
8422
|
-
/**
|
|
8423
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8424
|
-
* @summary Mint NFTs
|
|
8425
|
-
* @param {string} contractAddress The address of contract
|
|
8426
|
-
* @param {string} chainName The name of chain
|
|
8427
|
-
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
8428
|
-
* @param {*} [options] Override http request option.
|
|
8429
|
-
* @throws {RequiredError}
|
|
8430
|
-
*/
|
|
8431
|
-
createMintRequest: async (contractAddress, chainName, createMintRequestRequest, options = {}) => {
|
|
8432
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
8433
|
-
assertParamExists$2('createMintRequest', 'contractAddress', contractAddress);
|
|
8434
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
8435
|
-
assertParamExists$2('createMintRequest', 'chainName', chainName);
|
|
8436
|
-
// verify required parameter 'createMintRequestRequest' is not null or undefined
|
|
8437
|
-
assertParamExists$2('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
|
|
8438
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8439
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8440
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8441
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8442
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
8443
|
-
let baseOptions;
|
|
8444
|
-
if (configuration) {
|
|
8445
|
-
baseOptions = configuration.baseOptions;
|
|
8446
|
-
}
|
|
8447
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
8448
|
-
const localVarHeaderParameter = {};
|
|
8449
|
-
const localVarQueryParameter = {};
|
|
8450
|
-
// authentication ImmutableApiKey required
|
|
8451
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
8452
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8453
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
8454
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8455
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8456
|
-
localVarRequestOptions.data = serializeDataIfNeeded$2(createMintRequestRequest, localVarRequestOptions, configuration);
|
|
8457
|
-
return {
|
|
8458
|
-
url: toPathString$2(localVarUrlObj),
|
|
8459
|
-
options: localVarRequestOptions,
|
|
8460
|
-
};
|
|
8461
|
-
},
|
|
8462
|
-
/**
|
|
8463
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8464
|
-
* @summary Get mint request by reference ID
|
|
8465
|
-
* @param {string} contractAddress The address of contract
|
|
8466
|
-
* @param {string} chainName The name of chain
|
|
8467
|
-
* @param {string} referenceId The ID of the mint request
|
|
8468
|
-
* @param {*} [options] Override http request option.
|
|
8469
|
-
* @throws {RequiredError}
|
|
8470
|
-
*/
|
|
8471
|
-
getMintRequest: async (contractAddress, chainName, referenceId, options = {}) => {
|
|
8472
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
8473
|
-
assertParamExists$2('getMintRequest', 'contractAddress', contractAddress);
|
|
8474
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
8475
|
-
assertParamExists$2('getMintRequest', 'chainName', chainName);
|
|
8476
|
-
// verify required parameter 'referenceId' is not null or undefined
|
|
8477
|
-
assertParamExists$2('getMintRequest', 'referenceId', referenceId);
|
|
8478
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
|
|
8479
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8480
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
|
|
8481
|
-
.replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
|
|
8482
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8483
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
8484
|
-
let baseOptions;
|
|
8485
|
-
if (configuration) {
|
|
8486
|
-
baseOptions = configuration.baseOptions;
|
|
8487
|
-
}
|
|
8488
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8489
|
-
const localVarHeaderParameter = {};
|
|
8490
|
-
const localVarQueryParameter = {};
|
|
8491
|
-
// authentication ImmutableApiKey required
|
|
8492
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
8493
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
8494
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8495
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8496
|
-
return {
|
|
8497
|
-
url: toPathString$2(localVarUrlObj),
|
|
8498
|
-
options: localVarRequestOptions,
|
|
8499
|
-
};
|
|
8500
|
-
},
|
|
8501
8422
|
/**
|
|
8502
8423
|
* Get NFT by token ID
|
|
8503
8424
|
* @summary Get NFT by token ID
|
|
@@ -8578,53 +8499,6 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8578
8499
|
options: localVarRequestOptions,
|
|
8579
8500
|
};
|
|
8580
8501
|
},
|
|
8581
|
-
/**
|
|
8582
|
-
* Retrieve the status of all mints for a given contract address
|
|
8583
|
-
* @summary List mint requests
|
|
8584
|
-
* @param {string} contractAddress The address of contract
|
|
8585
|
-
* @param {string} chainName The name of chain
|
|
8586
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
8587
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
8588
|
-
* @param {MintRequestStatus} [status] The status of the mint request
|
|
8589
|
-
* @param {*} [options] Override http request option.
|
|
8590
|
-
* @throws {RequiredError}
|
|
8591
|
-
*/
|
|
8592
|
-
listMintRequests: async (contractAddress, chainName, pageCursor, pageSize, status, options = {}) => {
|
|
8593
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
8594
|
-
assertParamExists$2('listMintRequests', 'contractAddress', contractAddress);
|
|
8595
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
8596
|
-
assertParamExists$2('listMintRequests', 'chainName', chainName);
|
|
8597
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8598
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8599
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8600
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8601
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
8602
|
-
let baseOptions;
|
|
8603
|
-
if (configuration) {
|
|
8604
|
-
baseOptions = configuration.baseOptions;
|
|
8605
|
-
}
|
|
8606
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8607
|
-
const localVarHeaderParameter = {};
|
|
8608
|
-
const localVarQueryParameter = {};
|
|
8609
|
-
// authentication ImmutableApiKey required
|
|
8610
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
8611
|
-
if (pageCursor !== undefined) {
|
|
8612
|
-
localVarQueryParameter['page_cursor'] = pageCursor;
|
|
8613
|
-
}
|
|
8614
|
-
if (pageSize !== undefined) {
|
|
8615
|
-
localVarQueryParameter['page_size'] = pageSize;
|
|
8616
|
-
}
|
|
8617
|
-
if (status !== undefined) {
|
|
8618
|
-
localVarQueryParameter['status'] = status;
|
|
8619
|
-
}
|
|
8620
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
8621
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8622
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8623
|
-
return {
|
|
8624
|
-
url: toPathString$2(localVarUrlObj),
|
|
8625
|
-
options: localVarRequestOptions,
|
|
8626
|
-
};
|
|
8627
|
-
},
|
|
8628
8502
|
/**
|
|
8629
8503
|
* List NFTs by contract address
|
|
8630
8504
|
* @summary List NFTs by contract address
|
|
@@ -8730,32 +8604,6 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8730
8604
|
const NftsApiFp = function (configuration) {
|
|
8731
8605
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
8732
8606
|
return {
|
|
8733
|
-
/**
|
|
8734
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8735
|
-
* @summary Mint NFTs
|
|
8736
|
-
* @param {string} contractAddress The address of contract
|
|
8737
|
-
* @param {string} chainName The name of chain
|
|
8738
|
-
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
8739
|
-
* @param {*} [options] Override http request option.
|
|
8740
|
-
* @throws {RequiredError}
|
|
8741
|
-
*/
|
|
8742
|
-
async createMintRequest(contractAddress, chainName, createMintRequestRequest, options) {
|
|
8743
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMintRequest(contractAddress, chainName, createMintRequestRequest, options);
|
|
8744
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8745
|
-
},
|
|
8746
|
-
/**
|
|
8747
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8748
|
-
* @summary Get mint request by reference ID
|
|
8749
|
-
* @param {string} contractAddress The address of contract
|
|
8750
|
-
* @param {string} chainName The name of chain
|
|
8751
|
-
* @param {string} referenceId The ID of the mint request
|
|
8752
|
-
* @param {*} [options] Override http request option.
|
|
8753
|
-
* @throws {RequiredError}
|
|
8754
|
-
*/
|
|
8755
|
-
async getMintRequest(contractAddress, chainName, referenceId, options) {
|
|
8756
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMintRequest(contractAddress, chainName, referenceId, options);
|
|
8757
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8758
|
-
},
|
|
8759
8607
|
/**
|
|
8760
8608
|
* Get NFT by token ID
|
|
8761
8609
|
* @summary Get NFT by token ID
|
|
@@ -8783,21 +8631,6 @@ const NftsApiFp = function (configuration) {
|
|
|
8783
8631
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options);
|
|
8784
8632
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8785
8633
|
},
|
|
8786
|
-
/**
|
|
8787
|
-
* Retrieve the status of all mints for a given contract address
|
|
8788
|
-
* @summary List mint requests
|
|
8789
|
-
* @param {string} contractAddress The address of contract
|
|
8790
|
-
* @param {string} chainName The name of chain
|
|
8791
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
8792
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
8793
|
-
* @param {MintRequestStatus} [status] The status of the mint request
|
|
8794
|
-
* @param {*} [options] Override http request option.
|
|
8795
|
-
* @throws {RequiredError}
|
|
8796
|
-
*/
|
|
8797
|
-
async listMintRequests(contractAddress, chainName, pageCursor, pageSize, status, options) {
|
|
8798
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listMintRequests(contractAddress, chainName, pageCursor, pageSize, status, options);
|
|
8799
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8800
|
-
},
|
|
8801
8634
|
/**
|
|
8802
8635
|
* List NFTs by contract address
|
|
8803
8636
|
* @summary List NFTs by contract address
|
|
@@ -8838,26 +8671,6 @@ const NftsApiFp = function (configuration) {
|
|
|
8838
8671
|
const NftsApiFactory = function (configuration, basePath, axios) {
|
|
8839
8672
|
const localVarFp = NftsApiFp(configuration);
|
|
8840
8673
|
return {
|
|
8841
|
-
/**
|
|
8842
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8843
|
-
* @summary Mint NFTs
|
|
8844
|
-
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8845
|
-
* @param {*} [options] Override http request option.
|
|
8846
|
-
* @throws {RequiredError}
|
|
8847
|
-
*/
|
|
8848
|
-
createMintRequest(requestParameters, options) {
|
|
8849
|
-
return localVarFp.createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(axios, basePath));
|
|
8850
|
-
},
|
|
8851
|
-
/**
|
|
8852
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8853
|
-
* @summary Get mint request by reference ID
|
|
8854
|
-
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8855
|
-
* @param {*} [options] Override http request option.
|
|
8856
|
-
* @throws {RequiredError}
|
|
8857
|
-
*/
|
|
8858
|
-
getMintRequest(requestParameters, options) {
|
|
8859
|
-
return localVarFp.getMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.referenceId, options).then((request) => request(axios, basePath));
|
|
8860
|
-
},
|
|
8861
8674
|
/**
|
|
8862
8675
|
* Get NFT by token ID
|
|
8863
8676
|
* @summary Get NFT by token ID
|
|
@@ -8878,16 +8691,6 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8878
8691
|
listAllNFTs(requestParameters, options) {
|
|
8879
8692
|
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
8880
8693
|
},
|
|
8881
|
-
/**
|
|
8882
|
-
* Retrieve the status of all mints for a given contract address
|
|
8883
|
-
* @summary List mint requests
|
|
8884
|
-
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8885
|
-
* @param {*} [options] Override http request option.
|
|
8886
|
-
* @throws {RequiredError}
|
|
8887
|
-
*/
|
|
8888
|
-
listMintRequests(requestParameters, options) {
|
|
8889
|
-
return localVarFp.listMintRequests(requestParameters.contractAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
8890
|
-
},
|
|
8891
8694
|
/**
|
|
8892
8695
|
* List NFTs by contract address
|
|
8893
8696
|
* @summary List NFTs by contract address
|
|
@@ -8917,28 +8720,6 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8917
8720
|
* @extends {BaseAPI}
|
|
8918
8721
|
*/
|
|
8919
8722
|
class NftsApi extends BaseAPI$2 {
|
|
8920
|
-
/**
|
|
8921
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8922
|
-
* @summary Mint NFTs
|
|
8923
|
-
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8924
|
-
* @param {*} [options] Override http request option.
|
|
8925
|
-
* @throws {RequiredError}
|
|
8926
|
-
* @memberof NftsApi
|
|
8927
|
-
*/
|
|
8928
|
-
createMintRequest(requestParameters, options) {
|
|
8929
|
-
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8930
|
-
}
|
|
8931
|
-
/**
|
|
8932
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8933
|
-
* @summary Get mint request by reference ID
|
|
8934
|
-
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8935
|
-
* @param {*} [options] Override http request option.
|
|
8936
|
-
* @throws {RequiredError}
|
|
8937
|
-
* @memberof NftsApi
|
|
8938
|
-
*/
|
|
8939
|
-
getMintRequest(requestParameters, options) {
|
|
8940
|
-
return NftsApiFp(this.configuration).getMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.referenceId, options).then((request) => request(this.axios, this.basePath));
|
|
8941
|
-
}
|
|
8942
8723
|
/**
|
|
8943
8724
|
* Get NFT by token ID
|
|
8944
8725
|
* @summary Get NFT by token ID
|
|
@@ -8961,17 +8742,6 @@ class NftsApi extends BaseAPI$2 {
|
|
|
8961
8742
|
listAllNFTs(requestParameters, options) {
|
|
8962
8743
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8963
8744
|
}
|
|
8964
|
-
/**
|
|
8965
|
-
* Retrieve the status of all mints for a given contract address
|
|
8966
|
-
* @summary List mint requests
|
|
8967
|
-
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8968
|
-
* @param {*} [options] Override http request option.
|
|
8969
|
-
* @throws {RequiredError}
|
|
8970
|
-
* @memberof NftsApi
|
|
8971
|
-
*/
|
|
8972
|
-
listMintRequests(requestParameters, options) {
|
|
8973
|
-
return NftsApiFp(this.configuration).listMintRequests(requestParameters.contractAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
8974
|
-
}
|
|
8975
8745
|
/**
|
|
8976
8746
|
* List NFTs by contract address
|
|
8977
8747
|
* @summary List NFTs by contract address
|
|
@@ -11506,7 +11276,7 @@ class MultiRollupApiClients {
|
|
|
11506
11276
|
}
|
|
11507
11277
|
|
|
11508
11278
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11509
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha' };
|
|
11279
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha.1' };
|
|
11510
11280
|
const createConfig = ({ basePath, headers, }) => {
|
|
11511
11281
|
if (!basePath.trim()) {
|
|
11512
11282
|
throw Error('basePath can not be empty');
|
|
@@ -11578,7 +11348,7 @@ class APIError extends Error {
|
|
|
11578
11348
|
|
|
11579
11349
|
/* eslint-disable implicit-arrow-linebreak */
|
|
11580
11350
|
const defaultHeaders = {
|
|
11581
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.10.0-alpha',
|
|
11351
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.10.0-alpha.1',
|
|
11582
11352
|
};
|
|
11583
11353
|
/**
|
|
11584
11354
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11839,48 +11609,6 @@ class BlockchainData {
|
|
|
11839
11609
|
throw formatError(err);
|
|
11840
11610
|
});
|
|
11841
11611
|
}
|
|
11842
|
-
/**
|
|
11843
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
11844
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
11845
|
-
* @returns a promise that resolves with the remaining rate limits
|
|
11846
|
-
* @throws {@link index.APIError}
|
|
11847
|
-
*/
|
|
11848
|
-
async createMintRequest(request) {
|
|
11849
|
-
return await this.nfts
|
|
11850
|
-
.createMintRequest(request)
|
|
11851
|
-
.then((res) => res.data)
|
|
11852
|
-
.catch((err) => {
|
|
11853
|
-
throw formatError(err);
|
|
11854
|
-
});
|
|
11855
|
-
}
|
|
11856
|
-
/**
|
|
11857
|
-
* List all mint requests for a given contract address
|
|
11858
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
11859
|
-
* @returns a promise that resolves with a list of mint requests
|
|
11860
|
-
* @throws {@link index.APIError}
|
|
11861
|
-
*/
|
|
11862
|
-
async listMintRequests(request) {
|
|
11863
|
-
return await this.nfts
|
|
11864
|
-
.listMintRequests(request)
|
|
11865
|
-
.then((res) => res.data)
|
|
11866
|
-
.catch((err) => {
|
|
11867
|
-
throw formatError(err);
|
|
11868
|
-
});
|
|
11869
|
-
}
|
|
11870
|
-
/**
|
|
11871
|
-
* Retrieve the status of a single mint request identified by its reference ID
|
|
11872
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
11873
|
-
* @returns a promise that resolves with a single mint request
|
|
11874
|
-
* @throws {@link index.APIError}
|
|
11875
|
-
*/
|
|
11876
|
-
async getMintRequest(request) {
|
|
11877
|
-
return await this.nfts
|
|
11878
|
-
.getMintRequest(request)
|
|
11879
|
-
.then((res) => res.data)
|
|
11880
|
-
.catch((err) => {
|
|
11881
|
-
throw formatError(err);
|
|
11882
|
-
});
|
|
11883
|
-
}
|
|
11884
11612
|
/**
|
|
11885
11613
|
* List NFT owners by token ID
|
|
11886
11614
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
@@ -12053,7 +11781,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
12053
11781
|
chainID,
|
|
12054
11782
|
coreContractAddress,
|
|
12055
11783
|
registrationContractAddress,
|
|
12056
|
-
sdkVersion: 'ts-immutable-sdk-1.10.0-alpha',
|
|
11784
|
+
sdkVersion: 'ts-immutable-sdk-1.10.0-alpha.1',
|
|
12057
11785
|
});
|
|
12058
11786
|
/**
|
|
12059
11787
|
* Sets `sdkVersion` at the time of build
|
|
@@ -37735,7 +37463,7 @@ const flattenProperties = (properties) => {
|
|
|
37735
37463
|
};
|
|
37736
37464
|
|
|
37737
37465
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
37738
|
-
const SDK_VERSION = '1.10.0-alpha';
|
|
37466
|
+
const SDK_VERSION = '1.10.0-alpha.1';
|
|
37739
37467
|
const getReferrer = () => {
|
|
37740
37468
|
if (isNode()) {
|
|
37741
37469
|
return '';
|
|
@@ -42905,7 +42633,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
42905
42633
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
42906
42634
|
};
|
|
42907
42635
|
|
|
42908
|
-
const SDK_VERSION_MARKER = '1.10.0-alpha';
|
|
42636
|
+
const SDK_VERSION_MARKER = '1.10.0-alpha.1';
|
|
42909
42637
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
42910
42638
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
42911
42639
|
|
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.10.0-alpha';
|
|
134
|
+
const SDK_VERSION = '1.10.0-alpha.1';
|
|
135
135
|
const getReferrer = () => {
|
|
136
136
|
if (isNode()) {
|
|
137
137
|
return '';
|
package/dist/passport.js
CHANGED
|
@@ -7465,85 +7465,6 @@ class NftOwnersApi extends BaseAPI$2 {
|
|
|
7465
7465
|
*/
|
|
7466
7466
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
7467
7467
|
return {
|
|
7468
|
-
/**
|
|
7469
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
7470
|
-
* @summary Mint NFTs
|
|
7471
|
-
* @param {string} contractAddress The address of contract
|
|
7472
|
-
* @param {string} chainName The name of chain
|
|
7473
|
-
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
7474
|
-
* @param {*} [options] Override http request option.
|
|
7475
|
-
* @throws {RequiredError}
|
|
7476
|
-
*/
|
|
7477
|
-
createMintRequest: async (contractAddress, chainName, createMintRequestRequest, options = {}) => {
|
|
7478
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
7479
|
-
assertParamExists$2('createMintRequest', 'contractAddress', contractAddress);
|
|
7480
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
7481
|
-
assertParamExists$2('createMintRequest', 'chainName', chainName);
|
|
7482
|
-
// verify required parameter 'createMintRequestRequest' is not null or undefined
|
|
7483
|
-
assertParamExists$2('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
|
|
7484
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
7485
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
7486
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
7487
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7488
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
7489
|
-
let baseOptions;
|
|
7490
|
-
if (configuration) {
|
|
7491
|
-
baseOptions = configuration.baseOptions;
|
|
7492
|
-
}
|
|
7493
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7494
|
-
const localVarHeaderParameter = {};
|
|
7495
|
-
const localVarQueryParameter = {};
|
|
7496
|
-
// authentication ImmutableApiKey required
|
|
7497
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
7498
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7499
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
7500
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7501
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7502
|
-
localVarRequestOptions.data = serializeDataIfNeeded$2(createMintRequestRequest, localVarRequestOptions, configuration);
|
|
7503
|
-
return {
|
|
7504
|
-
url: toPathString$2(localVarUrlObj),
|
|
7505
|
-
options: localVarRequestOptions,
|
|
7506
|
-
};
|
|
7507
|
-
},
|
|
7508
|
-
/**
|
|
7509
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
7510
|
-
* @summary Get mint request by reference ID
|
|
7511
|
-
* @param {string} contractAddress The address of contract
|
|
7512
|
-
* @param {string} chainName The name of chain
|
|
7513
|
-
* @param {string} referenceId The ID of the mint request
|
|
7514
|
-
* @param {*} [options] Override http request option.
|
|
7515
|
-
* @throws {RequiredError}
|
|
7516
|
-
*/
|
|
7517
|
-
getMintRequest: async (contractAddress, chainName, referenceId, options = {}) => {
|
|
7518
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
7519
|
-
assertParamExists$2('getMintRequest', 'contractAddress', contractAddress);
|
|
7520
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
7521
|
-
assertParamExists$2('getMintRequest', 'chainName', chainName);
|
|
7522
|
-
// verify required parameter 'referenceId' is not null or undefined
|
|
7523
|
-
assertParamExists$2('getMintRequest', 'referenceId', referenceId);
|
|
7524
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
|
|
7525
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
7526
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
|
|
7527
|
-
.replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
|
|
7528
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7529
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
7530
|
-
let baseOptions;
|
|
7531
|
-
if (configuration) {
|
|
7532
|
-
baseOptions = configuration.baseOptions;
|
|
7533
|
-
}
|
|
7534
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7535
|
-
const localVarHeaderParameter = {};
|
|
7536
|
-
const localVarQueryParameter = {};
|
|
7537
|
-
// authentication ImmutableApiKey required
|
|
7538
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
7539
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
7540
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7541
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7542
|
-
return {
|
|
7543
|
-
url: toPathString$2(localVarUrlObj),
|
|
7544
|
-
options: localVarRequestOptions,
|
|
7545
|
-
};
|
|
7546
|
-
},
|
|
7547
7468
|
/**
|
|
7548
7469
|
* Get NFT by token ID
|
|
7549
7470
|
* @summary Get NFT by token ID
|
|
@@ -7624,53 +7545,6 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
7624
7545
|
options: localVarRequestOptions,
|
|
7625
7546
|
};
|
|
7626
7547
|
},
|
|
7627
|
-
/**
|
|
7628
|
-
* Retrieve the status of all mints for a given contract address
|
|
7629
|
-
* @summary List mint requests
|
|
7630
|
-
* @param {string} contractAddress The address of contract
|
|
7631
|
-
* @param {string} chainName The name of chain
|
|
7632
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
7633
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
7634
|
-
* @param {MintRequestStatus} [status] The status of the mint request
|
|
7635
|
-
* @param {*} [options] Override http request option.
|
|
7636
|
-
* @throws {RequiredError}
|
|
7637
|
-
*/
|
|
7638
|
-
listMintRequests: async (contractAddress, chainName, pageCursor, pageSize, status, options = {}) => {
|
|
7639
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
7640
|
-
assertParamExists$2('listMintRequests', 'contractAddress', contractAddress);
|
|
7641
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
7642
|
-
assertParamExists$2('listMintRequests', 'chainName', chainName);
|
|
7643
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
7644
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
7645
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
7646
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7647
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
7648
|
-
let baseOptions;
|
|
7649
|
-
if (configuration) {
|
|
7650
|
-
baseOptions = configuration.baseOptions;
|
|
7651
|
-
}
|
|
7652
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7653
|
-
const localVarHeaderParameter = {};
|
|
7654
|
-
const localVarQueryParameter = {};
|
|
7655
|
-
// authentication ImmutableApiKey required
|
|
7656
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
7657
|
-
if (pageCursor !== undefined) {
|
|
7658
|
-
localVarQueryParameter['page_cursor'] = pageCursor;
|
|
7659
|
-
}
|
|
7660
|
-
if (pageSize !== undefined) {
|
|
7661
|
-
localVarQueryParameter['page_size'] = pageSize;
|
|
7662
|
-
}
|
|
7663
|
-
if (status !== undefined) {
|
|
7664
|
-
localVarQueryParameter['status'] = status;
|
|
7665
|
-
}
|
|
7666
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
7667
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7668
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7669
|
-
return {
|
|
7670
|
-
url: toPathString$2(localVarUrlObj),
|
|
7671
|
-
options: localVarRequestOptions,
|
|
7672
|
-
};
|
|
7673
|
-
},
|
|
7674
7548
|
/**
|
|
7675
7549
|
* List NFTs by contract address
|
|
7676
7550
|
* @summary List NFTs by contract address
|
|
@@ -7776,32 +7650,6 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
7776
7650
|
const NftsApiFp = function (configuration) {
|
|
7777
7651
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
7778
7652
|
return {
|
|
7779
|
-
/**
|
|
7780
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
7781
|
-
* @summary Mint NFTs
|
|
7782
|
-
* @param {string} contractAddress The address of contract
|
|
7783
|
-
* @param {string} chainName The name of chain
|
|
7784
|
-
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
7785
|
-
* @param {*} [options] Override http request option.
|
|
7786
|
-
* @throws {RequiredError}
|
|
7787
|
-
*/
|
|
7788
|
-
async createMintRequest(contractAddress, chainName, createMintRequestRequest, options) {
|
|
7789
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMintRequest(contractAddress, chainName, createMintRequestRequest, options);
|
|
7790
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
7791
|
-
},
|
|
7792
|
-
/**
|
|
7793
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
7794
|
-
* @summary Get mint request by reference ID
|
|
7795
|
-
* @param {string} contractAddress The address of contract
|
|
7796
|
-
* @param {string} chainName The name of chain
|
|
7797
|
-
* @param {string} referenceId The ID of the mint request
|
|
7798
|
-
* @param {*} [options] Override http request option.
|
|
7799
|
-
* @throws {RequiredError}
|
|
7800
|
-
*/
|
|
7801
|
-
async getMintRequest(contractAddress, chainName, referenceId, options) {
|
|
7802
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMintRequest(contractAddress, chainName, referenceId, options);
|
|
7803
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
7804
|
-
},
|
|
7805
7653
|
/**
|
|
7806
7654
|
* Get NFT by token ID
|
|
7807
7655
|
* @summary Get NFT by token ID
|
|
@@ -7829,21 +7677,6 @@ const NftsApiFp = function (configuration) {
|
|
|
7829
7677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options);
|
|
7830
7678
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
7831
7679
|
},
|
|
7832
|
-
/**
|
|
7833
|
-
* Retrieve the status of all mints for a given contract address
|
|
7834
|
-
* @summary List mint requests
|
|
7835
|
-
* @param {string} contractAddress The address of contract
|
|
7836
|
-
* @param {string} chainName The name of chain
|
|
7837
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
7838
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
7839
|
-
* @param {MintRequestStatus} [status] The status of the mint request
|
|
7840
|
-
* @param {*} [options] Override http request option.
|
|
7841
|
-
* @throws {RequiredError}
|
|
7842
|
-
*/
|
|
7843
|
-
async listMintRequests(contractAddress, chainName, pageCursor, pageSize, status, options) {
|
|
7844
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listMintRequests(contractAddress, chainName, pageCursor, pageSize, status, options);
|
|
7845
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
7846
|
-
},
|
|
7847
7680
|
/**
|
|
7848
7681
|
* List NFTs by contract address
|
|
7849
7682
|
* @summary List NFTs by contract address
|
|
@@ -7884,28 +7717,6 @@ const NftsApiFp = function (configuration) {
|
|
|
7884
7717
|
* @extends {BaseAPI}
|
|
7885
7718
|
*/
|
|
7886
7719
|
class NftsApi extends BaseAPI$2 {
|
|
7887
|
-
/**
|
|
7888
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
7889
|
-
* @summary Mint NFTs
|
|
7890
|
-
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
7891
|
-
* @param {*} [options] Override http request option.
|
|
7892
|
-
* @throws {RequiredError}
|
|
7893
|
-
* @memberof NftsApi
|
|
7894
|
-
*/
|
|
7895
|
-
createMintRequest(requestParameters, options) {
|
|
7896
|
-
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7897
|
-
}
|
|
7898
|
-
/**
|
|
7899
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
7900
|
-
* @summary Get mint request by reference ID
|
|
7901
|
-
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
7902
|
-
* @param {*} [options] Override http request option.
|
|
7903
|
-
* @throws {RequiredError}
|
|
7904
|
-
* @memberof NftsApi
|
|
7905
|
-
*/
|
|
7906
|
-
getMintRequest(requestParameters, options) {
|
|
7907
|
-
return NftsApiFp(this.configuration).getMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.referenceId, options).then((request) => request(this.axios, this.basePath));
|
|
7908
|
-
}
|
|
7909
7720
|
/**
|
|
7910
7721
|
* Get NFT by token ID
|
|
7911
7722
|
* @summary Get NFT by token ID
|
|
@@ -7928,17 +7739,6 @@ class NftsApi extends BaseAPI$2 {
|
|
|
7928
7739
|
listAllNFTs(requestParameters, options) {
|
|
7929
7740
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
7930
7741
|
}
|
|
7931
|
-
/**
|
|
7932
|
-
* Retrieve the status of all mints for a given contract address
|
|
7933
|
-
* @summary List mint requests
|
|
7934
|
-
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
7935
|
-
* @param {*} [options] Override http request option.
|
|
7936
|
-
* @throws {RequiredError}
|
|
7937
|
-
* @memberof NftsApi
|
|
7938
|
-
*/
|
|
7939
|
-
listMintRequests(requestParameters, options) {
|
|
7940
|
-
return NftsApiFp(this.configuration).listMintRequests(requestParameters.contractAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
7941
|
-
}
|
|
7942
7742
|
/**
|
|
7943
7743
|
* List NFTs by contract address
|
|
7944
7744
|
* @summary List NFTs by contract address
|
|
@@ -9346,7 +9146,7 @@ class MultiRollupApiClients {
|
|
|
9346
9146
|
}
|
|
9347
9147
|
|
|
9348
9148
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9349
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha' };
|
|
9149
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha.1' };
|
|
9350
9150
|
const createConfig = ({ basePath, headers, }) => {
|
|
9351
9151
|
if (!basePath.trim()) {
|
|
9352
9152
|
throw Error('basePath can not be empty');
|
|
@@ -9525,7 +9325,7 @@ const flattenProperties = (properties) => {
|
|
|
9525
9325
|
};
|
|
9526
9326
|
|
|
9527
9327
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
9528
|
-
const SDK_VERSION = '1.10.0-alpha';
|
|
9328
|
+
const SDK_VERSION = '1.10.0-alpha.1';
|
|
9529
9329
|
const getReferrer = () => {
|
|
9530
9330
|
if (isNode()) {
|
|
9531
9331
|
return '';
|
|
@@ -9738,7 +9538,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9738
9538
|
chainID,
|
|
9739
9539
|
coreContractAddress,
|
|
9740
9540
|
registrationContractAddress,
|
|
9741
|
-
sdkVersion: 'ts-immutable-sdk-1.10.0-alpha',
|
|
9541
|
+
sdkVersion: 'ts-immutable-sdk-1.10.0-alpha.1',
|
|
9742
9542
|
});
|
|
9743
9543
|
/**
|
|
9744
9544
|
* Sets `sdkVersion` at the time of build
|