Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@workos-inc/node

Package Overview
Dependencies
Maintainers
7
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workos-inc/node - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6

2

dist/package.json
{
"version": "0.9.5",
"version": "0.9.6",
"name": "@workos-inc/node",

@@ -4,0 +4,0 @@ "author": "WorkOS",

export interface CommonAuthorizationURLOptions {
connection?: string;
domain?: string;

@@ -3,0 +4,0 @@ provider?: string;

@@ -15,3 +15,3 @@ import { AuthorizationURLOptions } from './interfaces/authorization-url-options.interface';

deleteConnection(id: string): Promise<void>;
getAuthorizationURL({ clientID, domain, provider, projectID, redirectURI, state, }: AuthorizationURLOptions): string;
getAuthorizationURL({ connection, clientID, domain, provider, projectID, redirectURI, state, }: AuthorizationURLOptions): string;
getConnection(id: string): Promise<Connection>;

@@ -18,0 +18,0 @@ getProfile({ code, clientID, projectID, }: GetProfileOptions): Promise<Profile>;

@@ -32,7 +32,8 @@ "use strict";

}
getAuthorizationURL({ clientID, domain, provider, projectID, redirectURI, state, }) {
if (!domain && !provider) {
throw new Error(`Incomplete arguments. Need to specify either a 'domain' or 'provider'.`);
getAuthorizationURL({ connection, clientID, domain, provider, projectID, redirectURI, state, }) {
if (!domain && !provider && !connection) {
throw new Error(`Incomplete arguments. Need to specify either a 'connection', 'domain', or 'provider'.`);
}
const query = query_string_1.default.stringify({
connection,
domain,

@@ -39,0 +40,0 @@ provider,

{
"version": "0.9.5",
"version": "0.9.6",
"name": "@workos-inc/node",

@@ -4,0 +4,0 @@ "author": "WorkOS",

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