Socket
Socket
Sign inDemoInstall

figma-js

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figma-js - npm Package Compare versions

Comparing version 1.8.4 to 1.8.5

15

build/main/figmaTypes.d.ts

@@ -515,2 +515,8 @@ export interface Global {

readonly imageRef?: string;
/**
* A reference to the GIF embedded in this node, if the image is a GIF.
* To download the image using this reference,
* use the GET file images endpoint to retrieve the mapping from image references to image URLs
*/
readonly gifRef?: string;
}

@@ -599,2 +605,9 @@ export interface Path {

}
/** A relative offset within a frame */
export interface FrameOffset {
/** Unique id specifying the frame */
readonly node_id: string;
/** 2d vector offset within the frame */
readonly node_offset: Vector2;
}
interface SharedElement extends ComponentMetadata {

@@ -659,3 +672,3 @@ /** The unique identifier of the figma file which contains the element */

readonly message: string;
readonly client_meta: Vector2;
readonly client_meta: Vector2 | FrameOffset;
/**

@@ -662,0 +675,0 @@ * Only set for top level comments. The number displayed with the

2

build/main/index.d.ts

@@ -63,3 +63,3 @@ import * as Figma from './figmaTypes';

/** The absolute canvas position of where to place the comment */
readonly client_meta: Figma.Vector2;
readonly client_meta: Figma.Vector2 | Figma.FrameOffset;
}

@@ -66,0 +66,0 @@ export interface PaginationParams {

@@ -515,2 +515,8 @@ export interface Global {

readonly imageRef?: string;
/**
* A reference to the GIF embedded in this node, if the image is a GIF.
* To download the image using this reference,
* use the GET file images endpoint to retrieve the mapping from image references to image URLs
*/
readonly gifRef?: string;
}

@@ -599,2 +605,9 @@ export interface Path {

}
/** A relative offset within a frame */
export interface FrameOffset {
/** Unique id specifying the frame */
readonly node_id: string;
/** 2d vector offset within the frame */
readonly node_offset: Vector2;
}
interface SharedElement extends ComponentMetadata {

@@ -659,3 +672,3 @@ /** The unique identifier of the figma file which contains the element */

readonly message: string;
readonly client_meta: Vector2;
readonly client_meta: Vector2 | FrameOffset;
/**

@@ -662,0 +675,0 @@ * Only set for top level comments. The number displayed with the

@@ -63,3 +63,3 @@ import * as Figma from './figmaTypes';

/** The absolute canvas position of where to place the comment */
readonly client_meta: Figma.Vector2;
readonly client_meta: Figma.Vector2 | Figma.FrameOffset;
}

@@ -66,0 +66,0 @@ export interface PaginationParams {

{
"name": "figma-js",
"version": "1.8.4",
"version": "1.8.5",
"description": "A simple wrapper for the Figma API",

@@ -5,0 +5,0 @@ "main": "build/main/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc