@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.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.10.0-alpha';
|
|
177
|
+
const SDK_VERSION$1 = '1.10.0-alpha.1';
|
|
178
178
|
const getReferrer$1 = () => {
|
|
179
179
|
if (isNode$1()) {
|
|
180
180
|
return '';
|
|
@@ -8441,85 +8441,6 @@ class NftOwnersApi extends BaseAPI$2 {
|
|
|
8441
8441
|
*/
|
|
8442
8442
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
8443
8443
|
return {
|
|
8444
|
-
/**
|
|
8445
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8446
|
-
* @summary Mint NFTs
|
|
8447
|
-
* @param {string} contractAddress The address of contract
|
|
8448
|
-
* @param {string} chainName The name of chain
|
|
8449
|
-
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
8450
|
-
* @param {*} [options] Override http request option.
|
|
8451
|
-
* @throws {RequiredError}
|
|
8452
|
-
*/
|
|
8453
|
-
createMintRequest: async (contractAddress, chainName, createMintRequestRequest, options = {}) => {
|
|
8454
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
8455
|
-
assertParamExists$2('createMintRequest', 'contractAddress', contractAddress);
|
|
8456
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
8457
|
-
assertParamExists$2('createMintRequest', 'chainName', chainName);
|
|
8458
|
-
// verify required parameter 'createMintRequestRequest' is not null or undefined
|
|
8459
|
-
assertParamExists$2('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
|
|
8460
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8461
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8462
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8463
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8464
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
8465
|
-
let baseOptions;
|
|
8466
|
-
if (configuration) {
|
|
8467
|
-
baseOptions = configuration.baseOptions;
|
|
8468
|
-
}
|
|
8469
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
8470
|
-
const localVarHeaderParameter = {};
|
|
8471
|
-
const localVarQueryParameter = {};
|
|
8472
|
-
// authentication ImmutableApiKey required
|
|
8473
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
8474
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8475
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
8476
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8477
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8478
|
-
localVarRequestOptions.data = serializeDataIfNeeded$2(createMintRequestRequest, localVarRequestOptions, configuration);
|
|
8479
|
-
return {
|
|
8480
|
-
url: toPathString$2(localVarUrlObj),
|
|
8481
|
-
options: localVarRequestOptions,
|
|
8482
|
-
};
|
|
8483
|
-
},
|
|
8484
|
-
/**
|
|
8485
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8486
|
-
* @summary Get mint request by reference ID
|
|
8487
|
-
* @param {string} contractAddress The address of contract
|
|
8488
|
-
* @param {string} chainName The name of chain
|
|
8489
|
-
* @param {string} referenceId The ID of the mint request
|
|
8490
|
-
* @param {*} [options] Override http request option.
|
|
8491
|
-
* @throws {RequiredError}
|
|
8492
|
-
*/
|
|
8493
|
-
getMintRequest: async (contractAddress, chainName, referenceId, options = {}) => {
|
|
8494
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
8495
|
-
assertParamExists$2('getMintRequest', 'contractAddress', contractAddress);
|
|
8496
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
8497
|
-
assertParamExists$2('getMintRequest', 'chainName', chainName);
|
|
8498
|
-
// verify required parameter 'referenceId' is not null or undefined
|
|
8499
|
-
assertParamExists$2('getMintRequest', 'referenceId', referenceId);
|
|
8500
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
|
|
8501
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8502
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
|
|
8503
|
-
.replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
|
|
8504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8505
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
8506
|
-
let baseOptions;
|
|
8507
|
-
if (configuration) {
|
|
8508
|
-
baseOptions = configuration.baseOptions;
|
|
8509
|
-
}
|
|
8510
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8511
|
-
const localVarHeaderParameter = {};
|
|
8512
|
-
const localVarQueryParameter = {};
|
|
8513
|
-
// authentication ImmutableApiKey required
|
|
8514
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
8515
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
8516
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8517
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8518
|
-
return {
|
|
8519
|
-
url: toPathString$2(localVarUrlObj),
|
|
8520
|
-
options: localVarRequestOptions,
|
|
8521
|
-
};
|
|
8522
|
-
},
|
|
8523
8444
|
/**
|
|
8524
8445
|
* Get NFT by token ID
|
|
8525
8446
|
* @summary Get NFT by token ID
|
|
@@ -8600,53 +8521,6 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8600
8521
|
options: localVarRequestOptions,
|
|
8601
8522
|
};
|
|
8602
8523
|
},
|
|
8603
|
-
/**
|
|
8604
|
-
* Retrieve the status of all mints for a given contract address
|
|
8605
|
-
* @summary List mint requests
|
|
8606
|
-
* @param {string} contractAddress The address of contract
|
|
8607
|
-
* @param {string} chainName The name of chain
|
|
8608
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
8609
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
8610
|
-
* @param {MintRequestStatus} [status] The status of the mint request
|
|
8611
|
-
* @param {*} [options] Override http request option.
|
|
8612
|
-
* @throws {RequiredError}
|
|
8613
|
-
*/
|
|
8614
|
-
listMintRequests: async (contractAddress, chainName, pageCursor, pageSize, status, options = {}) => {
|
|
8615
|
-
// verify required parameter 'contractAddress' is not null or undefined
|
|
8616
|
-
assertParamExists$2('listMintRequests', 'contractAddress', contractAddress);
|
|
8617
|
-
// verify required parameter 'chainName' is not null or undefined
|
|
8618
|
-
assertParamExists$2('listMintRequests', 'chainName', chainName);
|
|
8619
|
-
const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
|
|
8620
|
-
.replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
|
|
8621
|
-
.replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
|
|
8622
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8623
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
8624
|
-
let baseOptions;
|
|
8625
|
-
if (configuration) {
|
|
8626
|
-
baseOptions = configuration.baseOptions;
|
|
8627
|
-
}
|
|
8628
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8629
|
-
const localVarHeaderParameter = {};
|
|
8630
|
-
const localVarQueryParameter = {};
|
|
8631
|
-
// authentication ImmutableApiKey required
|
|
8632
|
-
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
8633
|
-
if (pageCursor !== undefined) {
|
|
8634
|
-
localVarQueryParameter['page_cursor'] = pageCursor;
|
|
8635
|
-
}
|
|
8636
|
-
if (pageSize !== undefined) {
|
|
8637
|
-
localVarQueryParameter['page_size'] = pageSize;
|
|
8638
|
-
}
|
|
8639
|
-
if (status !== undefined) {
|
|
8640
|
-
localVarQueryParameter['status'] = status;
|
|
8641
|
-
}
|
|
8642
|
-
setSearchParams$2(localVarUrlObj, localVarQueryParameter);
|
|
8643
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8644
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8645
|
-
return {
|
|
8646
|
-
url: toPathString$2(localVarUrlObj),
|
|
8647
|
-
options: localVarRequestOptions,
|
|
8648
|
-
};
|
|
8649
|
-
},
|
|
8650
8524
|
/**
|
|
8651
8525
|
* List NFTs by contract address
|
|
8652
8526
|
* @summary List NFTs by contract address
|
|
@@ -8752,32 +8626,6 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
8752
8626
|
const NftsApiFp = function (configuration) {
|
|
8753
8627
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
8754
8628
|
return {
|
|
8755
|
-
/**
|
|
8756
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8757
|
-
* @summary Mint NFTs
|
|
8758
|
-
* @param {string} contractAddress The address of contract
|
|
8759
|
-
* @param {string} chainName The name of chain
|
|
8760
|
-
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
8761
|
-
* @param {*} [options] Override http request option.
|
|
8762
|
-
* @throws {RequiredError}
|
|
8763
|
-
*/
|
|
8764
|
-
async createMintRequest(contractAddress, chainName, createMintRequestRequest, options) {
|
|
8765
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMintRequest(contractAddress, chainName, createMintRequestRequest, options);
|
|
8766
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8767
|
-
},
|
|
8768
|
-
/**
|
|
8769
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8770
|
-
* @summary Get mint request by reference ID
|
|
8771
|
-
* @param {string} contractAddress The address of contract
|
|
8772
|
-
* @param {string} chainName The name of chain
|
|
8773
|
-
* @param {string} referenceId The ID of the mint request
|
|
8774
|
-
* @param {*} [options] Override http request option.
|
|
8775
|
-
* @throws {RequiredError}
|
|
8776
|
-
*/
|
|
8777
|
-
async getMintRequest(contractAddress, chainName, referenceId, options) {
|
|
8778
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMintRequest(contractAddress, chainName, referenceId, options);
|
|
8779
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8780
|
-
},
|
|
8781
8629
|
/**
|
|
8782
8630
|
* Get NFT by token ID
|
|
8783
8631
|
* @summary Get NFT by token ID
|
|
@@ -8805,21 +8653,6 @@ const NftsApiFp = function (configuration) {
|
|
|
8805
8653
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options);
|
|
8806
8654
|
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8807
8655
|
},
|
|
8808
|
-
/**
|
|
8809
|
-
* Retrieve the status of all mints for a given contract address
|
|
8810
|
-
* @summary List mint requests
|
|
8811
|
-
* @param {string} contractAddress The address of contract
|
|
8812
|
-
* @param {string} chainName The name of chain
|
|
8813
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
8814
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
8815
|
-
* @param {MintRequestStatus} [status] The status of the mint request
|
|
8816
|
-
* @param {*} [options] Override http request option.
|
|
8817
|
-
* @throws {RequiredError}
|
|
8818
|
-
*/
|
|
8819
|
-
async listMintRequests(contractAddress, chainName, pageCursor, pageSize, status, options) {
|
|
8820
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listMintRequests(contractAddress, chainName, pageCursor, pageSize, status, options);
|
|
8821
|
-
return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
|
|
8822
|
-
},
|
|
8823
8656
|
/**
|
|
8824
8657
|
* List NFTs by contract address
|
|
8825
8658
|
* @summary List NFTs by contract address
|
|
@@ -8860,26 +8693,6 @@ const NftsApiFp = function (configuration) {
|
|
|
8860
8693
|
const NftsApiFactory = function (configuration, basePath, axios) {
|
|
8861
8694
|
const localVarFp = NftsApiFp(configuration);
|
|
8862
8695
|
return {
|
|
8863
|
-
/**
|
|
8864
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8865
|
-
* @summary Mint NFTs
|
|
8866
|
-
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8867
|
-
* @param {*} [options] Override http request option.
|
|
8868
|
-
* @throws {RequiredError}
|
|
8869
|
-
*/
|
|
8870
|
-
createMintRequest(requestParameters, options) {
|
|
8871
|
-
return localVarFp.createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(axios, basePath));
|
|
8872
|
-
},
|
|
8873
|
-
/**
|
|
8874
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8875
|
-
* @summary Get mint request by reference ID
|
|
8876
|
-
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8877
|
-
* @param {*} [options] Override http request option.
|
|
8878
|
-
* @throws {RequiredError}
|
|
8879
|
-
*/
|
|
8880
|
-
getMintRequest(requestParameters, options) {
|
|
8881
|
-
return localVarFp.getMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.referenceId, options).then((request) => request(axios, basePath));
|
|
8882
|
-
},
|
|
8883
8696
|
/**
|
|
8884
8697
|
* Get NFT by token ID
|
|
8885
8698
|
* @summary Get NFT by token ID
|
|
@@ -8900,16 +8713,6 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8900
8713
|
listAllNFTs(requestParameters, options) {
|
|
8901
8714
|
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
8902
8715
|
},
|
|
8903
|
-
/**
|
|
8904
|
-
* Retrieve the status of all mints for a given contract address
|
|
8905
|
-
* @summary List mint requests
|
|
8906
|
-
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8907
|
-
* @param {*} [options] Override http request option.
|
|
8908
|
-
* @throws {RequiredError}
|
|
8909
|
-
*/
|
|
8910
|
-
listMintRequests(requestParameters, options) {
|
|
8911
|
-
return localVarFp.listMintRequests(requestParameters.contractAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
8912
|
-
},
|
|
8913
8716
|
/**
|
|
8914
8717
|
* List NFTs by contract address
|
|
8915
8718
|
* @summary List NFTs by contract address
|
|
@@ -8939,28 +8742,6 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
8939
8742
|
* @extends {BaseAPI}
|
|
8940
8743
|
*/
|
|
8941
8744
|
class NftsApi extends BaseAPI$2 {
|
|
8942
|
-
/**
|
|
8943
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
8944
|
-
* @summary Mint NFTs
|
|
8945
|
-
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
8946
|
-
* @param {*} [options] Override http request option.
|
|
8947
|
-
* @throws {RequiredError}
|
|
8948
|
-
* @memberof NftsApi
|
|
8949
|
-
*/
|
|
8950
|
-
createMintRequest(requestParameters, options) {
|
|
8951
|
-
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8952
|
-
}
|
|
8953
|
-
/**
|
|
8954
|
-
* Retrieve the status of a mint request identified by its reference_id
|
|
8955
|
-
* @summary Get mint request by reference ID
|
|
8956
|
-
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
8957
|
-
* @param {*} [options] Override http request option.
|
|
8958
|
-
* @throws {RequiredError}
|
|
8959
|
-
* @memberof NftsApi
|
|
8960
|
-
*/
|
|
8961
|
-
getMintRequest(requestParameters, options) {
|
|
8962
|
-
return NftsApiFp(this.configuration).getMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.referenceId, options).then((request) => request(this.axios, this.basePath));
|
|
8963
|
-
}
|
|
8964
8745
|
/**
|
|
8965
8746
|
* Get NFT by token ID
|
|
8966
8747
|
* @summary Get NFT by token ID
|
|
@@ -8983,17 +8764,6 @@ class NftsApi extends BaseAPI$2 {
|
|
|
8983
8764
|
listAllNFTs(requestParameters, options) {
|
|
8984
8765
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8985
8766
|
}
|
|
8986
|
-
/**
|
|
8987
|
-
* Retrieve the status of all mints for a given contract address
|
|
8988
|
-
* @summary List mint requests
|
|
8989
|
-
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
8990
|
-
* @param {*} [options] Override http request option.
|
|
8991
|
-
* @throws {RequiredError}
|
|
8992
|
-
* @memberof NftsApi
|
|
8993
|
-
*/
|
|
8994
|
-
listMintRequests(requestParameters, options) {
|
|
8995
|
-
return NftsApiFp(this.configuration).listMintRequests(requestParameters.contractAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
8996
|
-
}
|
|
8997
8767
|
/**
|
|
8998
8768
|
* List NFTs by contract address
|
|
8999
8769
|
* @summary List NFTs by contract address
|
|
@@ -11528,7 +11298,7 @@ class MultiRollupApiClients {
|
|
|
11528
11298
|
}
|
|
11529
11299
|
|
|
11530
11300
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11531
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha' };
|
|
11301
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha.1' };
|
|
11532
11302
|
const createConfig = ({ basePath, headers, }) => {
|
|
11533
11303
|
if (!basePath.trim()) {
|
|
11534
11304
|
throw Error('basePath can not be empty');
|
|
@@ -11600,7 +11370,7 @@ class APIError extends Error {
|
|
|
11600
11370
|
|
|
11601
11371
|
/* eslint-disable implicit-arrow-linebreak */
|
|
11602
11372
|
const defaultHeaders = {
|
|
11603
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.10.0-alpha',
|
|
11373
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.10.0-alpha.1',
|
|
11604
11374
|
};
|
|
11605
11375
|
/**
|
|
11606
11376
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11861,48 +11631,6 @@ class BlockchainData {
|
|
|
11861
11631
|
throw formatError(err);
|
|
11862
11632
|
});
|
|
11863
11633
|
}
|
|
11864
|
-
/**
|
|
11865
|
-
* Create a mint request to mint a set of NFTs for a given collection
|
|
11866
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
11867
|
-
* @returns a promise that resolves with the remaining rate limits
|
|
11868
|
-
* @throws {@link index.APIError}
|
|
11869
|
-
*/
|
|
11870
|
-
async createMintRequest(request) {
|
|
11871
|
-
return await this.nfts
|
|
11872
|
-
.createMintRequest(request)
|
|
11873
|
-
.then((res) => res.data)
|
|
11874
|
-
.catch((err) => {
|
|
11875
|
-
throw formatError(err);
|
|
11876
|
-
});
|
|
11877
|
-
}
|
|
11878
|
-
/**
|
|
11879
|
-
* List all mint requests for a given contract address
|
|
11880
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
11881
|
-
* @returns a promise that resolves with a list of mint requests
|
|
11882
|
-
* @throws {@link index.APIError}
|
|
11883
|
-
*/
|
|
11884
|
-
async listMintRequests(request) {
|
|
11885
|
-
return await this.nfts
|
|
11886
|
-
.listMintRequests(request)
|
|
11887
|
-
.then((res) => res.data)
|
|
11888
|
-
.catch((err) => {
|
|
11889
|
-
throw formatError(err);
|
|
11890
|
-
});
|
|
11891
|
-
}
|
|
11892
|
-
/**
|
|
11893
|
-
* Retrieve the status of a single mint request identified by its reference ID
|
|
11894
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
11895
|
-
* @returns a promise that resolves with a single mint request
|
|
11896
|
-
* @throws {@link index.APIError}
|
|
11897
|
-
*/
|
|
11898
|
-
async getMintRequest(request) {
|
|
11899
|
-
return await this.nfts
|
|
11900
|
-
.getMintRequest(request)
|
|
11901
|
-
.then((res) => res.data)
|
|
11902
|
-
.catch((err) => {
|
|
11903
|
-
throw formatError(err);
|
|
11904
|
-
});
|
|
11905
|
-
}
|
|
11906
11634
|
/**
|
|
11907
11635
|
* List NFT owners by token ID
|
|
11908
11636
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
@@ -12075,7 +11803,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
12075
11803
|
chainID,
|
|
12076
11804
|
coreContractAddress,
|
|
12077
11805
|
registrationContractAddress,
|
|
12078
|
-
sdkVersion: 'ts-immutable-sdk-1.10.0-alpha',
|
|
11806
|
+
sdkVersion: 'ts-immutable-sdk-1.10.0-alpha.1',
|
|
12079
11807
|
});
|
|
12080
11808
|
/**
|
|
12081
11809
|
* Sets `sdkVersion` at the time of build
|
|
@@ -37757,7 +37485,7 @@ const flattenProperties = (properties) => {
|
|
|
37757
37485
|
};
|
|
37758
37486
|
|
|
37759
37487
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
37760
|
-
const SDK_VERSION = '1.10.0-alpha';
|
|
37488
|
+
const SDK_VERSION = '1.10.0-alpha.1';
|
|
37761
37489
|
const getReferrer = () => {
|
|
37762
37490
|
if (isNode()) {
|
|
37763
37491
|
return '';
|
|
@@ -42927,7 +42655,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
42927
42655
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
42928
42656
|
};
|
|
42929
42657
|
|
|
42930
|
-
const SDK_VERSION_MARKER = '1.10.0-alpha';
|
|
42658
|
+
const SDK_VERSION_MARKER = '1.10.0-alpha.1';
|
|
42931
42659
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
42932
42660
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
42933
42661
|
|