@plaidev/karte-action-sdk 1.0.44 → 1.1.46

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.
Files changed (2) hide show
  1. package/dist/index.es.js +1 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -138,8 +138,7 @@ const send_event = (event_name, values) => {
138
138
  options?.send?.(event_name, values);
139
139
  };
140
140
  const isPreview = () => {
141
- const options = get(functionOptions);
142
- return !!options?.isPreview;
141
+ return typeof process !== 'undefined' && process.env.IS_PREVIEW === 'true';
143
142
  };
144
143
  const setMiximumZindex = (zindex) => {
145
144
  if (!zindex || zindex < get(maximumZindex))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.0.44",
3
+ "version": "1.1.46",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",