@plaidev/karte-action-sdk 1.1.132-27959728.c2a0d8c6 → 1.1.132

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.
@@ -6,10 +6,6 @@ import { setContext, getContext, createEventDispatcher, onMount, onDestroy as on
6
6
  /** @internal */
7
7
  const NOOP = (_args) => { }; // eslint-disable-line @typescript-eslint/no-unused-vars
8
8
  /** @internal */
9
- const isPreview = () => {
10
- return true;
11
- };
12
- /** @internal */
13
9
  const handleFocus = (node) => (e) => {
14
10
  if (node) {
15
11
  // trap focus
@@ -1535,7 +1531,6 @@ function collection$1(config) {
1535
1531
  };
1536
1532
  }
1537
1533
  function request(url, data, cb) {
1538
- console.log('[debug] request', isPreview(), url, JSON.stringify(data));
1539
1534
  fetch(url, {
1540
1535
  method: 'POST',
1541
1536
  headers: {
@@ -1559,7 +1554,6 @@ const loadActionTableQuery = async (config, api_key, endpoint) => {
1559
1554
  return new Promise((resolve, reject) => collection$1({ endpoint, api_key, table: config.default.table_name }).getByQuery(config.default.query_name, config.default.params, null, (err, data) => (err ? reject(err) : resolve(data))));
1560
1555
  };
1561
1556
  const loadActionTable = async (config, api_key, endpoint) => {
1562
- console.log('[debug] loadActionTable', isPreview(), api_key, endpoint, JSON.stringify(config));
1563
1557
  const results = config.map(c => c.preview_value)
1564
1558
  ;
1565
1559
  return config.reduce((acc, c, i) => {
package/dist/index.es.js CHANGED
@@ -6,10 +6,6 @@ import { setContext, getContext, createEventDispatcher, onMount, onDestroy as on
6
6
  /** @internal */
7
7
  const NOOP = (_args) => { }; // eslint-disable-line @typescript-eslint/no-unused-vars
8
8
  /** @internal */
9
- const isPreview = () => {
10
- return false;
11
- };
12
- /** @internal */
13
9
  const handleFocus = (node) => (e) => {
14
10
  if (node) {
15
11
  // trap focus
@@ -1605,7 +1601,6 @@ function collection$1(config) {
1605
1601
  };
1606
1602
  }
1607
1603
  function request(url, data, cb) {
1608
- console.log('[debug] request', isPreview(), url, JSON.stringify(data));
1609
1604
  fetch(url, {
1610
1605
  method: 'POST',
1611
1606
  headers: {
@@ -1629,7 +1624,6 @@ const loadActionTableQuery = async (config, api_key, endpoint) => {
1629
1624
  return new Promise((resolve, reject) => collection$1({ endpoint, api_key, table: config.default.table_name }).getByQuery(config.default.query_name, config.default.params, null, (err, data) => (err ? reject(err) : resolve(data))));
1630
1625
  };
1631
1626
  const loadActionTable = async (config, api_key, endpoint) => {
1632
- console.log('[debug] loadActionTable', isPreview(), api_key, endpoint, JSON.stringify(config));
1633
1627
  const results = await Promise.all(config
1634
1628
  .filter(c => c.resolver === 'action-table-row' ||
1635
1629
  c.resolver === 'action-table-rows' ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.132-27959728.c2a0d8c6",
3
+ "version": "1.1.132",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",