@imtbl/sdk 1.47.3-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.3-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.3-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.3-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.3-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.3-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
@@ -33467,12 +33464,12 @@ class Orderbook {
33467
33464
  const prepareListingResponse = await this.seaport.prepareSeaportOrder(makerAddress, listingParams[0].sell, listingParams[0].buy, new Date(), listingParams[0].orderExpiry || new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 2));
33468
33465
  return {
33469
33466
  actions: prepareListingResponse.actions,
33470
- completeListings: async (signatures) => {
33467
+ completeListings: async (signature) => {
33471
33468
  const createListingResult = await this.createListing({
33472
33469
  makerFees: listingParams[0].makerFees,
33473
33470
  orderComponents: prepareListingResponse.orderComponents,
33474
33471
  orderHash: prepareListingResponse.orderHash,
33475
- orderSignature: signatures[0],
33472
+ orderSignature: signature,
33476
33473
  });
33477
33474
  return {
33478
33475
  result: [{
@@ -33484,54 +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
- const pendingApproval = [];
33493
- const dedupedActions = [];
33494
- return {
33495
- actions: prepareListingResponses.flatMap((r) => {
33496
- // de-dupe approval transactions to ensure every contract has
33497
- // a maximum of 1 approval transaction
33498
- r.actions.forEach((action) => {
33499
- if (action.type === ActionType.TRANSACTION) {
33500
- // Assuming only a single item is on offer per listing
33501
- const contractAddress = r.orderComponents.offer[0].token;
33502
- if (!pendingApproval.includes(contractAddress)) {
33503
- pendingApproval.push(contractAddress);
33504
- dedupedActions.push(action);
33505
- }
33506
- }
33507
- else {
33508
- dedupedActions.push(action);
33509
- }
33510
- });
33511
- return dedupedActions;
33512
- }),
33513
- completeListings: async (signatures) => {
33514
- const createListingsApiResponses = await Promise.all(prepareListingResponses.map((prepareListingResponse, i) => {
33515
- const signature = signatures[i];
33516
- return this.apiClient.createListing({
33517
- makerFees: listingParams[i].makerFees,
33518
- orderComponents: prepareListingResponse.orderComponents,
33519
- orderHash: prepareListingResponse.orderHash,
33520
- orderSignature: signature,
33521
- }).catch(() => undefined);
33522
- }));
33523
- return {
33524
- result: createListingsApiResponses.map((apiListingResponse, i) => ({
33525
- success: !!apiListingResponse,
33526
- orderHash: prepareListingResponses[i].orderHash,
33527
- // eslint-disable-next-line max-len
33528
- order: apiListingResponse ? mapFromOpenApiOrder(apiListingResponse.result) : undefined,
33529
- })),
33530
- };
33531
- },
33532
- };
33533
- }
33534
- track('orderbookmr', 'bulkListings', { walletType: 'EOA', makerAddress, listingsCount: listingParams.length });
33535
33484
  const { actions, preparedListings } = await this.seaport.prepareBulkSeaportOrders(makerAddress, listingParams.map((orderParam) => ({
33536
33485
  listingItem: orderParam.sell,
33537
33486
  considerationItem: orderParam.buy,
@@ -33540,14 +33489,11 @@ class Orderbook {
33540
33489
  })));
33541
33490
  return {
33542
33491
  actions,
33543
- completeListings: async (signatures) => {
33544
- if (signatures.length !== 1) {
33545
- throw new Error('Only a single signature is expected for bulk listing creation');
33546
- }
33492
+ completeListings: async (bulkOrderSignature) => {
33547
33493
  const orderComponents = preparedListings.map((orderParam) => orderParam.orderComponents);
33548
- const bulkOrderSignatures = getBulkSeaportOrderSignatures(signatures[0], orderComponents);
33494
+ const signatures = getBulkSeaportOrderSignatures(bulkOrderSignature, orderComponents);
33549
33495
  const createOrdersApiListingResponse = await Promise.all(orderComponents.map((orderComponent, i) => {
33550
- const sig = bulkOrderSignatures[i];
33496
+ const sig = signatures[i];
33551
33497
  const listing = preparedListings[i];
33552
33498
  const listingParam = listingParams[i];
33553
33499
  return this.apiClient.createListing({
@@ -52941,7 +52887,7 @@ const flattenProperties = (properties) => {
52941
52887
  };
52942
52888
 
52943
52889
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
52944
- const SDK_VERSION = '1.47.3-alpha';
52890
+ const SDK_VERSION = '1.47.4-alpha';
52945
52891
  const getFrameParentDomain = () => {
52946
52892
  if (isNode()) {
52947
52893
  return '';
@@ -58305,7 +58251,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
58305
58251
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
58306
58252
  };
58307
58253
 
58308
- const SDK_VERSION_MARKER = '1.47.3-alpha';
58254
+ const SDK_VERSION_MARKER = '1.47.4-alpha';
58309
58255
  // This SDK version is replaced by the `yarn build` command ran on the root level
58310
58256
  const globalPackageVersion = () => SDK_VERSION_MARKER;
58311
58257
 
@@ -62573,6 +62519,9 @@ class Checkout {
62573
62519
  onInjectedProvidersChange(listener) {
62574
62520
  return InjectedProvidersManager.getInstance().subscribe(listener);
62575
62521
  }
62522
+ clearInjectedProviders() {
62523
+ return InjectedProvidersManager.getInstance().clear();
62524
+ }
62576
62525
  /**
62577
62526
  * Checks if a wallet is connected to the specified provider.
62578
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-BYIUpYtz.js';
2
- export { b as blockchainData } from './blockchain_data-D69s_-Pq.js';
3
- export { p as passport } from './passport-BXRytlE-.js';
4
- export { o as orderbook } from './orderbook-CRtUOcSt.js';
5
- export { c as checkout } from './checkout-BDOS4XQS.js';
6
- export { x } from './x-BSwaqutw.js';
7
- export { w as webhook } from './webhook-Bfdo6h3s.js';
8
- export { m as mintingBackend } from './minting_backend-DTa-bWrV.js';
9
- import './index-DMiYgH67.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-BG254zdq.js';
14
- import './index-D5lJqicF.js';
15
- import './index-BXODrCZw.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-Ch_niP5h.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-BcS1m_DG.js';
50
+ import './index-d4gxVDah.js';
51
51
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-BG254zdq.js';
2
- import { h as handle } from './index-BcS1m_DG.js';
3
- import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-DMiYgH67.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-DTa-bWrV.js';
2
- import './index-BG254zdq.js';
3
- import './index-D5lJqicF.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-DMiYgH67.js';
5
+ import './index-DYxygwhG.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-BcS1m_DG.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-Ch_niP5h.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-Ch_niP5h.js';
2
- import './index-DMiYgH67.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-DMiYgH67.js';
3
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-D5lJqicF.js';
4
- import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-BXODrCZw.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-BXRytlE-.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-DMiYgH67.js';
3
+ import './index-DYxygwhG.js';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
6
- import './index-D5lJqicF.js';
7
- import './index-BXODrCZw.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-BcS1m_DG.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-BcS1m_DG.js';
1
+ export { h as handle } from './index-d4gxVDah.js';
2
2
  import 'sns-validator';
3
- import './index-DMiYgH67.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-BXODrCZw.js';
2
- import { b as index$2 } from './index-D5lJqicF.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-DMiYgH67.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-BXODrCZw.js';
2
- export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-BSwaqutw.js';
3
- export { E as Environment, I as ImmutableConfiguration } from './index-DMiYgH67.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-D5lJqicF.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.3-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",