@plaidev/karte-action-sdk 1.1.101-27899141.2f8c626c → 1.1.101-27899192.5a50ebd2

Sign up to get free protection for your applications and to get access to all the features.
@@ -881,7 +881,6 @@ function create(App, options = {
881
881
  hydrate: true,
882
882
  props: {
883
883
  send: options.send,
884
- close,
885
884
  data,
886
885
  onShow: (props) => {
887
886
  const { onShowHandlers } = getInternalHandlers();
package/dist/index.es.js CHANGED
@@ -983,7 +983,6 @@ function create(App, options = {
983
983
  hydrate: false,
984
984
  props: {
985
985
  send: options.send,
986
- close,
987
986
  data,
988
987
  onShow: (props) => {
989
988
  const { onShowHandlers } = getInternalHandlers();
package/dist/templates.js CHANGED
@@ -36,7 +36,6 @@ export let send: (event_name: string, values?: any) => void;
36
36
  let data_: Data;
37
37
  export { data_ as data };
38
38
  let data = writable<Data & CustomVariables>({ ...data_ });
39
- export let close: () => void;
40
39
  export let onShow: (props: ActionProps<Props, Variables>) => void = _props => {};
41
40
  export let onChangeState: (props: ActionProps<Props, Variables>, stateId: string) => void = (_props, _state) => {};
42
41
  ${script}
@@ -44,12 +43,6 @@ onMount(() => {
44
43
  onShow({ send, data: $data });
45
44
  });
46
45
 
47
- // $: {
48
- // if (!$opened) {
49
- // close();
50
- // }
51
- // }
52
-
53
46
  $: {
54
47
  if ($state) {
55
48
  onChangeState({ send, data: $data }, $state);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.101-27899141.2f8c626c",
3
+ "version": "1.1.101-27899192.5a50ebd2",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",