trusted-accounts-sdk-node
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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 @@ } |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5068
54