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

@accounts/magic-link

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/magic-link - npm Package Compare versions

Comparing version 1.0.0-alpha-20231109134411-9db5d55b to 1.0.0-alpha-20231110150116-1eb474da

5

lib/accounts-magic-link.js

@@ -17,4 +17,7 @@ "use strict";

let AccountsMagicLink = class AccountsMagicLink {
serviceName = 'magicLink';
server;
options;
db;
constructor(options = {}, server, db) {
this.serviceName = 'magicLink';
this.options = { ...defaultOptions, ...options };

@@ -21,0 +24,0 @@ if (db) {

3

lib/utils/user.js

@@ -5,6 +5,5 @@ "use strict";

const getUserLoginTokens = (user) => {
var _a, _b, _c;
return (_c = (_b = (_a = user.services) === null || _a === void 0 ? void 0 : _a.magicLink) === null || _b === void 0 ? void 0 : _b.loginTokens) !== null && _c !== void 0 ? _c : [];
return user.services?.magicLink?.loginTokens ?? [];
};
exports.getUserLoginTokens = getUserLoginTokens;
//# sourceMappingURL=user.js.map
{
"name": "@accounts/magic-link",
"version": "1.0.0-alpha-20231109134411-9db5d55b",
"version": "1.0.0-alpha-20231110150116-1eb474da",
"license": "MIT",

@@ -32,4 +32,4 @@ "main": "lib/index.js",

"devDependencies": {
"@accounts/server": "1.0.0-alpha-20231109134411-9db5d55b",
"@accounts/types": "1.0.0-alpha-20231109134411-9db5d55b",
"@accounts/server": "1.0.0-alpha-20231110150116-1eb474da",
"@accounts/types": "1.0.0-alpha-20231110150116-1eb474da",
"@types/bcryptjs": "2.4.6",

@@ -43,5 +43,5 @@ "@types/lodash.set": "4.3.9",

"peerDependencies": {
"@accounts/server": "1.0.0-alpha-20231109134411-9db5d55b",
"@accounts/server": "1.0.0-alpha-20231110150116-1eb474da",
"graphql-modules": "^3.0.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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