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.8.2 to 0.8.3

8

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

@@ -42,12 +42,12 @@ "author": "WorkOS",

"@types/jest": "26.0.15",
"@types/node": "12.19.5",
"@types/node": "12.19.6",
"@types/pluralize": "0.0.29",
"axios-mock-adapter": "1.19.0",
"jest": "26.6.3",
"prettier": "2.1.2",
"prettier": "2.2.0",
"supertest": "6.0.1",
"ts-jest": "26.4.4",
"tslint": "6.1.3",
"typescript": "4.0.5"
"typescript": "4.1.2"
}
}

@@ -8,4 +8,4 @@ import { WorkOS } from '../workos';

constructor(workos: WorkOS);
createSession(options: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
createSession({ redirectURI, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
sendSession(sessionId: string): Promise<SendSessionResponse>;
}

@@ -11,2 +11,13 @@ "use strict";

};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,5 +29,6 @@ exports.Passwordless = void 0;

}
createSession(options) {
createSession(_a) {
var { redirectURI } = _a, options = __rest(_a, ["redirectURI"]);
return __awaiter(this, void 0, void 0, function* () {
const { data } = yield this.workos.post('/passwordless/sessions', options);
const { data } = yield this.workos.post('/passwordless/sessions', Object.assign(Object.assign({}, options), { redirect_uri: redirectURI }));
return data;

@@ -23,0 +35,0 @@ });

{
"version": "0.8.2",
"version": "0.8.3",
"name": "@workos-inc/node",

@@ -42,12 +42,12 @@ "author": "WorkOS",

"@types/jest": "26.0.15",
"@types/node": "12.19.5",
"@types/node": "12.19.6",
"@types/pluralize": "0.0.29",
"axios-mock-adapter": "1.19.0",
"jest": "26.6.3",
"prettier": "2.1.2",
"prettier": "2.2.0",
"supertest": "6.0.1",
"ts-jest": "26.4.4",
"tslint": "6.1.3",
"typescript": "4.0.5"
"typescript": "4.1.2"
}
}
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