canicode 0.8.8 → 0.8.9

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/dist/cli/index.js CHANGED
@@ -945,6 +945,9 @@ function transformNode(node) {
945
945
  if ("effects" in node) {
946
946
  base.effects = node.effects;
947
947
  }
948
+ if ("cornerRadius" in node && typeof node.cornerRadius === "number") {
949
+ base.cornerRadius = node.cornerRadius;
950
+ }
948
951
  if ("boundVariables" in node && node.boundVariables) {
949
952
  base.boundVariables = node.boundVariables;
950
953
  }
@@ -1124,7 +1127,7 @@ async function loadFromApi(fileKey, nodeId, token) {
1124
1127
  }
1125
1128
 
1126
1129
  // package.json
1127
- var version = "0.8.8";
1130
+ var version = "0.8.9";
1128
1131
  var AnalysisNodeTypeSchema = z.enum([
1129
1132
  "DOCUMENT",
1130
1133
  "CANVAS",
@@ -1190,6 +1193,7 @@ var BaseAnalysisNodeSchema = z.object({
1190
1193
  fills: z.array(z.unknown()).optional(),
1191
1194
  strokes: z.array(z.unknown()).optional(),
1192
1195
  effects: z.array(z.unknown()).optional(),
1196
+ cornerRadius: z.number().optional(),
1193
1197
  // Variable binding analysis (design tokens)
1194
1198
  boundVariables: z.record(z.string(), z.unknown()).optional(),
1195
1199
  // Text analysis