@plaidev/karte-action-sdk 1.1.267-29082453.379cb476 → 1.1.267-29082699.18b12594

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.
@@ -1853,7 +1853,6 @@ function createModal(App, options = {
1853
1853
  close(trigger);
1854
1854
  };
1855
1855
  const show = async (trigger = 'none') => {
1856
- console.log('show trigger', trigger);
1857
1856
  if (app) {
1858
1857
  return;
1859
1858
  }
@@ -21160,7 +21159,6 @@ function getActionRoot() {
21160
21159
  }
21161
21160
  /** @internal */
21162
21161
  function ensureActionRoot(useShadow = true) {
21163
- console.log('useShadow', useShadow);
21164
21162
  const systemConfig = getSystem();
21165
21163
  const rootAttrs = {
21166
21164
  class: `${KARTE_ACTION_ROOT} ${KARTE_MODAL_ROOT}`,
@@ -21171,13 +21169,11 @@ function ensureActionRoot(useShadow = true) {
21171
21169
  style: { display: 'block' },
21172
21170
  };
21173
21171
  let el = document.querySelector(`.${KARTE_MODAL_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
21174
- console.log('el', el);
21175
21172
  if (el == null) {
21176
21173
  el = h('div', rootAttrs);
21177
21174
  document.body.appendChild(el);
21178
21175
  }
21179
21176
  const isShadow = !!document.body.attachShadow && useShadow;
21180
- console.log('isShadow', isShadow);
21181
21177
  if (isShadow) {
21182
21178
  return el.shadowRoot ?? el.attachShadow({ mode: 'open' });
21183
21179
  }
package/dist/index.es.js CHANGED
@@ -1889,7 +1889,6 @@ function createModal(App, options = {
1889
1889
  close(trigger);
1890
1890
  };
1891
1891
  const show = async (trigger = 'none') => {
1892
- console.log('show trigger', trigger);
1893
1892
  if (app) {
1894
1893
  return;
1895
1894
  }
@@ -19553,7 +19552,6 @@ function getActionRoot() {
19553
19552
  }
19554
19553
  /** @internal */
19555
19554
  function ensureActionRoot(useShadow = true) {
19556
- console.log('useShadow', useShadow);
19557
19555
  const systemConfig = getSystem();
19558
19556
  const rootAttrs = {
19559
19557
  class: `${KARTE_ACTION_ROOT} ${KARTE_MODAL_ROOT}`,
@@ -19564,13 +19562,11 @@ function ensureActionRoot(useShadow = true) {
19564
19562
  style: { display: 'block' },
19565
19563
  };
19566
19564
  let el = document.querySelector(`.${KARTE_MODAL_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
19567
- console.log('el', el);
19568
19565
  if (el == null) {
19569
19566
  el = h('div', rootAttrs);
19570
19567
  document.body.appendChild(el);
19571
19568
  }
19572
19569
  const isShadow = !!document.body.attachShadow && useShadow;
19573
- console.log('isShadow', isShadow);
19574
19570
  if (isShadow) {
19575
19571
  return el.shadowRoot ?? el.attachShadow({ mode: 'open' });
19576
19572
  }
@@ -1716,7 +1716,6 @@ function createModal(App, options = {
1716
1716
  close(trigger);
1717
1717
  };
1718
1718
  const show = async (trigger = 'none') => {
1719
- console.log('show trigger', trigger);
1720
1719
  if (app) {
1721
1720
  return;
1722
1721
  }
@@ -2275,7 +2274,6 @@ function getActionRoot() {
2275
2274
  }
2276
2275
  /** @internal */
2277
2276
  function ensureActionRoot(useShadow = true) {
2278
- console.log('useShadow', useShadow);
2279
2277
  const systemConfig = getSystem();
2280
2278
  const rootAttrs = {
2281
2279
  class: `${KARTE_ACTION_ROOT} ${KARTE_MODAL_ROOT}`,
@@ -2286,13 +2284,11 @@ function ensureActionRoot(useShadow = true) {
2286
2284
  style: { display: 'block' },
2287
2285
  };
2288
2286
  let el = document.querySelector(`.${KARTE_MODAL_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
2289
- console.log('el', el);
2290
2287
  if (el == null) {
2291
2288
  el = h('div', rootAttrs);
2292
2289
  document.body.appendChild(el);
2293
2290
  }
2294
2291
  const isShadow = !!document.body.attachShadow && useShadow;
2295
- console.log('isShadow', isShadow);
2296
2292
  if (isShadow) {
2297
2293
  return el.shadowRoot ?? el.attachShadow({ mode: 'open' });
2298
2294
  }
@@ -1736,7 +1736,6 @@ function createModal(App, options = {
1736
1736
  close(trigger);
1737
1737
  };
1738
1738
  const show = async (trigger = 'none') => {
1739
- console.log('show trigger', trigger);
1740
1739
  if (app) {
1741
1740
  return;
1742
1741
  }
@@ -2316,7 +2315,6 @@ function getActionRoot() {
2316
2315
  }
2317
2316
  /** @internal */
2318
2317
  function ensureActionRoot(useShadow = true) {
2319
- console.log('useShadow', useShadow);
2320
2318
  const systemConfig = getSystem();
2321
2319
  const rootAttrs = {
2322
2320
  class: `${KARTE_ACTION_ROOT} ${KARTE_MODAL_ROOT}`,
@@ -2327,13 +2325,11 @@ function ensureActionRoot(useShadow = true) {
2327
2325
  style: { display: 'block' },
2328
2326
  };
2329
2327
  let el = document.querySelector(`.${KARTE_MODAL_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
2330
- console.log('el', el);
2331
2328
  if (el == null) {
2332
2329
  el = h('div', rootAttrs);
2333
2330
  document.body.appendChild(el);
2334
2331
  }
2335
2332
  const isShadow = !!document.body.attachShadow && useShadow;
2336
- console.log('isShadow', isShadow);
2337
2333
  if (isShadow) {
2338
2334
  return el.shadowRoot ?? el.attachShadow({ mode: 'open' });
2339
2335
  }
@@ -1736,7 +1736,6 @@ function createModal(App, options = {
1736
1736
  close(trigger);
1737
1737
  };
1738
1738
  const show = async (trigger = 'none') => {
1739
- console.log('show trigger', trigger);
1740
1739
  if (app) {
1741
1740
  return;
1742
1741
  }
@@ -2316,7 +2315,6 @@ function getActionRoot() {
2316
2315
  }
2317
2316
  /** @internal */
2318
2317
  function ensureActionRoot(useShadow = true) {
2319
- console.log('useShadow', useShadow);
2320
2318
  const systemConfig = getSystem();
2321
2319
  const rootAttrs = {
2322
2320
  class: `${KARTE_ACTION_ROOT} ${KARTE_MODAL_ROOT}`,
@@ -2327,13 +2325,11 @@ function ensureActionRoot(useShadow = true) {
2327
2325
  style: { display: 'block' },
2328
2326
  };
2329
2327
  let el = document.querySelector(`.${KARTE_MODAL_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
2330
- console.log('el', el);
2331
2328
  if (el == null) {
2332
2329
  el = h('div', rootAttrs);
2333
2330
  document.body.appendChild(el);
2334
2331
  }
2335
2332
  const isShadow = !!document.body.attachShadow && useShadow;
2336
- console.log('isShadow', isShadow);
2337
2333
  if (isShadow) {
2338
2334
  return el.shadowRoot ?? el.attachShadow({ mode: 'open' });
2339
2335
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.267-29082453.379cb476",
3
+ "version": "1.1.267-29082699.18b12594",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",