Comparing version 1.2.3 to 1.3.0
@@ -79,3 +79,3 @@ export interface Global { | ||
/** Bounding box of the node in absolute space coordinates */ | ||
readonly absoluteBoundingBox: Rectangle; | ||
readonly absoluteBoundingBox: Rect; | ||
/** Does this node clip content outside of its bounds? */ | ||
@@ -140,3 +140,3 @@ readonly clipsContent: boolean; | ||
/** Bounding box of the node in absolute space coordinates */ | ||
readonly absoluteBoundingBox: Rectangle; | ||
readonly absoluteBoundingBox: Rect; | ||
/** | ||
@@ -233,3 +233,3 @@ * An array of effects attached to this node | ||
/** Bounding box of the node in absolute space coordinates */ | ||
readonly absoluteBoundingBox: Rectangle; | ||
readonly absoluteBoundingBox: Rect; | ||
} | ||
@@ -285,3 +285,3 @@ /** A node that can have instances created of it that share the same properties */ | ||
/** A rectangle that expresses a bounding box in absolute coordinates */ | ||
export interface Rectangle { | ||
export interface Rect { | ||
/** X coordinate of top left corner of the rectangle */ | ||
@@ -386,3 +386,3 @@ readonly x: number; | ||
readonly blendMode?: BlendMode; | ||
readonly offset?: Vector; | ||
readonly offset?: Vector2; | ||
} | ||
@@ -417,3 +417,3 @@ /** A solid color, gradient, or image texture that can be applied as fills or strokes */ | ||
*/ | ||
readonly gradientHandlePositions?: ReadonlyArray<Vector>; | ||
readonly gradientHandlePositions?: ReadonlyArray<Vector2>; | ||
/** | ||
@@ -429,3 +429,3 @@ * Positions of key points along the gradient axis with the colors | ||
/** A 2d vector */ | ||
export interface Vector { | ||
export interface Vector2 { | ||
/** X coordinate of the vector */ | ||
@@ -497,3 +497,3 @@ readonly x: number; | ||
readonly message: string; | ||
readonly client_meta: Vector; | ||
readonly client_meta: Vector2; | ||
/** | ||
@@ -500,0 +500,0 @@ * Only set for top level comments. The number displayed with the |
@@ -79,3 +79,3 @@ export interface Global { | ||
/** Bounding box of the node in absolute space coordinates */ | ||
readonly absoluteBoundingBox: Rectangle; | ||
readonly absoluteBoundingBox: Rect; | ||
/** Does this node clip content outside of its bounds? */ | ||
@@ -140,3 +140,3 @@ readonly clipsContent: boolean; | ||
/** Bounding box of the node in absolute space coordinates */ | ||
readonly absoluteBoundingBox: Rectangle; | ||
readonly absoluteBoundingBox: Rect; | ||
/** | ||
@@ -233,3 +233,3 @@ * An array of effects attached to this node | ||
/** Bounding box of the node in absolute space coordinates */ | ||
readonly absoluteBoundingBox: Rectangle; | ||
readonly absoluteBoundingBox: Rect; | ||
} | ||
@@ -285,3 +285,3 @@ /** A node that can have instances created of it that share the same properties */ | ||
/** A rectangle that expresses a bounding box in absolute coordinates */ | ||
export interface Rectangle { | ||
export interface Rect { | ||
/** X coordinate of top left corner of the rectangle */ | ||
@@ -386,3 +386,3 @@ readonly x: number; | ||
readonly blendMode?: BlendMode; | ||
readonly offset?: Vector; | ||
readonly offset?: Vector2; | ||
} | ||
@@ -417,3 +417,3 @@ /** A solid color, gradient, or image texture that can be applied as fills or strokes */ | ||
*/ | ||
readonly gradientHandlePositions?: ReadonlyArray<Vector>; | ||
readonly gradientHandlePositions?: ReadonlyArray<Vector2>; | ||
/** | ||
@@ -429,3 +429,3 @@ * Positions of key points along the gradient axis with the colors | ||
/** A 2d vector */ | ||
export interface Vector { | ||
export interface Vector2 { | ||
/** X coordinate of the vector */ | ||
@@ -497,3 +497,3 @@ readonly x: number; | ||
readonly message: string; | ||
readonly client_meta: Vector; | ||
readonly client_meta: Vector2; | ||
/** | ||
@@ -500,0 +500,0 @@ * Only set for top level comments. The number displayed with the |
{ | ||
"name": "figma-js", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"description": "A simple wrapper for the Figma API", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66435
1