@plaidev/karte-action-sdk 1.1.270-29270501.62e803ca6 → 1.1.270-29289706.9d4a9d322

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.
@@ -22074,6 +22074,7 @@ function create_if_block(ctx) {
22074
22074
  var switch_value = ctx[1];
22075
22075
  function switch_props(ctx$1) {
22076
22076
  return { props: {
22077
+ layerId: ctx$1[0].layerId,
22077
22078
  props: "previewProps" in ctx$1[0] && typeof ctx$1[0].previewProps !== "undefined" ? ctx$1[0].previewProps : ctx$1[0].props,
22078
22079
  $$slots: { default: [create_default_slot] },
22079
22080
  $$scope: { ctx: ctx$1 }
@@ -22096,6 +22097,7 @@ function create_if_block(ctx) {
22096
22097
  },
22097
22098
  p(ctx$1, dirty) {
22098
22099
  const switch_instance_changes = {};
22100
+ if (dirty & 1) switch_instance_changes.layerId = ctx$1[0].layerId;
22099
22101
  if (dirty & 1) switch_instance_changes.props = "previewProps" in ctx$1[0] && typeof ctx$1[0].previewProps !== "undefined" ? ctx$1[0].previewProps : ctx$1[0].props;
22100
22102
  if (dirty & 129) switch_instance_changes.$$scope = {
22101
22103
  dirty,
@@ -22196,7 +22198,10 @@ function create_if_block_1(ctx) {
22196
22198
  function create_each_block(ctx) {
22197
22199
  let thumbnailpreview;
22198
22200
  let current;
22199
- thumbnailpreview = new ThumbnailPreview({ props: { option: ctx[4] } });
22201
+ thumbnailpreview = new ThumbnailPreview({ props: {
22202
+ option: ctx[4],
22203
+ layerId: ctx[4].layerId
22204
+ } });
22200
22205
  return {
22201
22206
  c() {
22202
22207
  create_component(thumbnailpreview.$$.fragment);
@@ -22211,6 +22216,7 @@ function create_each_block(ctx) {
22211
22216
  p(ctx$1, dirty) {
22212
22217
  const thumbnailpreview_changes = {};
22213
22218
  if (dirty & 1) thumbnailpreview_changes.option = ctx$1[4];
22219
+ if (dirty & 1) thumbnailpreview_changes.layerId = ctx$1[4].layerId;
22214
22220
  thumbnailpreview.$set(thumbnailpreview_changes);
22215
22221
  },
22216
22222
  i(local) {
package/dist/index.es.js CHANGED
@@ -19752,6 +19752,7 @@ function create_if_block(ctx) {
19752
19752
  var switch_value = ctx[1];
19753
19753
  function switch_props(ctx$1) {
19754
19754
  return { props: {
19755
+ layerId: ctx$1[0].layerId,
19755
19756
  props: "previewProps" in ctx$1[0] && typeof ctx$1[0].previewProps !== "undefined" ? ctx$1[0].previewProps : ctx$1[0].props,
19756
19757
  $$slots: { default: [create_default_slot] },
19757
19758
  $$scope: { ctx: ctx$1 }
@@ -19770,6 +19771,7 @@ function create_if_block(ctx) {
19770
19771
  },
19771
19772
  p(ctx$1, dirty) {
19772
19773
  const switch_instance_changes = {};
19774
+ if (dirty & 1) switch_instance_changes.layerId = ctx$1[0].layerId;
19773
19775
  if (dirty & 1) switch_instance_changes.props = "previewProps" in ctx$1[0] && typeof ctx$1[0].previewProps !== "undefined" ? ctx$1[0].previewProps : ctx$1[0].props;
19774
19776
  if (dirty & 129) switch_instance_changes.$$scope = {
19775
19777
  dirty,
@@ -19866,7 +19868,10 @@ function create_if_block_1(ctx) {
19866
19868
  function create_each_block(ctx) {
19867
19869
  let thumbnailpreview;
19868
19870
  let current;
19869
- thumbnailpreview = new ThumbnailPreview({ props: { option: ctx[4] } });
19871
+ thumbnailpreview = new ThumbnailPreview({ props: {
19872
+ option: ctx[4],
19873
+ layerId: ctx[4].layerId
19874
+ } });
19870
19875
  return {
19871
19876
  c() {
19872
19877
  create_component(thumbnailpreview.$$.fragment);
@@ -19878,6 +19883,7 @@ function create_each_block(ctx) {
19878
19883
  p(ctx$1, dirty) {
19879
19884
  const thumbnailpreview_changes = {};
19880
19885
  if (dirty & 1) thumbnailpreview_changes.option = ctx$1[4];
19886
+ if (dirty & 1) thumbnailpreview_changes.layerId = ctx$1[4].layerId;
19881
19887
  thumbnailpreview.$set(thumbnailpreview_changes);
19882
19888
  },
19883
19889
  i(local) {
@@ -8588,6 +8588,9 @@ function ThumbnailPreview($$anchor, $$props) {
8588
8588
  const expression = $.derived_safe_equal(() => "previewProps" in option() && typeof option().previewProps !== "undefined" ? option().previewProps : option().props);
8589
8589
  $.component(node_1, () => $.get(component), ($$anchor$2, $$component) => {
8590
8590
  $$component($$anchor$2, {
8591
+ get layerId() {
8592
+ return option().layerId;
8593
+ },
8591
8594
  get props() {
8592
8595
  return $.get(expression);
8593
8596
  },
@@ -8600,9 +8603,14 @@ function ThumbnailPreview($$anchor, $$props) {
8600
8603
  $.each(node_3, 1, () => option().children, $.index, ($$anchor$5, child) => {
8601
8604
  var fragment_4 = $.comment();
8602
8605
  var node_4 = $.first_child(fragment_4);
8603
- ThumbnailPreview(node_4, { get option() {
8604
- return $.get(child);
8605
- } });
8606
+ ThumbnailPreview(node_4, {
8607
+ get option() {
8608
+ return $.get(child);
8609
+ },
8610
+ get layerId() {
8611
+ return $.get(child).layerId;
8612
+ }
8613
+ });
8606
8614
  $.append($$anchor$5, fragment_4);
8607
8615
  });
8608
8616
  $.append($$anchor$4, fragment_3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.270-29270501.62e803ca6",
3
+ "version": "1.1.270-29289706.9d4a9d322",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",