@imtbl/sdk 1.48.3-alpha.1 → 1.48.4-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{blockchain_data-CfLQQ_rO.js → blockchain_data-6Ynkevyr.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddFundsWidget-DF1snglZ.js → AddFundsWidget-Co_ju-ke.js} +2 -2
- package/dist/browser/checkout/{BridgeWidget--uvRqU4Q.js → BridgeWidget-DJBbVq0i.js} +5 -5
- package/dist/browser/checkout/{CheckoutWidget-CuGQU7MD.js → CheckoutWidget-DbHiULy1.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-BsAHXtjk.js → OnRampWidget-DzXTolCG.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-CHFoA1iJ.js → SaleWidget-D-AlpzeP.js} +14 -17
- package/dist/browser/checkout/{SpendingCapHero-DtoX1qos.js → SpendingCapHero-DFOYfIWo.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CprLTmia.js → SwapWidget-BrWzP83L.js} +6 -6
- package/dist/browser/checkout/{TextInputForm-CYgOQfOS.js → TextInputForm-APCsUHD4.js} +1 -1
- package/dist/browser/checkout/{TopUpView-CxUtkKKN.js → TopUpView-BrWJlMcJ.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-CxELY3DS.js → WalletWidget-CbnY1QWY.js} +3 -3
- package/dist/browser/checkout/{auto-track-CYubxqOY.js → auto-track-Ck6TGRRb.js} +1 -1
- package/dist/browser/checkout/{balance-DWjtGJsE.js → balance-C6ghC9kD.js} +2 -2
- package/dist/browser/checkout/{index-CSF-V62h.js → index-BuLxhSrr.js} +1 -1
- package/dist/browser/checkout/{index-DQjLuCvQ.js → index-BzSg_aJy.js} +1 -1
- package/dist/browser/checkout/{index-BjcMbivC.js → index-Cmnc6N4J.js} +1 -1
- package/dist/browser/checkout/{index-YdS1jrk4.js → index-DL_l5Q5C.js} +22 -26
- package/dist/browser/checkout/{index-QZxX8UV0.js → index-DW7H58bj.js} +1 -1
- package/dist/browser/checkout/{index-BkYvEG6U.js → index-Dd4yZoTI.js} +2 -2
- package/dist/browser/checkout/{index-g-O2V1WM.js → index-ROI-iNgW.js} +1 -1
- package/dist/browser/checkout/{index-D2_276zH.js → index-e9-pAQBe.js} +1 -1
- package/dist/browser/checkout/{index.umd-LO0AsH7p.js → index.umd-BYwG1L7K.js} +1 -1
- package/dist/browser/checkout/{retry-BOgRInC0.js → retry-KKUeT-Ok.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 +9 -16
- package/dist/{checkout-B-ihF8xS.js → checkout-Da-nacjC.js} +5 -5
- package/dist/checkout.d.ts +7 -6
- package/dist/checkout.js +5 -5
- package/dist/{config-DdYpZmXw.js → config-B9H7kkDM.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-BK7R-L6u.js → index-BFfuatMQ.js} +1 -1
- package/dist/{index-DDz5tTg6.js → index-BL9Bx3-6.js} +1 -1
- package/dist/{index-BArSkOqp.js → index-CO7tTxw4.js} +1 -1
- package/dist/{index-D_tGyE9g.js → index-DBkeJx1l.js} +1 -1
- package/dist/{index-DlykLb5R.js → index-DRlA6s-e.js} +3 -3
- package/dist/{index-paoxakIE.js → index-O-hvC7lt.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.d.ts +7 -6
- package/dist/index.js +14 -14
- package/dist/{minting_backend-Cnt3HFGu.js → minting_backend-DSF1zse-.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-BQxHZPVm.js → orderbook-BRh-4UOX.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DToQWRYR.js → passport-CRFdW3Na.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BtkmZ8fi.js → webhook--ObSxRIQ.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-BIAg8mDh.js → x-GFa9_HmA.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-DL_l5Q5C.js';
|
|
@@ -176335,9 +176335,8 @@
|
|
|
176335
176335
|
fee: "Swap fee ~ {{symbol}} {{amount}}"
|
|
176336
176336
|
},
|
|
176337
176337
|
orderReview: {
|
|
176338
|
-
heading: "
|
|
176338
|
+
heading: "Payment summary",
|
|
176339
176339
|
"continue": "Proceed",
|
|
176340
|
-
continueFreeMint: "Proceed for free",
|
|
176341
176340
|
payWith: {
|
|
176342
176341
|
SWAP: "Swap & Pay with {{symbol}}",
|
|
176343
176342
|
SUFFICIENT: "Pay with {{symbol}}"
|
|
@@ -177148,9 +177147,8 @@
|
|
|
177148
177147
|
fee: "交換手数料 ~ {{symbol}} {{amount}}"
|
|
177149
177148
|
},
|
|
177150
177149
|
orderReview: {
|
|
177151
|
-
heading: "
|
|
177150
|
+
heading: "支払いの概要",
|
|
177152
177151
|
"continue": "続行",
|
|
177153
|
-
continueFreeMint: "無料で続行",
|
|
177154
177152
|
payWith: {
|
|
177155
177153
|
SWAP: "{{symbol}}でスワップ&支払い",
|
|
177156
177154
|
SUFFICIENT: "{{symbol}}で支払う"
|
|
@@ -177918,9 +177916,8 @@
|
|
|
177918
177916
|
fee: "교환 수수료 ~ {{symbol}} {{amount}}"
|
|
177919
177917
|
},
|
|
177920
177918
|
orderReview: {
|
|
177921
|
-
heading: "
|
|
177919
|
+
heading: "결제 요약",
|
|
177922
177920
|
"continue": "계속",
|
|
177923
|
-
continueFreeMint: "무료로 진행하세요",
|
|
177924
177921
|
payWith: {
|
|
177925
177922
|
SWAP: "{{symbol}}로 스왑 및 결제하기",
|
|
177926
177923
|
SUFFICIENT: "{{symbol}}로 결제"
|
|
@@ -178688,9 +178685,8 @@
|
|
|
178688
178685
|
fee: "交换费用 ~ {{symbol}} {{amount}}"
|
|
178689
178686
|
},
|
|
178690
178687
|
orderReview: {
|
|
178691
|
-
heading: "
|
|
178688
|
+
heading: "付款摘要",
|
|
178692
178689
|
"continue": "继续",
|
|
178693
|
-
continueFreeMint: "免费继续",
|
|
178694
178690
|
payWith: {
|
|
178695
178691
|
SWAP: "使用{{symbol}}进行交换和支付",
|
|
178696
178692
|
SUFFICIENT: "使用{{symbol}}支付"
|
|
@@ -211151,25 +211147,23 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211151
211147
|
return null;
|
|
211152
211148
|
}
|
|
211153
211149
|
|
|
211154
|
-
function SelectCoinDropdown({ balance, conversions,
|
|
211150
|
+
function SelectCoinDropdown({ balance, conversions, canOpen, onClick, onProceed, loading, priceDisplay, }) {
|
|
211155
211151
|
const { t } = useTranslation();
|
|
211156
211152
|
const { environment, config: { theme }, } = useSaleContext();
|
|
211157
211153
|
const { token, userBalance, fundsRequired } = balance.fundingItem;
|
|
211158
211154
|
const fiatAmount = calculateCryptoToFiat(fundsRequired.formattedAmount, token.symbol, conversions, '');
|
|
211159
211155
|
const balanceFiatAmount = calculateCryptoToFiat(userBalance.formattedBalance, token.symbol, conversions, '');
|
|
211160
|
-
const displayDropdown = !isFreeMint;
|
|
211161
211156
|
return (jsxs(Stack, { sx: {
|
|
211162
211157
|
w: '100%',
|
|
211163
211158
|
bradtl: 'base.borderRadius.x6',
|
|
211164
211159
|
bradtr: 'base.borderRadius.x6',
|
|
211165
211160
|
px: 'base.spacing.x4',
|
|
211166
|
-
pt: (displayDropdown ? '0' : 'base.spacing.x6'),
|
|
211167
211161
|
pb: 'base.spacing.x6',
|
|
211168
211162
|
bg: 'base.color.neutral.800',
|
|
211169
211163
|
border: '0px solid transparent',
|
|
211170
211164
|
borderTopWidth: 'base.border.size.100',
|
|
211171
211165
|
borderTopColor: 'base.color.translucent.emphasis.400',
|
|
211172
|
-
}, children: [
|
|
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}`, {
|
|
211173
211167
|
symbol: token.symbol,
|
|
211174
211168
|
}) }), jsx$1(MenuItem.Caption, { children: `${t('views.ORDER_SUMMARY.orderReview.balance', {
|
|
211175
211169
|
amount: prettyFormatNumber(tokenValueFormat(userBalance.formattedBalance)),
|
|
@@ -211179,7 +211173,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211179
211173
|
})
|
|
211180
211174
|
: ''}` }), priceDisplay && (jsx$1(MenuItem.PriceDisplay, { fiatAmount: fiatAmount
|
|
211181
211175
|
? t('views.ORDER_SUMMARY.currency.fiat', { amount: fiatAmount })
|
|
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" })] })
|
|
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') })] }));
|
|
211183
211177
|
}
|
|
211184
211178
|
|
|
211185
211179
|
const getTotalFeesBySymbol = (fees, tokenInfo) => fees
|
|
@@ -211365,7 +211359,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211365
211359
|
function OrderReview({ fundingBalances, conversions, collectionName, loadingBalances, transactionRequirement, onBackButtonClick, onPayWithCard, onProceedToBuy, }) {
|
|
211366
211360
|
const { eventTargetState: { eventTarget }, } = reactExports.useContext(EventTargetContext);
|
|
211367
211361
|
const { t } = useTranslation();
|
|
211368
|
-
const { provider, items, orderQuote, disabledPaymentTypes,
|
|
211362
|
+
const { provider, items, orderQuote, disabledPaymentTypes, config: { theme, environment }, } = useSaleContext();
|
|
211369
211363
|
const { sendSelectedPaymentToken, sendViewFeesEvent, sendPageView } = useSaleEvent();
|
|
211370
211364
|
const [showCoinsDrawer, setShowCoinsDrawer] = reactExports.useState(false);
|
|
211371
211365
|
const [selectedCurrencyIndex, setSelectedCurrencyIndex] = reactExports.useState(0);
|
|
@@ -211375,7 +211369,6 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211375
211369
|
fiatAmount: '',
|
|
211376
211370
|
formattedFees: [],
|
|
211377
211371
|
});
|
|
211378
|
-
const isFreeMint = selectedCurrency?.name ? orderQuote.totalAmount[selectedCurrency.name].amount === 0 : false;
|
|
211379
211372
|
const openDrawer = () => {
|
|
211380
211373
|
setShowCoinsDrawer(true);
|
|
211381
211374
|
};
|
|
@@ -211454,7 +211447,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
211454
211447
|
border: '0px solid transparent',
|
|
211455
211448
|
borderTopWidth: 'base.border.size.100',
|
|
211456
211449
|
borderTopColor: 'base.color.translucent.emphasis.400',
|
|
211457
|
-
}, onFeesClick: () => sendViewFeesEvent(SaleWidgetViews.ORDER_SUMMARY) })), jsx$1(SelectCoinDropdown, { onClick: openDrawer, onProceed: onProceedToBuy, balance: fundingBalance, conversions: conversions,
|
|
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 })] }));
|
|
211458
211451
|
}
|
|
211459
211452
|
|
|
211460
211453
|
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-BFfuatMQ.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-BL9Bx3-6.js';
|
|
13
|
+
import { B as BlockchainData } from './index-DRlA6s-e.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.
|
|
19209
|
+
const SDK_VERSION = '1.48.4-alpha';
|
|
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.
|
|
24603
|
+
const SDK_VERSION_MARKER = '1.48.4-alpha';
|
|
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.d.ts
CHANGED
|
@@ -17280,16 +17280,17 @@ declare enum PostMessageHandlerEventType {
|
|
|
17280
17280
|
EIP_6963_EVENT = "IMTBL_EIP_6963_EVENT",
|
|
17281
17281
|
WIDGET_EVENT = "IMTBL_CHECKOUT_WIDGET_EVENT"
|
|
17282
17282
|
}
|
|
17283
|
+
type WidgetEventDetail<T extends WidgetType> = {
|
|
17284
|
+
[K in keyof WidgetEventData[T]]: {
|
|
17285
|
+
type: K;
|
|
17286
|
+
data: WidgetEventData[T][K];
|
|
17287
|
+
};
|
|
17288
|
+
}[keyof WidgetEventData[T]];
|
|
17283
17289
|
type PostMessageProviderRelayData = any;
|
|
17284
17290
|
type PostMessageEIP6963Data = any;
|
|
17285
17291
|
type PostMessageWidgetEventData<T extends WidgetType = WidgetType.CHECKOUT> = {
|
|
17286
17292
|
type: IMTBLWidgetEvents.IMTBL_CHECKOUT_WIDGET_EVENT;
|
|
17287
|
-
detail:
|
|
17288
|
-
[K in keyof WidgetEventData[T]]: {
|
|
17289
|
-
type: K;
|
|
17290
|
-
data: WidgetEventData[T][K];
|
|
17291
|
-
};
|
|
17292
|
-
}[keyof WidgetEventData[T]];
|
|
17293
|
+
detail: WidgetEventDetail<T>;
|
|
17293
17294
|
};
|
|
17294
17295
|
type PostMessageData = {
|
|
17295
17296
|
type: PostMessageHandlerEventType.SYN;
|
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-Da-nacjC.js';
|
|
2
|
+
import './index-BFfuatMQ.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-BL9Bx3-6.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-DRlA6s-e.js';
|
|
20
|
+
import './index-DBkeJx1l.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-BFfuatMQ.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-BFfuatMQ.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.
|
|
161
|
+
const SDK_VERSION = '1.48.4-alpha';
|
|
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-BFfuatMQ.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.
|
|
13841
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.48.4-alpha' };
|
|
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-DBkeJx1l.js';
|
|
2
|
+
import { E as Environment, a as addKeysToHeadersOverride } from './index-BFfuatMQ.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.
|
|
24
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.48.4-alpha',
|
|
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-DBkeJx1l.js';
|
|
2
|
+
import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-BFfuatMQ.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.
|
|
19
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.48.4-alpha' };
|
|
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.
|
|
60
|
+
sdkVersion: 'ts-immutable-sdk-1.48.4-alpha',
|
|
61
61
|
baseConfig,
|
|
62
62
|
});
|
|
63
63
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|