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

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.
@@ -1535,6 +1535,7 @@ function collection$1(config) {
1535
1535
  };
1536
1536
  }
1537
1537
  function request(url, data, cb) {
1538
+ console.log('[debug] request', isPreview(), url, JSON.stringify(data));
1538
1539
  fetch(url, {
1539
1540
  method: 'POST',
1540
1541
  headers: {
@@ -1558,7 +1559,7 @@ const loadActionTableQuery = async (config, api_key, endpoint) => {
1558
1559
  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))));
1559
1560
  };
1560
1561
  const loadActionTable = async (config, api_key, endpoint) => {
1561
- console.log('[debug] loadActionTable', isPreview(), api_key);
1562
+ console.log('[debug] loadActionTable', isPreview(), api_key, endpoint, JSON.stringify(config));
1562
1563
  const results = config.map(c => c.preview_value)
1563
1564
  ;
1564
1565
  return config.reduce((acc, c, i) => {
package/dist/index.es.js CHANGED
@@ -1605,6 +1605,7 @@ function collection$1(config) {
1605
1605
  };
1606
1606
  }
1607
1607
  function request(url, data, cb) {
1608
+ console.log('[debug] request', isPreview(), url, JSON.stringify(data));
1608
1609
  fetch(url, {
1609
1610
  method: 'POST',
1610
1611
  headers: {
@@ -1628,7 +1629,7 @@ const loadActionTableQuery = async (config, api_key, endpoint) => {
1628
1629
  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))));
1629
1630
  };
1630
1631
  const loadActionTable = async (config, api_key, endpoint) => {
1631
- console.log('[debug] loadActionTable', isPreview(), api_key);
1632
+ console.log('[debug] loadActionTable', isPreview(), api_key, endpoint, JSON.stringify(config));
1632
1633
  const results = await Promise.all(config
1633
1634
  .filter(c => c.resolver === 'action-table-row' ||
1634
1635
  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-27959707.9408cf31",
3
+ "version": "1.1.132-27959728.c2a0d8c6",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",