@supernova-studio/client 0.58.24 → 0.58.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/client",
3
- "version": "0.58.24",
3
+ "version": "0.58.26",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -94,6 +94,11 @@ const DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
94
94
  * Id of a design system's data source representing a linked Figma file
95
95
  */
96
96
  figmaNodeUrl: z.string(),
97
+
98
+ /**
99
+ * Brand persistent id to use in case a source has to be created for this render
100
+ */
101
+ brandPersistentId: z.string(),
97
102
  });
98
103
 
99
104
  export const DTOFigmaNodeRenderInput = z.discriminatedUnion("inputType", [
@@ -1,5 +1,5 @@
1
1
  const figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
2
- const nodeIdRegex = /^d+-d+$/;
2
+ const nodeIdRegex = /^\d+-\d+$/;
3
3
  const nodeTypeRegex = /^[0-9a-zA-Z]^/;
4
4
 
5
5
  type ParsedFigmaFileURL = {