Per the documentation, plugins should be able to access the new figma.teamLibrary object when the manifest is configured with “permissions”: [“teamlibrary”].
I’ve got a Figma with a team library which is visible from the developer console window:
> figma.teamLibrary
> {getAvailableLibraryVariableCollectionsAsync: ƒ, getVariablesInLibraryCollectionAsync: ƒ}
However, when I try to access this object from a plugin in development which has the permissions configured in the manifest then
figma.teamLibrary returns as *undefined*
From the plugin I can log the figma object to the console and see that, in fact “teamLibrary” is missing.
Anyone had success accessing teamLibrary from a plugin yet?