@basis-theory/web-elements 3.0.0-beta.6 → 3.0.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.
@@ -1 +1 @@
1
- var BasisTheoryLoader=(function($){"use strict";const N=[/cardnumber/i,/^pan$/i,/accountnumber/i,/^number$/i],M=[/cvv/i,/cvc/i,/cvv2/i,/securitycode/i,/pin/i,/password/i,/secret/i,/token/i,/ssn/i,/track/i,/session_key/i,/^apikey$/i],L=e=>N.some(t=>t.test(e)),j=e=>M.some(t=>t.test(e)),D=e=>{const t=e.replace(/\D/g,"");if(t.length<10)return"***";const o=t.substring(0,6),n=t.substring(t.length-4),u=Math.max(t.length-10,6),d="*".repeat(u);return`${o}${d}${n}`},v=e=>{const t=e.replace(/[\s-]/g,"");return/^\d{13,19}$/.test(t)},H=(e,t)=>t==null?t:typeof t=="function"?"[Function]":typeof t=="symbol"?"[Symbol]":t instanceof RegExp?"[RegExp]":t instanceof Date?t:L(e)?typeof t=="string"?D(t):"***":j(e)?"***":typeof t=="string"&&v(t)?D(t):t,E=(e,t=0,o=new WeakSet)=>{if(t>=5)return"[Max Depth]";if(e==null)return e;if(typeof e=="string")return v(e)?D(e):e;if(typeof e!="object")return e;if(e instanceof RegExp)return"[RegExp]";if(e instanceof Date)return e;if(o.has(e))return"[Circular]";o.add(e);let n;if(Array.isArray(e))n=e.map(u=>E(u,t+1,o));else{const u={};for(const[d,h]of Object.entries(e)){const y=H(d,h);y!==null&&typeof y=="object"?u[d]=E(y,t+1,o):u[d]=y}n=u}return o.delete(e),n},F=e=>{const t={};for(const[o,n]of Object.entries(e))if(L(o)||j(o)){const u=typeof n=="string"?n.length:typeof n=="number"?String(n).length:0;t[`${o}_length`]=u}else t[o]=E(n);return t},V=()=>{const e=new Date,t=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),n=String(e.getSeconds()).padStart(2,"0"),u=String(e.getMilliseconds()).padStart(3,"0");return`${t}:${o}:${n}.${u}`},P=(e,t)=>t?(o,n)=>{const u=V(),d=n?F(n):{};console.log(`🔍 [${u}] [${e}] ${o}`,d)}:()=>{},I=(e,t,o)=>{const n=new Error(t);return n.name="BasisTheoryError",n.code=e,n.details=o,Error.captureStackTrace&&Error.captureStackTrace(n,I),n.toJSON=()=>({name:n.name,code:n.code,message:n.message,...n.details&&{details:n.details}}),n},x=(e,t)=>{const o=I("CONFIGURATION_ERROR",e,t);return o.name="ConfigurationError",o},q=()=>{if(typeof document>"u")return;const e=document.currentScript;if(e?.src)try{const t=new URL(e.src).origin;if(t.startsWith("https"))return t}catch{}},C=(e,t)=>{if(!e)return t;try{const o=new URL(t);return`${e}${o.pathname}`}catch{return t}},K=(e,t)=>{if(e)try{const o=new URL(t),{pathname:n}=o,u=n.replace(/\/web-elements\/basis-theory-sdk\.umd\.js$/,"/elements");return u===n?void 0:`${e}${u}`}catch{return}};function A(e){const{version:t="loader-0.1.0",onSdkReady:o,debug:n=!1,sdkSriHash:u=""}=e,d=P("BasisTheoryLoader",n),h=[];let y=null,f=!1,i=null,b=null,p=null,R=!1,S=e.sdkUrl;function J(){return y||(y=new Promise((l,c)=>{if(p=c,window.__BasisTheorySDK__){d("SDK already loaded, skipping script injection"),p=null,f=!0,l(),o?.();return}const m=document.createElement("script");m.src=S,m.async=!0,m.crossOrigin="anonymous",b=m,u&&(m.integrity=u),m.onload=()=>{b===m&&(p=null,f=!0,l(),o?.())},m.onerror=()=>{b===m&&(p=null,y=null,c(new Error(`Failed to load BasisTheory SDK from ${S}`)))},document.head.appendChild(m)}),y)}function W(){if(h.length===0)return[];d("Transforming queued commands for SDK",{count:h.length});const l=[];for(const c of h)c.type==="init"||c.type==="createElement"||l.push({method:c.type,args:c.args||[],resolve:()=>{},reject:m=>{console.error("[BasisTheory] Queued command failed:",c.type,m)}});return l}async function g(l,c){if(R)throw x("SDK instance has been destroyed. Create a new instance with BasisTheory()");if(i)return i;if(await y,!i){const m=W();d("Initializing SDK with queued commands",{queueLength:m.length});const r=window.__BasisTheorySDK__;if(!r||typeof r!="function")throw x("BasisTheory SDK not found at window.__BasisTheorySDK__");d("Found SDK function",{type:typeof r}),i=r(l,c,m),h.length=0}return i}const T=function(l,c){return R=!1,e.whitelabelElementsBaseUrl&&!c?.elementsBaseUrl&&(c={...c,elementsBaseUrl:e.whitelabelElementsBaseUrl},n&&console.log("[BasisTheory] Whitelabel elementsBaseUrl injected:",e.whitelabelElementsBaseUrl)),h.push({type:"init",apiKey:l,options:c,timestamp:Date.now()}),c?.elementsBaseUrl&&!y&&(S=`${c.elementsBaseUrl.replace(/\/elements\/?$/,"")}/web-elements/basis-theory-sdk.umd.js`,d("Derived SDK URL from elementsBaseUrl",{sdkUrl:S})),J(),{createElement(r,a){if(f&&i)return i.createElement(r,a);h.push({type:"createElement",args:[r,a],timestamp:Date.now()});let s=null;const k=[],z={get id(){return s?.id},get type(){return s?.type},get mounted(){return s?.mounted??!1},mount:async w=>(s=(await g(l,c)).createElement(r,a),k.forEach(({event:B,handler:G})=>{s.on(B,G)}),k.length=0,await s.mount(w)),on:(w,_)=>s?s.on(w,_):(k.push({event:w,handler:_}),()=>{const U=k.findIndex(B=>B.event===w&&B.handler===_);U!==-1&&k.splice(U,1)}),update:async(...w)=>{if(s)return s.update(...w)},unmount:()=>{s&&s.unmount()},focus:()=>{s&&s.focus()},blur:()=>{s&&s.blur()},clear:()=>{s&&s.clear()},setValueRef:async w=>{if(s?.setValueRef)return s.setValueRef(w);throw new Error("Element must be mounted before calling setValueRef")}};return r==="card"&&Object.defineProperties(z,{number:{get:()=>s?.number,enumerable:!0},expiryDate:{get:()=>s?.expiryDate,enumerable:!0},cvc:{get:()=>s?.cvc,enumerable:!0}}),z},async tokenize(r,a){return f&&i?i.tokenize(r,a):(await g(l,c)).tokenize(r,a)},updateThemeMode(r){if(f&&i)return i.updateThemeMode(r);h.push({type:"updateThemeMode",args:[r],timestamp:Date.now()})},async destroy(){d("Destroying loader / SDK instance",{sdkReady:f,hasInstance:!!i});const r=i&&typeof i.destroy=="function"?i.destroy():void 0;p&&(p(new Error("BasisTheory SDK destroyed before load completed")),p=null),b&&(b.remove(),b=null),i=null,f=!1,y=null,h.length=0,R=!0,S=e.sdkUrl,typeof window<"u"&&window.BasisTheory&&(window.BasisTheory.__sdkReady=!1);try{await r}catch(a){d("SDK destroy failed",{error:a.message})}},tokens:{async create(r){return f&&i?i.tokens.create(r):(await g(l,c)).tokens.create(r)},async retrieve(r,a){return f&&i?i.tokens.retrieve(r,a):(await g(l,c)).tokens.retrieve(r,a)},async update(r,a){return f&&i?i.tokens.update(r,a):(await g(l,c)).tokens.update(r,a)},async encrypt(r,a,s){return f&&i?i.tokens.encrypt(r,a,s):(await g(l,c)).tokens.encrypt(r,a,s)}},sessions:{async create(){return f&&i?i.sessions.create():(await g(l,c)).sessions.create()}},tokenIntents:{async create(r,a){return f&&i?i.tokenIntents.create(r,a):(await g(l,c)).tokenIntents.create(r,a)},async get(r,a){return f&&i?i.tokenIntents.get(r,a):(await g(l,c)).tokenIntents.get(r,a)}},proxy:(()=>{const r=a=>async s=>f&&i?i.proxy[a](s):(await g(l,c)).proxy[a](s);return{get:r("get"),post:r("post"),put:r("put"),patch:r("patch"),delete:r("delete")}})(),__queue:h,__loaderVersion:t}};return T.__sdkUrl=S,T.__version=t,Object.defineProperty(T,"__pending",{get(){return f?0:h.filter(l=>l.type==="init").length}}),T}if(typeof window<"u"){const e=typeof localStorage<"u"&&localStorage.getItem("bt_debug")==="true",t=P("BasisTheoryLoader",e),o=q(),n=C(o,"https://js.basistheory.com/3.0.0-beta.6/web-elements/basis-theory-sdk.umd.js"),u=(()=>{try{return new URL(n).origin!==new URL("https://js.basistheory.com/3.0.0-beta.6/web-elements/basis-theory-sdk.umd.js").origin}catch{return!1}})();u&&t("[BasisTheory] Whitelabel origin detected:",{detectedOrigin:o});const h={sdkUrl:n,version:"loader-0.1.0",debug:e,sdkSriHash:u?"":"sha384-u6tdmzH7U8jvH1J9rVNJE++zndN2+T6IRM3XPTRovHHOwgy4M8Gt4ZJr5k8mGjrC",whitelabelElementsBaseUrl:K(u?o:void 0,"https://js.basistheory.com/3.0.0-beta.6/web-elements/basis-theory-sdk.umd.js"),onSdkReady:()=>{window.BasisTheory.__sdkReady=!0,t("SDK loaded and ready")}},y=A(h);window.BasisTheory=y,window.BasisTheory.__loaderLoadTime=Date.now(),window.BasisTheory.__sdkReady=!1,t("SDK available at window.BasisTheory")}return $.createLoader=A,$})({});
1
+ var BasisTheoryLoader=(function(L){"use strict";const F=[/cardnumber/i,/^pan$/i,/accountnumber/i,/^number$/i],V=[/cvv/i,/cvc/i,/cvv2/i,/securitycode/i,/pin/i,/password/i,/secret/i,/token/i,/ssn/i,/track/i,/session_key/i,/^apikey$/i],$=e=>F.some(t=>t.test(e)),j=e=>V.some(t=>t.test(e)),D=e=>{const t=e.replace(/\D/g,"");if(t.length<10)return"***";const o=t.substring(0,6),n=t.substring(t.length-4),u=Math.max(t.length-10,6),d="*".repeat(u);return`${o}${d}${n}`},P=e=>{const t=e.replace(/[\s-]/g,"");return/^\d{13,19}$/.test(t)},N=(e,t)=>t==null?t:typeof t=="function"?"[Function]":typeof t=="symbol"?"[Symbol]":t instanceof RegExp?"[RegExp]":t instanceof Date?t:$(e)?typeof t=="string"?D(t):"***":j(e)?"***":typeof t=="string"&&P(t)?D(t):t,E=(e,t=0,o=new WeakSet)=>{if(t>=5)return"[Max Depth]";if(e==null)return e;if(typeof e=="string")return P(e)?D(e):e;if(typeof e!="object")return e;if(e instanceof RegExp)return"[RegExp]";if(e instanceof Date)return e;if(o.has(e))return"[Circular]";o.add(e);let n;if(Array.isArray(e))n=e.map(u=>E(u,t+1,o));else{const u={};for(const[d,h]of Object.entries(e)){const y=N(d,h);y!==null&&typeof y=="object"?u[d]=E(y,t+1,o):u[d]=y}n=u}return o.delete(e),n},C=e=>{const t={};for(const[o,n]of Object.entries(e))if($(o)||j(o)){const u=typeof n=="string"?n.length:typeof n=="number"?String(n).length:0;t[`${o}_length`]=u}else t[o]=E(n);return t},H=()=>{const e=new Date,t=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),n=String(e.getSeconds()).padStart(2,"0"),u=String(e.getMilliseconds()).padStart(3,"0");return`${t}:${o}:${n}.${u}`},v=(e,t)=>t?(o,n)=>{const u=H(),d=n?C(n):{};console.log(`🔍 [${u}] [${e}] ${o}`,d)}:()=>{},I=(e,t,o)=>{const n=new Error(t);return n.name="BasisTheoryError",n.code=e,n.details=o,Error.captureStackTrace&&Error.captureStackTrace(n,I),n.toJSON=()=>({name:n.name,code:n.code,message:n.message,...n.details&&{details:n.details}}),n},x=(e,t)=>{const o=I("CONFIGURATION_ERROR",e,t);return o.name="ConfigurationError",o},M=()=>{if(typeof document>"u")return;const e=document.currentScript;if(e?.src)try{const t=new URL(e.src).origin;if(t.startsWith("https"))return t}catch{}},q=(e,t)=>{if(!e)return t;try{const o=new URL(t);return`${e}${o.pathname}`}catch{return t}},K=(e,t)=>{if(e)try{const o=new URL(t),{pathname:n}=o,u=n.replace(/\/web-elements\/basis-theory-sdk\.umd\.js$/,"/elements");return u===n?void 0:`${e}${u}`}catch{return}};function A(e){const{version:t="loader-0.1.0",onSdkReady:o,debug:n=!1,sdkSriHash:u=""}=e,d=v("BasisTheoryLoader",n),h=[];let y=null,f=!1,i=null,b=null,k=null,R=!1,S=e.sdkUrl;function W(){return y||(y=new Promise((l,c)=>{if(k=c,window.__BasisTheorySDK__){d("SDK already loaded, skipping script injection"),k=null,f=!0,l(),o?.();return}const m=document.createElement("script");m.src=S,m.async=!0,m.crossOrigin="anonymous",b=m,u&&(m.integrity=u),m.onload=()=>{b===m&&(k=null,f=!0,l(),o?.())},m.onerror=()=>{b===m&&(k=null,y=null,c(new Error(`Failed to load BasisTheory SDK from ${S}`)))},document.head.appendChild(m)}),y)}function Q(){if(h.length===0)return[];d("Transforming queued commands for SDK",{count:h.length});const l=[];for(const c of h)c.type==="init"||c.type==="createElement"||l.push({method:c.type,args:c.args||[],resolve:()=>{},reject:m=>{console.error("[BasisTheory] Queued command failed:",c.type,m)}});return l}async function g(l,c){if(R)throw x("SDK instance has been destroyed. Create a new instance with BasisTheory()");if(i)return i;if(await y,!i){const m=Q();d("Initializing SDK with queued commands",{queueLength:m.length});const r=window.__BasisTheorySDK__;if(!r||typeof r!="function")throw x("BasisTheory SDK not found at window.__BasisTheorySDK__");d("Found SDK function",{type:typeof r}),i=r(l,c,m),h.length=0}return i}const T=function(l,c){return R=!1,e.whitelabelElementsBaseUrl&&!c?.elementsBaseUrl&&(c={...c,elementsBaseUrl:e.whitelabelElementsBaseUrl},n&&console.log("[BasisTheory] Whitelabel elementsBaseUrl injected:",e.whitelabelElementsBaseUrl)),h.push({type:"init",apiKey:l,options:c,timestamp:Date.now()}),c?.elementsBaseUrl&&!y&&(S=`${c.elementsBaseUrl.replace(/\/elements\/?$/,"")}/web-elements/basis-theory-sdk.umd.js`,d("Derived SDK URL from elementsBaseUrl",{sdkUrl:S})),W(),{createElement(r,a){if(f&&i)return i.createElement(r,a);h.push({type:"createElement",args:[r,a],timestamp:Date.now()});let s=null;const p=[],z={get id(){return s?.id},get type(){return s?.type},get mounted(){return s?.mounted??!1},mount:async w=>(s=(await g(l,c)).createElement(r,a),p.forEach(({event:B,handler:G})=>{s.on(B,G)}),p.length=0,await s.mount(w)),on:(w,_)=>s?s.on(w,_):(p.push({event:w,handler:_}),()=>{const U=p.findIndex(B=>B.event===w&&B.handler===_);U!==-1&&p.splice(U,1)}),update:async(...w)=>{if(s)return s.update(...w)},unmount:()=>{s&&s.unmount()},focus:()=>{s&&s.focus()},blur:()=>{s&&s.blur()},clear:()=>{s&&s.clear()},setValueRef:async w=>{if(s?.setValueRef)return s.setValueRef(w);throw new Error("Element must be mounted before calling setValueRef")}};return r==="card"&&Object.defineProperties(z,{number:{get:()=>s?.number,enumerable:!0},expiryDate:{get:()=>s?.expiryDate,enumerable:!0},cvc:{get:()=>s?.cvc,enumerable:!0}}),z},async tokenize(r,a){return f&&i?i.tokenize(r,a):(await g(l,c)).tokenize(r,a)},updateThemeMode(r){if(f&&i)return i.updateThemeMode(r);h.push({type:"updateThemeMode",args:[r],timestamp:Date.now()})},async destroy(){d("Destroying loader / SDK instance",{sdkReady:f,hasInstance:!!i});const r=i&&typeof i.destroy=="function"?i.destroy():void 0;k&&(k(new Error("BasisTheory SDK destroyed before load completed")),k=null),b&&(b.remove(),b=null),i=null,f=!1,y=null,h.length=0,R=!0,S=e.sdkUrl,typeof window<"u"&&window.BasisTheory&&(window.BasisTheory.__sdkReady=!1);try{await r}catch(a){d("SDK destroy failed",{error:a.message})}},tokens:{async create(r){return f&&i?i.tokens.create(r):(await g(l,c)).tokens.create(r)},async retrieve(r,a){return f&&i?i.tokens.retrieve(r,a):(await g(l,c)).tokens.retrieve(r,a)},async update(r,a){return f&&i?i.tokens.update(r,a):(await g(l,c)).tokens.update(r,a)},async encrypt(r,a,s){return f&&i?i.tokens.encrypt(r,a,s):(await g(l,c)).tokens.encrypt(r,a,s)}},sessions:{async create(){return f&&i?i.sessions.create():(await g(l,c)).sessions.create()}},tokenIntents:{async create(r,a){return f&&i?i.tokenIntents.create(r,a):(await g(l,c)).tokenIntents.create(r,a)},async get(r,a){return f&&i?i.tokenIntents.get(r,a):(await g(l,c)).tokenIntents.get(r,a)}},proxy:(()=>{const r=a=>async s=>f&&i?i.proxy[a](s):(await g(l,c)).proxy[a](s);return{get:r("get"),post:r("post"),put:r("put"),patch:r("patch"),delete:r("delete")}})(),__queue:h,__loaderVersion:t}};return T.__sdkUrl=S,T.__version=t,Object.defineProperty(T,"__pending",{get(){return f?0:h.filter(l=>l.type==="init").length}}),T}if(typeof window<"u"){const e=typeof localStorage<"u"&&localStorage.getItem("bt_debug")==="true",t=v("BasisTheoryLoader",e),o=M(),n=q(o,"https://js.basistheory.com/3.0.0/web-elements/basis-theory-sdk.umd.js"),u=(()=>{try{return new URL(n).origin!==new URL("https://js.basistheory.com/3.0.0/web-elements/basis-theory-sdk.umd.js").origin}catch{return!1}})();u&&t("[BasisTheory] Whitelabel origin detected:",{detectedOrigin:o});const h={sdkUrl:n,version:"loader-0.1.0",debug:e,sdkSriHash:u?"":"sha384-ZLkvk9jVR6H0+oHgeW/CLlgpzPFfePu54QkVV5tbsi7eI2k1sdCAzF3HxdlCSIqU",whitelabelElementsBaseUrl:K(u?o:void 0,"https://js.basistheory.com/3.0.0/web-elements/basis-theory-sdk.umd.js"),onSdkReady:()=>{window.BasisTheory.__sdkReady=!0,t("SDK loaded and ready")}},y=A(h);window.BasisTheory=y,window.BasisTheory.__loaderLoadTime=Date.now(),window.BasisTheory.__sdkReady=!1,t("SDK available at window.BasisTheory")}return L.createLoader=A,L})({});
package/dist/sri.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "versions": {
4
- "3.0.0-beta.6": {
4
+ "3.0.0": {
5
5
  "umd": {
6
- "hash": "sha384-u6tdmzH7U8jvH1J9rVNJE++zndN2+T6IRM3XPTRovHHOwgy4M8Gt4ZJr5k8mGjrC",
7
- "url": "https://js.basistheory.com/3.0.0-beta.6/web-elements/basis-theory-sdk.umd.js",
8
- "size": 56070
6
+ "hash": "sha384-ZLkvk9jVR6H0+oHgeW/CLlgpzPFfePu54QkVV5tbsi7eI2k1sdCAzF3HxdlCSIqU",
7
+ "url": "https://js.basistheory.com/3.0.0/web-elements/basis-theory-sdk.umd.js",
8
+ "size": 56049
9
9
  },
10
10
  "es": {
11
- "hash": "sha384-/B451fXQpRFM2Q41vxixRknI3GdzzHfji6An2SKKzeT9ClW0vJX+V58Lxx6YxEl2",
12
- "url": "https://js.basistheory.com/3.0.0-beta.6/web-elements/basis-theory-sdk.es.js",
11
+ "hash": "sha384-DqFcLBffFJOWEph6RFs2HD1dLP1kE25GVl/Hmox/LdFBXmSt6XBRNb+JXAS4jvwq",
12
+ "url": "https://js.basistheory.com/3.0.0/web-elements/basis-theory-sdk.es.js",
13
13
  "size": 108
14
14
  },
15
15
  "loader": {
16
- "hash": "sha384-YVVIT+jzHqQpY0XchGT/dpC37z15egSuXJxokiRETL+UU1DmOJIgYJ2tx50GLyy2",
17
- "url": "https://js.basistheory.com/3.0.0-beta.6/web-elements/basis-theory.js",
18
- "size": 7751
16
+ "hash": "sha384-JAZZrJkf0wTC4RoD4xUMQTotjUDOBU4qOwNXNGEUT1E6Sp/Qa4EUi9iXi47PBl2d",
17
+ "url": "https://js.basistheory.com/3.0.0/web-elements/basis-theory.js",
18
+ "size": 7730
19
19
  }
20
20
  }
21
21
  }
package/dist/stats.html CHANGED
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
4929
4929
  </script>
4930
4930
  <script>
4931
4931
  /*<!--*/
4932
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"basis-theory-sdk.umd.js","children":[{"name":"home/runner/work/basistheory-elements/basistheory-elements/packages","children":[{"name":"shared/dist","children":[{"uid":"fc8aba3f-1","name":"deep-sanitization.js"},{"uid":"fc8aba3f-3","name":"debug-logger.js"},{"uid":"fc8aba3f-5","name":"generate-id.js"},{"uid":"fc8aba3f-7","name":"logger-context.js"},{"uid":"fc8aba3f-9","name":"errors.js"},{"uid":"fc8aba3f-11","name":"proxy-validation.js"}]},{"name":"postmessage/dist/client.js","uid":"fc8aba3f-13"}]},{"name":"src","children":[{"name":"mounter/create-mounter.ts","uid":"fc8aba3f-15"},{"name":"utils","children":[{"uid":"fc8aba3f-17","name":"bind-coordinator-port.ts"},{"uid":"fc8aba3f-19","name":"create-iframe.ts"},{"uid":"fc8aba3f-21","name":"create-event-dispatcher.ts"},{"uid":"fc8aba3f-31","name":"resolve-element-references.ts"},{"uid":"fc8aba3f-35","name":"warn-unknown-keys.ts"},{"uid":"fc8aba3f-37","name":"validate-sdk-config.ts"},{"uid":"fc8aba3f-39","name":"validate-element-options.ts"}]},{"name":"elements","children":[{"uid":"fc8aba3f-23","name":"create-card-number.ts"},{"uid":"fc8aba3f-25","name":"create-cvv.ts"},{"uid":"fc8aba3f-27","name":"create-expiry.ts"},{"uid":"fc8aba3f-29","name":"create-text.ts"},{"uid":"fc8aba3f-47","name":"create-card.ts"},{"uid":"fc8aba3f-49","name":"create-copy-button.ts"},{"uid":"fc8aba3f-51","name":"create-card-display.ts"}]},{"name":"theme/default-theme.ts","uid":"fc8aba3f-33"},{"uid":"fc8aba3f-41","name":"BasisTheory.ts"},{"uid":"fc8aba3f-43","name":"version.ts"},{"uid":"fc8aba3f-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"fc8aba3f-1":{"renderedLength":5897,"gzipLength":1806,"brotliLength":1558,"metaUid":"fc8aba3f-0"},"fc8aba3f-3":{"renderedLength":2608,"gzipLength":1059,"brotliLength":903,"metaUid":"fc8aba3f-2"},"fc8aba3f-5":{"renderedLength":1334,"gzipLength":645,"brotliLength":531,"metaUid":"fc8aba3f-4"},"fc8aba3f-7":{"renderedLength":341,"gzipLength":224,"brotliLength":152,"metaUid":"fc8aba3f-6"},"fc8aba3f-9":{"renderedLength":2628,"gzipLength":748,"brotliLength":641,"metaUid":"fc8aba3f-8"},"fc8aba3f-11":{"renderedLength":14643,"gzipLength":4140,"brotliLength":3559,"metaUid":"fc8aba3f-10"},"fc8aba3f-13":{"renderedLength":12970,"gzipLength":3468,"brotliLength":2933,"metaUid":"fc8aba3f-12"},"fc8aba3f-15":{"renderedLength":484,"gzipLength":223,"brotliLength":164,"metaUid":"fc8aba3f-14"},"fc8aba3f-17":{"renderedLength":1590,"gzipLength":525,"brotliLength":435,"metaUid":"fc8aba3f-16"},"fc8aba3f-19":{"renderedLength":389,"gzipLength":200,"brotliLength":148,"metaUid":"fc8aba3f-18"},"fc8aba3f-21":{"renderedLength":3268,"gzipLength":837,"brotliLength":700,"metaUid":"fc8aba3f-20"},"fc8aba3f-23":{"renderedLength":8028,"gzipLength":1907,"brotliLength":1639,"metaUid":"fc8aba3f-22"},"fc8aba3f-25":{"renderedLength":7008,"gzipLength":1755,"brotliLength":1506,"metaUid":"fc8aba3f-24"},"fc8aba3f-27":{"renderedLength":6807,"gzipLength":1674,"brotliLength":1434,"metaUid":"fc8aba3f-26"},"fc8aba3f-29":{"renderedLength":8288,"gzipLength":2077,"brotliLength":1774,"metaUid":"fc8aba3f-28"},"fc8aba3f-31":{"renderedLength":1131,"gzipLength":439,"brotliLength":360,"metaUid":"fc8aba3f-30"},"fc8aba3f-33":{"renderedLength":4104,"gzipLength":1062,"brotliLength":915,"metaUid":"fc8aba3f-32"},"fc8aba3f-35":{"renderedLength":590,"gzipLength":285,"brotliLength":255,"metaUid":"fc8aba3f-34"},"fc8aba3f-37":{"renderedLength":5967,"gzipLength":1412,"brotliLength":1242,"metaUid":"fc8aba3f-36"},"fc8aba3f-39":{"renderedLength":4864,"gzipLength":1199,"brotliLength":1016,"metaUid":"fc8aba3f-38"},"fc8aba3f-41":{"renderedLength":32632,"gzipLength":6419,"brotliLength":5567,"metaUid":"fc8aba3f-40"},"fc8aba3f-43":{"renderedLength":85,"gzipLength":96,"brotliLength":89,"metaUid":"fc8aba3f-42"},"fc8aba3f-45":{"renderedLength":93,"gzipLength":93,"brotliLength":75,"metaUid":"fc8aba3f-44"},"fc8aba3f-47":{"renderedLength":9605,"gzipLength":2183,"brotliLength":1878,"metaUid":"fc8aba3f-46"},"fc8aba3f-49":{"renderedLength":9209,"gzipLength":2366,"brotliLength":2004,"metaUid":"fc8aba3f-48"},"fc8aba3f-51":{"renderedLength":10072,"gzipLength":2565,"brotliLength":2181,"metaUid":"fc8aba3f-50"}},"nodeMetas":{"fc8aba3f-0":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/deep-sanitization.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-1"},"imported":[],"importedBy":[{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-2"}]},"fc8aba3f-2":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/debug-logger.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-3"},"imported":[{"uid":"fc8aba3f-0"}],"importedBy":[{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-6"}]},"fc8aba3f-4":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/generate-id.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-5"},"imported":[],"importedBy":[{"uid":"fc8aba3f-53"}]},"fc8aba3f-6":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/logger-context.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-7"},"imported":[{"uid":"fc8aba3f-2"}],"importedBy":[{"uid":"fc8aba3f-53"}]},"fc8aba3f-8":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/errors.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-9"},"imported":[],"importedBy":[{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-10"}]},"fc8aba3f-10":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/proxy-validation.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-11"},"imported":[{"uid":"fc8aba3f-8"}],"importedBy":[{"uid":"fc8aba3f-53"}]},"fc8aba3f-12":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/client.js","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-13"},"imported":[{"uid":"fc8aba3f-53"}],"importedBy":[{"uid":"fc8aba3f-52"}]},"fc8aba3f-14":{"id":"/src/mounter/create-mounter.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-15"},"imported":[],"importedBy":[{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-46"},{"uid":"fc8aba3f-48"},{"uid":"fc8aba3f-50"}]},"fc8aba3f-16":{"id":"/src/utils/bind-coordinator-port.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-17"},"imported":[{"uid":"fc8aba3f-53"}],"importedBy":[{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-46"},{"uid":"fc8aba3f-48"},{"uid":"fc8aba3f-50"}]},"fc8aba3f-18":{"id":"/src/utils/create-iframe.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-19"},"imported":[],"importedBy":[{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-46"},{"uid":"fc8aba3f-48"},{"uid":"fc8aba3f-50"}]},"fc8aba3f-20":{"id":"/src/utils/create-event-dispatcher.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-21"},"imported":[],"importedBy":[{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-46"},{"uid":"fc8aba3f-48"}]},"fc8aba3f-22":{"id":"/src/elements/create-card-number.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-23"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"},{"uid":"fc8aba3f-20"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-24":{"id":"/src/elements/create-cvv.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-25"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"},{"uid":"fc8aba3f-20"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-26":{"id":"/src/elements/create-expiry.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-27"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"},{"uid":"fc8aba3f-20"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-28":{"id":"/src/elements/create-text.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-29"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"},{"uid":"fc8aba3f-20"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-30":{"id":"/src/utils/resolve-element-references.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-31"},"imported":[{"uid":"fc8aba3f-53"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-32":{"id":"/src/theme/default-theme.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-33"},"imported":[],"importedBy":[{"uid":"fc8aba3f-36"}]},"fc8aba3f-34":{"id":"/src/utils/warn-unknown-keys.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-35"},"imported":[],"importedBy":[{"uid":"fc8aba3f-36"},{"uid":"fc8aba3f-38"}]},"fc8aba3f-36":{"id":"/src/utils/validate-sdk-config.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-37"},"imported":[{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-32"},{"uid":"fc8aba3f-34"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-38":{"id":"/src/utils/validate-element-options.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-39"},"imported":[{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-34"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-40":{"id":"/src/BasisTheory.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-41"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-30"},{"uid":"fc8aba3f-36"},{"uid":"fc8aba3f-38"},{"uid":"fc8aba3f-46","dynamic":true},{"uid":"fc8aba3f-48","dynamic":true},{"uid":"fc8aba3f-50","dynamic":true}],"importedBy":[{"uid":"fc8aba3f-44"}]},"fc8aba3f-42":{"id":"/src/version.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-43"},"imported":[],"importedBy":[{"uid":"fc8aba3f-44"}]},"fc8aba3f-44":{"id":"/src/index.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-45"},"imported":[{"uid":"fc8aba3f-40"},{"uid":"fc8aba3f-42"}],"importedBy":[],"isEntry":true},"fc8aba3f-46":{"id":"/src/elements/create-card.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-47"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"},{"uid":"fc8aba3f-20"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-48":{"id":"/src/elements/create-copy-button.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-49"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"},{"uid":"fc8aba3f-20"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-50":{"id":"/src/elements/create-card-display.ts","moduleParts":{"basis-theory-sdk.umd.js":"fc8aba3f-51"},"imported":[{"uid":"fc8aba3f-52"},{"uid":"fc8aba3f-53"},{"uid":"fc8aba3f-14"},{"uid":"fc8aba3f-16"},{"uid":"fc8aba3f-18"}],"importedBy":[{"uid":"fc8aba3f-40"}]},"fc8aba3f-52":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/index.js","moduleParts":{},"imported":[{"uid":"fc8aba3f-12"},{"uid":"fc8aba3f-54"},{"uid":"fc8aba3f-55"},{"uid":"fc8aba3f-56"}],"importedBy":[{"uid":"fc8aba3f-40"},{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-46"},{"uid":"fc8aba3f-48"},{"uid":"fc8aba3f-50"}]},"fc8aba3f-53":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/index.js","moduleParts":{},"imported":[{"uid":"fc8aba3f-2"},{"uid":"fc8aba3f-0"},{"uid":"fc8aba3f-57"},{"uid":"fc8aba3f-4"},{"uid":"fc8aba3f-6"},{"uid":"fc8aba3f-8"},{"uid":"fc8aba3f-10"}],"importedBy":[{"uid":"fc8aba3f-40"},{"uid":"fc8aba3f-22"},{"uid":"fc8aba3f-24"},{"uid":"fc8aba3f-26"},{"uid":"fc8aba3f-28"},{"uid":"fc8aba3f-30"},{"uid":"fc8aba3f-36"},{"uid":"fc8aba3f-38"},{"uid":"fc8aba3f-46"},{"uid":"fc8aba3f-48"},{"uid":"fc8aba3f-50"},{"uid":"fc8aba3f-12"},{"uid":"fc8aba3f-54"},{"uid":"fc8aba3f-16"}]},"fc8aba3f-54":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/server.js","moduleParts":{},"imported":[{"uid":"fc8aba3f-53"}],"importedBy":[{"uid":"fc8aba3f-52"}]},"fc8aba3f-55":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/types.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"fc8aba3f-52"}]},"fc8aba3f-56":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/event-map.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"fc8aba3f-52"}]},"fc8aba3f-57":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/api-url-resolver.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"fc8aba3f-53"}]}},"env":{"rollup":"4.62.2"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4932
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"basis-theory-sdk.umd.js","children":[{"name":"home/runner/work/basistheory-elements/basistheory-elements/packages","children":[{"name":"shared/dist","children":[{"uid":"40641b98-1","name":"deep-sanitization.js"},{"uid":"40641b98-3","name":"debug-logger.js"},{"uid":"40641b98-5","name":"generate-id.js"},{"uid":"40641b98-7","name":"logger-context.js"},{"uid":"40641b98-9","name":"errors.js"},{"uid":"40641b98-11","name":"proxy-validation.js"}]},{"name":"postmessage/dist/client.js","uid":"40641b98-13"}]},{"name":"src","children":[{"name":"mounter/create-mounter.ts","uid":"40641b98-15"},{"name":"utils","children":[{"uid":"40641b98-17","name":"bind-coordinator-port.ts"},{"uid":"40641b98-19","name":"create-iframe.ts"},{"uid":"40641b98-21","name":"create-event-dispatcher.ts"},{"uid":"40641b98-31","name":"resolve-element-references.ts"},{"uid":"40641b98-35","name":"warn-unknown-keys.ts"},{"uid":"40641b98-37","name":"validate-sdk-config.ts"},{"uid":"40641b98-39","name":"validate-element-options.ts"}]},{"name":"elements","children":[{"uid":"40641b98-23","name":"create-card-number.ts"},{"uid":"40641b98-25","name":"create-cvv.ts"},{"uid":"40641b98-27","name":"create-expiry.ts"},{"uid":"40641b98-29","name":"create-text.ts"},{"uid":"40641b98-47","name":"create-card.ts"},{"uid":"40641b98-49","name":"create-copy-button.ts"},{"uid":"40641b98-51","name":"create-card-display.ts"}]},{"name":"theme/default-theme.ts","uid":"40641b98-33"},{"uid":"40641b98-41","name":"BasisTheory.ts"},{"uid":"40641b98-43","name":"version.ts"},{"uid":"40641b98-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"40641b98-1":{"renderedLength":5897,"gzipLength":1806,"brotliLength":1558,"metaUid":"40641b98-0"},"40641b98-3":{"renderedLength":2608,"gzipLength":1059,"brotliLength":903,"metaUid":"40641b98-2"},"40641b98-5":{"renderedLength":1334,"gzipLength":645,"brotliLength":531,"metaUid":"40641b98-4"},"40641b98-7":{"renderedLength":341,"gzipLength":224,"brotliLength":152,"metaUid":"40641b98-6"},"40641b98-9":{"renderedLength":2628,"gzipLength":748,"brotliLength":641,"metaUid":"40641b98-8"},"40641b98-11":{"renderedLength":14643,"gzipLength":4140,"brotliLength":3559,"metaUid":"40641b98-10"},"40641b98-13":{"renderedLength":12970,"gzipLength":3468,"brotliLength":2933,"metaUid":"40641b98-12"},"40641b98-15":{"renderedLength":484,"gzipLength":223,"brotliLength":164,"metaUid":"40641b98-14"},"40641b98-17":{"renderedLength":1590,"gzipLength":525,"brotliLength":435,"metaUid":"40641b98-16"},"40641b98-19":{"renderedLength":389,"gzipLength":200,"brotliLength":148,"metaUid":"40641b98-18"},"40641b98-21":{"renderedLength":3268,"gzipLength":837,"brotliLength":700,"metaUid":"40641b98-20"},"40641b98-23":{"renderedLength":8028,"gzipLength":1907,"brotliLength":1639,"metaUid":"40641b98-22"},"40641b98-25":{"renderedLength":7008,"gzipLength":1755,"brotliLength":1506,"metaUid":"40641b98-24"},"40641b98-27":{"renderedLength":6807,"gzipLength":1674,"brotliLength":1434,"metaUid":"40641b98-26"},"40641b98-29":{"renderedLength":8288,"gzipLength":2077,"brotliLength":1774,"metaUid":"40641b98-28"},"40641b98-31":{"renderedLength":1131,"gzipLength":439,"brotliLength":360,"metaUid":"40641b98-30"},"40641b98-33":{"renderedLength":4104,"gzipLength":1062,"brotliLength":915,"metaUid":"40641b98-32"},"40641b98-35":{"renderedLength":590,"gzipLength":285,"brotliLength":255,"metaUid":"40641b98-34"},"40641b98-37":{"renderedLength":5953,"gzipLength":1405,"brotliLength":1235,"metaUid":"40641b98-36"},"40641b98-39":{"renderedLength":4864,"gzipLength":1199,"brotliLength":1016,"metaUid":"40641b98-38"},"40641b98-41":{"renderedLength":32632,"gzipLength":6419,"brotliLength":5567,"metaUid":"40641b98-40"},"40641b98-43":{"renderedLength":78,"gzipLength":88,"brotliLength":82,"metaUid":"40641b98-42"},"40641b98-45":{"renderedLength":93,"gzipLength":93,"brotliLength":75,"metaUid":"40641b98-44"},"40641b98-47":{"renderedLength":9605,"gzipLength":2183,"brotliLength":1878,"metaUid":"40641b98-46"},"40641b98-49":{"renderedLength":9209,"gzipLength":2366,"brotliLength":2004,"metaUid":"40641b98-48"},"40641b98-51":{"renderedLength":10072,"gzipLength":2565,"brotliLength":2181,"metaUid":"40641b98-50"}},"nodeMetas":{"40641b98-0":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/deep-sanitization.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-1"},"imported":[],"importedBy":[{"uid":"40641b98-53"},{"uid":"40641b98-2"}]},"40641b98-2":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/debug-logger.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-3"},"imported":[{"uid":"40641b98-0"}],"importedBy":[{"uid":"40641b98-53"},{"uid":"40641b98-6"}]},"40641b98-4":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/generate-id.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-5"},"imported":[],"importedBy":[{"uid":"40641b98-53"}]},"40641b98-6":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/logger-context.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-7"},"imported":[{"uid":"40641b98-2"}],"importedBy":[{"uid":"40641b98-53"}]},"40641b98-8":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/errors.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-9"},"imported":[],"importedBy":[{"uid":"40641b98-53"},{"uid":"40641b98-10"}]},"40641b98-10":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/proxy-validation.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-11"},"imported":[{"uid":"40641b98-8"}],"importedBy":[{"uid":"40641b98-53"}]},"40641b98-12":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/client.js","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-13"},"imported":[{"uid":"40641b98-53"}],"importedBy":[{"uid":"40641b98-52"}]},"40641b98-14":{"id":"/src/mounter/create-mounter.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-15"},"imported":[],"importedBy":[{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-46"},{"uid":"40641b98-48"},{"uid":"40641b98-50"}]},"40641b98-16":{"id":"/src/utils/bind-coordinator-port.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-17"},"imported":[{"uid":"40641b98-53"}],"importedBy":[{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-46"},{"uid":"40641b98-48"},{"uid":"40641b98-50"}]},"40641b98-18":{"id":"/src/utils/create-iframe.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-19"},"imported":[],"importedBy":[{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-46"},{"uid":"40641b98-48"},{"uid":"40641b98-50"}]},"40641b98-20":{"id":"/src/utils/create-event-dispatcher.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-21"},"imported":[],"importedBy":[{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-46"},{"uid":"40641b98-48"}]},"40641b98-22":{"id":"/src/elements/create-card-number.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-23"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"},{"uid":"40641b98-20"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-24":{"id":"/src/elements/create-cvv.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-25"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"},{"uid":"40641b98-20"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-26":{"id":"/src/elements/create-expiry.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-27"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"},{"uid":"40641b98-20"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-28":{"id":"/src/elements/create-text.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-29"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"},{"uid":"40641b98-20"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-30":{"id":"/src/utils/resolve-element-references.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-31"},"imported":[{"uid":"40641b98-53"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-32":{"id":"/src/theme/default-theme.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-33"},"imported":[],"importedBy":[{"uid":"40641b98-36"}]},"40641b98-34":{"id":"/src/utils/warn-unknown-keys.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-35"},"imported":[],"importedBy":[{"uid":"40641b98-36"},{"uid":"40641b98-38"}]},"40641b98-36":{"id":"/src/utils/validate-sdk-config.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-37"},"imported":[{"uid":"40641b98-53"},{"uid":"40641b98-32"},{"uid":"40641b98-34"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-38":{"id":"/src/utils/validate-element-options.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-39"},"imported":[{"uid":"40641b98-53"},{"uid":"40641b98-34"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-40":{"id":"/src/BasisTheory.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-41"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-30"},{"uid":"40641b98-36"},{"uid":"40641b98-38"},{"uid":"40641b98-46","dynamic":true},{"uid":"40641b98-48","dynamic":true},{"uid":"40641b98-50","dynamic":true}],"importedBy":[{"uid":"40641b98-44"}]},"40641b98-42":{"id":"/src/version.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-43"},"imported":[],"importedBy":[{"uid":"40641b98-44"}]},"40641b98-44":{"id":"/src/index.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-45"},"imported":[{"uid":"40641b98-40"},{"uid":"40641b98-42"}],"importedBy":[],"isEntry":true},"40641b98-46":{"id":"/src/elements/create-card.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-47"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"},{"uid":"40641b98-20"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-48":{"id":"/src/elements/create-copy-button.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-49"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"},{"uid":"40641b98-20"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-50":{"id":"/src/elements/create-card-display.ts","moduleParts":{"basis-theory-sdk.umd.js":"40641b98-51"},"imported":[{"uid":"40641b98-52"},{"uid":"40641b98-53"},{"uid":"40641b98-14"},{"uid":"40641b98-16"},{"uid":"40641b98-18"}],"importedBy":[{"uid":"40641b98-40"}]},"40641b98-52":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/index.js","moduleParts":{},"imported":[{"uid":"40641b98-12"},{"uid":"40641b98-54"},{"uid":"40641b98-55"},{"uid":"40641b98-56"}],"importedBy":[{"uid":"40641b98-40"},{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-46"},{"uid":"40641b98-48"},{"uid":"40641b98-50"}]},"40641b98-53":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/index.js","moduleParts":{},"imported":[{"uid":"40641b98-2"},{"uid":"40641b98-0"},{"uid":"40641b98-57"},{"uid":"40641b98-4"},{"uid":"40641b98-6"},{"uid":"40641b98-8"},{"uid":"40641b98-10"}],"importedBy":[{"uid":"40641b98-40"},{"uid":"40641b98-22"},{"uid":"40641b98-24"},{"uid":"40641b98-26"},{"uid":"40641b98-28"},{"uid":"40641b98-30"},{"uid":"40641b98-36"},{"uid":"40641b98-38"},{"uid":"40641b98-46"},{"uid":"40641b98-48"},{"uid":"40641b98-50"},{"uid":"40641b98-12"},{"uid":"40641b98-54"},{"uid":"40641b98-16"}]},"40641b98-54":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/server.js","moduleParts":{},"imported":[{"uid":"40641b98-53"}],"importedBy":[{"uid":"40641b98-52"}]},"40641b98-55":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/types.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"40641b98-52"}]},"40641b98-56":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/postmessage/dist/event-map.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"40641b98-52"}]},"40641b98-57":{"id":"/home/runner/work/basistheory-elements/basistheory-elements/packages/shared/dist/api-url-resolver.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"40641b98-53"}]}},"env":{"rollup":"4.62.2"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
4933
 
4934
4934
  const run = () => {
4935
4935
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-theory/web-elements",
3
- "version": "3.0.0-beta.6",
3
+ "version": "3.0.0",
4
4
  "description": "Secure, PCI-compliant elements for creating payment input forms",
5
5
  "type": "module",
6
6
  "main": "./dist/basis-theory-sdk.umd.js",
@@ -48,10 +48,10 @@
48
48
  "directory": "packages/web-elements"
49
49
  },
50
50
  "devDependencies": {
51
- "@basis-theory-elements/api-client": "3.0.0-beta.6",
52
- "@basis-theory-elements/postmessage": "3.0.0-beta.6",
53
- "@basis-theory-elements/shared": "3.0.0-beta.6",
54
- "@basis-theory-elements/validation": "3.0.0-beta.6",
51
+ "@basis-theory-elements/api-client": "3.0.0",
52
+ "@basis-theory-elements/postmessage": "3.0.0",
53
+ "@basis-theory-elements/shared": "3.0.0",
54
+ "@basis-theory-elements/validation": "3.0.0",
55
55
  "@microsoft/api-extractor": "^7.58.9",
56
56
  "@types/node": "^20.0.0",
57
57
  "jsdom": "^24.0.0",
@@ -1,49 +0,0 @@
1
- {
2
- "_index-DPhSs28B.js": {
3
- "file": "index-DPhSs28B.js",
4
- "name": "index",
5
- "dynamicImports": [
6
- "src/elements/create-card.ts",
7
- "src/elements/create-copy-button.ts",
8
- "src/elements/create-card-display.ts"
9
- ],
10
- "integrity": "sha384-hwT0UiNet3tEqMEjDodUg159vUzY6Z8EvpWRyyvQRbWgWWb75IbHTIaK+e0I8E/8"
11
- },
12
- "src/elements/create-card-display.ts": {
13
- "file": "create-card-display-DscvxIs4.js",
14
- "name": "create-card-display",
15
- "src": "src/elements/create-card-display.ts",
16
- "isDynamicEntry": true,
17
- "imports": [
18
- "_index-DPhSs28B.js"
19
- ],
20
- "integrity": "sha384-0spqIJB0NWhApb/fjJ4ZqnRXSG2brSO0XKR8ySQ8tGSKkt2MQWB2Or64pujF1vtD"
21
- },
22
- "src/elements/create-card.ts": {
23
- "file": "create-card-C0MwL3Ou.js",
24
- "name": "create-card",
25
- "src": "src/elements/create-card.ts",
26
- "isDynamicEntry": true,
27
- "imports": [
28
- "_index-DPhSs28B.js"
29
- ],
30
- "integrity": "sha384-e/TgduYMyd3osepoVOTzn75Fe8eYnQrInLS0Zd/SotOaX0PEbXdy7RJ8q6F7/4Un"
31
- },
32
- "src/elements/create-copy-button.ts": {
33
- "file": "create-copy-button-DlJ3VvAn.js",
34
- "name": "create-copy-button",
35
- "src": "src/elements/create-copy-button.ts",
36
- "isDynamicEntry": true,
37
- "imports": [
38
- "_index-DPhSs28B.js"
39
- ],
40
- "integrity": "sha384-tU3sPCZP4/zgQmPZ2EYZCMW50JgCW3ShGn5Bc2ecuZvVURaXWbAFIJVSfFprGUz1"
41
- },
42
- "src/index.ts": {
43
- "file": "basis-theory-sdk.umd.js",
44
- "name": "index",
45
- "src": "src/index.ts",
46
- "isEntry": true,
47
- "integrity": "sha384-u6tdmzH7U8jvH1J9rVNJE++zndN2+T6IRM3XPTRovHHOwgy4M8Gt4ZJr5k8mGjrC"
48
- }
49
- }