@imtbl/sdk 1.47.2-alpha → 1.47.4-alpha

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/index.cjs CHANGED
@@ -216,7 +216,7 @@ const flattenProperties$1 = (properties) => {
216
216
  };
217
217
 
218
218
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
219
- const SDK_VERSION$1 = '1.47.2-alpha';
219
+ const SDK_VERSION$1 = '1.47.4-alpha';
220
220
  const getFrameParentDomain$1 = () => {
221
221
  if (isNode$1()) {
222
222
  return '';
@@ -14501,7 +14501,7 @@ class MultiRollupApiClients {
14501
14501
  }
14502
14502
 
14503
14503
  // eslint-disable-next-line @typescript-eslint/naming-convention
14504
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.2-alpha' };
14504
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.4-alpha' };
14505
14505
  const createConfig$1 = ({ basePath, headers, }) => {
14506
14506
  if (!basePath.trim()) {
14507
14507
  throw Error('basePath can not be empty');
@@ -14573,7 +14573,7 @@ class APIError extends Error {
14573
14573
 
14574
14574
  /* eslint-disable implicit-arrow-linebreak */
14575
14575
  const defaultHeaders$1 = {
14576
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.2-alpha',
14576
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.4-alpha',
14577
14577
  };
14578
14578
  /**
14579
14579
  * createAPIConfiguration to create a custom Configuration
@@ -15047,7 +15047,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
15047
15047
  /* eslint-disable @typescript-eslint/naming-convention */
15048
15048
  class ApiConfiguration extends index$2.Configuration {
15049
15049
  }
15050
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.2-alpha' };
15050
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.4-alpha' };
15051
15051
  /**
15052
15052
  * @dev use createImmutableXConfiguration instead
15053
15053
  */
@@ -15088,7 +15088,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
15088
15088
  coreContractAddress,
15089
15089
  registrationContractAddress,
15090
15090
  registrationV4ContractAddress,
15091
- sdkVersion: 'ts-immutable-sdk-1.47.2-alpha',
15091
+ sdkVersion: 'ts-immutable-sdk-1.47.4-alpha',
15092
15092
  baseConfig,
15093
15093
  });
15094
15094
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -33447,14 +33447,11 @@ class Orderbook {
33447
33447
  * Once the transactions are submitted and the message signed, call the completeListings method
33448
33448
  * provided in the return type with the signature. This method supports up to 20 listing creations
33449
33449
  * at a time. It can also be used for individual listings to simplify integration code paths.
33450
- * Bulk listings created through an EOA (Metamask) will only require a single signature but
33451
- * when using a smart contract wallet, multiple signatures (as many as the number of orders)
33452
- * are required.
33453
33450
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
33454
33451
  * to be created.
33455
33452
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
33456
33453
  * any unsigned approval transactions, the typed bulk order message for signing and
33457
- * the createListings method that can be called with the signature(s) to create the listings.
33454
+ * the createListings method that can be called with the signature to create the listings.
33458
33455
  */
33459
33456
  async prepareBulkListings({ makerAddress, listingParams, }) {
33460
33457
  // Limit bulk listing creation to 20 orders to prevent API and order evaluation spam
@@ -33472,7 +33469,7 @@ class Orderbook {
33472
33469
  makerFees: listingParams[0].makerFees,
33473
33470
  orderComponents: prepareListingResponse.orderComponents,
33474
33471
  orderHash: prepareListingResponse.orderHash,
33475
- orderSignature: typeof signature === 'string' ? signature : signature[0],
33472
+ orderSignature: signature,
33476
33473
  });
33477
33474
  return {
33478
33475
  result: [{
@@ -33484,57 +33481,6 @@ class Orderbook {
33484
33481
  },
33485
33482
  };
33486
33483
  }
33487
- const isSmartContractWallet = await this.orderbookConfig.provider.getCode(makerAddress) !== '0x';
33488
- if (isSmartContractWallet) {
33489
- track('orderbookmr', 'bulkListings', { walletType: 'Passport', makerAddress, listingsCount: listingParams.length });
33490
- // eslint-disable-next-line max-len
33491
- const prepareListingResponses = await Promise.all(listingParams.map((l) => this.seaport.prepareSeaportOrder(makerAddress, l.sell, l.buy, new Date(), l.orderExpiry || new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 2))));
33492
- return {
33493
- actions: prepareListingResponses.flatMap((r) => {
33494
- const pendingApproval = [];
33495
- const dedupedActions = [];
33496
- r.actions.forEach((action) => {
33497
- if (action.type === ActionType.TRANSACTION) {
33498
- // Assuming only a single item is on offer per listing
33499
- const contractAddress = r.orderComponents.offer[0].token;
33500
- if (!pendingApproval.includes(contractAddress)) {
33501
- pendingApproval.push(contractAddress);
33502
- dedupedActions.push(action);
33503
- }
33504
- }
33505
- else {
33506
- dedupedActions.push(action);
33507
- }
33508
- });
33509
- return dedupedActions;
33510
- }),
33511
- completeListings: async (signatures) => {
33512
- const createListingsApiResponses = await Promise.all(prepareListingResponses.map(async (prepareListingResponse, i) => {
33513
- const signature = signatures[i];
33514
- try {
33515
- return await this.apiClient.createListing({
33516
- makerFees: listingParams[i].makerFees,
33517
- orderComponents: prepareListingResponse.orderComponents,
33518
- orderHash: prepareListingResponse.orderHash,
33519
- orderSignature: signature,
33520
- });
33521
- }
33522
- catch {
33523
- return undefined;
33524
- }
33525
- }));
33526
- return {
33527
- result: createListingsApiResponses.map((apiListingResponse, i) => ({
33528
- success: !!apiListingResponse,
33529
- orderHash: prepareListingResponses[i].orderHash,
33530
- // eslint-disable-next-line max-len
33531
- order: apiListingResponse ? mapFromOpenApiOrder(apiListingResponse.result) : undefined,
33532
- })),
33533
- };
33534
- },
33535
- };
33536
- }
33537
- track('orderbookmr', 'bulkListings', { walletType: 'EOA', makerAddress, listingsCount: listingParams.length });
33538
33484
  const { actions, preparedListings } = await this.seaport.prepareBulkSeaportOrders(makerAddress, listingParams.map((orderParam) => ({
33539
33485
  listingItem: orderParam.sell,
33540
33486
  considerationItem: orderParam.buy,
@@ -33543,14 +33489,11 @@ class Orderbook {
33543
33489
  })));
33544
33490
  return {
33545
33491
  actions,
33546
- completeListings: async (signatures) => {
33547
- if (signatures.length !== 1) {
33548
- throw new Error('Only a single signature is expected for bulk listing creation');
33549
- }
33492
+ completeListings: async (bulkOrderSignature) => {
33550
33493
  const orderComponents = preparedListings.map((orderParam) => orderParam.orderComponents);
33551
- const bulkOrderSignatures = getBulkSeaportOrderSignatures(signatures[0], orderComponents);
33494
+ const signatures = getBulkSeaportOrderSignatures(bulkOrderSignature, orderComponents);
33552
33495
  const createOrdersApiListingResponse = await Promise.all(orderComponents.map((orderComponent, i) => {
33553
- const sig = bulkOrderSignatures[i];
33496
+ const sig = signatures[i];
33554
33497
  const listing = preparedListings[i];
33555
33498
  const listingParam = listingParams[i];
33556
33499
  return this.apiClient.createListing({
@@ -52944,7 +52887,7 @@ const flattenProperties = (properties) => {
52944
52887
  };
52945
52888
 
52946
52889
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
52947
- const SDK_VERSION = '1.47.2-alpha';
52890
+ const SDK_VERSION = '1.47.4-alpha';
52948
52891
  const getFrameParentDomain = () => {
52949
52892
  if (isNode()) {
52950
52893
  return '';
@@ -58308,7 +58251,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
58308
58251
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
58309
58252
  };
58310
58253
 
58311
- const SDK_VERSION_MARKER = '1.47.2-alpha';
58254
+ const SDK_VERSION_MARKER = '1.47.4-alpha';
58312
58255
  // This SDK version is replaced by the `yarn build` command ran on the root level
58313
58256
  const globalPackageVersion = () => SDK_VERSION_MARKER;
58314
58257
 
@@ -62576,6 +62519,9 @@ class Checkout {
62576
62519
  onInjectedProvidersChange(listener) {
62577
62520
  return InjectedProvidersManager.getInstance().subscribe(listener);
62578
62521
  }
62522
+ clearInjectedProviders() {
62523
+ return InjectedProvidersManager.getInstance().clear();
62524
+ }
62579
62525
  /**
62580
62526
  * Checks if a wallet is connected to the specified provider.
62581
62527
  * @param {CheckConnectionParams} params - The parameters for checking the wallet connection.
package/dist/index.d.ts CHANGED
@@ -27949,7 +27949,7 @@ interface PrepareBulkListingsParams {
27949
27949
  }
27950
27950
  interface PrepareBulkListingsResponse {
27951
27951
  actions: Action[];
27952
- completeListings: (signatures: string[]) => Promise<BulkListingsResult>;
27952
+ completeListings: (signature: string) => Promise<BulkListingsResult>;
27953
27953
  }
27954
27954
  interface PrepareBulkSeaportOrders {
27955
27955
  actions: Action[];
@@ -28197,14 +28197,11 @@ declare class Orderbook {
28197
28197
  * Once the transactions are submitted and the message signed, call the completeListings method
28198
28198
  * provided in the return type with the signature. This method supports up to 20 listing creations
28199
28199
  * at a time. It can also be used for individual listings to simplify integration code paths.
28200
- * Bulk listings created through an EOA (Metamask) will only require a single signature but
28201
- * when using a smart contract wallet, multiple signatures (as many as the number of orders)
28202
- * are required.
28203
28200
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
28204
28201
  * to be created.
28205
28202
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
28206
28203
  * any unsigned approval transactions, the typed bulk order message for signing and
28207
- * the createListings method that can be called with the signature(s) to create the listings.
28204
+ * the createListings method that can be called with the signature to create the listings.
28208
28205
  */
28209
28206
  prepareBulkListings({ makerAddress, listingParams, }: PrepareBulkListingsParams): Promise<PrepareBulkListingsResponse>;
28210
28207
  /**
@@ -31149,6 +31146,7 @@ declare class Checkout {
31149
31146
  * @param listener - The listener to be called when the injected providers change.
31150
31147
  */
31151
31148
  onInjectedProvidersChange(listener: (providers: EIP6963ProviderDetail[]) => void): () => void;
31149
+ clearInjectedProviders(): void;
31152
31150
  /**
31153
31151
  * Checks if a wallet is connected to the specified provider.
31154
31152
  * @param {CheckConnectionParams} params - The parameters for checking the wallet connection.
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- export { c as config } from './config-G7gJjF_C.js';
2
- export { b as blockchainData } from './blockchain_data-CYDJnqwk.js';
3
- export { p as passport } from './passport-zLKPkNSJ.js';
4
- export { o as orderbook } from './orderbook-CT9K2EiU.js';
5
- export { c as checkout } from './checkout-LOXnSKL6.js';
6
- export { x } from './x-rkvSakBu.js';
7
- export { w as webhook } from './webhook-B8RsrpA9.js';
8
- export { m as mintingBackend } from './minting_backend-BJpFwBu9.js';
9
- import './index-BH5dp6EM.js';
1
+ export { c as config } from './config-BYNJw3md.js';
2
+ export { b as blockchainData } from './blockchain_data-CbBJsalL.js';
3
+ export { p as passport } from './passport-BZiTNYmZ.js';
4
+ export { o as orderbook } from './orderbook-DG-99QpD.js';
5
+ export { c as checkout } from './checkout-B7xLDjmO.js';
6
+ export { x } from './x-DoAGu-CP.js';
7
+ export { w as webhook } from './webhook-Dku53DbA.js';
8
+ export { m as mintingBackend } from './minting_backend-uIbayhXa.js';
9
+ import './index-DYxygwhG.js';
10
10
  import 'axios';
11
11
  import 'lru-memorise';
12
12
  import 'global-const';
13
- import './index-DiOzfTJ-.js';
14
- import './index-DtSdLtV-.js';
15
- import './index-Bm9bq6An.js';
13
+ import './index-DL2_Qli2.js';
14
+ import './index-C42TjV84.js';
15
+ import './index-CW8ylME5.js';
16
16
  import '@ethersproject/keccak256';
17
17
  import '@ethersproject/strings';
18
18
  import 'bn.js';
@@ -35,7 +35,7 @@ import 'events';
35
35
  import '@0xsequence/abi';
36
36
  import '@0xsequence/core';
37
37
  import 'uuid';
38
- import './index-CYRF7M9x.js';
38
+ import './index-DvP-uJex.js';
39
39
  import 'form-data';
40
40
  import 'ethers-v6';
41
41
  import 'merkletreejs';
@@ -47,5 +47,5 @@ import '@ethersproject/solidity';
47
47
  import '@uniswap/router-sdk';
48
48
  import '@ethersproject/units';
49
49
  import '@ethersproject/bignumber';
50
- import './index-BkJ3X-zS.js';
50
+ import './index-d4gxVDah.js';
51
51
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-DiOzfTJ-.js';
2
- import { h as handle } from './index-BkJ3X-zS.js';
3
- import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-BH5dp6EM.js';
1
+ import { B as BlockchainData } from './index-DL2_Qli2.js';
2
+ import { h as handle } from './index-d4gxVDah.js';
3
+ import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-DYxygwhG.js';
4
4
 
5
5
  const moduleName = 'minting_backend_sdk';
6
6
  const trackInitializePersistencePG = () => {
@@ -1,9 +1,9 @@
1
- export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-BJpFwBu9.js';
2
- import './index-DiOzfTJ-.js';
3
- import './index-DtSdLtV-.js';
1
+ export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-uIbayhXa.js';
2
+ import './index-DL2_Qli2.js';
3
+ import './index-C42TjV84.js';
4
4
  import 'axios';
5
- import './index-BH5dp6EM.js';
5
+ import './index-DYxygwhG.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-BkJ3X-zS.js';
8
+ import './index-d4gxVDah.js';
9
9
  import 'sns-validator';
@@ -1,4 +1,4 @@
1
- import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-CYRF7M9x.js';
1
+ import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-DvP-uJex.js';
2
2
 
3
3
  var orderbook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
@@ -1381,7 +1381,7 @@ interface PrepareBulkListingsParams {
1381
1381
  }
1382
1382
  interface PrepareBulkListingsResponse {
1383
1383
  actions: Action[];
1384
- completeListings: (signatures: string[]) => Promise<BulkListingsResult>;
1384
+ completeListings: (signature: string) => Promise<BulkListingsResult>;
1385
1385
  }
1386
1386
  interface PrepareBulkSeaportOrders {
1387
1387
  actions: Action[];
@@ -1629,14 +1629,11 @@ declare class Orderbook {
1629
1629
  * Once the transactions are submitted and the message signed, call the completeListings method
1630
1630
  * provided in the return type with the signature. This method supports up to 20 listing creations
1631
1631
  * at a time. It can also be used for individual listings to simplify integration code paths.
1632
- * Bulk listings created through an EOA (Metamask) will only require a single signature but
1633
- * when using a smart contract wallet, multiple signatures (as many as the number of orders)
1634
- * are required.
1635
1632
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
1636
1633
  * to be created.
1637
1634
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
1638
1635
  * any unsigned approval transactions, the typed bulk order message for signing and
1639
- * the createListings method that can be called with the signature(s) to create the listings.
1636
+ * the createListings method that can be called with the signature to create the listings.
1640
1637
  */
1641
1638
  prepareBulkListings({ makerAddress, listingParams, }: PrepareBulkListingsParams): Promise<PrepareBulkListingsResponse>;
1642
1639
  /**
package/dist/orderbook.js CHANGED
@@ -1,10 +1,10 @@
1
- export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-CYRF7M9x.js';
2
- import './index-BH5dp6EM.js';
1
+ export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-DvP-uJex.js';
3
2
  import 'axios';
4
- import 'lru-memorise';
5
- import 'global-const';
6
3
  import 'form-data';
7
4
  import 'ethers';
8
5
  import 'ethers-v6';
9
6
  import 'merkletreejs';
7
+ import './index-DYxygwhG.js';
8
+ import 'lru-memorise';
9
+ import 'global-const';
10
10
  import '@opensea/seaport-js';
@@ -1,7 +1,7 @@
1
1
  import globalAxios, { isAxiosError as isAxiosError$1 } from 'axios';
2
- import { c as setPassportClientId, t as track, i as identify, d as trackError, u as utils$2, e as trackFlow, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-BH5dp6EM.js';
3
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-DtSdLtV-.js';
4
- import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-Bm9bq6An.js';
2
+ import { c as setPassportClientId, t as track, i as identify, d as trackError, u as utils$2, e as trackFlow, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-DYxygwhG.js';
3
+ import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-C42TjV84.js';
4
+ import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-CW8ylME5.js';
5
5
  import { UserManager, User, ErrorTimeout, ErrorResponse, InMemoryWebStorage, WebStorageStateStore } from 'oidc-client-ts';
6
6
  import * as crypto from 'crypto';
7
7
  import jwt_decode from 'jwt-decode';
package/dist/passport.js CHANGED
@@ -1,10 +1,10 @@
1
- export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-zLKPkNSJ.js';
1
+ export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-BZiTNYmZ.js';
2
2
  import 'axios';
3
- import './index-BH5dp6EM.js';
3
+ import './index-DYxygwhG.js';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
6
- import './index-DtSdLtV-.js';
7
- import './index-Bm9bq6An.js';
6
+ import './index-C42TjV84.js';
7
+ import './index-CW8ylME5.js';
8
8
  import '@ethersproject/keccak256';
9
9
  import '@ethersproject/strings';
10
10
  import 'bn.js';
@@ -1,4 +1,4 @@
1
- import { h as handle } from './index-BkJ3X-zS.js';
1
+ import { h as handle } from './index-d4gxVDah.js';
2
2
 
3
3
  var webhook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/webhook.js CHANGED
@@ -1,6 +1,6 @@
1
- export { h as handle } from './index-BkJ3X-zS.js';
1
+ export { h as handle } from './index-d4gxVDah.js';
2
2
  import 'sns-validator';
3
- import './index-BH5dp6EM.js';
3
+ import './index-DYxygwhG.js';
4
4
  import 'axios';
5
5
  import 'lru-memorise';
6
6
  import 'global-const';
@@ -1,12 +1,12 @@
1
- import { I as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, a as signMessage, E as EncodingApi, M as MintsApi, b as signRegisterEthAddress, A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-Bm9bq6An.js';
2
- import { b as index$2 } from './index-DtSdLtV-.js';
1
+ import { I as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, a as signMessage, E as EncodingApi, M as MintsApi, b as signRegisterEthAddress, A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-CW8ylME5.js';
2
+ import { b as index$2 } from './index-C42TjV84.js';
3
3
  import { isAxiosError } from 'axios';
4
4
  import * as encUtils from 'enc-utils';
5
5
  import { parseUnits } from '@ethersproject/units';
6
6
  import { BigNumber } from '@ethersproject/bignumber';
7
7
  import { ethers } from 'ethers';
8
8
  import detectEthereumProvider from '@metamask/detect-provider';
9
- import { E as Environment, I as ImmutableConfiguration } from './index-BH5dp6EM.js';
9
+ import { E as Environment, I as ImmutableConfiguration } from './index-DYxygwhG.js';
10
10
  import { Signer } from '@ethersproject/abstract-signer';
11
11
 
12
12
  function isChainValid(chainID, config) {
package/dist/x.js CHANGED
@@ -1,8 +1,8 @@
1
- export { A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, I as ImxConfiguration, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, r as imxClientCreateStarkSigner, t as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, b as signRegisterEthAddress, z as starkEcOrder } from './index-Bm9bq6An.js';
2
- export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-rkvSakBu.js';
3
- export { E as Environment, I as ImmutableConfiguration } from './index-BH5dp6EM.js';
1
+ export { A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, I as ImxConfiguration, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, r as imxClientCreateStarkSigner, t as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, b as signRegisterEthAddress, z as starkEcOrder } from './index-CW8ylME5.js';
2
+ export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-DoAGu-CP.js';
3
+ export { E as Environment, I as ImmutableConfiguration } from './index-DYxygwhG.js';
4
4
  export { Signer as EthSigner } from '@ethersproject/abstract-signer';
5
- import './index-DtSdLtV-.js';
5
+ import './index-C42TjV84.js';
6
6
  import 'axios';
7
7
  import '@ethersproject/keccak256';
8
8
  import '@ethersproject/strings';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Typescript SDK",
4
- "version": "1.47.2-alpha",
4
+ "version": "1.47.4-alpha",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",