Comparing version 1.8.1 to 1.8.2
@@ -13,5 +13,5 @@ import * as Figma from './figmaTypes'; | ||
/** A number between 0.01 and 4, the image scaling factor */ | ||
readonly scale: number; | ||
/** A string enum for the image output format, can be "jpg", "png", or "svg" */ | ||
readonly format: 'jpg' | 'png' | 'svg'; | ||
readonly scale?: number; | ||
/** A string enum for the image output format, can be "jpg", "png", "svg", or "pdf" */ | ||
readonly format?: 'jpg' | 'png' | 'svg' | 'pdf'; | ||
/** | ||
@@ -18,0 +18,0 @@ * Whether to include id attributes for all SVG elements. |
@@ -13,5 +13,5 @@ import * as Figma from './figmaTypes'; | ||
/** A number between 0.01 and 4, the image scaling factor */ | ||
readonly scale: number; | ||
/** A string enum for the image output format, can be "jpg", "png", or "svg" */ | ||
readonly format: 'jpg' | 'png' | 'svg'; | ||
readonly scale?: number; | ||
/** A string enum for the image output format, can be "jpg", "png", "svg", or "pdf" */ | ||
readonly format?: 'jpg' | 'png' | 'svg' | 'pdf'; | ||
/** | ||
@@ -18,0 +18,0 @@ * Whether to include id attributes for all SVG elements. |
{ | ||
"name": "figma-js", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"description": "A simple wrapper for the Figma API", | ||
@@ -36,3 +36,4 @@ "main": "build/main/index.js", | ||
"all": "run-s doc:html", | ||
"zzzprepare-release": "run-s all version doc:publish", | ||
"prepare-release": "yarn build && yarn doc && yarn doc:publish", | ||
"release": "yarn prepare-release && yarn publish && git push && git push --tag", | ||
"zzzpreinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('figma-js must be installed with Yarn: https://yarnpkg.com/')\"" | ||
@@ -39,0 +40,0 @@ }, |
@@ -7,2 +7,3 @@ # Figma.js | ||
- [figma-graphql](https://github.com/braposo/figma-graphql) | ||
- [figmint](https://github.com/tiltshift/figmint) | ||
@@ -9,0 +10,0 @@ ## Usage |
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
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
78021
92