smartystreets-javascript-sdk
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -5,3 +5,8 @@ const SmartySDK = require("smartystreets-javascript-sdk"); | ||
// US Autocomplete Pro only supports using Embedded Keys | ||
// for Server-to-server requests, use this code: | ||
// let authId = process.env.SMARTY_AUTH_ID; | ||
// let authToken = process.env.SMARTY_AUTH_TOKEN; | ||
// const credentials = new SmartyCore.StaticCredentials(authId, authToken); | ||
// for client-side requests (browser/mobile), use this code: | ||
let key = process.env.SMARTY_EMBEDDED_KEY; | ||
@@ -58,2 +63,2 @@ const credentials = new SmartyCore.SharedCredentials(key); | ||
} | ||
} | ||
} |
{ | ||
"name": "smartystreets-javascript-sdk", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Quick and easy Smarty address validation.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
172486
3949