@plaidev/karte-action-sdk 1.1.268-29090020.0f31d4b5 → 1.1.268-29092453.64ab24dc

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.
@@ -2886,10 +2886,10 @@ type CountDownValueProps = LayerTextProps & {
2886
2886
  type: CountDownValueType;
2887
2887
  };
2888
2888
  type CountDownValues = {
2889
- day: string;
2890
- hour: string;
2891
- min: string;
2892
- sec: string;
2889
+ day: number;
2890
+ hour: number;
2891
+ min: number;
2892
+ sec: number;
2893
2893
  };
2894
2894
  type ClipboardProps = CommonProps & {
2895
2895
  content?: string;
@@ -20906,10 +20906,10 @@ function formatTimeDiff(ms) {
20906
20906
  const diffSec = Math.floor(ms / 1000) % 60;
20907
20907
 
20908
20908
  return {
20909
- day: diffDay.toString(),
20910
- hour: diffHour.toString(),
20911
- min: diffMin.toString(),
20912
- sec: diffSec.toString()
20909
+ day: diffDay,
20910
+ hour: diffHour,
20911
+ min: diffMin,
20912
+ sec: diffSec
20913
20913
  };
20914
20914
  }
20915
20915
 
@@ -21129,13 +21129,13 @@ function instance$5($$self, $$props, $$invalidate) {
21129
21129
  const { day, hour, min, sec } = $countdownStore;
21130
21130
 
21131
21131
  switch (props.type) {
21132
- case "day":
21132
+ case 'day':
21133
21133
  return day?.toString().padStart(2, '0') ?? '';
21134
- case "hour":
21134
+ case 'hour':
21135
21135
  return hour?.toString().padStart(2, '0') ?? '';
21136
- case "minute":
21136
+ case 'minute':
21137
21137
  return min?.toString().padStart(2, '0') ?? '';
21138
- case "second":
21138
+ case 'second':
21139
21139
  return sec?.toString().padStart(2, '0') ?? '';
21140
21140
  default:
21141
21141
  return '';
@@ -2886,10 +2886,10 @@ type CountDownValueProps = LayerTextProps & {
2886
2886
  type: CountDownValueType;
2887
2887
  };
2888
2888
  type CountDownValues = {
2889
- day: string;
2890
- hour: string;
2891
- min: string;
2892
- sec: string;
2889
+ day: number;
2890
+ hour: number;
2891
+ min: number;
2892
+ sec: number;
2893
2893
  };
2894
2894
  type ClipboardProps = CommonProps & {
2895
2895
  content?: string;
package/dist/index.es.js CHANGED
@@ -19334,10 +19334,10 @@ function formatTimeDiff(ms) {
19334
19334
  const diffSec = Math.floor(ms / 1000) % 60;
19335
19335
 
19336
19336
  return {
19337
- day: diffDay.toString(),
19338
- hour: diffHour.toString(),
19339
- min: diffMin.toString(),
19340
- sec: diffSec.toString()
19337
+ day: diffDay,
19338
+ hour: diffHour,
19339
+ min: diffMin,
19340
+ sec: diffSec
19341
19341
  };
19342
19342
  }
19343
19343
 
@@ -19542,13 +19542,13 @@ function instance$5($$self, $$props, $$invalidate) {
19542
19542
  const { day, hour, min, sec } = $countdownStore;
19543
19543
 
19544
19544
  switch (props.type) {
19545
- case "day":
19545
+ case 'day':
19546
19546
  return day?.toString().padStart(2, '0') ?? '';
19547
- case "hour":
19547
+ case 'hour':
19548
19548
  return hour?.toString().padStart(2, '0') ?? '';
19549
- case "minute":
19549
+ case 'minute':
19550
19550
  return min?.toString().padStart(2, '0') ?? '';
19551
- case "second":
19551
+ case 'second':
19552
19552
  return sec?.toString().padStart(2, '0') ?? '';
19553
19553
  default:
19554
19554
  return '';
@@ -2886,10 +2886,10 @@ type CountDownValueProps = LayerTextProps & {
2886
2886
  type: CountDownValueType;
2887
2887
  };
2888
2888
  type CountDownValues = {
2889
- day: string;
2890
- hour: string;
2891
- min: string;
2892
- sec: string;
2889
+ day: number;
2890
+ hour: number;
2891
+ min: number;
2892
+ sec: number;
2893
2893
  };
2894
2894
  type ClipboardProps = CommonProps & {
2895
2895
  content?: string;
@@ -7411,10 +7411,10 @@ function CountDown($$anchor, $$props) {
7411
7411
  const diffSec = Math.floor(ms / 1000) % 60;
7412
7412
 
7413
7413
  return {
7414
- day: diffDay.toString(),
7415
- hour: diffHour.toString(),
7416
- min: diffMin.toString(),
7417
- sec: diffSec.toString()
7414
+ day: diffDay,
7415
+ hour: diffHour,
7416
+ min: diffMin,
7417
+ sec: diffSec
7418
7418
  };
7419
7419
  }
7420
7420
 
@@ -7592,16 +7592,16 @@ function CountDownValue($$anchor, $$props) {
7592
7592
  const { day, hour, min, sec } = $countdownStore();
7593
7593
 
7594
7594
  switch (props().type) {
7595
- case "day":
7595
+ case 'day':
7596
7596
  return day?.toString().padStart(2, '0') ?? '';
7597
7597
 
7598
- case "hour":
7598
+ case 'hour':
7599
7599
  return hour?.toString().padStart(2, '0') ?? '';
7600
7600
 
7601
- case "minute":
7601
+ case 'minute':
7602
7602
  return min?.toString().padStart(2, '0') ?? '';
7603
7603
 
7604
- case "second":
7604
+ case 'second':
7605
7605
  return sec?.toString().padStart(2, '0') ?? '';
7606
7606
 
7607
7607
  default:
@@ -2886,10 +2886,10 @@ type CountDownValueProps = LayerTextProps & {
2886
2886
  type: CountDownValueType;
2887
2887
  };
2888
2888
  type CountDownValues = {
2889
- day: string;
2890
- hour: string;
2891
- min: string;
2892
- sec: string;
2889
+ day: number;
2890
+ hour: number;
2891
+ min: number;
2892
+ sec: number;
2893
2893
  };
2894
2894
  type ClipboardProps = CommonProps & {
2895
2895
  content?: string;
@@ -7377,10 +7377,10 @@ function CountDown($$anchor, $$props) {
7377
7377
  const diffSec = Math.floor(ms / 1000) % 60;
7378
7378
 
7379
7379
  return {
7380
- day: diffDay.toString(),
7381
- hour: diffHour.toString(),
7382
- min: diffMin.toString(),
7383
- sec: diffSec.toString()
7380
+ day: diffDay,
7381
+ hour: diffHour,
7382
+ min: diffMin,
7383
+ sec: diffSec
7384
7384
  };
7385
7385
  }
7386
7386
 
@@ -7558,16 +7558,16 @@ function CountDownValue($$anchor, $$props) {
7558
7558
  const { day, hour, min, sec } = $countdownStore();
7559
7559
 
7560
7560
  switch (props().type) {
7561
- case "day":
7561
+ case 'day':
7562
7562
  return day?.toString().padStart(2, '0') ?? '';
7563
7563
 
7564
- case "hour":
7564
+ case 'hour':
7565
7565
  return hour?.toString().padStart(2, '0') ?? '';
7566
7566
 
7567
- case "minute":
7567
+ case 'minute':
7568
7568
  return min?.toString().padStart(2, '0') ?? '';
7569
7569
 
7570
- case "second":
7570
+ case 'second':
7571
7571
  return sec?.toString().padStart(2, '0') ?? '';
7572
7572
 
7573
7573
  default:
@@ -7377,10 +7377,10 @@ function CountDown($$anchor, $$props) {
7377
7377
  const diffSec = Math.floor(ms / 1000) % 60;
7378
7378
 
7379
7379
  return {
7380
- day: diffDay.toString(),
7381
- hour: diffHour.toString(),
7382
- min: diffMin.toString(),
7383
- sec: diffSec.toString()
7380
+ day: diffDay,
7381
+ hour: diffHour,
7382
+ min: diffMin,
7383
+ sec: diffSec
7384
7384
  };
7385
7385
  }
7386
7386
 
@@ -7558,16 +7558,16 @@ function CountDownValue($$anchor, $$props) {
7558
7558
  const { day, hour, min, sec } = $countdownStore();
7559
7559
 
7560
7560
  switch (props().type) {
7561
- case "day":
7561
+ case 'day':
7562
7562
  return day?.toString().padStart(2, '0') ?? '';
7563
7563
 
7564
- case "hour":
7564
+ case 'hour':
7565
7565
  return hour?.toString().padStart(2, '0') ?? '';
7566
7566
 
7567
- case "minute":
7567
+ case 'minute':
7568
7568
  return min?.toString().padStart(2, '0') ?? '';
7569
7569
 
7570
- case "second":
7570
+ case 'second':
7571
7571
  return sec?.toString().padStart(2, '0') ?? '';
7572
7572
 
7573
7573
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.268-29090020.0f31d4b5",
3
+ "version": "1.1.268-29092453.64ab24dc",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",
@@ -154,7 +154,7 @@
154
154
  "docs:preview": "vitepress preview docs",
155
155
  "docs:gen": "api-documenter markdown --input-folder ./meta --output-folder ./temp/markdown && mv ./temp/markdown/* ./docs",
156
156
  "check:svelte": "svelte-check --tsconfig ./tsconfig.json",
157
- "check:type": "tsc --noEmit",
157
+ "typecheck": "tsc --noEmit",
158
158
  "test": "vitest run test",
159
159
  "test:watch": "vitest test",
160
160
  "test:ui": "vitest test --ui",