@privy-io/js-sdk-core
Advanced tools
Comparing version 0.3.0-beta-20230926170119 to 0.3.0-beta-20230927205941
{ | ||
"name": "@privy-io/js-sdk-core", | ||
"version": "0.3.0-beta-20230926170119", | ||
"version": "0.3.0-beta-20230927205941", | ||
"description": "Vanilla JS client for the Privy Auth API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -10,4 +10,4 @@ # @privy-io/js-sdk-core | ||
await privy.sms.sendCode('+1 555 555 5555'); | ||
const {user} = await privy.sms.loginWithCode('+1 555 555 5555', '123123'); | ||
await privy.auth.sms.sendCode('+1 555 555 5555'); | ||
const {user} = await privy.auth.sms.loginWithCode('+1 555 555 5555', '123123'); | ||
``` | ||
@@ -25,7 +25,7 @@ | ||
// Log in | ||
await privy.sms.sendCode('+1 555 555 5555'); | ||
const {user} = await privy.sms.loginWithCode('+1 555 555 5555', '123123'); | ||
await privy.auth.sms.sendCode('+1 555 555 5555'); | ||
const {user} = await privy.auth.sms.loginWithCode('+1 555 555 5555', '123123'); | ||
// Create an embedded wallet | ||
const wallet = await privy.wallet.create(); | ||
const wallet = await privy.embeddedWallet.create(); | ||
@@ -32,0 +32,0 @@ // Use the embedded wallet |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
191599