@imtbl/sdk 1.65.0 → 1.66.0
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-Dp0DKwKY.js → blockchain_data-BNI_RClx.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-CzLj_kbJ.js → AddTokensWidget-B4Ir7dvN.js} +39 -6
- package/dist/browser/checkout/{BridgeWidget-BD2arVjv.js → BridgeWidget-H083MzVz.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-B0rI7mqO.js → CommerceWidget--lkMi5aZ.js} +46 -17
- package/dist/browser/checkout/{CryptoFiatProvider-GIG1QRoo.js → CryptoFiatProvider-CiE5eWiz.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-DbCAqh7Y.js → EllipsizedText-BYNkXO37.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-DJsus8QD.js → FeesBreakdown-Bh4uazkv.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-BgWR4m27.js → HandoverContent-D1zo76oD.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-mDBP43Vd.js → OnRampWidget-NHF5WhcL.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-D9I4_Y1V.js → SaleWidget-ByoqYtgj.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-aRrdLYqJ.js → SpendingCapHero-D4WKiLRo.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-fHXX-Hf-.js → SwapWidget-KGdvQrAY.js} +9 -9
- package/dist/browser/checkout/{TopUpView-BLRvkTp5.js → TopUpView-DzmCXwDT.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-D7vrJyr0.js → WalletApproveHero-DCUEVcQH.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-DiNzzHMW.js → WalletWidget-BUz0zP4W.js} +4 -4
- package/dist/browser/checkout/{auto-track-DK4gsk5m.js → auto-track-BTcqufEu.js} +1 -1
- package/dist/browser/checkout/{index-BbANArQU.js → index-B9xhbnXe.js} +1 -1
- package/dist/browser/checkout/{index-D1QHaKvq.js → index-Be6kRjpo.js} +20 -19
- package/dist/browser/checkout/{index-BQ0p7X6B.js → index-BoADKkwG.js} +1 -1
- package/dist/browser/checkout/{index-Ct1L-gy-.js → index-CSsSQRP5.js} +1 -1
- package/dist/browser/checkout/{index-DHBxX6fE.js → index-CY3lxpA0.js} +2 -2
- package/dist/browser/checkout/{index-N6bH7obe.js → index-Du1pp5VY.js} +1 -1
- package/dist/browser/checkout/{index-Cbyd34U6.js → index-Z-kqScRf.js} +1 -1
- package/dist/browser/checkout/{index-CkkTi5Rn.js → index-cQyEo58T.js} +1 -1
- package/dist/browser/checkout/{index-DNtUrKbu.js → index-eMbWP9ME.js} +1 -1
- package/dist/browser/checkout/{index.umd-CM-rtgTq.js → index.umd-BNmwg7T-.js} +1 -1
- package/dist/browser/checkout/{retry-ByGtTHBD.js → retry-B3R-pN6g.js} +1 -1
- package/dist/browser/checkout/sdk.js +5 -5
- package/dist/browser/checkout/{useInterval-y1UbVfF8.js → useInterval-BHSScII2.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +63 -0
- package/dist/{checkout-BFPBookq.js → checkout-BIHXKWCv.js} +6 -5
- package/dist/checkout.d.ts +5 -4
- package/dist/checkout.js +5 -5
- package/dist/{config-V18XBR3x.js → config-B9AJvuVe.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-Bp8cN2wo.js → index-B4hS-4_4.js} +1 -1
- package/dist/{index-CP3zHUjx.js → index-BPIZwBks.js} +1 -1
- package/dist/{index-CTcEmIj1.js → index-BWUYmbeX.js} +4 -4
- package/dist/{index-gXJeNIGk.js → index-D2gHB31k.js} +1 -1
- package/dist/{index-ChXdl1w-.js → index-DVSFEcK6.js} +3 -3
- package/dist/{index-C80azzXH.js → index-Yr8NUsiL.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +8 -7
- package/dist/index.d.ts +5 -4
- package/dist/index.js +14 -14
- package/dist/{minting_backend-BRZXKNZH.js → minting_backend-BhKGk9vZ.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-DV4Fw1tL.js → orderbook-MPnzFAnK.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DDebGWwi.js → passport-eBS9b3aQ.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-B4jwsgjm.js → webhook-C6AAvSJF.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-DmIbrceD.js → x-XRcvtfSu.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -127917,6 +127917,7 @@ var CommerceSuccessEventType;
|
|
|
127917
127917
|
CommerceSuccessEventType["BRIDGE_SUCCESS"] = "BRIDGE_SUCCESS";
|
|
127918
127918
|
CommerceSuccessEventType["BRIDGE_CLAIM_WITHDRAWAL_SUCCESS"] = "BRIDGE_CLAIM_WITHDRAWAL_SUCCESS";
|
|
127919
127919
|
CommerceSuccessEventType["ADD_TOKENS_SUCCESS"] = "ADD_TOKENS_SUCCESS";
|
|
127920
|
+
CommerceSuccessEventType["ADD_TOKENS_CONNECT_SUCCESS"] = "ADD_TOKENS_CONNECT_SUCCESS";
|
|
127920
127921
|
})(CommerceSuccessEventType || (CommerceSuccessEventType = {}));
|
|
127921
127922
|
var CommerceFailureEventType;
|
|
127922
127923
|
(function (CommerceFailureEventType) {
|
|
@@ -135694,7 +135695,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135694
135695
|
|
|
135695
135696
|
const o$2=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T$2={state:o$2,subscribe(e){return subscribe(o$2,()=>e(o$2))},push(e,t){e!==o$2.view&&(o$2.view=e,t&&(o$2.data=t),o$2.history.push(e));},reset(e){o$2.view=e,o$2.history=[e];},replace(e){o$2.history.length>1&&(o$2.history[o$2.history.length-1]=e,o$2.view=e);},goBack(){if(o$2.history.length>1){o$2.history.pop();const[e]=o$2.history.slice(-1);o$2.view=e;}},setData(e){o$2.data=e;}},a$4={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?Boolean(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return a$4.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$4.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(a$4.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let n=e;n.includes("://")||(n=e.replaceAll("/","").replaceAll(":",""),n=`${n}://`),n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},formatUniversalUrl(e,t,s){if(!a$4.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let n=e;n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},async wait(e){return new Promise(t=>{setTimeout(t,e);})},openHref(e,t){window.open(e,t,"noreferrer noopener");},setWalletConnectDeepLink(e,t){try{localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}));}catch{console.info("Unable to set WalletConnect deep link");}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$4.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T$2.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},_$3=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),r$3=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$5={state:r$3,subscribe(e){return subscribe(r$3.events,()=>e(snapshot(r$3.events[r$3.events.length-1])))},initialize(){r$3.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r$3.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r$3.connectedWalletId=e;},click(e){if(r$3.enabled){const t={type:"CLICK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},track(e){if(r$3.enabled){const t={type:"TRACK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},view(e){if(r$3.enabled){const t={type:"VIEW",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}}},c$4=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$9={state:c$4,subscribe(e){return subscribe(c$4,()=>e(c$4))},setChains(e){c$4.chains=e;},setWalletConnectUri(e){c$4.walletConnectUri=e;},setIsCustomDesktop(e){c$4.isCustomDesktop=e;},setIsCustomMobile(e){c$4.isCustomMobile=e;},setIsDataLoaded(e){c$4.isDataLoaded=e;},setIsUiLoaded(e){c$4.isUiLoaded=e;},setIsAuth(e){c$4.isAuth=e;}},W$3=proxy({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),y$6={state:W$3,subscribe(e){return subscribe(W$3,()=>e(W$3))},setConfig(e){var t,s;R$5.initialize(),p$9.setChains(e.chains),p$9.setIsAuth(Boolean(e.enableAuthMode)),p$9.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$9.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$4.setModalVersionInStorage(),Object.assign(W$3,e);}};var V$4=Object.defineProperty,D$7=Object.getOwnPropertySymbols,H$4=Object.prototype.hasOwnProperty,B$4=Object.prototype.propertyIsEnumerable,M$4=(e,t,s)=>t in e?V$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$4=(e,t)=>{for(var s in t||(t={}))H$4.call(t,s)&&M$4(e,s,t[s]);if(D$7)for(var s of D$7(t))B$4.call(t,s)&&M$4(e,s,t[s]);return e};const L$5="https://explorer-api.walletconnect.com",E$4="wcm",O$6="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$6},t),n=new URL(e,L$5);return n.searchParams.append("projectId",y$6.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$6={async getDesktopListings(e){return w$5("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$5("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$5("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$5("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$5}/w3m/v1/getWalletImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`}};var z$5=Object.defineProperty,j$4=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$5=(e,t,s)=>t in e?z$5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$5=(e,t)=>{for(var s in t||(t={}))J$3.call(t,s)&&k$5(e,s,t[s]);if(j$4)for(var s of j$4(t))q$5.call(t,s)&&k$5(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$4=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$4,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$4.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$6.getAllListings(s),i=Object.values(n);i.sort((l,v)=>{const b=e.indexOf(l.id),f=e.indexOf(v.id);return b-f}),d$4.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$9.state,i=s?.join(","),l=a$4.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$4.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$4?await m$6.getMobileListings(v):await m$6.getDesktopListings(v);d$4.recomendedWallets=Object.values(b);}return d$4.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$4;if(n==="ALL")return d$4.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$4.isArray(s)&&(t.excludedIds=s.join(",")),a$4.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$9.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$4?await m$6.getMobileListings(t):await m$6.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$4[U]={listings:[...d$4[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$6.getWalletImageUrl(e)},getAssetImageUrl(e){return m$6.getAssetImageUrl(e)},resetSearch(){d$4.search={listings:[],total:0,page:1};}},I$3=proxy({open:!1}),se$2={state:I$3,subscribe(e){return subscribe(I$3,()=>e(I$3))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$9.state;if(a$4.removeWalletConnectDeepLink(),p$9.setWalletConnectUri(e?.uri),p$9.setChains(e?.chains),T$2.reset("ConnectWallet"),s&&n)I$3.open=!0,t();else {const i=setInterval(()=>{const l=p$9.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$3.open=!0,t());},200);}})},close(){I$3.open=!1;}};var G$4=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$6=Object.prototype.hasOwnProperty,X$4=Object.prototype.propertyIsEnumerable,S$4=(e,t,s)=>t in e?G$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y$2=(e,t)=>{for(var s in t||(t={}))Q$6.call(t,s)&&S$4(e,s,t[s]);if($$3)for(var s of $$3(t))X$4.call(t,s)&&S$4(e,s,t[s]);return e};function Z$4(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C$2=proxy({themeMode:Z$4()?"dark":"light"}),ne$2={state:C$2,subscribe(e){return subscribe(C$2,()=>e(C$2))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C$2.themeMode=t),s&&(C$2.themeVariables=Y$2({},s));}},g$8=proxy({open:!1,message:"",variant:"success"}),oe$4={state:g$8,subscribe(e){return subscribe(g$8,()=>e(g$8))},openToast(e,t){g$8.open=!0,g$8.message=e,g$8.variant=t;},closeToast(){g$8.open=!1;}};
|
|
135696
135697
|
|
|
135697
|
-
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
135698
|
+
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-B9xhbnXe.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135698
135699
|
|
|
135699
135700
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135700
135701
|
__proto__: null,
|
|
@@ -152535,7 +152536,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152535
152536
|
return __generator(this, function (_b) {
|
|
152536
152537
|
switch (_b.label) {
|
|
152537
152538
|
case 0: return [4 /*yield*/, import(
|
|
152538
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152539
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BTcqufEu.js')];
|
|
152539
152540
|
case 1:
|
|
152540
152541
|
autotrack = _b.sent();
|
|
152541
152542
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152554,7 +152555,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152554
152555
|
return __generator(this, function (_b) {
|
|
152555
152556
|
switch (_b.label) {
|
|
152556
152557
|
case 0: return [4 /*yield*/, import(
|
|
152557
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152558
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BTcqufEu.js')];
|
|
152558
152559
|
case 1:
|
|
152559
152560
|
autotrack = _b.sent();
|
|
152560
152561
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152573,7 +152574,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152573
152574
|
return __generator(this, function (_b) {
|
|
152574
152575
|
switch (_b.label) {
|
|
152575
152576
|
case 0: return [4 /*yield*/, import(
|
|
152576
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152577
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BTcqufEu.js')];
|
|
152577
152578
|
case 1:
|
|
152578
152579
|
autotrack = _b.sent();
|
|
152579
152580
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152592,7 +152593,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152592
152593
|
return __generator(this, function (_b) {
|
|
152593
152594
|
switch (_b.label) {
|
|
152594
152595
|
case 0: return [4 /*yield*/, import(
|
|
152595
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152596
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BTcqufEu.js')];
|
|
152596
152597
|
case 1:
|
|
152597
152598
|
autotrack = _b.sent();
|
|
152598
152599
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152742,7 +152743,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152742
152743
|
return [2 /*return*/, []];
|
|
152743
152744
|
}
|
|
152744
152745
|
return [4 /*yield*/, import(
|
|
152745
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152746
|
+
/* webpackChunkName: "queryString" */ './index-eMbWP9ME.js')];
|
|
152746
152747
|
case 1:
|
|
152747
152748
|
queryString = (_a.sent()).queryString;
|
|
152748
152749
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -155446,7 +155447,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155446
155447
|
case 0:
|
|
155447
155448
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
155448
155449
|
return [4 /*yield*/, import(
|
|
155449
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155450
|
+
/* webpackChunkName: "tsub-middleware" */ './index-Z-kqScRf.js').then(function (mod) {
|
|
155450
155451
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
155451
155452
|
})];
|
|
155452
155453
|
case 1:
|
|
@@ -155459,7 +155460,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155459
155460
|
tsubMiddleware = _d;
|
|
155460
155461
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
155461
155462
|
return [4 /*yield*/, import(
|
|
155462
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155463
|
+
/* webpackChunkName: "ajs-destination" */ './index-BoADKkwG.js').then(function (mod) {
|
|
155463
155464
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
155464
155465
|
})];
|
|
155465
155466
|
case 4:
|
|
@@ -155472,7 +155473,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155472
155473
|
legacyDestinations = _e;
|
|
155473
155474
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
155474
155475
|
return [4 /*yield*/, import(
|
|
155475
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
155476
|
+
/* webpackChunkName: "legacyVideos" */ './index-CY3lxpA0.js').then(function (mod) {
|
|
155476
155477
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
155477
155478
|
})];
|
|
155478
155479
|
case 7:
|
|
@@ -155481,7 +155482,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155481
155482
|
case 8:
|
|
155482
155483
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
155483
155484
|
return [4 /*yield*/, import(
|
|
155484
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155485
|
+
/* webpackChunkName: "schemaFilter" */ './index-Du1pp5VY.js').then(function (mod) {
|
|
155485
155486
|
var _a;
|
|
155486
155487
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155487
155488
|
})];
|
|
@@ -155520,7 +155521,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155520
155521
|
return enabled;
|
|
155521
155522
|
})) return [3 /*break*/, 17];
|
|
155522
155523
|
return [4 /*yield*/, import(
|
|
155523
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155524
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-cQyEo58T.js').then(function (_a) {
|
|
155524
155525
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155525
155526
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155526
155527
|
var middleware, promises;
|
|
@@ -222717,7 +222718,7 @@ const useProvidersContext = () => {
|
|
|
222717
222718
|
return context;
|
|
222718
222719
|
};
|
|
222719
222720
|
|
|
222720
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222721
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-B4Ir7dvN.js'));
|
|
222721
222722
|
class AddTokens extends Base {
|
|
222722
222723
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222723
222724
|
getValidatedProperties({ config, }) {
|
|
@@ -222761,7 +222762,7 @@ class AddTokens extends Base {
|
|
|
222761
222762
|
}
|
|
222762
222763
|
}
|
|
222763
222764
|
|
|
222764
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222765
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-H083MzVz.js'));
|
|
222765
222766
|
class Bridge extends Base {
|
|
222766
222767
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222767
222768
|
getValidatedProperties({ config }) {
|
|
@@ -222829,7 +222830,7 @@ const commerceFlows = [
|
|
|
222829
222830
|
CommerceFlowType.ADD_TOKENS,
|
|
222830
222831
|
];
|
|
222831
222832
|
|
|
222832
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget
|
|
222833
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget--lkMi5aZ.js'));
|
|
222833
222834
|
class CommerceWidgetRoot extends Base {
|
|
222834
222835
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222835
222836
|
getValidatedProperties({ config, }) {
|
|
@@ -225139,7 +225140,7 @@ const orchestrationEvents = {
|
|
|
225139
225140
|
sendRequestAddTokensEvent,
|
|
225140
225141
|
};
|
|
225141
225142
|
|
|
225142
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
225143
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-NHF5WhcL.js').then(function (n) { return n.a; }));
|
|
225143
225144
|
class OnRamp extends Base {
|
|
225144
225145
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
225145
225146
|
getValidatedProperties({ config }) {
|
|
@@ -225277,7 +225278,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
225277
225278
|
eventTarget.dispatchEvent(event);
|
|
225278
225279
|
};
|
|
225279
225280
|
|
|
225280
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
225281
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-ByoqYtgj.js'));
|
|
225281
225282
|
class Sale extends Base {
|
|
225282
225283
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
225283
225284
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225481,7 +225482,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225481
225482
|
: serviceUnavailableView) }));
|
|
225482
225483
|
}
|
|
225483
225484
|
|
|
225484
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225485
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-KGdvQrAY.js'));
|
|
225485
225486
|
class Swap extends Base {
|
|
225486
225487
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225487
225488
|
getValidatedProperties({ config }) {
|
|
@@ -225606,7 +225607,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225606
225607
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225607
225608
|
}
|
|
225608
225609
|
|
|
225609
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225610
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-BUz0zP4W.js'));
|
|
225610
225611
|
class Wallet extends Base {
|
|
225611
225612
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225612
225613
|
getValidatedProperties({ config }) {
|
|
@@ -225743,4 +225744,4 @@ class WidgetsFactory {
|
|
|
225743
225744
|
}
|
|
225744
225745
|
}
|
|
225745
225746
|
|
|
225746
|
-
export {
|
|
225747
|
+
export { getStartingSize as $, AddTokensEventType as A, BridgeEventType as B, CommerceFlowType as C, merge$1 as D, ErrorView as E, useResizeObserver as F, SmartClone as G, Box as H, IMTBLWidgetEvents as I, isChildSubcomponent as J, flattenChildren as K, LoadingView as L, Body as M, useTheme$1 as N, OnRampEventType as O, ProviderEventType as P, Icon as Q, ButtCon as R, SwapEventType as S, Button as T, _defineProperty$1 as U, ViewActions as V, WalletEventType as W, isDualVariantIcon as X, _slicedToArray as Y, isNumberWithinTotal as Z, _objectWithoutProperties as _, CommerceEventType as a, orchestrationEvents as a$, BaseClickable as a0, ClassNames as a1, _toConsumableArray as a2, isError as a3, Badge as a4, FramedIcon as a5, FramedImage as a6, FramedLogo as a7, Stack as a8, hFlex as a9, Heading as aA, WalletDrawer as aB, UnableToConnectDrawer as aC, ChangedYourMindDrawer as aD, WalletProviderRdns as aE, getProviderSlugFromRdns as aF, Web3Provider as aG, connectEIP6963Provider as aH, identifyUser as aI, ConnectEIP6963ProviderError as aJ, ProvidersContextActions as aK, ViewContext as aL, commonjsRequire$1 as aM, getRemoteImage as aN, useHandover as aO, HandoverTarget as aP, EventTargetContext as aQ, getRemoteRive as aR, Trans as aS, Link as aT, useInjectedProviders as aU, getDefaultTokenImage as aV, OverflowDrawerMenu as aW, SimpleLayout as aX, TokenFilterTypes as aY, isNativeToken as aZ, getTokenImageByAddress as a_, usePrevious as aa, useBrowserEffect as ab, getHeadingTextStyles as ac, vFlex as ad, centerFlexChildren as ae, FormControlLabel as af, FormControlValidation as ag, FormControlCaption as ah, getDefaultExportFromCjs$3 as ai, commonjsGlobal$2 as aj, MenuItem as ak, tokenValueFormat as al, DEFAULT_TOKEN_FORMATTING_DECIMALS as am, BigNumber$1 as an, getRemoteVideo as ao, FramedVideo as ap, motion$1 as aq, listItemVariants as ar, Divider as as, Fragment$1 as at, listVariants as au, useProvidersContext as av, Drawer as aw, useAnalytics as ax, UserJourney as ay, isPassportProvider as az, ConnectEventType as b, BlockExplorerService as b$, requireSecp256k1 as b0, requireLib_commonjs as b1, require$$0$3 as b2, bech32 as b3, bnExports$1 as b4, require$$0$2 as b5, getAugmentedNamespace$1 as b6, require$$0$5 as b7, minimalisticAssert$1 as b8, require$$2 as b9, sendSaleSuccessEvent as bA, sendSaleFailedEvent as bB, sendSaleTransactionSuccessEvent as bC, sendSalePaymentMethodEvent as bD, sendSalePaymentTokenEvent as bE, HeaderNavigation as bF, LoadingOverlay as bG, HandoverDuration as bH, FooterLogo as bI, StatusType as bJ, prettyFormatNumber as bK, ShimmerCircle as bL, FundingStepType as bM, abbreviateWalletAddress as bN, tokenSymbolNameOverrides as bO, ItemType as bP, TransactionOrGasType as bQ, GasTokenType as bR, RoutingOutcomeType as bS, isGasFree as bT, ConnectLoaderContext as bU, eventTargetReducer as bV, initialEventTargetState as bW, EventTargetActions as bX, ConnectWidgetViews as bY, ConnectLoaderActions as bZ, widgetTheme as b_, hash$5 as ba, MaxUint256$5 as bb, merge as bc, SvgIcon as bd, WalletWarningHero as be, Environment$1 as bf, t$7 as bg, PriceDisplay as bh, viewReducer as bi, initialViewState as bj, isValidAddress as bk, amountInputValidation as bl, CloudImage as bm, ServiceUnavailableErrorView as bn, ServiceType as bo, MultiTextShimmer as bp, getCaptionTextStyles as bq, DEFAULT_BODY_PROPS as br, baseTextComponentSx as bs, useConvertSxToEmotionStyles as bt, useGetCurrentSizeClass as bu, cloneElementWithCssProp as bv, compareStr as bw, SalePaymentTypes as bx, calculateCryptoToFiat as by, sendSaleWidgetCloseEvent as bz, CommerceFailureEventType as c, arrayify$1 as c$, axios$1 as c0, CheckoutErrorType as c1, IMMUTABLE_API_BASE_URL as c2, ShimmerBox as c3, PASSPORT_URL as c4, getChainIdBySlug as c5, getChainImage as c6, networkName as c7, useWalletConnect as c8, isWalletConnectProvider as c9, SimpleTextBody as cA, FooterButton as cB, getEthTokenImage as cC, WITHDRAWAL_CLAIM_GAS_LIMIT as cD, BridgeConfiguration as cE, ImmutableConfiguration as cF, TokenBridge as cG, StatusView as cH, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cI, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cJ, ETH_MAINNET_TO_ZKEVM_MAINNET as cK, defineReadOnly$1 as cL, getStatic$1 as cM, Signer$1 as cN, Provider$1 as cO, getAddress$1 as cP, Logger$2 as cQ, getContractAddress$1 as cR, Interface$1 as cS, shallowCopy$1 as cT, VoidSigner$1 as cU, Indexed$1 as cV, deepCopy$1 as cW, isHexString$1 as cX, checkResultErrors$1 as cY, resolveProperties$1 as cZ, accessListify$1 as c_, Logo as ca, RawImage as cb, AXELAR_SCAN_URL as cc, getNativeSymbolByChainSlug as cd, getChainSlugById as ce, JsonRpcProvider$1 as cf, DEFAULT_TRANSACTIONS_RETRY_POLICY as cg, getChainNameById as ch, getWalletProviderNameByProvider as ci, isAddressSanctioned as cj, isMetaMaskProvider as ck, WalletProviderName as cl, ButtonNavigationStyles as cm, formatZeroAmount as cn, NATIVE as co, ETH_TOKEN_SYMBOL as cp, GasEstimateType as cq, DEFAULT_TOKEN_DECIMALS as cr, DEFAULT_QUOTE_REFRESH_INTERVAL as cs, addChainChangedListener as ct, removeChainChangedListener as cu, IMX_TOKEN_SYMBOL as cv, dist as cw, CHECKOUT_CDN_BASE_URL as cx, heroBackGroundStyles as cy, heroImageStyles as cz, CommerceSuccessEventType as d, dist$1 as d$, global$2 as d0, ExchangeType as d1, sendOnRampWidgetCloseEvent as d2, sendOnRampSuccessEvent as d3, sendOnRampFailedEvent as d4, WidgetTheme as d5, quickswapFooterStyles as d6, quickswapFooterLogoStyles as d7, quickswapFooterDisclaimerTextStyles as d8, getImxTokenImage as d9, sendNetworkSwitchEvent as dA, NetworkFilterTypes as dB, sortNetworksCompareFn as dC, sortTokensByAmount as dD, sendWalletWidgetCloseEvent as dE, sendDisconnectWalletEvent as dF, FAQS_LINK as dG, useBrowserLayoutEffect as dH, ne$2 as dI, se$2 as dJ, T$2 as dK, oe$4 as dL, R$5 as dM, a$4 as dN, te$4 as dO, p$9 as dP, y$6 as dQ, __awaiter as dR, __generator as dS, loadScript as dT, getNextIntegrationsURL as dU, unloadScript as dV, __spreadArray$1 as dW, isOffline as dX, __assign as dY, ContextCancelation as dZ, applyDestinationMiddleware as d_, Tooltip as da, ESTIMATE_DEBOUNCE as db, DEFAULT_TOKEN_VALIDATION_DECIMALS as dc, sendSwapWidgetCloseEvent as dd, DEFAULT_BALANCE_RETRY_POLICY as de, SwapDirection as df, sendSwapSuccessEvent as dg, sendSwapFailedEvent as dh, sendSwapRejectedEvent as di, AnimatePresence as dj, getTertiaryButtonStyles as dk, TextInput as dl, FormControlWrapper as dm, Select as dn, DuoCon as dp, heroImageBottomAlign as dq, version$r as dr, hexZeroPad$1 as ds, isBigNumberish as dt, isBytes$1 as du, DEFAULT_BUTTON_SIZE as dv, getResponsiveSx as dw, BUTTON_SIZES as dx, setDefaultSxBackgroundColor as dy, ZERO_BALANCE_STRING as dz, CommerceUserActionEventType as e, isServer as e0, mergedOptions as e1, isPlainObject as e2, pWhile as e3, PriorityQueue as e4, PersistedPriorityQueue as e5, attempt as e6, isOnline as e7, Context as e8, pTimeout as e9, gracefulDecodeURIComponent as ea, WidgetsFactory as eb, SaleEventType as f, OrchestrationEventType as g, getL2ChainId as h, getL1ChainId as i, ChainId as j, useViewState as k, useEventTargetState as l, SharedViews as m, commerceFlows as n, jsx$1 as o, jsxs as p, ConnectWidget as q, reactExports as r, ProvidersContextProvider as s, ConnectLoader as t, useTranslation as u, ViewContextProvider as v, useTheme as w, useForwardLocalDomRef as x, useGetSubcomponentChild as y, useSplitApartChildrenAndSubComponents as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dR as __awaiter, dS as __generator, dT as loadScript, dU as getNextIntegrationsURL, dV as unloadScript, dW as __spreadArray, dX as isOffline, dY as __assign, dZ as ContextCancelation, d_ as applyDestinationMiddleware, d$ as dist, e0 as isServer, e1 as mergedOptions, e2 as isPlainObject, e3 as pWhile, e4 as PriorityQueue, e5 as PersistedPriorityQueue, e6 as attempt, e7 as isOnline, e8 as Context } from './index-
|
|
1
|
+
import { dR as __awaiter, dS as __generator, dT as loadScript, dU as getNextIntegrationsURL, dV as unloadScript, dW as __spreadArray, dX as isOffline, dY as __assign, dZ as ContextCancelation, d_ as applyDestinationMiddleware, d$ as dist, e0 as isServer, e1 as mergedOptions, e2 as isPlainObject, e3 as pWhile, e4 as PriorityQueue, e5 as PersistedPriorityQueue, e6 as attempt, e7 as isOnline, e8 as Context } from './index-Be6kRjpo.js';
|
|
2
2
|
import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
|
|
3
3
|
|
|
4
4
|
function normalizeName(name) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as BigNumber, cQ as Logger, dr as version$1, ds as hexZeroPad, dt as isBigNumberish, c$ as arrayify, du as isBytes } from './index-
|
|
1
|
+
import { an as BigNumber, cQ as Logger, dr as version$1, ds as hexZeroPad, dt as isBigNumberish, c$ as arrayify, du as isBytes } from './index-Be6kRjpo.js';
|
|
2
2
|
|
|
3
3
|
const logger$1 = new Logger(version$1);
|
|
4
4
|
const _constructorGuard = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dR as __awaiter, dS as __generator } from './index-
|
|
1
|
+
import { dR as __awaiter, dS as __generator } from './index-Be6kRjpo.js';
|
|
2
2
|
|
|
3
3
|
function loadLegacyVideoPlugins(analytics) {
|
|
4
4
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -7,7 +7,7 @@ function loadLegacyVideoPlugins(analytics) {
|
|
|
7
7
|
switch (_a.label) {
|
|
8
8
|
case 0: return [4 /*yield*/, import(
|
|
9
9
|
// @ts-expect-error
|
|
10
|
-
'./index.umd-
|
|
10
|
+
'./index.umd-BNmwg7T-.js').then(function (n) { return n.i; })
|
|
11
11
|
// This is super gross, but we need to support the `window.analytics.plugins` namespace
|
|
12
12
|
// that is linked in the segment docs in order to be backwards compatible with ajs-classic
|
|
13
13
|
// @ts-expect-error
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dR as __awaiter, dS as __generator, e0 as isServer, dU as getNextIntegrationsURL, dT as loadScript } from './index-
|
|
1
|
+
import { dR as __awaiter, dS as __generator, e0 as isServer, dU as getNextIntegrationsURL, dT as loadScript } from './index-Be6kRjpo.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, aV as getDefaultTokenImage, o as jsx } from './index-
|
|
1
|
+
import { r as reactExports, aV as getDefaultTokenImage, o as jsx } from './index-Be6kRjpo.js';
|
|
2
2
|
|
|
3
3
|
function TokenImage({ src, name, environment, theme, defaultImage, ...forwardedProps }) {
|
|
4
4
|
const [error, setError] = reactExports.useState(false);
|