@plaidev/karte-action-sdk 1.1.263 → 1.1.264-29046374.a006e69f

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.
@@ -30,5 +30,5 @@ declare function createCompatibleCustomScript({ script, templateType, }?: {
30
30
  script?: string;
31
31
  templateType?: 'webpopup' | 'script';
32
32
  }): string;
33
- declare function createCustomScript(script?: string): string;
33
+ declare function createCustomScript(script?: string): ReturnType<typeof createCompatibleCustomScript>;
34
34
  export { createAppScript, createIndexTsx, createCompatibleCustomScript, createCustomScript };
@@ -30,5 +30,5 @@ declare function createCompatibleCustomScript({ script, templateType, }?: {
30
30
  script?: string;
31
31
  templateType?: 'webpopup' | 'script';
32
32
  }): string;
33
- declare function createCustomScript(script?: string): string;
33
+ declare function createCustomScript(script?: string): ReturnType<typeof createCompatibleCustomScript>;
34
34
  export { createAppScript, createIndexTsx, createCompatibleCustomScript, createCustomScript };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.263",
3
+ "version": "1.1.264-29046374.a006e69f",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",
@@ -8,30 +8,51 @@
8
8
  "sideEffects": false,
9
9
  "exports": {
10
10
  ".": {
11
+ "types": "./dist/index.es.d.ts",
11
12
  "import": {
12
13
  "node": "./index.mjs",
13
14
  "default": "./dist/index.es.js"
14
- },
15
- "types": "./dist/index.es.d.ts"
15
+ }
16
16
  },
17
17
  "./hydrate": {
18
- "import": "./dist/hydrate/index.es.js",
19
- "types": "./dist/hydrate/index.es.d.ts"
18
+ "types": "./dist/hydrate/index.es.d.ts",
19
+ "import": "./dist/hydrate/index.es.js"
20
+ },
21
+ "./svelte5": {
22
+ "types": "./dist/svelte5/index.es.d.ts",
23
+ "import": "./dist/svelte5/hydrate/index.es.js"
24
+ },
25
+ "./svelte5/hydrate": {
26
+ "types": "./dist/svelte5/hydrate/index.es.d.ts",
27
+ "import": "./dist/svelte5/hydrate/index.es.js"
28
+ },
29
+ "./svelte5/front2": {
30
+ "types": "./dist/svelte5/index.front2.es.d.ts",
31
+ "import": "./dist/svelte5/index.front2.es.js"
20
32
  },
21
33
  "./templates": {
34
+ "types": "./dist/templates.d.ts",
22
35
  "import": "./dist/templates.js",
23
- "require": "./dist/templates.cjs.js",
24
- "types": "./dist/templates.d.ts"
36
+ "require": "./dist/templates.cjs.js"
25
37
  },
26
38
  "./icons": {
27
- "import": "./dist/icons.js",
28
- "types": "./dist/icons.d.ts"
39
+ "types": "./dist/icons.d.ts",
40
+ "import": "./dist/icons.js"
29
41
  },
30
42
  "./package.json": "./package.json",
31
43
  "./dist/*": "./dist/*"
32
44
  },
33
45
  "typesVersions": {
34
46
  "*": {
47
+ "svelte5": [
48
+ "./dist/svelte5/index.es.d.ts"
49
+ ],
50
+ "svelte5/hydrate": [
51
+ "./dist/svelte5/hydrate/index.es.d.ts"
52
+ ],
53
+ "svelte5/front2": [
54
+ "./dist/svelte5/index.front2.es.d.ts"
55
+ ],
35
56
  "hydrate": [
36
57
  "./dist/hydrate/index.es.d.ts"
37
58
  ],
@@ -61,12 +82,12 @@
61
82
  "@microsoft/api-extractor": "7.48.0",
62
83
  "@rollup/plugin-alias": "^4.0.0",
63
84
  "@rollup/plugin-commonjs": "^23.0.1",
85
+ "@rollup/plugin-image": "^3.0.2",
64
86
  "@rollup/plugin-json": "^5.0.0",
65
87
  "@rollup/plugin-node-resolve": "^15.0.0",
66
88
  "@rollup/plugin-replace": "^5.0.0",
67
- "@sveltejs/vite-plugin-svelte": "1.0.0-next.37",
89
+ "@sveltejs/vite-plugin-svelte": "1.4.0",
68
90
  "@testing-library/svelte": "^5.2.4",
69
- "@tsconfig/svelte": "^3.0.0",
70
91
  "@types/brotli": "^1.3.1",
71
92
  "@types/serve-static": "^1.13.10",
72
93
  "brotli": "^1.3.3",
@@ -80,17 +101,18 @@
80
101
  "playwright": "1.50.0",
81
102
  "preact": "10.5.7",
82
103
  "rimraf": "^3.0.2",
104
+ "rolldown": "latest",
83
105
  "rollup": "^3.12.0",
84
106
  "rollup-plugin-livereload": "^2.0.0",
85
107
  "rollup-plugin-serve": "^2.0.0",
86
- "rollup-plugin-svelte": "^7.1.0",
108
+ "rollup-plugin-svelte": "^7.2.2",
87
109
  "rollup-plugin-terser": "7.0.2",
88
110
  "rollup-plugin-ts": "^3.2.0",
89
111
  "serve": "^14.0.1",
90
112
  "serve-static": "^1.15.0",
91
113
  "svelte": "3.53.1",
92
- "svelte-check": "^2.2.7",
93
- "svelte-preprocess": "4.9.8",
114
+ "svelte-check": "2.10.3",
115
+ "svelte-preprocess": "5.1.4",
94
116
  "terser": "^5.37.0",
95
117
  "textlint": "^13.1.1",
96
118
  "textlint-plugin-tsdoc": "^0.1.0",
@@ -98,14 +120,12 @@
98
120
  "textlint-rule-preset-ja-technical-writing": "^7.0.0",
99
121
  "tslib": "^2.3.1",
100
122
  "tsx": "^4.19.2",
101
- "typescript": "^4.7.4",
123
+ "unplugin-isolated-decl": "latest",
124
+ "typescript": "5.8.2",
102
125
  "vitepress": "1.0.0-alpha.30",
103
126
  "vitest": "3.0.5",
104
127
  "@plaidev/action-compiler": "0.4.231"
105
128
  },
106
- "dependencies": {
107
- "@rollup/plugin-image": "^3.0.2"
108
- },
109
129
  "scripts": {
110
130
  "dev": "tsx ./scripts/preview.ts",
111
131
  "dev:hydrate": "tsx ./scripts/preview.ts --hydrate",
@@ -115,9 +135,16 @@
115
135
  "setup:template": "tsx ./scripts/template.ts",
116
136
  "setup:concat": "tsx ./scripts/concat.ts",
117
137
  "setup:compile": "tsx ./scripts/compile.ts",
118
- "build": "rollup --config rollup.config.ts --configPlugin rollup-plugin-ts",
138
+ "rolldown:build": "pnpm rolldown:build:svelte3 && pnpm rolldown:build:svelte5 && tsx scripts/install-svelte.ts 3",
139
+ "rolldown:build:svelte3": "tsx scripts/install-svelte.ts 3 && rolldown --config ./rolldown.config.svelte3.mjs && mv ./dist/index.d.ts ./dist/index.es.d.ts",
140
+ "rolldown:build:svelte5": "tsx scripts/install-svelte.ts 5 && rolldown --config ./rolldown.config.svelte5.mjs && mv ./dist/index.svelte5.d.ts ./dist/svelte5/index.es.d.ts",
141
+ "build": "pnpm build:svelte3 && pnpm build:svelte5 && tsx scripts/install-svelte.ts 3",
142
+ "build:svelte3": "tsx scripts/install-svelte.ts 3 && rollup --config rollup.config.svelte3.ts --configPlugin rollup-plugin-ts",
143
+ "build:svelte5": "tsx scripts/install-svelte.ts 5 && rollup --config rollup.config.svelte5.ts --configPlugin rollup-plugin-ts",
119
144
  "build:api": "api-extractor run --local --verbose",
120
- "build:watch": "rollup --config rollup.config.ts --configPlugin rollup-plugin-ts -w",
145
+ "build:watch": "pnpm run build:watch3",
146
+ "build:svelte3:watch": "tsx scripts/install-svelte.ts 3 && rollup --config rollup.config.svelte3.ts --configPlugin rollup-plugin-ts -w",
147
+ "build:svelte5:watch": "tsx scripts/install-svelte.ts 5 && rollup --config rollup.config.svelte5.ts --configPlugin rollup-plugin-ts -w",
121
148
  "lint:text": "textlint --config .textlintrc.json ./docs",
122
149
  "clean": "rm -rf dist __dist__ docs/**.md",
123
150
  "docs:dev": "vitepress dev docs",