@justifi/webcomponents 0.0.7 → 0.0.8

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.
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["justifi-card-form_2.cjs",[[1,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
17
+ return index.bootstrapLazy([["justifi-card-form_2.cjs",[[0,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["justifi-card-form_2.cjs",[[1,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
18
+ return index.bootstrapLazy([["justifi-card-form_2.cjs",[[0,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
19
19
  });
@@ -61,7 +61,6 @@ export class CardForm {
61
61
  return (h(Host, null, h("iframe", { id: "justifi-card-form", src: this.iframeOrigin || 'https://js.justifi.ai', ref: (el) => this.iframeElement = el })));
62
62
  }
63
63
  static get is() { return "justifi-card-form"; }
64
- static get encapsulation() { return "shadow"; }
65
64
  static get originalStyleUrls() {
66
65
  return {
67
66
  "$": ["card-form.css"]
@@ -13,7 +13,6 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
13
13
  constructor() {
14
14
  super();
15
15
  this.__registerHost();
16
- this.__attachShadow();
17
16
  this.cardFormReady = createEvent(this, "cardFormReady", 7);
18
17
  this.cardFormChange = createEvent(this, "cardFormChange", 7);
19
18
  this.cardFormBlur = createEvent(this, "cardFormBlur", 7);
@@ -69,7 +68,7 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
69
68
  return (h(Host, null, h("iframe", { id: "justifi-card-form", src: this.iframeOrigin || 'https://js.justifi.ai', ref: (el) => this.iframeElement = el })));
70
69
  }
71
70
  static get style() { return cardFormCss; }
72
- }, [1, "justifi-card-form", {
71
+ }, [0, "justifi-card-form", {
73
72
  "iframeOrigin": [1, "iframe-origin"],
74
73
  "tokenize": [64]
75
74
  }]);
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["justifi-card-form_2",[[1,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
13
+ return bootstrapLazy([["justifi-card-form_2",[[0,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -13,5 +13,5 @@ const patchBrowser = () => {
13
13
  };
14
14
 
15
15
  patchBrowser().then(options => {
16
- return bootstrapLazy([["justifi-card-form_2",[[1,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
16
+ return bootstrapLazy([["justifi-card-form_2",[[0,"justifi-card-form",{"iframeOrigin":[1,"iframe-origin"],"tokenize":[64]}],[1,"justifi-payments-list",{"accountId":[1,"account-id"],"auth":[16],"payments":[32]}]]]], options);
17
17
  });
@@ -1 +1 @@
1
- import{p as i,b as t}from"./p-5bf626ec.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),i(a)})().then((i=>t([["p-a7effb1e",[[1,"justifi-card-form",{iframeOrigin:[1,"iframe-origin"],tokenize:[64]}],[1,"justifi-payments-list",{accountId:[1,"account-id"],auth:[16],payments:[32]}]]]],i)));
1
+ import{p as i,b as t}from"./p-5bf626ec.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),i(a)})().then((i=>t([["p-a7effb1e",[[0,"justifi-card-form",{iframeOrigin:[1,"iframe-origin"],tokenize:[64]}],[1,"justifi-payments-list",{accountId:[1,"account-id"],auth:[16],payments:[32]}]]]],i)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justifi/webcomponents",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "JustiFi Web Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",