@animaapp/anima-sdk-react 0.3.0 → 0.3.1

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.
@@ -1,13 +1,13 @@
1
1
 
2
2
  vite v6.0.11 building for production...
3
- transforming (1) src/index.tstransforming (14) ../node_modules/swr/dist/_internal/events.mjs../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs" was ignored.
3
+ transforming (1) src/index.tstransforming (13) ../node_modules/swr/dist/_internal/constants.mjs../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs" was ignored.
4
4
  ✓ 25 modules transformed.
5
5
  rendering chunks (1)...
6
6
  [vite:dts] Start generate declaration files...
7
7
  computing gzip size (0)...computing gzip size (1)...dist/index.cjs 113.03 kB │ gzip: 32.99 kB │ map: 416.13 kB
8
8
  [vite:dts] Start rollup declaration files...
9
9
  Analysis will use the bundled TypeScript version 5.7.2
10
- [vite:dts] Declaration files built in 2433ms.
10
+ [vite:dts] Declaration files built in 2349ms.
11
11
  
12
12
  rendering chunks (1)...computing gzip size (1)...dist/index.js 167.32 kB │ gzip: 41.60 kB │ map: 433.44 kB
13
- ✓ built in 2.84s
13
+ ✓ built in 2.82s
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animaapp/anima-sdk-react",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "Anima's JavaScript utilities library",
6
6
  "author": "Anima App, Inc.",
@@ -53,4 +53,4 @@
53
53
  "vite-plugin-dts": "^4.5.0",
54
54
  "vite-tsconfig-paths": "^5.1.4"
55
55
  }
56
- }
56
+ }
@@ -178,7 +178,7 @@ export const NotFoundFile: Story = {
178
178
  },
179
179
  };
180
180
 
181
- export const InvalidSelectedNode: Story = {
181
+ export const NotSupportedNode: Story = {
182
182
  play: async (context) => {
183
183
  const { error } = await run(context);
184
184
 
@@ -199,3 +199,24 @@ export const InvalidSelectedNode: Story = {
199
199
  },
200
200
  },
201
201
  };
202
+
203
+ export const InvisibleGroupNode: Story = {
204
+ play: async (context) => {
205
+ const { error } = await run(context);
206
+
207
+ expect(error).toMatchObject({
208
+ name: "Task Crashed",
209
+ message: "Invisible group nodes are unsupported",
210
+ });
211
+ },
212
+ args: {
213
+ payload: {
214
+ fileKey: "5d0u9PmD4GtB5fdX57pTtK",
215
+ nodesId: ["134:14"],
216
+ settings: {
217
+ framework: "react",
218
+ styling: "plain_css",
219
+ },
220
+ },
221
+ },
222
+ };