commercelayer
Advanced tools
Comparing version 1.9.19 to 1.9.20
{ | ||
"name": "commercelayer", | ||
"version": "1.9.19", | ||
"version": "1.9.20", | ||
"description": "The Official Commerce Layer JS library", | ||
@@ -5,0 +5,0 @@ "main": "./src/main.js", |
@@ -6,2 +6,3 @@ function initCommercelayer() { | ||
const clsdk = require('@commercelayer/sdk') | ||
const utils = require('./utils') | ||
@@ -16,3 +17,5 @@ exports.init = function() { | ||
}) | ||
if (utils.getAccessTokenCookie()) { | ||
clsdk.client.config.access_token = utils.getAccessTokenCookie() | ||
} | ||
clsdk.settings.debug = config.devSettings.debug | ||
@@ -19,0 +22,0 @@ clsdk.settings.console = config.devSettings.console |
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
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
375385
2618