@imtbl/sdk 1.47.6 → 1.47.7

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.
Files changed (31) hide show
  1. package/dist/{blockchain_data-CiZHsf9c.js → blockchain_data-BxNIoP5D.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/sdk.js +4 -4
  4. package/dist/{checkout-BBvLRxMi.js → checkout-hyV1W7o_.js} +5 -5
  5. package/dist/checkout.js +5 -5
  6. package/dist/{config-DrLnrVGK.js → config-BDnSNrUg.js} +1 -1
  7. package/dist/config.js +1 -1
  8. package/dist/{index-CigMtyzV.js → index-BEmbEQo3.js} +1 -1
  9. package/dist/{index-Cjv4ZmMK.js → index-BpHMHRxz.js} +3 -3
  10. package/dist/{index-D2J4NDeb.js → index-CADkJAYZ.js} +1 -1
  11. package/dist/{index-CR3MX8lP.js → index-CRPsZi2t.js} +1 -1
  12. package/dist/{index-DXOmpxiv.js → index-CgFCYrSh.js} +84 -10
  13. package/dist/{index-Bzh249QJ.js → index-D2UN9L1O.js} +4 -4
  14. package/dist/index.browser.js +6 -6
  15. package/dist/index.browser.js.map +1 -1
  16. package/dist/index.cjs +90 -16
  17. package/dist/index.d.ts +13 -2
  18. package/dist/index.js +14 -14
  19. package/dist/{minting_backend-Bl2cT8ma.js → minting_backend-BE0r4303.js} +3 -3
  20. package/dist/minting_backend.js +5 -5
  21. package/dist/{orderbook-Ye9irRWy.js → orderbook-DV8uREzr.js} +1 -1
  22. package/dist/orderbook.d.ts +13 -2
  23. package/dist/orderbook.js +4 -4
  24. package/dist/{passport-C_rwhkBZ.js → passport-CcbgiSNV.js} +3 -3
  25. package/dist/passport.js +4 -4
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/{webhook-BmR-m7dM.js → webhook-D7vbg188.js} +1 -1
  28. package/dist/webhook.js +2 -2
  29. package/dist/{x-DWBBH_Mv.js → x-BJQwIc3_.js} +3 -3
  30. package/dist/x.js +4 -4
  31. package/package.json +1 -1
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.6';
219
+ const SDK_VERSION$1 = '1.47.7';
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.6' };
14504
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.7' };
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.6',
14576
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.7',
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.6' };
15050
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.7' };
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.6',
15091
+ sdkVersion: 'ts-immutable-sdk-1.47.7',
15092
15092
  baseConfig,
15093
15093
  });
15094
15094
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -33388,6 +33388,10 @@ class Orderbook {
33388
33388
  const seaportLibFactory = new SeaportLibFactory(this.orderbookConfig.seaportContractAddress, this.orderbookConfig.provider);
33389
33389
  this.seaport = new Seaport(seaportLibFactory, this.orderbookConfig.provider, this.orderbookConfig.seaportContractAddress, this.orderbookConfig.zoneContractAddress, config.baseConfig.rateLimitingKey);
33390
33390
  }
33391
+ // Default order expiry to 2 years from now
33392
+ static defaultOrderExpiry() {
33393
+ return new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 2);
33394
+ }
33391
33395
  /**
33392
33396
  * Return the configuration for the orderbook module.
33393
33397
  * @return {OrderbookModuleConfiguration} The configuration for the orderbook module.
@@ -33448,29 +33452,36 @@ class Orderbook {
33448
33452
  * Once the transactions are submitted and the message signed, call the completeListings method
33449
33453
  * provided in the return type with the signature. This method supports up to 20 listing creations
33450
33454
  * at a time. It can also be used for individual listings to simplify integration code paths.
33455
+ *
33456
+ * Bulk listings created using an EOA (Metamask) will require a single listing confirmation
33457
+ * signature.
33458
+ * Bulk listings creating using a smart contract wallet will require multiple listing confirmation
33459
+ * signatures(as many as the number of orders).
33451
33460
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
33452
33461
  * to be created.
33453
33462
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
33454
33463
  * any unsigned approval transactions, the typed bulk order message for signing and
33455
- * the createListings method that can be called with the signature to create the listings.
33464
+ * the createListings method that can be called with the signature(s) to create the listings.
33456
33465
  */
33457
33466
  async prepareBulkListings({ makerAddress, listingParams, }) {
33458
33467
  // Limit bulk listing creation to 20 orders to prevent API and order evaluation spam
33459
33468
  if (listingParams.length > 20) {
33460
33469
  throw new Error('Bulk listing creation is limited to 20 orders');
33461
33470
  }
33471
+ // Bulk listings (with single listing) code path common for both Smart contract
33472
+ // wallets and EOAs.
33462
33473
  // In the event of a single order, delegate to prepareListing as the signature is more
33463
33474
  // gas efficient
33464
33475
  if (listingParams.length === 1) {
33465
- 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));
33476
+ const prepareListingResponse = await this.seaport.prepareSeaportOrder(makerAddress, listingParams[0].sell, listingParams[0].buy, new Date(), listingParams[0].orderExpiry || Orderbook.defaultOrderExpiry());
33466
33477
  return {
33467
33478
  actions: prepareListingResponse.actions,
33468
- completeListings: async (signature) => {
33479
+ completeListings: async (signatures) => {
33469
33480
  const createListingResult = await this.createListing({
33470
33481
  makerFees: listingParams[0].makerFees,
33471
33482
  orderComponents: prepareListingResponse.orderComponents,
33472
33483
  orderHash: prepareListingResponse.orderHash,
33473
- orderSignature: signature,
33484
+ orderSignature: typeof signatures === 'string' ? signatures : signatures[0],
33474
33485
  });
33475
33486
  return {
33476
33487
  result: [{
@@ -33482,19 +33493,82 @@ class Orderbook {
33482
33493
  },
33483
33494
  };
33484
33495
  }
33496
+ // Bulk listings (with multiple listings) code path for Smart contract wallets.
33497
+ // Code check to determine wallet type is not fool-proof but scenarios where smart
33498
+ // contract wallet is not deployed will be an edge case
33499
+ const isSmartContractWallet = await this.orderbookConfig.provider.getCode(makerAddress) !== '0x';
33500
+ if (isSmartContractWallet) {
33501
+ track('orderbookmr', 'bulkListings', { walletType: 'Passport', makerAddress, listingsCount: listingParams.length });
33502
+ // eslint-disable-next-line max-len
33503
+ const prepareListingResponses = await Promise.all(listingParams.map((listing) => this.seaport.prepareSeaportOrder(makerAddress, listing.sell, listing.buy, new Date(), listing.orderExpiry || Orderbook.defaultOrderExpiry())));
33504
+ const pendingApproval = [];
33505
+ const actions = prepareListingResponses.flatMap((response) => {
33506
+ // de-dupe approval transactions to ensure every contract has
33507
+ // a maximum of 1 approval transaction
33508
+ const dedupedActions = [];
33509
+ response.actions.forEach((action) => {
33510
+ if (action.type === ActionType.TRANSACTION) {
33511
+ // Assuming only a single item is on offer per listing
33512
+ const contractAddress = response.orderComponents.offer[0].token;
33513
+ if (!pendingApproval.includes(contractAddress)) {
33514
+ pendingApproval.push(contractAddress);
33515
+ dedupedActions.push(action);
33516
+ }
33517
+ }
33518
+ else {
33519
+ dedupedActions.push(action);
33520
+ }
33521
+ });
33522
+ return dedupedActions;
33523
+ });
33524
+ return {
33525
+ actions,
33526
+ completeListings: async (signatures) => {
33527
+ const signatureIsString = typeof signatures === 'string';
33528
+ if (signatureIsString) {
33529
+ throw new Error('A signature per listing must be provided for smart contract wallets');
33530
+ }
33531
+ const createListingsApiResponses = await Promise.all(prepareListingResponses.map((prepareListingResponse, i) => {
33532
+ const signature = signatures[i];
33533
+ return this.apiClient.createListing({
33534
+ makerFees: listingParams[i].makerFees,
33535
+ orderComponents: prepareListingResponse.orderComponents,
33536
+ orderHash: prepareListingResponse.orderHash,
33537
+ orderSignature: signature,
33538
+ // Swallow failed creations,this gets mapped in the response to the caller as failed
33539
+ }).catch(() => undefined);
33540
+ }));
33541
+ return {
33542
+ result: createListingsApiResponses.map((apiListingResponse, i) => ({
33543
+ success: !!apiListingResponse,
33544
+ orderHash: prepareListingResponses[i].orderHash,
33545
+ // eslint-disable-next-line max-len
33546
+ order: apiListingResponse ? mapFromOpenApiOrder(apiListingResponse.result) : undefined,
33547
+ })),
33548
+ };
33549
+ },
33550
+ };
33551
+ }
33552
+ // Bulk listings (with multiple listings) code path for EOA wallets.
33553
+ track('orderbookmr', 'bulkListings', { walletType: 'EOA', makerAddress, listingsCount: listingParams.length });
33485
33554
  const { actions, preparedListings } = await this.seaport.prepareBulkSeaportOrders(makerAddress, listingParams.map((orderParam) => ({
33486
33555
  listingItem: orderParam.sell,
33487
33556
  considerationItem: orderParam.buy,
33488
33557
  orderStart: new Date(),
33489
- orderExpiry: orderParam.orderExpiry || new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 2),
33558
+ orderExpiry: orderParam.orderExpiry || Orderbook.defaultOrderExpiry(),
33490
33559
  })));
33491
33560
  return {
33492
33561
  actions,
33493
- completeListings: async (bulkOrderSignature) => {
33562
+ completeListings: async (signatures) => {
33563
+ const signatureIsArray = typeof signatures === 'object';
33564
+ if (signatureIsArray && signatures.length !== 1) {
33565
+ throw new Error('Only a single signature is expected for bulk listing creation');
33566
+ }
33494
33567
  const orderComponents = preparedListings.map((orderParam) => orderParam.orderComponents);
33495
- const signatures = getBulkSeaportOrderSignatures(bulkOrderSignature, orderComponents);
33568
+ const signature = signatureIsArray ? signatures[0] : signatures;
33569
+ const bulkOrderSignatures = getBulkSeaportOrderSignatures(signature, orderComponents);
33496
33570
  const createOrdersApiListingResponse = await Promise.all(orderComponents.map((orderComponent, i) => {
33497
- const sig = signatures[i];
33571
+ const sig = bulkOrderSignatures[i];
33498
33572
  const listing = preparedListings[i];
33499
33573
  const listingParam = listingParams[i];
33500
33574
  return this.apiClient.createListing({
@@ -33528,7 +33602,7 @@ class Orderbook {
33528
33602
  // Default order start to now
33529
33603
  new Date(),
33530
33604
  // Default order expiry to 2 years from now
33531
- orderExpiry || new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 2));
33605
+ orderExpiry || Orderbook.defaultOrderExpiry());
33532
33606
  }
33533
33607
  /**
33534
33608
  * Create an order
@@ -52888,7 +52962,7 @@ const flattenProperties = (properties) => {
52888
52962
  };
52889
52963
 
52890
52964
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
52891
- const SDK_VERSION = '1.47.6';
52965
+ const SDK_VERSION = '1.47.7';
52892
52966
  const getFrameParentDomain = () => {
52893
52967
  if (isNode()) {
52894
52968
  return '';
@@ -58252,7 +58326,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
58252
58326
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
58253
58327
  };
58254
58328
 
58255
- const SDK_VERSION_MARKER = '1.47.6';
58329
+ const SDK_VERSION_MARKER = '1.47.7';
58256
58330
  // This SDK version is replaced by the `yarn build` command ran on the root level
58257
58331
  const globalPackageVersion = () => SDK_VERSION_MARKER;
58258
58332
 
package/dist/index.d.ts CHANGED
@@ -28018,7 +28018,12 @@ interface PrepareBulkListingsParams {
28018
28018
  }
28019
28019
  interface PrepareBulkListingsResponse {
28020
28020
  actions: Action[];
28021
- completeListings: (signature: string) => Promise<BulkListingsResult>;
28021
+ completeListings(signatures: string[]): Promise<BulkListingsResult>;
28022
+ /**
28023
+ * @deprecated Pass a string[] to `completeListings` instead to enable
28024
+ * smart contract wallets
28025
+ */
28026
+ completeListings(signature: string): Promise<BulkListingsResult>;
28022
28027
  }
28023
28028
  interface PrepareBulkSeaportOrders {
28024
28029
  actions: Action[];
@@ -28230,6 +28235,7 @@ declare class Orderbook {
28230
28235
  private seaport;
28231
28236
  private orderbookConfig;
28232
28237
  constructor(config: ModuleConfiguration<OrderbookOverrides>);
28238
+ static defaultOrderExpiry(): Date;
28233
28239
  /**
28234
28240
  * Return the configuration for the orderbook module.
28235
28241
  * @return {OrderbookModuleConfiguration} The configuration for the orderbook module.
@@ -28266,11 +28272,16 @@ declare class Orderbook {
28266
28272
  * Once the transactions are submitted and the message signed, call the completeListings method
28267
28273
  * provided in the return type with the signature. This method supports up to 20 listing creations
28268
28274
  * at a time. It can also be used for individual listings to simplify integration code paths.
28275
+ *
28276
+ * Bulk listings created using an EOA (Metamask) will require a single listing confirmation
28277
+ * signature.
28278
+ * Bulk listings creating using a smart contract wallet will require multiple listing confirmation
28279
+ * signatures(as many as the number of orders).
28269
28280
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
28270
28281
  * to be created.
28271
28282
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
28272
28283
  * any unsigned approval transactions, the typed bulk order message for signing and
28273
- * the createListings method that can be called with the signature to create the listings.
28284
+ * the createListings method that can be called with the signature(s) to create the listings.
28274
28285
  */
28275
28286
  prepareBulkListings({ makerAddress, listingParams, }: PrepareBulkListingsParams): Promise<PrepareBulkListingsResponse>;
28276
28287
  /**
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- export { c as config } from './config-DrLnrVGK.js';
2
- export { b as blockchainData } from './blockchain_data-CiZHsf9c.js';
3
- export { p as passport } from './passport-C_rwhkBZ.js';
4
- export { o as orderbook } from './orderbook-Ye9irRWy.js';
5
- export { c as checkout } from './checkout-BBvLRxMi.js';
6
- export { x } from './x-DWBBH_Mv.js';
7
- export { w as webhook } from './webhook-BmR-m7dM.js';
8
- export { m as mintingBackend } from './minting_backend-Bl2cT8ma.js';
9
- import './index-CigMtyzV.js';
1
+ export { c as config } from './config-BDnSNrUg.js';
2
+ export { b as blockchainData } from './blockchain_data-BxNIoP5D.js';
3
+ export { p as passport } from './passport-CcbgiSNV.js';
4
+ export { o as orderbook } from './orderbook-DV8uREzr.js';
5
+ export { c as checkout } from './checkout-hyV1W7o_.js';
6
+ export { x } from './x-BJQwIc3_.js';
7
+ export { w as webhook } from './webhook-D7vbg188.js';
8
+ export { m as mintingBackend } from './minting_backend-BE0r4303.js';
9
+ import './index-BEmbEQo3.js';
10
10
  import 'axios';
11
11
  import 'lru-memorise';
12
12
  import 'global-const';
13
- import './index-Cjv4ZmMK.js';
14
- import './index-D2J4NDeb.js';
15
- import './index-Bzh249QJ.js';
13
+ import './index-BpHMHRxz.js';
14
+ import './index-CADkJAYZ.js';
15
+ import './index-D2UN9L1O.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-DXOmpxiv.js';
38
+ import './index-CgFCYrSh.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-CR3MX8lP.js';
50
+ import './index-CRPsZi2t.js';
51
51
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-Cjv4ZmMK.js';
2
- import { h as handle } from './index-CR3MX8lP.js';
3
- import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-CigMtyzV.js';
1
+ import { B as BlockchainData } from './index-BpHMHRxz.js';
2
+ import { h as handle } from './index-CRPsZi2t.js';
3
+ import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-BEmbEQo3.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-Bl2cT8ma.js';
2
- import './index-Cjv4ZmMK.js';
3
- import './index-D2J4NDeb.js';
1
+ export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-BE0r4303.js';
2
+ import './index-BpHMHRxz.js';
3
+ import './index-CADkJAYZ.js';
4
4
  import 'axios';
5
- import './index-CigMtyzV.js';
5
+ import './index-BEmbEQo3.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-CR3MX8lP.js';
8
+ import './index-CRPsZi2t.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-DXOmpxiv.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-CgFCYrSh.js';
2
2
 
3
3
  var orderbook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
@@ -1381,7 +1381,12 @@ 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
+ /**
1386
+ * @deprecated Pass a string[] to `completeListings` instead to enable
1387
+ * smart contract wallets
1388
+ */
1389
+ completeListings(signature: string): Promise<BulkListingsResult>;
1385
1390
  }
1386
1391
  interface PrepareBulkSeaportOrders {
1387
1392
  actions: Action[];
@@ -1593,6 +1598,7 @@ declare class Orderbook {
1593
1598
  private seaport;
1594
1599
  private orderbookConfig;
1595
1600
  constructor(config: ModuleConfiguration<OrderbookOverrides>);
1601
+ static defaultOrderExpiry(): Date;
1596
1602
  /**
1597
1603
  * Return the configuration for the orderbook module.
1598
1604
  * @return {OrderbookModuleConfiguration} The configuration for the orderbook module.
@@ -1629,11 +1635,16 @@ declare class Orderbook {
1629
1635
  * Once the transactions are submitted and the message signed, call the completeListings method
1630
1636
  * provided in the return type with the signature. This method supports up to 20 listing creations
1631
1637
  * at a time. It can also be used for individual listings to simplify integration code paths.
1638
+ *
1639
+ * Bulk listings created using an EOA (Metamask) will require a single listing confirmation
1640
+ * signature.
1641
+ * Bulk listings creating using a smart contract wallet will require multiple listing confirmation
1642
+ * signatures(as many as the number of orders).
1632
1643
  * @param {PrepareBulkListingsParams} prepareBulkListingsParams - Details about the listings
1633
1644
  * to be created.
1634
1645
  * @return {PrepareBulkListingsResponse} PrepareListingResponse includes
1635
1646
  * 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.
1647
+ * the createListings method that can be called with the signature(s) to create the listings.
1637
1648
  */
1638
1649
  prepareBulkListings({ makerAddress, listingParams, }: PrepareBulkListingsParams): Promise<PrepareBulkListingsResponse>;
1639
1650
  /**
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-DXOmpxiv.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-CgFCYrSh.js';
2
+ import './index-BEmbEQo3.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-CigMtyzV.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-CigMtyzV.js';
3
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-D2J4NDeb.js';
4
- import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-Bzh249QJ.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-BEmbEQo3.js';
3
+ import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-CADkJAYZ.js';
4
+ import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-D2UN9L1O.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-C_rwhkBZ.js';
1
+ export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-CcbgiSNV.js';
2
2
  import 'axios';
3
- import './index-CigMtyzV.js';
3
+ import './index-BEmbEQo3.js';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
6
- import './index-D2J4NDeb.js';
7
- import './index-Bzh249QJ.js';
6
+ import './index-CADkJAYZ.js';
7
+ import './index-D2UN9L1O.js';
8
8
  import '@ethersproject/keccak256';
9
9
  import '@ethersproject/strings';
10
10
  import 'bn.js';