@plaidev/karte-action-sdk 1.1.216 → 1.1.219

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.
@@ -3097,7 +3097,7 @@ const runScript = (handlerName) => () => {
3097
3097
  const submitForm = (to) => () => {
3098
3098
  const { values, identifyValues } = submit();
3099
3099
  send_event('_answer_question', values);
3100
- if (Object.keys(identifyValues).length > 0) {
3100
+ if (Object.keys(identifyValues ?? {}).length > 0) {
3101
3101
  send_event('identify', identifyValues);
3102
3102
  }
3103
3103
  _moveTo(to);
@@ -3819,7 +3819,7 @@ function add_css$s(target) {
3819
3819
  append_styles(target, "svelte-fsihgx", ".modal.svelte-fsihgx{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-fsihgx > .button{flex:auto;display:flex}.close.svelte-fsihgx{position:absolute;top:0;right:0}.close.svelte-fsihgx > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-fsihgx > .button:hover{transform:rotate(90deg)}.modal-content.svelte-fsihgx{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc) !important;margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp) !important;margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
3820
3820
  }
3821
3821
 
3822
- // (265:0) {:else}
3822
+ // (275:0) {:else}
3823
3823
  function create_else_block$3(ctx) {
3824
3824
  let backgroundoverlay;
3825
3825
  let current;
@@ -3866,7 +3866,7 @@ function create_else_block$3(ctx) {
3866
3866
  };
3867
3867
  }
3868
3868
 
3869
- // (254:24)
3869
+ // (264:24)
3870
3870
  function create_if_block_3(ctx) {
3871
3871
  let backgroundoverlay0;
3872
3872
  let t;
@@ -3940,7 +3940,7 @@ function create_if_block_3(ctx) {
3940
3940
  };
3941
3941
  }
3942
3942
 
3943
- // (252:0) {#if isPreview()}
3943
+ // (262:0) {#if isPreview()}
3944
3944
  function create_if_block_2(ctx) {
3945
3945
  return {
3946
3946
  c: noop,
@@ -3953,7 +3953,7 @@ function create_if_block_2(ctx) {
3953
3953
  };
3954
3954
  }
3955
3955
 
3956
- // (268:0) {#if visible}
3956
+ // (278:0) {#if visible}
3957
3957
  function create_if_block$5(ctx) {
3958
3958
  let div;
3959
3959
  let button;
@@ -4048,7 +4048,7 @@ function create_if_block$5(ctx) {
4048
4048
  };
4049
4049
  }
4050
4050
 
4051
- // (281:6) {#if closable}
4051
+ // (291:6) {#if closable}
4052
4052
  function create_if_block_1$1(ctx) {
4053
4053
  let div;
4054
4054
  let button;
@@ -4120,7 +4120,7 @@ function create_if_block_1$1(ctx) {
4120
4120
  };
4121
4121
  }
4122
4122
 
4123
- // (283:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4123
+ // (293:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4124
4124
  function create_default_slot_1$1(ctx) {
4125
4125
  let svg;
4126
4126
  let path;
@@ -4177,7 +4177,7 @@ function create_default_slot_1$1(ctx) {
4177
4177
  };
4178
4178
  }
4179
4179
 
4180
- // (280:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4180
+ // (290:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4181
4181
  function create_default_slot$6(ctx) {
4182
4182
  let t;
4183
4183
  let div;
package/dist/index.es.js CHANGED
@@ -3121,7 +3121,7 @@ const runScript = (handlerName) => () => {
3121
3121
  const submitForm = (to) => () => {
3122
3122
  const { values, identifyValues } = submit();
3123
3123
  send_event('_answer_question', values);
3124
- if (Object.keys(identifyValues).length > 0) {
3124
+ if (Object.keys(identifyValues ?? {}).length > 0) {
3125
3125
  send_event('identify', identifyValues);
3126
3126
  }
3127
3127
  _moveTo(to);
@@ -3833,7 +3833,7 @@ function add_css$s(target) {
3833
3833
  append_styles(target, "svelte-fsihgx", ".modal.svelte-fsihgx{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-fsihgx > .button{flex:auto;display:flex}.close.svelte-fsihgx{position:absolute;top:0;right:0}.close.svelte-fsihgx > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-fsihgx > .button:hover{transform:rotate(90deg)}.modal-content.svelte-fsihgx{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc) !important;margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp) !important;margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
3834
3834
  }
3835
3835
 
3836
- // (265:0) {:else}
3836
+ // (275:0) {:else}
3837
3837
  function create_else_block$3(ctx) {
3838
3838
  let backgroundoverlay;
3839
3839
  let current;
@@ -3877,7 +3877,7 @@ function create_else_block$3(ctx) {
3877
3877
  };
3878
3878
  }
3879
3879
 
3880
- // (254:24)
3880
+ // (264:24)
3881
3881
  function create_if_block_3(ctx) {
3882
3882
  let backgroundoverlay0;
3883
3883
  let t;
@@ -3946,7 +3946,7 @@ function create_if_block_3(ctx) {
3946
3946
  };
3947
3947
  }
3948
3948
 
3949
- // (252:0) {#if isPreview()}
3949
+ // (262:0) {#if isPreview()}
3950
3950
  function create_if_block_2(ctx) {
3951
3951
  return {
3952
3952
  c: noop,
@@ -3958,7 +3958,7 @@ function create_if_block_2(ctx) {
3958
3958
  };
3959
3959
  }
3960
3960
 
3961
- // (268:0) {#if visible}
3961
+ // (278:0) {#if visible}
3962
3962
  function create_if_block$5(ctx) {
3963
3963
  let div;
3964
3964
  let button;
@@ -4037,7 +4037,7 @@ function create_if_block$5(ctx) {
4037
4037
  };
4038
4038
  }
4039
4039
 
4040
- // (281:6) {#if closable}
4040
+ // (291:6) {#if closable}
4041
4041
  function create_if_block_1$1(ctx) {
4042
4042
  let div;
4043
4043
  let button;
@@ -4099,7 +4099,7 @@ function create_if_block_1$1(ctx) {
4099
4099
  };
4100
4100
  }
4101
4101
 
4102
- // (283:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4102
+ // (293:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4103
4103
  function create_default_slot_1$1(ctx) {
4104
4104
  let svg;
4105
4105
  let path;
@@ -4132,7 +4132,7 @@ function create_default_slot_1$1(ctx) {
4132
4132
  };
4133
4133
  }
4134
4134
 
4135
- // (280:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4135
+ // (290:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4136
4136
  function create_default_slot$6(ctx) {
4137
4137
  let t;
4138
4138
  let div;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.216",
3
+ "version": "1.1.219",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",
@@ -56,7 +56,6 @@
56
56
  "devDependencies": {
57
57
  "@microsoft/api-documenter": "7.19.28",
58
58
  "@microsoft/api-extractor": "7.33.8",
59
- "@plaidev/action-compiler": "workspace:*",
60
59
  "@rollup/plugin-alias": "^4.0.0",
61
60
  "@rollup/plugin-commonjs": "^23.0.1",
62
61
  "@rollup/plugin-json": "^5.0.0",
@@ -96,7 +95,14 @@
96
95
  "tsx": "^3.12.3",
97
96
  "typescript": "^4.7.4",
98
97
  "vitepress": "1.0.0-alpha.30",
99
- "vitest": "latest"
98
+ "vitest": "latest",
99
+ "@plaidev/action-compiler": "0.4.231"
100
+ },
101
+ "publishConfig": {
102
+ "access": "public"
103
+ },
104
+ "dependencies": {
105
+ "@rollup/plugin-image": "^3.0.2"
100
106
  },
101
107
  "scripts": {
102
108
  "dev": "tsx ./scripts/preview.ts",
@@ -125,11 +131,5 @@
125
131
  "test:update": "vitest -u",
126
132
  "coverage": "vitest run test --coverage",
127
133
  "icons:update": "tsx ./scripts/update-icons.ts && prettier -w ./src/icons.ts"
128
- },
129
- "publishConfig": {
130
- "access": "public"
131
- },
132
- "dependencies": {
133
- "@rollup/plugin-image": "^3.0.2"
134
134
  }
135
- }
135
+ }