New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

arctic

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arctic - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

1

dist/providers/figma.d.ts

@@ -7,2 +7,3 @@ import type { OAuth2Tokens } from "../oauth2.js";

validateAuthorizationCode(code: string): Promise<OAuth2Tokens>;
refreshAccessToken(refreshToken: string): Promise<OAuth2Tokens>;
}
import { OAuth2Client } from "../client.js";
const authorizationEndpoint = "https://www.figma.com/oauth";
const tokenEndpoint = "https://www.figma.com/api/oauth/token";
const refreshEndpoint = "https://api.figma.com/v1/oauth/refresh";
export class Figma {

@@ -17,2 +18,6 @@ client;

}
async refreshAccessToken(refreshToken) {
const tokens = await this.client.refreshAccessToken(refreshEndpoint, refreshToken, []);
return tokens;
}
}

2

package.json
{
"name": "arctic",
"type": "module",
"version": "3.2.0",
"version": "3.2.1",
"description": "OAuth 2.0 clients for popular providers",

@@ -6,0 +6,0 @@ "main": "dist/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