@availity/api-core
Advanced tools
Comparing version 5.4.1 to 6.0.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [6.0.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.4.1...@availity/api-core@6.0.0) (2019-10-21) | ||
### Code Refactoring | ||
* **localstorage-core:** converted class to function ([9f1fdf0](https://github.com/Availity/sdk-js/commit/9f1fdf0)) | ||
### BREAKING CHANGES | ||
* **localstorage-core:** Class is now a Function and doesn't require to be instantiated. | ||
## [5.4.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.4.0...@availity/api-core@5.4.1) (2019-09-27) | ||
@@ -8,0 +24,0 @@ |
{ | ||
"name": "@availity/api-core", | ||
"version": "5.4.1", | ||
"version": "6.0.0", | ||
"description": "Base API definitions for the Availity REST API", | ||
@@ -16,8 +16,2 @@ "keywords": [ | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@availity/localstorage-core": "^2.6.1" | ||
}, | ||
"devDependencies": { | ||
"@availity/localstorage-core": "^2.6.1" | ||
}, | ||
"publishConfig": { | ||
@@ -27,6 +21,7 @@ "access": "public" | ||
"dependencies": { | ||
"@availity/resolve-url": "^1.1.0", | ||
"@availity/localstorage-core": "^3.0.0", | ||
"@availity/resolve-url": "^1.1.1", | ||
"qs": "^6.5.2" | ||
}, | ||
"gitHead": "861ec87ed21a02680c7bf4ff616a2bb3e8dea906" | ||
"gitHead": "d376afc731f9cfc8287accd22e20aacb5c035f2d" | ||
} |
@@ -1,2 +0,2 @@ | ||
import AvLocalStorage from '@availity/localstorage-core'; | ||
import * as avLocalStorage from '@availity/localstorage-core'; | ||
import qs from 'qs'; | ||
@@ -18,3 +18,2 @@ import resolveUrl from '@availity/resolve-url'; | ||
this.defaultConfig = this.merge({}, API_OPTIONS.API, config); | ||
this.localStorage = new AvLocalStorage(); | ||
} | ||
@@ -57,3 +56,3 @@ | ||
config.sessionBust, | ||
() => this.localStorage.getSessionBust() || this.getPageBust() | ||
() => avLocalStorage.getSessionBust() || this.getPageBust() | ||
); | ||
@@ -60,0 +59,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
50608
0
0
930
+ Added@availity/localstorage-core@3.0.0(transitive)
- Removed@availity/localstorage-core@2.6.1(transitive)
Updated@availity/resolve-url@^1.1.1