figma-development-kit
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -58,3 +58,3 @@ const storageKeyForAuthorizationCodeData = 'figma-authorization-code-data'; | ||
const {access_token, expires_in} = responseObject; | ||
const expireOnEpoch = Date.now() + expires_in; | ||
const expireOnEpoch = Date.now() + expires_in * 1000; | ||
return {token: access_token, expireOnEpoch}; | ||
@@ -61,0 +61,0 @@ }); |
@@ -64,3 +64,3 @@ (function (global, factory) { | ||
const {access_token, expires_in} = responseObject; | ||
const expireOnEpoch = Date.now() + expires_in; | ||
const expireOnEpoch = Date.now() + expires_in * 1000; | ||
return {token: access_token, expireOnEpoch}; | ||
@@ -67,0 +67,0 @@ }); |
{ | ||
"name": "figma-development-kit", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "A set of tools that augment the Figma API", | ||
@@ -15,3 +15,5 @@ "main": "index.js", | ||
}, | ||
"keywords": ["Figma"], | ||
"keywords": [ | ||
"Figma" | ||
], | ||
"author": "Chuanqi Sun", | ||
@@ -18,0 +20,0 @@ "license": "MIT", |
14197