@imtbl/sdk 1.48.3-alpha → 1.48.3-alpha.1
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/{blockchain_data-CrEFPCEu.js → blockchain_data-CfLQQ_rO.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddFundsWidget-Co_ju-ke.js → AddFundsWidget-DF1snglZ.js} +2 -2
- package/dist/browser/checkout/{BridgeWidget-DJBbVq0i.js → BridgeWidget--uvRqU4Q.js} +5 -5
- package/dist/browser/checkout/{CheckoutWidget-DbHiULy1.js → CheckoutWidget-CuGQU7MD.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-DzXTolCG.js → OnRampWidget-BsAHXtjk.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-D-AlpzeP.js → SaleWidget-CHFoA1iJ.js} +17 -14
- package/dist/browser/checkout/{SpendingCapHero-DFOYfIWo.js → SpendingCapHero-DtoX1qos.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-BrWzP83L.js → SwapWidget-CprLTmia.js} +6 -6
- package/dist/browser/checkout/{TextInputForm-APCsUHD4.js → TextInputForm-CYgOQfOS.js} +1 -1
- package/dist/browser/checkout/{TopUpView-BrWJlMcJ.js → TopUpView-CxUtkKKN.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-CbnY1QWY.js → WalletWidget-CxELY3DS.js} +3 -3
- package/dist/browser/checkout/{auto-track-Ck6TGRRb.js → auto-track-CYubxqOY.js} +1 -1
- package/dist/browser/checkout/{balance-C6ghC9kD.js → balance-DWjtGJsE.js} +2 -2
- package/dist/browser/checkout/{index-Cmnc6N4J.js → index-BjcMbivC.js} +1 -1
- package/dist/browser/checkout/{index-Dd4yZoTI.js → index-BkYvEG6U.js} +2 -2
- package/dist/browser/checkout/{index-BuLxhSrr.js → index-CSF-V62h.js} +1 -1
- package/dist/browser/checkout/{index-e9-pAQBe.js → index-D2_276zH.js} +1 -1
- package/dist/browser/checkout/{index-BzSg_aJy.js → index-DQjLuCvQ.js} +1 -1
- package/dist/browser/checkout/{index-DW7H58bj.js → index-QZxX8UV0.js} +1 -1
- package/dist/browser/checkout/{index-DL_l5Q5C.js → index-YdS1jrk4.js} +26 -22
- package/dist/browser/checkout/{index-ROI-iNgW.js → index-g-O2V1WM.js} +1 -1
- package/dist/browser/checkout/{index.umd-BYwG1L7K.js → index.umd-LO0AsH7p.js} +1 -1
- package/dist/browser/checkout/{retry-KKUeT-Ok.js → retry-BOgRInC0.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +16 -9
- package/dist/{checkout-DWrcOSsc.js → checkout-B-ihF8xS.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-CPbQ3gyk.js → config-DdYpZmXw.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-BB3S673q.js → index-BArSkOqp.js} +1 -1
- package/dist/{index-DxYwmKa7.js → index-BK7R-L6u.js} +1 -1
- package/dist/{index-gHH2R9NY.js → index-DDz5tTg6.js} +1 -1
- package/dist/{index-TnVl34o-.js → index-D_tGyE9g.js} +1 -1
- package/dist/{index-ByY1QCNG.js → index-DlykLb5R.js} +3 -3
- package/dist/{index-BohycIJl.js → index-paoxakIE.js} +4 -4
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-C8jRsO6Z.js → minting_backend-Cnt3HFGu.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-vB18lNdU.js → orderbook-BQxHZPVm.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-bn2ttBkP.js → passport-DToQWRYR.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BcGhkbgW.js → webhook-BtkmZ8fi.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-B936Pxru.js → x-BIAg8mDh.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { dj as WidgetsFactory } from './index-
|
|
1
|
+
export { dj as WidgetsFactory } from './index-YdS1jrk4.js';
|
|
@@ -176335,8 +176335,9 @@
|
|
|
176335
176335
|
fee: "Swap fee ~ {{symbol}} {{amount}}"
|
|
176336
176336
|
},
|
|
176337
176337
|
orderReview: {
|
|
176338
|
-
heading: "
|
|
176338
|
+
heading: "Order summary",
|
|
176339
176339
|
"continue": "Proceed",
|
|
176340
|
+
continueFreeMint: "Proceed for free",
|
|
176340
176341
|
payWith: {
|
|
176341
176342
|
SWAP: "Swap & Pay with {{symbol}}",
|
|
176342
176343
|
SUFFICIENT: "Pay with {{symbol}}"
|
|
@@ -177147,8 +177148,9 @@
|
|
|
177147
177148
|
fee: "交換手数料 ~ {{symbol}} {{amount}}"
|
|
177148
177149
|
},
|
|
177149
177150
|
orderReview: {
|
|
177150
|
-
heading: "
|
|
177151
|
+
heading: "注文の概要",
|
|
177151
177152
|
"continue": "続行",
|
|
177153
|
+
continueFreeMint: "無料で続行",
|
|
177152
177154
|
payWith: {
|
|
177153
177155
|
SWAP: "{{symbol}}でスワップ&支払い",
|
|
177154
177156
|
SUFFICIENT: "{{symbol}}で支払う"
|
|
@@ -177916,8 +177918,9 @@
|
|
|
177916
177918
|
fee: "교환 수수료 ~ {{symbol}} {{amount}}"
|
|
177917
177919
|
},
|
|
177918
177920
|
orderReview: {
|
|
177919
|
-
heading: "
|
|
177921
|
+
heading: "주문 요약",
|
|
177920
177922
|
"continue": "계속",
|
|
177923
|
+
continueFreeMint: "무료로 진행하세요",
|
|
177921
177924
|
payWith: {
|
|
177922
177925
|
SWAP: "{{symbol}}로 스왑 및 결제하기",
|
|
177923
177926
|
SUFFICIENT: "{{symbol}}로 결제"
|
|
@@ -178685,8 +178688,9 @@
|
|
|
178685
178688
|
fee: "交换费用 ~ {{symbol}} {{amount}}"
|
|
178686
178689
|
},
|
|
178687
178690
|
orderReview: {
|
|
178688
|
-
heading: "
|
|
178691
|
+
heading: "订单摘要",
|
|
178689
178692
|
"continue": "继续",
|
|
178693
|
+
continueFreeMint: "免费继续",
|
|
178690
178694
|
payWith: {
|
|
178691
178695
|
SWAP: "使用{{symbol}}进行交换和支付",
|
|
178692
178696
|
SUFFICIENT: "使用{{symbol}}支付"
|
|
@@ -211147,23 +211151,25 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211147
211151
|
return null;
|
|
211148
211152
|
}
|
|
211149
211153
|
|
|
211150
|
-
function SelectCoinDropdown({ balance, conversions, canOpen, onClick, onProceed, loading, priceDisplay, }) {
|
|
211154
|
+
function SelectCoinDropdown({ balance, conversions, isFreeMint, canOpen, onClick, onProceed, loading, priceDisplay, }) {
|
|
211151
211155
|
const { t } = useTranslation();
|
|
211152
211156
|
const { environment, config: { theme }, } = useSaleContext();
|
|
211153
211157
|
const { token, userBalance, fundsRequired } = balance.fundingItem;
|
|
211154
211158
|
const fiatAmount = calculateCryptoToFiat(fundsRequired.formattedAmount, token.symbol, conversions, '');
|
|
211155
211159
|
const balanceFiatAmount = calculateCryptoToFiat(userBalance.formattedBalance, token.symbol, conversions, '');
|
|
211160
|
+
const displayDropdown = !isFreeMint;
|
|
211156
211161
|
return (jsxs(Stack, { sx: {
|
|
211157
211162
|
w: '100%',
|
|
211158
211163
|
bradtl: 'base.borderRadius.x6',
|
|
211159
211164
|
bradtr: 'base.borderRadius.x6',
|
|
211160
211165
|
px: 'base.spacing.x4',
|
|
211166
|
+
pt: (displayDropdown ? '0' : 'base.spacing.x6'),
|
|
211161
211167
|
pb: 'base.spacing.x6',
|
|
211162
211168
|
bg: 'base.color.neutral.800',
|
|
211163
211169
|
border: '0px solid transparent',
|
|
211164
211170
|
borderTopWidth: 'base.border.size.100',
|
|
211165
211171
|
borderTopColor: 'base.color.translucent.emphasis.400',
|
|
211166
|
-
}, children: [jsxs(MenuItem, { size: "medium", children: [jsx$1(MenuItem.FramedImage, { circularFrame: true, use: (jsx$1(TokenImage, { environment: environment, theme: theme, name: token.name, src: token.icon })) }), jsx$1(MenuItem.Label, { children: t(`views.ORDER_SUMMARY.orderReview.payWith.${balance.type}`, {
|
|
211172
|
+
}, children: [displayDropdown && (jsxs(MenuItem, { size: "medium", children: [jsx$1(MenuItem.FramedImage, { circularFrame: true, use: (jsx$1(TokenImage, { environment: environment, theme: theme, name: token.name, src: token.icon })) }), jsx$1(MenuItem.Label, { children: t(`views.ORDER_SUMMARY.orderReview.payWith.${balance.type}`, {
|
|
211167
211173
|
symbol: token.symbol,
|
|
211168
211174
|
}) }), jsx$1(MenuItem.Caption, { children: `${t('views.ORDER_SUMMARY.orderReview.balance', {
|
|
211169
211175
|
amount: prettyFormatNumber(tokenValueFormat(userBalance.formattedBalance)),
|
|
@@ -211173,7 +211179,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211173
211179
|
})
|
|
211174
211180
|
: ''}` }), priceDisplay && (jsx$1(MenuItem.PriceDisplay, { fiatAmount: fiatAmount
|
|
211175
211181
|
? t('views.ORDER_SUMMARY.currency.fiat', { amount: fiatAmount })
|
|
211176
|
-
: undefined, price: tokenValueFormat(fundsRequired.formattedAmount) })), canOpen && (jsx$1(MenuItem.StatefulButtCon, { icon: "ChevronExpand", onClick: onClick })), !canOpen && loading && jsx$1(ShimmerCircle, { radius: "base.icon.size.400" })] }), jsx$1(Button, { size: "large", onClick: () => onProceed(balance), children: t('views.ORDER_SUMMARY.orderReview.continue') })] }));
|
|
211182
|
+
: undefined, price: tokenValueFormat(fundsRequired.formattedAmount) })), canOpen && (jsx$1(MenuItem.StatefulButtCon, { icon: "ChevronExpand", onClick: onClick })), !canOpen && loading && jsx$1(ShimmerCircle, { radius: "base.icon.size.400" })] })), jsx$1(Button, { size: "large", onClick: () => onProceed(balance), children: isFreeMint ? (t('views.ORDER_SUMMARY.orderReview.continueFreeMint')) : (t('views.ORDER_SUMMARY.orderReview.continue')) })] }));
|
|
211177
211183
|
}
|
|
211178
211184
|
|
|
211179
211185
|
const getTotalFeesBySymbol = (fees, tokenInfo) => fees
|
|
@@ -211359,7 +211365,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211359
211365
|
function OrderReview({ fundingBalances, conversions, collectionName, loadingBalances, transactionRequirement, onBackButtonClick, onPayWithCard, onProceedToBuy, }) {
|
|
211360
211366
|
const { eventTargetState: { eventTarget }, } = reactExports.useContext(EventTargetContext);
|
|
211361
211367
|
const { t } = useTranslation();
|
|
211362
|
-
const { provider, items, orderQuote, disabledPaymentTypes, config: { theme, environment }, } = useSaleContext();
|
|
211368
|
+
const { provider, items, orderQuote, disabledPaymentTypes, selectedCurrency, config: { theme, environment }, } = useSaleContext();
|
|
211363
211369
|
const { sendSelectedPaymentToken, sendViewFeesEvent, sendPageView } = useSaleEvent();
|
|
211364
211370
|
const [showCoinsDrawer, setShowCoinsDrawer] = reactExports.useState(false);
|
|
211365
211371
|
const [selectedCurrencyIndex, setSelectedCurrencyIndex] = reactExports.useState(0);
|
|
@@ -211369,6 +211375,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211369
211375
|
fiatAmount: '',
|
|
211370
211376
|
formattedFees: [],
|
|
211371
211377
|
});
|
|
211378
|
+
const isFreeMint = selectedCurrency?.name ? orderQuote.totalAmount[selectedCurrency.name].amount === 0 : false;
|
|
211372
211379
|
const openDrawer = () => {
|
|
211373
211380
|
setShowCoinsDrawer(true);
|
|
211374
211381
|
};
|
|
@@ -211447,7 +211454,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211447
211454
|
border: '0px solid transparent',
|
|
211448
211455
|
borderTopWidth: 'base.border.size.100',
|
|
211449
211456
|
borderTopColor: 'base.color.translucent.emphasis.400',
|
|
211450
|
-
}, onFeesClick: () => sendViewFeesEvent(SaleWidgetViews.ORDER_SUMMARY) })), jsx$1(SelectCoinDropdown, { onClick: openDrawer, onProceed: onProceedToBuy, balance: fundingBalance, conversions: conversions, canOpen: fundingBalances.length > 1, loading: loadingBalances, priceDisplay: items.length > 1 }), jsx$1(CoinsDrawer, { conversions: conversions, balances: fundingBalances, onSelect: onSelect, onClose: closeDrawer, selectedIndex: selectedCurrencyIndex, visible: showCoinsDrawer, loading: loadingBalances, onPayWithCard: onPayWithCard, transactionRequirement: transactionRequirement, disabledPaymentTypes: disabledPaymentTypes, theme: theme, environment: environment })] }));
|
|
211457
|
+
}, onFeesClick: () => sendViewFeesEvent(SaleWidgetViews.ORDER_SUMMARY) })), jsx$1(SelectCoinDropdown, { onClick: openDrawer, onProceed: onProceedToBuy, balance: fundingBalance, conversions: conversions, isFreeMint: isFreeMint, canOpen: fundingBalances.length > 1, loading: loadingBalances, priceDisplay: items.length > 1 }), jsx$1(CoinsDrawer, { conversions: conversions, balances: fundingBalances, onSelect: onSelect, onClose: closeDrawer, selectedIndex: selectedCurrencyIndex, visible: showCoinsDrawer, loading: loadingBalances, onPayWithCard: onPayWithCard, transactionRequirement: transactionRequirement, disabledPaymentTypes: disabledPaymentTypes, theme: theme, environment: environment })] }));
|
|
211451
211458
|
}
|
|
211452
211459
|
|
|
211453
211460
|
const MAX_GAS_LIMIT = '30000000';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-
|
|
1
|
+
import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-BK7R-L6u.js';
|
|
2
2
|
import { ethers, BigNumber as BigNumber$1, ContractFactory, utils as utils$2, Contract as Contract$1 } from 'ethers';
|
|
3
3
|
import globalAxios, { HttpStatusCode as HttpStatusCode$1 } from 'axios';
|
|
4
4
|
import { Web3Provider, JsonRpcProvider } from '@ethersproject/providers';
|
|
@@ -9,8 +9,8 @@ import assert from 'assert';
|
|
|
9
9
|
import { FeeAmount, Route, SwapQuoter, Pool, Trade, toHex as toHex$1, encodeRouteToPath } from '@uniswap/v3-sdk';
|
|
10
10
|
import { keccak256 as keccak256$1 } from '@ethersproject/solidity';
|
|
11
11
|
import { SwapRouter, PaymentsExtended } from '@uniswap/router-sdk';
|
|
12
|
-
import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-
|
|
13
|
-
import { B as BlockchainData } from './index-
|
|
12
|
+
import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-DDz5tTg6.js';
|
|
13
|
+
import { B as BlockchainData } from './index-DlykLb5R.js';
|
|
14
14
|
|
|
15
15
|
function bind(fn, thisArg) {
|
|
16
16
|
return function wrap() {
|
|
@@ -19206,7 +19206,7 @@ const flattenProperties = (properties) => {
|
|
|
19206
19206
|
};
|
|
19207
19207
|
|
|
19208
19208
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
19209
|
-
const SDK_VERSION = '1.48.3-alpha';
|
|
19209
|
+
const SDK_VERSION = '1.48.3-alpha.1';
|
|
19210
19210
|
const getFrameParentDomain = () => {
|
|
19211
19211
|
if (isNode()) {
|
|
19212
19212
|
return '';
|
|
@@ -24600,7 +24600,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
24600
24600
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
24601
24601
|
};
|
|
24602
24602
|
|
|
24603
|
-
const SDK_VERSION_MARKER = '1.48.3-alpha';
|
|
24603
|
+
const SDK_VERSION_MARKER = '1.48.3-alpha.1';
|
|
24604
24604
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
24605
24605
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
24606
24606
|
|
package/dist/checkout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as AddFundsEventType, B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutErrorType, h as CheckoutEventType, i as CheckoutFailureEventType, j as CheckoutFlowType, k as CheckoutStatus, l as CheckoutSuccessEventType, m as CheckoutUserActionEventType, n as ConnectEventType, o as ConnectTargetLayer, E as ExchangeType, F as FeeType, p as FundingStepType, G as GasEstimateType, q as GasTokenType, I as IMMUTABLE_API_BASE_URL, r as IMTBLWidgetEvents, s as ItemType, N as NetworkFilterTypes, O as OnRampEventType, t as OrchestrationEventType, P as PostMessageHandler, u as PostMessageHandlerEventType, v as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, w as SalePaymentTypes, x as SwapDirection, y as SwapEventType, T as TokenFilterTypes, z as TransactionOrGasType, W as WalletEventType, D as WalletFilterTypes, H as WalletProviderName, J as WalletProviderRdns, K as WidgetTheme, L as WidgetType, M as getMetaMaskProviderDetail, Q as getPassportProviderDetail, U as isAddressSanctioned, V as validateProvider } from './checkout-
|
|
2
|
-
import './index-
|
|
1
|
+
export { A as AddFundsEventType, B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutErrorType, h as CheckoutEventType, i as CheckoutFailureEventType, j as CheckoutFlowType, k as CheckoutStatus, l as CheckoutSuccessEventType, m as CheckoutUserActionEventType, n as ConnectEventType, o as ConnectTargetLayer, E as ExchangeType, F as FeeType, p as FundingStepType, G as GasEstimateType, q as GasTokenType, I as IMMUTABLE_API_BASE_URL, r as IMTBLWidgetEvents, s as ItemType, N as NetworkFilterTypes, O as OnRampEventType, t as OrchestrationEventType, P as PostMessageHandler, u as PostMessageHandlerEventType, v as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, w as SalePaymentTypes, x as SwapDirection, y as SwapEventType, T as TokenFilterTypes, z as TransactionOrGasType, W as WalletEventType, D as WalletFilterTypes, H as WalletProviderName, J as WalletProviderRdns, K as WidgetTheme, L as WidgetType, M as getMetaMaskProviderDetail, Q as getPassportProviderDetail, U as isAddressSanctioned, V as validateProvider } from './checkout-B-ihF8xS.js';
|
|
2
|
+
import './index-BK7R-L6u.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'lru-memorise';
|
|
5
5
|
import 'global-const';
|
|
@@ -11,10 +11,10 @@ import 'assert';
|
|
|
11
11
|
import '@uniswap/v3-sdk';
|
|
12
12
|
import '@ethersproject/solidity';
|
|
13
13
|
import '@uniswap/router-sdk';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-DDz5tTg6.js';
|
|
15
15
|
import 'form-data';
|
|
16
16
|
import 'ethers-v6';
|
|
17
17
|
import 'merkletreejs';
|
|
18
18
|
import '@opensea/seaport-js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
19
|
+
import './index-DlykLb5R.js';
|
|
20
|
+
import './index-D_tGyE9g.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-
|
|
1
|
+
import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-BK7R-L6u.js';
|
|
2
2
|
|
|
3
3
|
var config = /*#__PURE__*/Object.freeze({
|
|
4
4
|
__proto__: null,
|
package/dist/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-
|
|
1
|
+
export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-BK7R-L6u.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'lru-memorise';
|
|
4
4
|
import 'global-const';
|
|
@@ -158,7 +158,7 @@ const flattenProperties = (properties) => {
|
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
161
|
-
const SDK_VERSION = '1.48.3-alpha';
|
|
161
|
+
const SDK_VERSION = '1.48.3-alpha.1';
|
|
162
162
|
const getFrameParentDomain = () => {
|
|
163
163
|
if (isNode()) {
|
|
164
164
|
return '';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as track, E as Environment } from './index-
|
|
1
|
+
import { t as track, E as Environment } from './index-BK7R-L6u.js';
|
|
2
2
|
import globalAxios from 'axios';
|
|
3
3
|
import FormData from 'form-data';
|
|
4
4
|
import { providers, BigNumber, constants as constants$1 } from 'ethers';
|
|
@@ -13838,7 +13838,7 @@ class MultiRollupApiClients {
|
|
|
13838
13838
|
}
|
|
13839
13839
|
|
|
13840
13840
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13841
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.48.3-alpha' };
|
|
13841
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.48.3-alpha.1' };
|
|
13842
13842
|
const createConfig = ({ basePath, headers, }) => {
|
|
13843
13843
|
if (!basePath.trim()) {
|
|
13844
13844
|
throw Error('basePath can not be empty');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as index$1 } from './index-
|
|
2
|
-
import { E as Environment, a as addKeysToHeadersOverride } from './index-
|
|
1
|
+
import { a as index$1 } from './index-D_tGyE9g.js';
|
|
2
|
+
import { E as Environment, a as addKeysToHeadersOverride } from './index-BK7R-L6u.js';
|
|
3
3
|
import globalAxios from 'axios';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -21,7 +21,7 @@ class APIError extends Error {
|
|
|
21
21
|
|
|
22
22
|
/* eslint-disable implicit-arrow-linebreak */
|
|
23
23
|
const defaultHeaders = {
|
|
24
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.48.3-alpha',
|
|
24
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.48.3-alpha.1',
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as index$2, I as ImxApiClients } from './index-
|
|
2
|
-
import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-
|
|
1
|
+
import { b as index$2, I as ImxApiClients } from './index-D_tGyE9g.js';
|
|
2
|
+
import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-BK7R-L6u.js';
|
|
3
3
|
import globalAxios from 'axios';
|
|
4
4
|
import { keccak256 } from '@ethersproject/keccak256';
|
|
5
5
|
import { toUtf8Bytes } from '@ethersproject/strings';
|
|
@@ -16,7 +16,7 @@ import '@ethersproject/abstract-signer';
|
|
|
16
16
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
17
17
|
class ApiConfiguration extends index$2.Configuration {
|
|
18
18
|
}
|
|
19
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.48.3-alpha' };
|
|
19
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.48.3-alpha.1' };
|
|
20
20
|
/**
|
|
21
21
|
* @dev use createImmutableXConfiguration instead
|
|
22
22
|
*/
|
|
@@ -57,7 +57,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
57
57
|
coreContractAddress,
|
|
58
58
|
registrationContractAddress,
|
|
59
59
|
registrationV4ContractAddress,
|
|
60
|
-
sdkVersion: 'ts-immutable-sdk-1.48.3-alpha',
|
|
60
|
+
sdkVersion: 'ts-immutable-sdk-1.48.3-alpha.1',
|
|
61
61
|
baseConfig,
|
|
62
62
|
});
|
|
63
63
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|