@imtbl/sdk 1.47.1 → 1.47.2-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.1';
219
+ const SDK_VERSION$1 = '1.47.2-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.1' };
14504
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.2-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.1',
14576
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.2-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.1' };
15050
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.2-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.1',
15091
+ sdkVersion: 'ts-immutable-sdk-1.47.2-alpha',
15092
15092
  baseConfig,
15093
15093
  });
15094
15094
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -33447,11 +33447,14 @@ 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.
33450
33453
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
33451
33454
  * to be created.
33452
33455
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
33453
33456
  * any unsigned approval transactions, the typed bulk order message for signing and
33454
- * the createListings method that can be called with the signature to create the listings.
33457
+ * the createListings method that can be called with the signature(s) to create the listings.
33455
33458
  */
33456
33459
  async prepareBulkListings({ makerAddress, listingParams, }) {
33457
33460
  // Limit bulk listing creation to 20 orders to prevent API and order evaluation spam
@@ -33469,7 +33472,7 @@ class Orderbook {
33469
33472
  makerFees: listingParams[0].makerFees,
33470
33473
  orderComponents: prepareListingResponse.orderComponents,
33471
33474
  orderHash: prepareListingResponse.orderHash,
33472
- orderSignature: signature,
33475
+ orderSignature: typeof signature === 'string' ? signature : signature[0],
33473
33476
  });
33474
33477
  return {
33475
33478
  result: [{
@@ -33481,6 +33484,57 @@ class Orderbook {
33481
33484
  },
33482
33485
  };
33483
33486
  }
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 });
33484
33538
  const { actions, preparedListings } = await this.seaport.prepareBulkSeaportOrders(makerAddress, listingParams.map((orderParam) => ({
33485
33539
  listingItem: orderParam.sell,
33486
33540
  considerationItem: orderParam.buy,
@@ -33489,11 +33543,14 @@ class Orderbook {
33489
33543
  })));
33490
33544
  return {
33491
33545
  actions,
33492
- completeListings: async (bulkOrderSignature) => {
33546
+ completeListings: async (signatures) => {
33547
+ if (signatures.length !== 1) {
33548
+ throw new Error('Only a single signature is expected for bulk listing creation');
33549
+ }
33493
33550
  const orderComponents = preparedListings.map((orderParam) => orderParam.orderComponents);
33494
- const signatures = getBulkSeaportOrderSignatures(bulkOrderSignature, orderComponents);
33551
+ const bulkOrderSignatures = getBulkSeaportOrderSignatures(signatures[0], orderComponents);
33495
33552
  const createOrdersApiListingResponse = await Promise.all(orderComponents.map((orderComponent, i) => {
33496
- const sig = signatures[i];
33553
+ const sig = bulkOrderSignatures[i];
33497
33554
  const listing = preparedListings[i];
33498
33555
  const listingParam = listingParams[i];
33499
33556
  return this.apiClient.createListing({
@@ -52887,7 +52944,7 @@ const flattenProperties = (properties) => {
52887
52944
  };
52888
52945
 
52889
52946
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
52890
- const SDK_VERSION = '1.47.1';
52947
+ const SDK_VERSION = '1.47.2-alpha';
52891
52948
  const getFrameParentDomain = () => {
52892
52949
  if (isNode()) {
52893
52950
  return '';
@@ -58251,7 +58308,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
58251
58308
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
58252
58309
  };
58253
58310
 
58254
- const SDK_VERSION_MARKER = '1.47.1';
58311
+ const SDK_VERSION_MARKER = '1.47.2-alpha';
58255
58312
  // This SDK version is replaced by the `yarn build` command ran on the root level
58256
58313
  const globalPackageVersion = () => SDK_VERSION_MARKER;
58257
58314
 
package/dist/index.d.ts CHANGED
@@ -27949,7 +27949,7 @@ interface PrepareBulkListingsParams {
27949
27949
  }
27950
27950
  interface PrepareBulkListingsResponse {
27951
27951
  actions: Action[];
27952
- completeListings: (signature: string) => Promise<BulkListingsResult>;
27952
+ completeListings: (signatures: string[]) => Promise<BulkListingsResult>;
27953
27953
  }
27954
27954
  interface PrepareBulkSeaportOrders {
27955
27955
  actions: Action[];
@@ -28197,11 +28197,14 @@ 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.
28200
28203
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
28201
28204
  * to be created.
28202
28205
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
28203
28206
  * any unsigned approval transactions, the typed bulk order message for signing and
28204
- * the createListings method that can be called with the signature to create the listings.
28207
+ * the createListings method that can be called with the signature(s) to create the listings.
28205
28208
  */
28206
28209
  prepareBulkListings({ makerAddress, listingParams, }: PrepareBulkListingsParams): Promise<PrepareBulkListingsResponse>;
28207
28210
  /**
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- export { c as config } from './config-BhiZqBqG.js';
2
- export { b as blockchainData } from './blockchain_data-BbEG5v-2.js';
3
- export { p as passport } from './passport-C98LNdi_.js';
4
- export { o as orderbook } from './orderbook-b-qbJQVx.js';
5
- export { c as checkout } from './checkout-d-xtYNee.js';
6
- export { x } from './x-DWcaqaKF.js';
7
- export { w as webhook } from './webhook-ByWjhIgi.js';
8
- export { m as mintingBackend } from './minting_backend-uRzr_3NT.js';
9
- import './index-DUl6pO4C.js';
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';
10
10
  import 'axios';
11
11
  import 'lru-memorise';
12
12
  import 'global-const';
13
- import './index-Bco87M5m.js';
14
- import './index-Cdoffm3N.js';
15
- import './index-CPYUv2k_.js';
13
+ import './index-DiOzfTJ-.js';
14
+ import './index-DtSdLtV-.js';
15
+ import './index-Bm9bq6An.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-DWJAwLRv.js';
38
+ import './index-CYRF7M9x.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-bfW4Nyrv.js';
50
+ import './index-BkJ3X-zS.js';
51
51
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-Bco87M5m.js';
2
- import { h as handle } from './index-bfW4Nyrv.js';
3
- import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-DUl6pO4C.js';
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';
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-uRzr_3NT.js';
2
- import './index-Bco87M5m.js';
3
- import './index-Cdoffm3N.js';
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';
4
4
  import 'axios';
5
- import './index-DUl6pO4C.js';
5
+ import './index-BH5dp6EM.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-bfW4Nyrv.js';
8
+ import './index-BkJ3X-zS.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-DWJAwLRv.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-CYRF7M9x.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: (signature: string) => Promise<BulkListingsResult>;
1384
+ completeListings: (signatures: string[]) => Promise<BulkListingsResult>;
1385
1385
  }
1386
1386
  interface PrepareBulkSeaportOrders {
1387
1387
  actions: Action[];
@@ -1629,11 +1629,14 @@ 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.
1632
1635
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
1633
1636
  * to be created.
1634
1637
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
1635
1638
  * any unsigned approval transactions, the typed bulk order message for signing and
1636
- * the createListings method that can be called with the signature to create the listings.
1639
+ * the createListings method that can be called with the signature(s) to create the listings.
1637
1640
  */
1638
1641
  prepareBulkListings({ makerAddress, listingParams, }: PrepareBulkListingsParams): Promise<PrepareBulkListingsResponse>;
1639
1642
  /**
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-DWJAwLRv.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-CYRF7M9x.js';
2
+ import './index-BH5dp6EM.js';
2
3
  import 'axios';
4
+ import 'lru-memorise';
5
+ import 'global-const';
3
6
  import 'form-data';
4
7
  import 'ethers';
5
8
  import 'ethers-v6';
6
9
  import 'merkletreejs';
7
- import './index-DUl6pO4C.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-DUl6pO4C.js';
3
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-Cdoffm3N.js';
4
- import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-CPYUv2k_.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-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';
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-C98LNdi_.js';
1
+ export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-zLKPkNSJ.js';
2
2
  import 'axios';
3
- import './index-DUl6pO4C.js';
3
+ import './index-BH5dp6EM.js';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
6
- import './index-Cdoffm3N.js';
7
- import './index-CPYUv2k_.js';
6
+ import './index-DtSdLtV-.js';
7
+ import './index-Bm9bq6An.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-bfW4Nyrv.js';
1
+ import { h as handle } from './index-BkJ3X-zS.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-bfW4Nyrv.js';
1
+ export { h as handle } from './index-BkJ3X-zS.js';
2
2
  import 'sns-validator';
3
- import './index-DUl6pO4C.js';
3
+ import './index-BH5dp6EM.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-CPYUv2k_.js';
2
- import { b as index$2 } from './index-Cdoffm3N.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-Bm9bq6An.js';
2
+ import { b as index$2 } from './index-DtSdLtV-.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-DUl6pO4C.js';
9
+ import { E as Environment, I as ImmutableConfiguration } from './index-BH5dp6EM.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-CPYUv2k_.js';
2
- export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-DWcaqaKF.js';
3
- export { E as Environment, I as ImmutableConfiguration } from './index-DUl6pO4C.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-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';
4
4
  export { Signer as EthSigner } from '@ethersproject/abstract-signer';
5
- import './index-Cdoffm3N.js';
5
+ import './index-DtSdLtV-.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.1",
4
+ "version": "1.47.2-alpha",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",