@figma/plugin-typings
Advanced tools
Comparing version 1.63.0 to 1.64.0
{ | ||
"name": "@figma/plugin-typings", | ||
"version": "1.63.0", | ||
"version": "1.64.0", | ||
"description": "Typings for the Figma Plugin API", | ||
@@ -5,0 +5,0 @@ "main": "", |
@@ -165,2 +165,3 @@ /* plugin-typings are auto-generated. Do not update them directly. See plugin-docs/ for instructions. */ | ||
requestCheckout(): void | ||
getPluginPaymentTokenAsync(): Promise<string> | ||
} | ||
@@ -635,4 +636,3 @@ interface ClientStorageAPI { | ||
} | ||
interface ExportSettingsSVG { | ||
readonly format: 'SVG' | ||
interface ExportSettingsSVGBase { | ||
readonly contentsOnly?: boolean | ||
@@ -645,2 +645,8 @@ readonly useAbsoluteBounds?: boolean | ||
} | ||
interface ExportSettingsSVG extends ExportSettingsSVGBase { | ||
readonly format: 'SVG' | ||
} | ||
interface ExportSettingsSVGString extends ExportSettingsSVGBase { | ||
readonly format: 'SVG_STRING' | ||
} | ||
interface ExportSettingsPDF { | ||
@@ -1032,2 +1038,3 @@ readonly format: 'PDF' | ||
exportAsync(settings?: ExportSettings): Promise<Uint8Array> | ||
exportAsync(settings: ExportSettingsSVGString): Promise<string> | ||
} | ||
@@ -1454,2 +1461,3 @@ interface FramePrototypingMixin { | ||
| 'BASH' | ||
| 'PLAINTEXT' | ||
clone(): CodeBlockNode | ||
@@ -1456,0 +1464,0 @@ } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
54616
1704
1