@imtbl/sdk 1.74.7-alpha.3 → 1.74.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{blockchain_data-BlZB8t1I.js → blockchain_data-BJDp8oKu.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-D32fe07F.js → AddTokensWidget-CMwLuH85.js} +10 -20
- package/dist/browser/checkout/{BridgeWidget-CO01zxHV.js → BridgeWidget-BKwSgXAv.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-CwZH6Gol.js → CommerceWidget-GO6WQ0G_.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-kEfq5McI.js → CryptoFiatProvider-tgJX98Mx.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-EB4aF66Q.js → EllipsizedText-qr0qJiZD.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-l4Gxa79Z.js → FeesBreakdown-CSLtPJ4L.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-C0J2gtJ6.js → HandoverContent-D8J6XdmP.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-CEwNfaPu.js → OnRampWidget-D67HyXPt.js} +5 -11
- package/dist/browser/checkout/{SaleWidget-GAjdag3-.js → SaleWidget-Dsr5XfXf.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-uIcDRJXy.js → SpendingCapHero-BOirHBAX.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-i1kTM2DV.js → SwapWidget-DT1n1xrd.js} +9 -9
- package/dist/browser/checkout/{TokenImage-DF9WsGc0.js → TokenImage-BPnZNd1O.js} +1 -1
- package/dist/browser/checkout/{TopUpView-Gbh6es-a.js → TopUpView-Ckb6ENCM.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-CLvEly4N.js → WalletApproveHero-CLWcFtwr.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-Cjc9eZj1.js → WalletWidget-B-Xs169b.js} +4 -4
- package/dist/browser/checkout/{auto-track-BCQoXiWy.js → auto-track-DTqRNUQd.js} +1 -1
- package/dist/browser/checkout/{index-DP74kp4J.js → index-B2xgM6ux.js} +1 -1
- package/dist/browser/checkout/{index-B6nkNto0.js → index-BWyrMf-q.js} +1 -1
- package/dist/browser/checkout/{index-Bo5rq1cj.js → index-CY1i1jQv.js} +19 -19
- package/dist/browser/checkout/{index-D2uD__NZ.js → index-ClXNH8Oc.js} +1 -1
- package/dist/browser/checkout/{index-Eq0czV5U.js → index-Co5G6Uvk.js} +2 -2
- package/dist/browser/checkout/{index-BiwnT7xh.js → index-D1k37Kqb.js} +1 -1
- package/dist/browser/checkout/{index-CBcTZKuG.js → index-DPfMbHZw.js} +1 -1
- package/dist/browser/checkout/{index-C7fc_JwU.js → index-TLQbYbqN.js} +1 -1
- package/dist/browser/checkout/{index-DUKgrDAe.js → index-ePiQFImQ.js} +1 -1
- package/dist/browser/checkout/{index.umd-CL-QLpjy.js → index.umd-J-yZ64U-.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-BOZtHduw.js → useInterval-De9rEhBH.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +7 -23
- package/dist/{checkout-DLOFLCSz.js → checkout-Bo4TottT.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-D9EOVFo7.js → config-DPbdQuRP.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-B0u_RVKq.js → index-BFhAq3KD.js} +1 -1
- package/dist/{index-D9VLgtnt.js → index-BMTi9kB_.js} +3 -3
- package/dist/{index-Cv80ojqS.js → index-BnM47kK6.js} +1 -1
- package/dist/{index-BDqsMk3J.js → index-Bo6pVbo8.js} +1 -1
- package/dist/{index-MpMl1aBL.js → index-Czc2j83Y.js} +1 -1
- package/dist/{index-Bwv5EQoO.js → index-DZJINrft.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-CB6BfhqC.js → minting_backend-D_whyEz-.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-BLllQ_h2.js → orderbook-DZ44Z11E.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-C8_cAE7P.js → passport-DKpHK8EA.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-DtqI2WWZ.js → webhook-BQkFTpIG.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-KWyuK5ra.js → x-DECPPOph.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -131606,7 +131606,7 @@ var views$3 = {
|
|
|
131606
131606
|
},
|
|
131607
131607
|
screen2: {
|
|
131608
131608
|
title: "You can deliver tokens to Passport\n& pay from any wallet",
|
|
131609
|
-
caption: "
|
|
131609
|
+
caption: "whats evolved",
|
|
131610
131610
|
buttonText: "Next"
|
|
131611
131611
|
},
|
|
131612
131612
|
screen3: {
|
|
@@ -135339,7 +135339,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135339
135339
|
|
|
135340
135340
|
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$6=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$6)for(var s of D$6(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$5="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$5},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$5={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$5}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$5}`}};var z$5=Object.defineProperty,j$3=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$4=(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$4(e,s,t[s]);if(j$3)for(var s of j$3(t))q$5.call(t,s)&&k$4(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$5=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$5,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$5.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$5.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$5.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$5.getMobileListings(v):await m$5.getDesktopListings(v);d$5.recomendedWallets=Object.values(b);}return d$5.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$5;if(n==="ALL")return d$5.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$5.getMobileListings(t):await m$5.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$5[U]={listings:[...d$5[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$5.getWalletImageUrl(e)},getAssetImageUrl(e){return m$5.getAssetImageUrl(e)},resetSearch(){d$5.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;}};
|
|
135341
135341
|
|
|
135342
|
-
let d$4 = 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-
|
|
135342
|
+
let d$4 = 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-B2xgM6ux.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135343
135343
|
|
|
135344
135344
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135345
135345
|
__proto__: null,
|
|
@@ -152180,7 +152180,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152180
152180
|
return __generator(this, function (_b) {
|
|
152181
152181
|
switch (_b.label) {
|
|
152182
152182
|
case 0: return [4 /*yield*/, import(
|
|
152183
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152183
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152184
152184
|
case 1:
|
|
152185
152185
|
autotrack = _b.sent();
|
|
152186
152186
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152199,7 +152199,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152199
152199
|
return __generator(this, function (_b) {
|
|
152200
152200
|
switch (_b.label) {
|
|
152201
152201
|
case 0: return [4 /*yield*/, import(
|
|
152202
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152202
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152203
152203
|
case 1:
|
|
152204
152204
|
autotrack = _b.sent();
|
|
152205
152205
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152218,7 +152218,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152218
152218
|
return __generator(this, function (_b) {
|
|
152219
152219
|
switch (_b.label) {
|
|
152220
152220
|
case 0: return [4 /*yield*/, import(
|
|
152221
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152221
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152222
152222
|
case 1:
|
|
152223
152223
|
autotrack = _b.sent();
|
|
152224
152224
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152237,7 +152237,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152237
152237
|
return __generator(this, function (_b) {
|
|
152238
152238
|
switch (_b.label) {
|
|
152239
152239
|
case 0: return [4 /*yield*/, import(
|
|
152240
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152240
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152241
152241
|
case 1:
|
|
152242
152242
|
autotrack = _b.sent();
|
|
152243
152243
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152387,7 +152387,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152387
152387
|
return [2 /*return*/, []];
|
|
152388
152388
|
}
|
|
152389
152389
|
return [4 /*yield*/, import(
|
|
152390
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152390
|
+
/* webpackChunkName: "queryString" */ './index-ePiQFImQ.js')];
|
|
152391
152391
|
case 1:
|
|
152392
152392
|
queryString = (_a.sent()).queryString;
|
|
152393
152393
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -155091,7 +155091,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155091
155091
|
case 0:
|
|
155092
155092
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
155093
155093
|
return [4 /*yield*/, import(
|
|
155094
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155094
|
+
/* webpackChunkName: "tsub-middleware" */ './index-ClXNH8Oc.js').then(function (mod) {
|
|
155095
155095
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
155096
155096
|
})];
|
|
155097
155097
|
case 1:
|
|
@@ -155104,7 +155104,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155104
155104
|
tsubMiddleware = _d;
|
|
155105
155105
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
155106
155106
|
return [4 /*yield*/, import(
|
|
155107
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155107
|
+
/* webpackChunkName: "ajs-destination" */ './index-DPfMbHZw.js').then(function (mod) {
|
|
155108
155108
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
155109
155109
|
})];
|
|
155110
155110
|
case 4:
|
|
@@ -155117,7 +155117,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155117
155117
|
legacyDestinations = _e;
|
|
155118
155118
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
155119
155119
|
return [4 /*yield*/, import(
|
|
155120
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
155120
|
+
/* webpackChunkName: "legacyVideos" */ './index-Co5G6Uvk.js').then(function (mod) {
|
|
155121
155121
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
155122
155122
|
})];
|
|
155123
155123
|
case 7:
|
|
@@ -155126,7 +155126,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155126
155126
|
case 8:
|
|
155127
155127
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
155128
155128
|
return [4 /*yield*/, import(
|
|
155129
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155129
|
+
/* webpackChunkName: "schemaFilter" */ './index-D1k37Kqb.js').then(function (mod) {
|
|
155130
155130
|
var _a;
|
|
155131
155131
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155132
155132
|
})];
|
|
@@ -155165,7 +155165,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155165
155165
|
return enabled;
|
|
155166
155166
|
})) return [3 /*break*/, 17];
|
|
155167
155167
|
return [4 /*yield*/, import(
|
|
155168
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155168
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-BWyrMf-q.js').then(function (_a) {
|
|
155169
155169
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155170
155170
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155171
155171
|
var middleware, promises;
|
|
@@ -222436,7 +222436,7 @@ const useProvidersContext = () => {
|
|
|
222436
222436
|
return context;
|
|
222437
222437
|
};
|
|
222438
222438
|
|
|
222439
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222439
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-CMwLuH85.js'));
|
|
222440
222440
|
class AddTokens extends Base {
|
|
222441
222441
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222442
222442
|
getValidatedProperties({ config, }) {
|
|
@@ -222480,7 +222480,7 @@ class AddTokens extends Base {
|
|
|
222480
222480
|
}
|
|
222481
222481
|
}
|
|
222482
222482
|
|
|
222483
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222483
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-BKwSgXAv.js'));
|
|
222484
222484
|
class Bridge extends Base {
|
|
222485
222485
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222486
222486
|
getValidatedProperties({ config }) {
|
|
@@ -222634,7 +222634,7 @@ const commerceFlows = [
|
|
|
222634
222634
|
CommerceFlowType.ADD_TOKENS,
|
|
222635
222635
|
];
|
|
222636
222636
|
|
|
222637
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222637
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-GO6WQ0G_.js'));
|
|
222638
222638
|
class CommerceWidgetRoot extends Base {
|
|
222639
222639
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222640
222640
|
getValidatedProperties({ config, }) {
|
|
@@ -224858,7 +224858,7 @@ const orchestrationEvents = {
|
|
|
224858
224858
|
sendRequestAddTokensEvent,
|
|
224859
224859
|
};
|
|
224860
224860
|
|
|
224861
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224861
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-D67HyXPt.js').then(function (n) { return n.a; }));
|
|
224862
224862
|
class OnRamp extends Base {
|
|
224863
224863
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224864
224864
|
getValidatedProperties({ config }) {
|
|
@@ -224996,7 +224996,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224996
224996
|
eventTarget.dispatchEvent(event);
|
|
224997
224997
|
};
|
|
224998
224998
|
|
|
224999
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224999
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-Dsr5XfXf.js'));
|
|
225000
225000
|
class Sale extends Base {
|
|
225001
225001
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
225002
225002
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225233,7 +225233,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225233
225233
|
: serviceUnavailableView) }));
|
|
225234
225234
|
}
|
|
225235
225235
|
|
|
225236
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225236
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-DT1n1xrd.js'));
|
|
225237
225237
|
class Swap extends Base {
|
|
225238
225238
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225239
225239
|
getValidatedProperties({ config }) {
|
|
@@ -225358,7 +225358,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225358
225358
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225359
225359
|
}
|
|
225360
225360
|
|
|
225361
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225361
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-B-Xs169b.js'));
|
|
225362
225362
|
class Wallet extends Base {
|
|
225363
225363
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225364
225364
|
getValidatedProperties({ config }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dP as __awaiter, dQ as __generator } from './index-
|
|
1
|
+
import { dP as __awaiter, dQ as __generator } from './index-CY1i1jQv.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-J-yZ64U-.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 { dP as __awaiter, dQ as __generator, dR as loadScript, dS as getNextIntegrationsURL, dT as unloadScript, dU as __spreadArray, dV as isOffline, dW as __assign, dX as ContextCancelation, dY as applyDestinationMiddleware, dZ as dist, d_ as isServer, d$ as mergedOptions, e0 as isPlainObject, e1 as pWhile, e2 as PriorityQueue, e3 as PersistedPriorityQueue, e4 as attempt, e5 as isOnline, e6 as Context } from './index-
|
|
1
|
+
import { dP as __awaiter, dQ as __generator, dR as loadScript, dS as getNextIntegrationsURL, dT as unloadScript, dU as __spreadArray, dV as isOffline, dW as __assign, dX as ContextCancelation, dY as applyDestinationMiddleware, dZ as dist, d_ as isServer, d$ as mergedOptions, e0 as isPlainObject, e1 as pWhile, e2 as PriorityQueue, e3 as PersistedPriorityQueue, e4 as attempt, e5 as isOnline, e6 as Context } from './index-CY1i1jQv.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, cO as Logger, dp as version$1, dq as hexZeroPad, dr as isBigNumberish, cZ as arrayify, ds as isBytes } from './index-
|
|
1
|
+
import { an as BigNumber, cO as Logger, dp as version$1, dq as hexZeroPad, dr as isBigNumberish, cZ as arrayify, ds as isBytes } from './index-CY1i1jQv.js';
|
|
2
2
|
|
|
3
3
|
const logger$1 = new Logger(version$1);
|
|
4
4
|
const _constructorGuard = {};
|