@supernova-studio/client 1.94.1 → 1.95.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/dist/index.mjs CHANGED
@@ -2978,6 +2978,7 @@ var FigmaNodeReferenceData = z63.object({
2978
2978
  sceneNodeId: z63.string(),
2979
2979
  format: FigmaNodeRenderFormat,
2980
2980
  scale: nullishToOptional(z63.number()),
2981
+ useAbsoluteBounds: nullishToOptional(z63.boolean()),
2981
2982
  renderState: FigmaNodeRenderState,
2982
2983
  renderedImage: FigmaNodeRenderedImage.optional(),
2983
2984
  renderError: FigmaNodeRenderError.optional(),
@@ -5559,7 +5560,8 @@ var PublishedDocPageVisitsEntry = z175.object({
5559
5560
  timestamp: z175.coerce.date(),
5560
5561
  visits: z175.number(),
5561
5562
  userId: nullishToOptional(z175.string()),
5562
- anonymousId: nullishToOptional(z175.string())
5563
+ anonymousId: nullishToOptional(z175.string()),
5564
+ ipAddress: nullishToOptional(z175.string())
5563
5565
  });
5564
5566
 
5565
5567
  // ../model/src/dsm/published-doc-page.ts
@@ -6077,7 +6079,7 @@ var IntegrationToken = z194.object({
6077
6079
  customUrl: data.custom_url
6078
6080
  };
6079
6081
  });
6080
- var forbiddenCustomUrlDomainList = ["github.com", "gitlab.com", "bitbucket.org", "figma.com", "dev.azure.com"];
6082
+ var forbiddenCustomUrlDomainList = ["github.com", "gitlab.com", "figma.com", "dev.azure.com"];
6081
6083
  function formatCustomUrl(url) {
6082
6084
  let formattedUrl = url.trim().toLowerCase();
6083
6085
  if (!formattedUrl.startsWith("http://") && !formattedUrl.startsWith("https://")) {
@@ -10069,18 +10071,10 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
10069
10071
 
10070
10072
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
10071
10073
  import { z as z316 } from "zod";
10072
- var DTOFigmaNodeRenderActionOutput = z316.object({
10073
- type: z316.literal("FigmaNodeRender"),
10074
- figmaNodes: z316.array(DTOFigmaNode)
10075
- });
10076
10074
  var DTOFigmaNodeRenderAsyncActionOutput = z316.object({
10077
10075
  type: z316.literal("FigmaNodeRenderAsync"),
10078
10076
  figmaNodes: z316.array(DTOFigmaNodeV2)
10079
10077
  });
10080
- var DTOFigmaNodeRenderActionInput = z316.object({
10081
- type: z316.literal("FigmaNodeRender"),
10082
- input: DTOFigmaNodeRenderIdInput.array()
10083
- });
10084
10078
  var DTOFigmaNodeRenderAsyncActionInput = z316.object({
10085
10079
  type: z316.literal("FigmaNodeRenderAsync"),
10086
10080
  nodes: DTOFigmaNodeRenderInput.array()
@@ -10191,7 +10185,6 @@ var DTOElementActionOutput = z320.discriminatedUnion("type", [
10191
10185
  DTODocumentationGroupDeleteActionOutputV2,
10192
10186
  DTODocumentationTabGroupDeleteActionOutputV2,
10193
10187
  // Figma frames
10194
- DTOFigmaNodeRenderActionOutput,
10195
10188
  DTOFigmaNodeRenderAsyncActionOutput,
10196
10189
  // Restore
10197
10190
  DTODocumentationPageRestoreActionOutput,
@@ -10218,7 +10211,6 @@ var DTOElementActionInput = z320.discriminatedUnion("type", [
10218
10211
  DTODocumentationGroupDeleteActionInputV2,
10219
10212
  DTODocumentationTabGroupDeleteActionInputV2,
10220
10213
  // Figma frames
10221
- DTOFigmaNodeRenderActionInput,
10222
10214
  DTOFigmaNodeRenderAsyncActionInput,
10223
10215
  // Restore
10224
10216
  DTODocumentationPageRestoreActionInput,
@@ -12913,9 +12905,6 @@ var ElementsActionEndpoint = class {
12913
12905
  async createDocTab(dsId, vId, input) {
12914
12906
  return this.action(dsId, vId, { type: "DocumentationTabCreate", input });
12915
12907
  }
12916
- async renderNodes(dsId, vId, input) {
12917
- return this.action(dsId, vId, { type: "FigmaNodeRender", input });
12918
- }
12919
12908
  async renderNodesAsync(dsId, vId, nodes) {
12920
12909
  return this.action(dsId, vId, { type: "FigmaNodeRenderAsync", nodes });
12921
12910
  }
@@ -14852,7 +14841,6 @@ var LocalDocsElementActionExecutor = class {
14852
14841
  case "DocumentationTabGroupDelete":
14853
14842
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14854
14843
  // Won't ever be supported
14855
- case "FigmaNodeRender":
14856
14844
  case "FigmaNodeRenderAsync":
14857
14845
  throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
14858
14846
  }
@@ -21522,8 +21510,6 @@ export {
21522
21510
  DTOFigmaNodeData,
21523
21511
  DTOFigmaNodeDataV2,
21524
21512
  DTOFigmaNodeOrigin,
21525
- DTOFigmaNodeRenderActionInput,
21526
- DTOFigmaNodeRenderActionOutput,
21527
21513
  DTOFigmaNodeRenderAsyncActionInput,
21528
21514
  DTOFigmaNodeRenderAsyncActionOutput,
21529
21515
  DTOFigmaNodeRenderFormat,