@imtbl/sdk 0.27.11 → 0.27.13

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.js CHANGED
@@ -3610,7 +3610,7 @@ class MultiRollupApiClients {
3610
3610
  }
3611
3611
 
3612
3612
  // eslint-disable-next-line @typescript-eslint/naming-convention
3613
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.11' };
3613
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.13' };
3614
3614
  const createConfig = ({ basePath, headers, }) => {
3615
3615
  if (!basePath.trim()) {
3616
3616
  throw Error('basePath can not be empty');
@@ -3670,7 +3670,7 @@ class APIError extends Error {
3670
3670
 
3671
3671
  /* eslint-disable implicit-arrow-linebreak */
3672
3672
  const defaultHeaders = {
3673
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.11',
3673
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.13',
3674
3674
  };
3675
3675
  /**
3676
3676
  * createAPIConfiguration to create a custom Configuration
@@ -4062,14 +4062,14 @@ class BlockchainData {
4062
4062
  var blockchain_data = /*#__PURE__*/Object.freeze({
4063
4063
  __proto__: null,
4064
4064
  APIError: APIError,
4065
- ActivitiesApi: activitiesApiTypes,
4065
+ ActivitiesTypes: activitiesApiTypes,
4066
4066
  BlockchainData: BlockchainData,
4067
- ChainsApi: chainsApiTypes,
4068
- CollectionsApi: collectionsApiTypes,
4069
- MetadataApi: metadataApiTypes,
4070
- NFTOwnersApi: nftOwnersApiTypes,
4071
- NFTsApi: nftsApiTypes,
4072
- TokensApi: tokensApiTypes
4067
+ ChainsTypes: chainsApiTypes,
4068
+ CollectionsTypes: collectionsApiTypes,
4069
+ MetadataTypes: metadataApiTypes,
4070
+ NFTOwnersTypes: nftOwnersApiTypes,
4071
+ NFTsTypes: nftsApiTypes,
4072
+ TokensTypes: tokensApiTypes
4073
4073
  });
4074
4074
 
4075
4075
  /**
@@ -4081,7 +4081,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
4081
4081
  chainID,
4082
4082
  coreContractAddress,
4083
4083
  registrationContractAddress,
4084
- sdkVersion: 'ts-immutable-sdk-0.27.11',
4084
+ sdkVersion: 'ts-immutable-sdk-0.27.13',
4085
4085
  });
4086
4086
  /**
4087
4087
  * Sets `sdkVersion` at the time of build
@@ -11223,7 +11223,7 @@ class OrdersService {
11223
11223
  * @returns ListListingsResult OK response.
11224
11224
  * @throws ApiError
11225
11225
  */
11226
- listListings({ chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, }) {
11226
+ listListings({ chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, }) {
11227
11227
  return this.httpRequest.request({
11228
11228
  method: 'GET',
11229
11229
  url: '/v1/chains/{chain_name}/orders/listings',
@@ -11235,6 +11235,7 @@ class OrdersService {
11235
11235
  'sell_item_contract_address': sellItemContractAddress,
11236
11236
  'buy_item_contract_address': buyItemContractAddress,
11237
11237
  'sell_item_token_id': sellItemTokenId,
11238
+ 'from_updated_at': fromUpdatedAt,
11238
11239
  'page_size': pageSize,
11239
11240
  'sort_by': sortBy,
11240
11241
  'sort_direction': sortDirection,
@@ -11318,7 +11319,7 @@ class OrdersService {
11318
11319
  * @returns ListTradeResult OK response.
11319
11320
  * @throws ApiError
11320
11321
  */
11321
- listTrades({ chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, }) {
11322
+ listTrades({ chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, }) {
11322
11323
  return this.httpRequest.request({
11323
11324
  method: 'GET',
11324
11325
  url: '/v1/chains/{chain_name}/trades',
@@ -11327,6 +11328,7 @@ class OrdersService {
11327
11328
  },
11328
11329
  query: {
11329
11330
  'account_address': accountAddress,
11331
+ 'from_indexed_at': fromIndexedAt,
11330
11332
  'page_size': pageSize,
11331
11333
  'sort_by': sortBy,
11332
11334
  'sort_direction': sortDirection,
@@ -11392,6 +11394,16 @@ var CancelledOrderStatus;
11392
11394
  })(CancelledOrderStatus.cancellation_type || (CancelledOrderStatus.cancellation_type = {}));
11393
11395
  })(CancelledOrderStatus || (CancelledOrderStatus = {}));
11394
11396
 
11397
+ /* istanbul ignore file */
11398
+ /* tslint:disable */
11399
+ /* eslint-disable */
11400
+ var FailedOrderCancellation;
11401
+ (function (FailedOrderCancellation) {
11402
+ (function (reason_code) {
11403
+ reason_code["ALREADY_FILLED"] = "ALREADY_FILLED";
11404
+ })(FailedOrderCancellation.reason_code || (FailedOrderCancellation.reason_code = {}));
11405
+ })(FailedOrderCancellation || (FailedOrderCancellation = {}));
11406
+
11395
11407
  /* istanbul ignore file */
11396
11408
  /* tslint:disable */
11397
11409
  /* eslint-disable */
@@ -29618,6 +29630,7 @@ var $e055e79256bbc1dd$export$80f4da0d409a629d;
29618
29630
  CheckoutErrorType["ORDER_FEE_ERROR"] = "ORDER_FEE_ERROR";
29619
29631
  CheckoutErrorType["ITEM_REQUIREMENTS_ERROR"] = "ITEM_REQUIREMENTS_ERROR";
29620
29632
  CheckoutErrorType["API_ERROR"] = "API_ERROR";
29633
+ CheckoutErrorType["ORDER_EXPIRED_ERROR"] = "ORDER_EXPIRED_ERROR";
29621
29634
  })($a8bc256d81a5e2c1$export$e3dc0620abde7f5a || ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a = {}));
29622
29635
  class $a8bc256d81a5e2c1$export$b722478a3cbfa3bc extends Error {
29623
29636
  message;
@@ -30071,6 +30084,20 @@ class $fd8a8472dcc3ec2b$export$ef140a6b05dfc786 {
30071
30084
 
30072
30085
 
30073
30086
 
30087
+ const $458d407830d66110$export$e6a390ea6399b7d8 = (config, debugString, seconds)=>{
30088
+ // eslint-disable-next-line no-console
30089
+ if (!config.isProduction) console.debug(debugString, seconds);
30090
+ };
30091
+ const $458d407830d66110$export$5280dbcb91c8b391 = async (config, debugString, promise)=>{
30092
+ const startTime = performance.now();
30093
+ const result = await promise;
30094
+ const endTime = performance.now();
30095
+ const elapsedTimeInSeconds = (endTime - startTime) / 1000;
30096
+ $458d407830d66110$export$e6a390ea6399b7d8(config, debugString, elapsedTimeInSeconds);
30097
+ return result;
30098
+ };
30099
+
30100
+
30074
30101
  const $1564e43dde50bb61$export$df96cd8d56be0ab1 = async (config, web3Provider, walletAddress)=>await ($a8bc256d81a5e2c1$export$bacc563de539c6c3)(async ()=>{
30075
30102
  const networkInfo = await ($de192de6ef100f9f$export$79f13b4cfaaf0d09)(config, web3Provider);
30076
30103
  if (!networkInfo.isSupported) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)(`Chain:${networkInfo.chainId} is not a supported chain`, ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).CHAIN_NOT_SUPPORTED_ERROR, {
@@ -30225,12 +30252,12 @@ const $1564e43dde50bb61$export$fee49741664a4d7e = async (config, web3Provider, w
30225
30252
  // Please remove this hack once https://immutable.atlassian.net/browse/WT-1710
30226
30253
  // is done.
30227
30254
  const isL1Chain = ($4013c5c91bb535f6$export$9b794d067cdd1af6)(config) === chainId;
30228
- return await $1564e43dde50bb61$export$8c978679845804d4(walletAddress, chainId, isL1Chain ? tokens : []);
30255
+ return ($458d407830d66110$export$5280dbcb91c8b391)(config, `Time to fetch balances using blockscout for ${chainId}`, $1564e43dde50bb61$export$8c978679845804d4(walletAddress, chainId, isL1Chain ? tokens : []));
30229
30256
  }
30230
30257
  // This fallback to use ERC20s calls which is a best effort solution
30231
30258
  // Fails in fetching data from the RCP calls might result in some
30232
30259
  // missing data.
30233
- return await $1564e43dde50bb61$export$a3238cee431627c6(config, web3Provider, walletAddress, tokens);
30260
+ return await ($458d407830d66110$export$5280dbcb91c8b391)(config, `Time to fetch balances using RPC for ${chainId}`, $1564e43dde50bb61$export$a3238cee431627c6(config, web3Provider, walletAddress, tokens));
30234
30261
  };
30235
30262
 
30236
30263
 
@@ -30471,7 +30498,7 @@ async function $67fc622a2b913d5f$export$7cf6178417769841(chainId, config) {
30471
30498
  overrides: dexConfig?.overrides
30472
30499
  });
30473
30500
  }
30474
- async function $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config) {
30501
+ function $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config) {
30475
30502
  return new (Orderbook)({
30476
30503
  baseConfig: {
30477
30504
  environment: config.environment
@@ -31272,8 +31299,8 @@ const $5e9bcae98dc8ff19$export$1165ca270f090a66 = (isDevelopment, isProduction)=
31272
31299
 
31273
31300
 
31274
31301
 
31275
- const $1fda5c40669a566d$export$1fac8e857d728583 = async ()=>false;
31276
- const $1fda5c40669a566d$export$2e83e9eeaf217e20 = async (config)=>{
31302
+ const $1fda5c40669a566d$export$5d79dcabf4595ae0 = async ()=>true;
31303
+ const $1fda5c40669a566d$export$2c2bcd6e0d9a9969 = async (config)=>{
31277
31304
  const availability = ($5e9bcae98dc8ff19$export$1165ca270f090a66)(config.isDevelopment, config.isProduction);
31278
31305
  try {
31279
31306
  return await availability.checkDexAvailability();
@@ -31294,18 +31321,18 @@ const $7f2e17f026d4fc8d$export$86d9f998ddda013e = async (config, provider)=>{
31294
31321
  const geoBlockingChecks = [];
31295
31322
  if (availableRoutingOptions.onRamp) geoBlockingChecks.push({
31296
31323
  id: "onRamp",
31297
- promise: ($1fda5c40669a566d$export$1fac8e857d728583)()
31324
+ promise: ($1fda5c40669a566d$export$5d79dcabf4595ae0)()
31298
31325
  });
31299
31326
  if (availableRoutingOptions.swap) geoBlockingChecks.push({
31300
31327
  id: "swap",
31301
- promise: ($1fda5c40669a566d$export$2e83e9eeaf217e20)(config)
31328
+ promise: ($1fda5c40669a566d$export$2c2bcd6e0d9a9969)(config)
31302
31329
  });
31303
31330
  if (geoBlockingChecks.length > 0) {
31304
31331
  const promises = geoBlockingChecks.map((geoBlockingCheck)=>geoBlockingCheck.promise);
31305
31332
  const geoBlockingStatus = await Promise.allSettled(promises);
31306
31333
  geoBlockingStatus.forEach((result, index)=>{
31307
31334
  const statusId = geoBlockingChecks[index].id;
31308
- availableRoutingOptions[statusId] = availableRoutingOptions[statusId] && result.status === "fulfilled" && !result.value;
31335
+ availableRoutingOptions[statusId] = availableRoutingOptions[statusId] && result.status === "fulfilled" && result.value;
31309
31336
  });
31310
31337
  }
31311
31338
  // Bridge not available if passport provider
@@ -31412,7 +31439,7 @@ const $049bba630af05555$export$6946a1f17c2bbf26 = async (config, chainId, wallet
31412
31439
  }
31413
31440
  // Resolve all the quotes and link them back to the swappable token
31414
31441
  // The swappable token array is in the same position in the array as the quote in the promise array
31415
- const dexTransactionResponse = await Promise.allSettled(dexTransactionResponsePromises);
31442
+ const dexTransactionResponse = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to resolve swap quotes from the dex", Promise.allSettled(dexTransactionResponsePromises));
31416
31443
  dexTransactionResponse.forEach((response, index)=>{
31417
31444
  if (response.status === "rejected") return; // Ignore any requests to dex that failed to resolve
31418
31445
  const swappableToken = fromToken[index];
@@ -31429,15 +31456,6 @@ const $049bba630af05555$export$6946a1f17c2bbf26 = async (config, chainId, wallet
31429
31456
  };
31430
31457
 
31431
31458
 
31432
- const $3ee85f12225c19f3$export$fb80fe94a81a3132 = async (config, dexQuoteCache, walletAddress, requiredToken, swappableTokens)=>{
31433
- const dexQuotes = dexQuoteCache.get(requiredToken.address);
31434
- if (dexQuotes && dexQuotes.size > 0) return dexQuotes;
31435
- const quotes = await ($049bba630af05555$export$6946a1f17c2bbf26)(config, ($4013c5c91bb535f6$export$c9af4e4b001c6476)(config), walletAddress, requiredToken, swappableTokens);
31436
- dexQuoteCache.set(requiredToken.address, quotes);
31437
- return quotes;
31438
- };
31439
-
31440
-
31441
31459
  const $91807edfd7057288$var$constructFees = (approvalGasFees, swapGasFees, swapFees)=>{
31442
31460
  let approvalGasFeeAmount = (BigNumber$1).from(0);
31443
31461
  let approvalGasFeeFormatted = "0";
@@ -31565,11 +31583,17 @@ const $91807edfd7057288$export$7b6318fc1a8067b3 = (l2Balances, approval)=>{
31565
31583
  approvalGasTokenAddress: approvalGasTokenAddress
31566
31584
  };
31567
31585
  };
31568
- const $91807edfd7057288$export$38077235fe748d40 = (l2Balances, swapFees, approvalFees, tokenBeingSwapped)=>{
31586
+ const $91807edfd7057288$export$38077235fe748d40 = (l2Balances, approvalFees, swapGasFees, swapFees, tokenBeingSwapped)=>{
31569
31587
  // Set up a map of token addresses to amounts for each of the swap fees
31570
31588
  const feeMap = new Map();
31571
31589
  // Add the approval fee to list of fees
31572
31590
  if (approvalFees.approvalGasTokenAddress !== "") feeMap.set(approvalFees.approvalGasTokenAddress, approvalFees.approvalGasFee);
31591
+ // Add the swap gas fee to list of fees
31592
+ if (swapGasFees) {
31593
+ const fee = feeMap.get(swapGasFees.token.address);
31594
+ if (fee) feeMap.set(swapGasFees.token.address, fee.add(swapGasFees.value));
31595
+ else feeMap.set(swapGasFees.token.address, swapGasFees.value);
31596
+ }
31573
31597
  // Add the token being swapped to list of fees to ensure the user can cover the fee + the token swap
31574
31598
  if (tokenBeingSwapped) {
31575
31599
  const fee = feeMap.get(tokenBeingSwapped.address);
@@ -31618,7 +31642,7 @@ const $91807edfd7057288$export$567a0c83c08c514b = (l2balance, balanceRequirement
31618
31642
  // that is going to be swapped from another item requirement then return true
31619
31643
  return remainingBalance.gte(amountBeingSwapped);
31620
31644
  };
31621
- const $91807edfd7057288$export$8e03ea04d59f2402 = async (config, availableRoutingOptions, dexQuoteCache, walletAddress, balanceRequirement, tokenBalanceResults, swappableTokens, balanceRequirements)=>{
31645
+ const $91807edfd7057288$export$8e03ea04d59f2402 = async (config, availableRoutingOptions, walletAddress, balanceRequirement, tokenBalanceResults, swappableTokens, balanceRequirements)=>{
31622
31646
  const fundingSteps = [];
31623
31647
  if (!availableRoutingOptions.swap) return fundingSteps;
31624
31648
  if (swappableTokens.length === 0) return fundingSteps;
@@ -31629,7 +31653,7 @@ const $91807edfd7057288$export$8e03ea04d59f2402 = async (config, availableRoutin
31629
31653
  if (!l2TokenBalanceResult) return fundingSteps;
31630
31654
  const l2Balances = l2TokenBalanceResult.balances;
31631
31655
  if (l2Balances.length === 0) return fundingSteps;
31632
- const quotes = await ($3ee85f12225c19f3$export$fb80fe94a81a3132)(config, dexQuoteCache, walletAddress, requiredToken, swappableTokens);
31656
+ const quotes = await ($049bba630af05555$export$6946a1f17c2bbf26)(config, ($4013c5c91bb535f6$export$c9af4e4b001c6476)(config), walletAddress, requiredToken, swappableTokens);
31633
31657
  const quoteTokenAddresses = Array.from(quotes.keys());
31634
31658
  for (const quoteTokenAddress of quoteTokenAddresses){
31635
31659
  const quote = quotes.get(quoteTokenAddress);
@@ -31646,7 +31670,7 @@ const $91807edfd7057288$export$8e03ea04d59f2402 = async (config, availableRoutin
31646
31670
  // If user does not have enough to cover approval fees then continue
31647
31671
  if (!approvalFees.sufficient) continue;
31648
31672
  // If user does not have enough to cover swap fees then continue
31649
- if (!$91807edfd7057288$export$38077235fe748d40(l2Balances, quote.quote.fees, approvalFees, {
31673
+ if (!$91807edfd7057288$export$38077235fe748d40(l2Balances, approvalFees, quote.swap, quote.quote.fees, {
31650
31674
  amount: amountOfQuoteTokenRequired.value,
31651
31675
  address: quoteTokenAddress
31652
31676
  })) continue;
@@ -32051,13 +32075,14 @@ const $7500587317643fc8$export$c3e193fd573f1a94 = async (config, swappableTokens
32051
32075
 
32052
32076
 
32053
32077
 
32054
- const $d54df4a884f14123$export$d46f2133747ffd93 = async (config, dexQuoteCache, ownerAddress, requiredTokenAddress, insufficientRequirement, filteredSwappableTokens)=>{
32078
+
32079
+ const $d54df4a884f14123$export$d46f2133747ffd93 = async (config, ownerAddress, requiredTokenAddress, insufficientRequirement, filteredSwappableTokens)=>{
32055
32080
  const filteredSwappableTokensAddresses = [];
32056
32081
  for (const token of filteredSwappableTokens){
32057
32082
  if (!token.address) continue;
32058
32083
  filteredSwappableTokensAddresses.push(token.address);
32059
32084
  }
32060
- const dexQuotes = await ($3ee85f12225c19f3$export$fb80fe94a81a3132)(config, dexQuoteCache, ownerAddress, {
32085
+ const dexQuotes = await ($049bba630af05555$export$6946a1f17c2bbf26)(config, ($4013c5c91bb535f6$export$c9af4e4b001c6476)(config), ownerAddress, {
32061
32086
  address: requiredTokenAddress,
32062
32087
  amount: insufficientRequirement.delta.balance
32063
32088
  }, filteredSwappableTokensAddresses);
@@ -32167,7 +32192,7 @@ const $afd57acae9471ac5$export$d9b96654eebdaf2a = (bridgeFundingSteps, swapFundi
32167
32192
  }
32168
32193
  return bridgeAndSwapRoutes;
32169
32194
  };
32170
- const $afd57acae9471ac5$export$f95ed27e871fe308 = async (config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, dexQuoteCache, ownerAddress, feeEstimates, tokenBalances, bridgeableTokens, swappableTokens, balanceRequirements)=>{
32195
+ const $afd57acae9471ac5$export$f95ed27e871fe308 = async (config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, ownerAddress, feeEstimates, tokenBalances, bridgeableTokens, swappableTokens, balanceRequirements)=>{
32171
32196
  const { l1balances: l1balances, l2balances: l2balances } = ($7bb5af1d8b5d9127$export$8280985cc3da7882)(config, tokenBalances);
32172
32197
  const requiredTokenAddress = insufficientRequirement.required.token.address;
32173
32198
  if ($afd57acae9471ac5$export$b94e88f4f8805f71(bridgeableTokens, swappableTokens, l1balances, l2balances, availableRoutingOptions, requiredTokenAddress)) return [];
@@ -32178,7 +32203,7 @@ const $afd57acae9471ac5$export$f95ed27e871fe308 = async (config, readOnlyProvide
32178
32203
  const filteredSwappableTokens = $afd57acae9471ac5$export$ed7c59bd8d1bb5a7(requiredTokenAddress, bridgeableTokens, swappableTokens, l1tol2Addresses);
32179
32204
  if (filteredSwappableTokens.length === 0) return [];
32180
32205
  // Fetch all the dex quotes from the list of swappable tokens
32181
- const dexQuotes = await ($d54df4a884f14123$export$d46f2133747ffd93)(config, dexQuoteCache, ownerAddress, requiredTokenAddress, insufficientRequirement, filteredSwappableTokens);
32206
+ const dexQuotes = await ($d54df4a884f14123$export$d46f2133747ffd93)(config, ownerAddress, requiredTokenAddress, insufficientRequirement, filteredSwappableTokens);
32182
32207
  // Construct bridge requirements based on L2 balances, slippage and swap fees
32183
32208
  const bridgeRequirements = ($62e968a3dd87940e$export$df667c749c93b110)(dexQuotes, l1balances, l2balances, l1tol2Addresses, balanceRequirements);
32184
32209
  if (bridgeRequirements.length === 0) return [];
@@ -32221,7 +32246,7 @@ const $afd57acae9471ac5$export$f95ed27e871fe308 = async (config, readOnlyProvide
32221
32246
  // Modify the users L2 balance to include the amount as if the user successfully bridged
32222
32247
  const modifiedTokenBalances = $afd57acae9471ac5$var$modifyTokenBalancesWithBridgedAmount(config, tokenBalances, l2balances, bridgedTokens, swappableTokens);
32223
32248
  // Call the swap route with the faked bridged balances
32224
- const swapRoutes = await ($91807edfd7057288$export$8e03ea04d59f2402)(config, availableRoutingOptions, dexQuoteCache, ownerAddress, insufficientRequirement, modifiedTokenBalances, swappableTokensAfterBridging, balanceRequirements);
32249
+ const swapRoutes = await ($91807edfd7057288$export$8e03ea04d59f2402)(config, availableRoutingOptions, ownerAddress, insufficientRequirement, modifiedTokenBalances, swappableTokensAfterBridging, balanceRequirements);
32225
32250
  if (!swapRoutes) return [];
32226
32251
  const originalBalanceSwapRoutes = $afd57acae9471ac5$export$1fc63300bde5e690(tokenBalances, swapRoutes);
32227
32252
  return $afd57acae9471ac5$export$d9b96654eebdaf2a(bridgeResults, originalBalanceSwapRoutes, l1tol2Addresses);
@@ -32263,6 +32288,7 @@ const $5649bc8af91da370$export$1fb2bd867f4a9be3 = async (config, availableRoutin
32263
32288
 
32264
32289
 
32265
32290
 
32291
+
32266
32292
  const $c16168a9c28ae4fd$var$hasAvailableRoutingOptions = (availableRoutingOptions)=>availableRoutingOptions.bridge || availableRoutingOptions.swap || availableRoutingOptions.onRamp;
32267
32293
  const $c16168a9c28ae4fd$export$31ce7ba1a2956195 = (balanceRequirements)=>{
32268
32294
  let insufficientBalanceCount = 0;
@@ -32286,7 +32312,7 @@ const $c16168a9c28ae4fd$export$ab86023c267660 = async (config, readOnlyProviders
32286
32312
  if (availableRoutingOptions.bridge && insufficientRequirement) bridgeFundingStep = await ($fa9ac5bfdbbf9dfa$export$ddc7ba2b57d7c5fa)(config, readOnlyProviders, ownerAddress, availableRoutingOptions, bridgeRequirement, tokenBalances, feeEstimates);
32287
32313
  return bridgeFundingStep;
32288
32314
  };
32289
- const $c16168a9c28ae4fd$export$814624e957fa0f11 = async (config, availableRoutingOptions, insufficientRequirement, dexQuoteCache, ownerAddress, tokenBalances, swapTokenAllowList, balanceRequirements)=>{
32315
+ const $c16168a9c28ae4fd$export$814624e957fa0f11 = async (config, availableRoutingOptions, insufficientRequirement, ownerAddress, tokenBalances, swapTokenAllowList, balanceRequirements)=>{
32290
32316
  const fundingSteps = [];
32291
32317
  if (!availableRoutingOptions.swap) return fundingSteps;
32292
32318
  if (insufficientRequirement === undefined) return fundingSteps;
@@ -32297,9 +32323,9 @@ const $c16168a9c28ae4fd$export$814624e957fa0f11 = async (config, availableRoutin
32297
32323
  if (swapTokenAllowList.length === 0) return fundingSteps;
32298
32324
  const swappableTokens = swapTokenAllowList.filter((token)=>token.address).map((token)=>token.address);
32299
32325
  if (swappableTokens.length === 0) return fundingSteps;
32300
- return await ($91807edfd7057288$export$8e03ea04d59f2402)(config, availableRoutingOptions, dexQuoteCache, ownerAddress, insufficientRequirement, tokenBalances, swappableTokens, balanceRequirements);
32326
+ return await ($91807edfd7057288$export$8e03ea04d59f2402)(config, availableRoutingOptions, ownerAddress, insufficientRequirement, tokenBalances, swappableTokens, balanceRequirements);
32301
32327
  };
32302
- const $c16168a9c28ae4fd$export$2becd43da9d21f73 = async (config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, dexQuoteCache, ownerAddress, tokenBalances, tokenAllowList, feeEstimates, balanceRequirements)=>{
32328
+ const $c16168a9c28ae4fd$export$2becd43da9d21f73 = async (config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, ownerAddress, tokenBalances, tokenAllowList, feeEstimates, balanceRequirements)=>{
32303
32329
  if (!insufficientRequirement) return [];
32304
32330
  const l1balancesResult = tokenBalances.get(($4013c5c91bb535f6$export$9b794d067cdd1af6)(config));
32305
32331
  const l2balancesResult = tokenBalances.get(($4013c5c91bb535f6$export$c9af4e4b001c6476)(config));
@@ -32317,7 +32343,7 @@ const $c16168a9c28ae4fd$export$2becd43da9d21f73 = async (config, readOnlyProvide
32317
32343
  });
32318
32344
  const swapTokenAllowList = tokenAllowList?.swap ?? [];
32319
32345
  if (insufficientRequirement.type !== ($4b58188d47aafe8d$export$1fc8f52ad1810e52).NATIVE && insufficientRequirement.type !== ($4b58188d47aafe8d$export$1fc8f52ad1810e52).ERC20) return [];
32320
- const routes = await ($afd57acae9471ac5$export$f95ed27e871fe308)(config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, dexQuoteCache, ownerAddress, feeEstimates, tokenBalances, bridgeableL1Addresses, swapTokenAllowList, balanceRequirements);
32346
+ const routes = await ($afd57acae9471ac5$export$f95ed27e871fe308)(config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, ownerAddress, feeEstimates, tokenBalances, bridgeableL1Addresses, swapTokenAllowList, balanceRequirements);
32321
32347
  return routes;
32322
32348
  };
32323
32349
  const $c16168a9c28ae4fd$export$e1b6e4d22d0365ee = async (config, availableRoutingOptions, insufficientRequirement)=>{
@@ -32339,20 +32365,18 @@ const $c16168a9c28ae4fd$export$92606e71d0a264ff = async (config, ownerAddress, b
32339
32365
  message: err.message
32340
32366
  });
32341
32367
  }
32342
- const tokenBalances = await ($33acec7b4a26c053$export$23ddeb2642d2f9d)(config, readOnlyProviders, ownerAddress, availableRoutingOptions);
32343
- const allowList = await ($5a5ccedc98d53d25$export$1ad29657d49c5440)(config, tokenBalances, availableRoutingOptions);
32344
- // Bridge and swap fee cache
32368
+ const tokenBalances = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get token balances inside router", ($33acec7b4a26c053$export$23ddeb2642d2f9d)(config, readOnlyProviders, ownerAddress, availableRoutingOptions));
32369
+ const allowList = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get routing allowlist", ($5a5ccedc98d53d25$export$1ad29657d49c5440)(config, tokenBalances, availableRoutingOptions));
32370
+ // Fee estimate cache
32345
32371
  const feeEstimates = new Map();
32346
- // Dex quotes cache
32347
- const dexQuoteCache = new Map();
32348
32372
  // Ensures only 1 balance requirement is insufficient
32349
32373
  const insufficientRequirement = $c16168a9c28ae4fd$export$31ce7ba1a2956195(balanceRequirements);
32350
32374
  const routePromises = [];
32351
32375
  routePromises.push($c16168a9c28ae4fd$export$ab86023c267660(config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, ownerAddress, tokenBalances, feeEstimates));
32352
- routePromises.push($c16168a9c28ae4fd$export$814624e957fa0f11(config, availableRoutingOptions, insufficientRequirement, dexQuoteCache, ownerAddress, tokenBalances, allowList.swap, balanceRequirements));
32376
+ routePromises.push($c16168a9c28ae4fd$export$814624e957fa0f11(config, availableRoutingOptions, insufficientRequirement, ownerAddress, tokenBalances, allowList.swap, balanceRequirements));
32353
32377
  routePromises.push($c16168a9c28ae4fd$export$e1b6e4d22d0365ee(config, availableRoutingOptions, insufficientRequirement));
32354
- routePromises.push($c16168a9c28ae4fd$export$2becd43da9d21f73(config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, dexQuoteCache, ownerAddress, tokenBalances, allowList, feeEstimates, balanceRequirements));
32355
- const resolved = await Promise.all(routePromises);
32378
+ routePromises.push($c16168a9c28ae4fd$export$2becd43da9d21f73(config, readOnlyProviders, availableRoutingOptions, insufficientRequirement, ownerAddress, tokenBalances, allowList, feeEstimates, balanceRequirements));
32379
+ const resolved = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to resolve all routes", Promise.all(routePromises));
32356
32380
  let bridgeFundingStep;
32357
32381
  let swapFundingSteps = [];
32358
32382
  let onRampFundingStep;
@@ -32419,26 +32443,31 @@ const $c16168a9c28ae4fd$export$92606e71d0a264ff = async (config, ownerAddress, b
32419
32443
  };
32420
32444
 
32421
32445
 
32446
+
32422
32447
  const $0e7419077c373b24$export$9e073f9ada8c81e6 = async (config, provider, itemRequirements, transactionOrGasAmount)=>{
32423
32448
  const ownerAddress = await provider.getSigner().getAddress();
32424
32449
  let aggregatedItems = ($074f75878f618031$export$c804c9ade5c28607)(itemRequirements);
32425
- const erc20Allowances = await ($fc8b338399d890f3$export$d93c00812189e36)(provider, ownerAddress, aggregatedItems);
32426
- const erc721Allowances = await ($35c3fc7013888ba5$export$be546c525d418988)(provider, ownerAddress, aggregatedItems);
32427
- const aggregatedAllowances = ($ddc6bcd0896481e5$export$2fbfa41a4de56a89)(erc20Allowances, erc721Allowances);
32428
- const gasItem = await ($7d1bfafb81e64d74$export$3a4140bd9e983e4e)(provider, aggregatedAllowances, transactionOrGasAmount);
32450
+ const erc20AllowancePromise = ($fc8b338399d890f3$export$d93c00812189e36)(provider, ownerAddress, aggregatedItems);
32451
+ const erc721AllowancePromise = ($35c3fc7013888ba5$export$be546c525d418988)(provider, ownerAddress, aggregatedItems);
32452
+ const resolvedAllowances = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to calculate token allowances", Promise.all([
32453
+ erc20AllowancePromise,
32454
+ erc721AllowancePromise
32455
+ ]));
32456
+ const aggregatedAllowances = ($ddc6bcd0896481e5$export$2fbfa41a4de56a89)(resolvedAllowances[0], resolvedAllowances[1]);
32457
+ const gasItem = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to run gas calculator", ($7d1bfafb81e64d74$export$3a4140bd9e983e4e)(provider, aggregatedAllowances, transactionOrGasAmount));
32429
32458
  if (gasItem !== null) {
32430
32459
  aggregatedItems.push(gasItem);
32431
32460
  aggregatedItems = ($074f75878f618031$export$c804c9ade5c28607)(aggregatedItems);
32432
32461
  }
32433
- const balanceCheckResult = await ($beb896e098e41faf$export$ddfc885f43c3cb6e)(config, provider, ownerAddress, aggregatedItems);
32462
+ const balanceCheckResult = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to run balance checks", ($beb896e098e41faf$export$ddfc885f43c3cb6e)(config, provider, ownerAddress, aggregatedItems));
32434
32463
  const { sufficient: sufficient } = balanceCheckResult;
32435
32464
  const transactionRequirements = balanceCheckResult.balanceRequirements;
32436
32465
  if (sufficient) return {
32437
32466
  sufficient: sufficient,
32438
32467
  transactionRequirements: transactionRequirements
32439
32468
  };
32440
- const availableRoutingOptions = await ($7f2e17f026d4fc8d$export$86d9f998ddda013e)(config, provider);
32441
- const routingOutcome = await ($c16168a9c28ae4fd$export$92606e71d0a264ff)(config, ownerAddress, balanceCheckResult, availableRoutingOptions);
32469
+ const availableRoutingOptions = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to fetch available routing options", ($7f2e17f026d4fc8d$export$86d9f998ddda013e)(config, provider));
32470
+ const routingOutcome = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Total time to run the routing calculator", ($c16168a9c28ae4fd$export$92606e71d0a264ff)(config, ownerAddress, balanceCheckResult, availableRoutingOptions));
32442
32471
  return {
32443
32472
  sufficient: sufficient,
32444
32473
  transactionRequirements: transactionRequirements,
@@ -32621,6 +32650,7 @@ const $9051cee080948594$export$1e69c9cfc42e28d8 = (orderFees, weiAmount, decimal
32621
32650
  };
32622
32651
 
32623
32652
 
32653
+
32624
32654
  const $64863c39386de592$export$4249179755829904 = (type, contractAddress, amount, spenderAddress)=>{
32625
32655
  switch(type){
32626
32656
  case ($4b58188d47aafe8d$export$1fc8f52ad1810e52).ERC20:
@@ -32659,8 +32689,8 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
32659
32689
  if (orders.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orders were provided to the orders array. Please provide at least one order.", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).FULFILL_ORDER_LISTING_ERROR);
32660
32690
  const { id: id, takerFees: takerFees } = orders[0];
32661
32691
  try {
32662
- orderbook = await $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
32663
- order = await orderbook.getListing(id);
32692
+ orderbook = $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
32693
+ order = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to fetch the listing from the orderbook", orderbook.getListing(id));
32664
32694
  const { seaportContractAddress: seaportContractAddress } = orderbook.config();
32665
32695
  spenderAddress = seaportContractAddress;
32666
32696
  } catch (err) {
@@ -32677,23 +32707,34 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
32677
32707
  let decimals = 18;
32678
32708
  if (order.result.buy[0].type === "ERC20") {
32679
32709
  const tokenContract = $06a6c5c23f7f2479$export$fbbc17f6e6e58544(order.result.buy[0].contractAddress, ($d85ad1457a3f1a83$export$db5daa1b5156ccfe), provider);
32680
- decimals = await tokenContract.decimals();
32710
+ decimals = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get decimals of token contract for the buy token", tokenContract.decimals());
32681
32711
  }
32682
32712
  let fees = [];
32683
32713
  if (takerFees && takerFees.length > 0) fees = ($9051cee080948594$export$1e69c9cfc42e28d8)(takerFees, buyToken.amount, decimals);
32684
32714
  let unsignedApprovalTransactions = [];
32685
32715
  let unsignedFulfillmentTransactions = [];
32686
32716
  let orderActions = [];
32717
+ const fulfillOrderStartTime = performance.now();
32687
32718
  try {
32688
- const fulfillerAddress = await provider.getSigner().getAddress();
32689
- const { actions: actions } = await orderbook.fulfillOrder(id, fulfillerAddress, fees);
32719
+ const fulfillerAddress = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get the address from the provider", provider.getSigner().getAddress());
32720
+ const { actions: actions } = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to call fulfillOrder from the orderbook", orderbook.fulfillOrder(id, fulfillerAddress, fees));
32690
32721
  orderActions = actions;
32691
- unsignedApprovalTransactions = await (0, $a7367d01c6e76b1c$export$f64a20a30eb98855)(actions);
32692
- } catch {
32693
- // Silently ignore error as this is usually thrown if user does not have enough balance
32722
+ unsignedApprovalTransactions = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to construct the unsigned approval transactions", (0, $a7367d01c6e76b1c$export$f64a20a30eb98855)(actions));
32723
+ } catch (err) {
32724
+ const elapsedTimeInSeconds = (performance.now() - fulfillOrderStartTime) / 1000;
32725
+ ($458d407830d66110$export$e6a390ea6399b7d8)(config, "Time to call fulfillOrder from the orderbook", elapsedTimeInSeconds);
32726
+ if (err.message.includes((OrderStatusName).EXPIRED)) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("Order is expired", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).ORDER_EXPIRED_ERROR, {
32727
+ orderId: id
32728
+ });
32729
+ // The balances error will be handled by bulk order fulfillment but for now we
32730
+ // need to assert on this string to check that the error is not a balances error
32731
+ if (!err.message.includes("The fulfiller does not have the balances needed to fulfill")) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("Error occurred while trying to fulfill the order", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).FULFILL_ORDER_LISTING_ERROR, {
32732
+ orderId: id,
32733
+ message: err.message
32734
+ });
32694
32735
  }
32695
32736
  try {
32696
- unsignedFulfillmentTransactions = await (0, $a7367d01c6e76b1c$export$396bd6ce7d3ab533)(orderActions);
32737
+ unsignedFulfillmentTransactions = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to construct the unsigned fulfillment transactions", (0, $a7367d01c6e76b1c$export$396bd6ce7d3ab533)(orderActions));
32697
32738
  } catch {
32698
32739
  // if cannot estimate gas then silently continue and use gas limit in smartCheckout
32699
32740
  // but get the fulfillment transactions after they have approved the spending
@@ -32725,7 +32766,7 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
32725
32766
  const itemRequirements = [
32726
32767
  $64863c39386de592$export$4249179755829904(type, contractAddress, amount, spenderAddress)
32727
32768
  ];
32728
- const smartCheckoutResult = await ($0e7419077c373b24$export$9e073f9ada8c81e6)(config, provider, itemRequirements, $64863c39386de592$export$8f2ff92ab8657f0b(gasLimit, unsignedFulfillmentTransactions));
32769
+ const smartCheckoutResult = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Total time running smart checkout", ($0e7419077c373b24$export$9e073f9ada8c81e6)(config, provider, itemRequirements, $64863c39386de592$export$8f2ff92ab8657f0b(gasLimit, unsignedFulfillmentTransactions)));
32729
32770
  if (smartCheckoutResult.sufficient) {
32730
32771
  const approvalResult = await ($25ac589234c10b67$export$19693ca396db083e)(provider, unsignedApprovalTransactions);
32731
32772
  if (approvalResult.type === ($d855a5ba32004345$export$f51b97f3aaf2d5a8).FAILED) return {
@@ -32767,15 +32808,16 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
32767
32808
 
32768
32809
 
32769
32810
 
32811
+
32770
32812
  const $9c3db1bb9c8b69d3$export$70b61ad426ddbe54 = async (config, provider, orderIds)=>{
32771
32813
  let unsignedCancelOrderTransaction;
32772
32814
  if (orderIds.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orderIds were provided to the orderIds array. Please provide at least one orderId.", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).CANCEL_ORDER_LISTING_ERROR);
32773
32815
  // Update this when bulk cancel is supported
32774
32816
  const orderId = orderIds[0];
32775
32817
  try {
32776
- const offererAddress = await provider.getSigner().getAddress();
32777
- const orderbook = await $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
32778
- const cancelOrderResponse = await orderbook.cancelOrder(orderId, offererAddress);
32818
+ const offererAddress = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get the address from the provider", provider.getSigner().getAddress());
32819
+ const orderbook = $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
32820
+ const cancelOrderResponse = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get the cancel order from the orderbook", orderbook.cancelOrder(orderId, offererAddress));
32779
32821
  unsignedCancelOrderTransaction = cancelOrderResponse.unsignedCancelOrderTransaction;
32780
32822
  } catch (err) {
32781
32823
  throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("An error occurred while cancelling the order listing", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).CANCEL_ORDER_LISTING_ERROR, {
@@ -32808,6 +32850,7 @@ const $9c3db1bb9c8b69d3$export$70b61ad426ddbe54 = async (config, provider, order
32808
32850
 
32809
32851
 
32810
32852
 
32853
+
32811
32854
  const $9085b221b72ac69e$export$af768ccdf17d5c04 = (id, contractAddress, spenderAddress)=>({
32812
32855
  type: ($4b58188d47aafe8d$export$1fc8f52ad1810e52).ERC721,
32813
32856
  id: id,
@@ -32836,15 +32879,15 @@ const $9085b221b72ac69e$export$e761f9e0703de895 = async (config, provider, order
32836
32879
  if (buyToken.type === ($4b58188d47aafe8d$export$1fc8f52ad1810e52).ERC20) {
32837
32880
  // get this from the allowed list
32838
32881
  const buyTokenContract = new (Contract$1)(buyToken.contractAddress, JSON.stringify(($d85ad1457a3f1a83$export$db5daa1b5156ccfe)), provider);
32839
- decimals = await buyTokenContract.decimals();
32882
+ decimals = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get decimals of token contract for the buy token", buyTokenContract.decimals());
32840
32883
  }
32841
32884
  const buyTokenOrNative = $9085b221b72ac69e$export$586d02673c66d423(buyToken, decimals);
32842
32885
  try {
32843
- const walletAddress = await provider.getSigner().getAddress();
32844
- orderbook = await $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
32886
+ const walletAddress = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to get the address from the provider", provider.getSigner().getAddress());
32887
+ orderbook = $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
32845
32888
  const { seaportContractAddress: seaportContractAddress } = orderbook.config();
32846
32889
  spenderAddress = seaportContractAddress;
32847
- listing = await orderbook.prepareListing({
32890
+ listing = await (0, $458d407830d66110$export$5280dbcb91c8b391)(config, "Time to prepare the listing from the orderbook", orderbook.prepareListing({
32848
32891
  makerAddress: walletAddress,
32849
32892
  buy: buyTokenOrNative,
32850
32893
  sell: {
@@ -32852,7 +32895,7 @@ const $9085b221b72ac69e$export$e761f9e0703de895 = async (config, provider, order
32852
32895
  contractAddress: sellToken.collectionAddress,
32853
32896
  tokenId: sellToken.id
32854
32897
  }
32855
- });
32898
+ }));
32856
32899
  } catch (err) {
32857
32900
  throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("An error occurred while preparing the listing", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).PREPARE_ORDER_LISTING_ERROR, {
32858
32901
  message: err.message,
@@ -32863,13 +32906,13 @@ const $9085b221b72ac69e$export$e761f9e0703de895 = async (config, provider, order
32863
32906
  const itemRequirements = [
32864
32907
  $9085b221b72ac69e$export$af768ccdf17d5c04(sellToken.id, sellToken.collectionAddress, spenderAddress)
32865
32908
  ];
32866
- const smartCheckoutResult = await ($0e7419077c373b24$export$9e073f9ada8c81e6)(config, provider, itemRequirements, {
32909
+ const smartCheckoutResult = await ($458d407830d66110$export$5280dbcb91c8b391)(config, "Total time running smart checkout", ($0e7419077c373b24$export$9e073f9ada8c81e6)(config, provider, itemRequirements, {
32867
32910
  type: ($4b58188d47aafe8d$export$65c64e46348ee3c1).GAS,
32868
32911
  gasToken: {
32869
32912
  type: ($4b58188d47aafe8d$export$537fa3efd10ed435).NATIVE,
32870
32913
  limit: (BigNumber$1).from((constants).estimatedFulfillmentGasGwei)
32871
32914
  }
32872
- });
32915
+ }));
32873
32916
  if (smartCheckoutResult.sufficient) {
32874
32917
  const unsignedTransactions = await ($a7367d01c6e76b1c$export$c5b3365853cb6159)(listing.actions);
32875
32918
  const approvalResult = await ($25ac589234c10b67$export$19693ca396db083e)(provider, unsignedTransactions.approvalTransactions);
@@ -33273,7 +33316,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
33273
33316
  })($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
33274
33317
 
33275
33318
 
33276
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.11";
33319
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.13";
33277
33320
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
33278
33321
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
33279
33322