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

trusted-accounts-sdk-node

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trusted-accounts-sdk-node - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

5

index.js

@@ -16,2 +16,4 @@ class TrustedAccountsClient {

const state = Math.random().toString(36).substring(2); // Generate a random state value
const nonce = Math.random().toString(36).substring(2); // Generate a random nonce value
const url = new URL(this.authUrl);

@@ -24,3 +26,4 @@ url.searchParams.append('client_id', this.clientId);

url.searchParams.append('email', email); // You can also pass other user details as necessary
url.searchParams.append('nonce', nonce); // Generate a random nonce
return url.toString();

@@ -27,0 +30,0 @@ }

2

package.json
{
"name": "trusted-accounts-sdk-node",
"version": "1.0.3",
"version": "1.0.4",
"description": "A simple SDK for Trusted Accounts for NodeJS",

@@ -5,0 +5,0 @@ "main": "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