@animaapp/anima-sdk 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.
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-dev.log +23 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/errors.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animaapp/anima-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Anima's JavaScript utilities library",
|
|
6
6
|
"author": "Anima App, Inc.",
|
|
@@ -35,4 +35,4 @@
|
|
|
35
35
|
"vite-tsconfig-paths": "^5.1.4",
|
|
36
36
|
"vitest": "^3.0.5"
|
|
37
37
|
}
|
|
38
|
-
}
|
|
38
|
+
}
|
package/src/errors.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// TODO: `CodegenErrorReason` should be imported from `anima-public-api`
|
|
2
1
|
/**
|
|
3
2
|
* Errors from Public API
|
|
4
3
|
*/
|
|
5
4
|
export type CodegenErrorReason =
|
|
6
5
|
| "Selected node type is not supported"
|
|
6
|
+
| "Invisible group nodes are unsupported"
|
|
7
7
|
| "Selected node is a page with multiple children"
|
|
8
8
|
| "There is no node with the given id"
|
|
9
9
|
| "Invalid Figma token"
|