@adobe/fetch
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "@adobe/fetch", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Call Adobe APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,3 +26,3 @@ /* eslint-disable require-atomic-updates */ | ||
if (!cache.disableStorage) { | ||
cache.tokens = await cache.read(); | ||
cache.tokens = await cache.read() || {}; | ||
cache.readOnce = true; | ||
@@ -29,0 +29,0 @@ } |
@@ -31,3 +31,3 @@ /* | ||
storage.init.mockImplementation(() => Promise.resolve()); | ||
storage.getItem = jest.fn(() => Promise.resolve({})); | ||
storage.getItem = jest.fn(() => Promise.resolve(undefined)); | ||
storage.setItem = jest.fn(() => Promise.resolve()); | ||
@@ -34,0 +34,0 @@ |
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
93608