@availity/authorizations-axios 7.0.0 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,47 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [7.0.1](https://github.com/Availity/sdk-js/compare/@availity/authorizations-axios@7.0.0...@availity/authorizations-axios@7.0.1) (2023-08-23)
6
+
7
+
8
+
9
+ # 1.0.0 (2023-08-23)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * add browser field for output ([0ce7170](https://github.com/Availity/sdk-js/commit/0ce717075a82675b8707e4db0cc07cd4af370f3d))
15
+ * add lerna ignore for package-locks ([3217d96](https://github.com/Availity/sdk-js/commit/3217d96c1ad7b3b9b752d9376b88d9b91daabca6))
16
+ * **api-axios:** use merge-options-es5 instead of merge-options ([993ccc6](https://github.com/Availity/sdk-js/commit/993ccc6ff8db97b6e1d66454c93e7a33dfe95aee))
17
+ * **authorizations-axios:** swap avPermissionsApi for avUserPermissionsApi ([d6e86ad](https://github.com/Availity/sdk-js/commit/d6e86ad9c46c01e1a887a4f625d40f5fdff88584))
18
+ * fixed package-lock issues boiling down to this repo ([8c896f4](https://github.com/Availity/sdk-js/commit/8c896f486e49eb969320edfbfab422d47abe4ab1))
19
+ * update babel and jest configs, rename tests ([c80e194](https://github.com/Availity/sdk-js/commit/c80e1947f0c3cb28c3c7db842c82f381622d72e7))
20
+
21
+
22
+ ### chore
23
+
24
+ * **api-core:** core, angular, axios api naming consistency ([f129fad](https://github.com/Availity/sdk-js/commit/f129fad36f4e4d8c81fd0b4989811846dd245ee3))
25
+ * **authorizations-axios:** bump axios to v1 ([7f994b1](https://github.com/Availity/sdk-js/commit/7f994b1d7b85a6f446b09e31fbcbe2d59e8747e6))
26
+
27
+
28
+ ### Code Refactoring
29
+
30
+ * **localstorage-core:** converted class to function ([9f1fdf0](https://github.com/Availity/sdk-js/commit/9f1fdf07e388cabbbc1da9ebd4016d6ba5dace8f))
31
+
32
+
33
+ * build!: switch from lerna to nx and compile to esm with tsup ([c586085](https://github.com/Availity/sdk-js/commit/c5860856ca96b743a0653d335ea00f0889132f7f))
34
+
35
+
36
+ ### BREAKING CHANGES
37
+
38
+ * **authorizations-axios:** axios version 1.4.0 or greater is required
39
+ * Drop Internet Explorer support
40
+ * **localstorage-core:** Class is now a Function and doesn't require to be instantiated.
41
+ * upgrades other packages that are using old package-locks
42
+ * **api-core:** export naming conventions have been refactored to match for each implementation (angular/axios). Constructors are prefixed with 'Av', implementations are prefixed with 'av', and Apis are postfixed with 'Api'.
43
+
44
+
45
+
5
46
  # [7.0.0](https://github.com/Availity/sdk-js/compare/@availity/authorizations-axios@6.0.3...@availity/authorizations-axios@7.0.0) (2023-06-14)
6
47
 
7
48
 
@@ -0,0 +1,5 @@
1
+ import AvAuthorizationsCore from '@availity/authorizations-core';
2
+
3
+ declare const avAuthorizationsAxios: AvAuthorizationsCore;
4
+
5
+ export { avAuthorizationsAxios as default };
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -16,7 +17,14 @@ var __copyProps = (to, from, except, desc) => {
16
17
  }
17
18
  return to;
18
19
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
20
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
29
 
22
30
  // src/index.js
@@ -33,5 +41,3 @@ var AvAuthorizationsReact = class extends import_authorizations_core.default {
33
41
  }
34
42
  };
35
43
  var src_default = new AvAuthorizationsReact();
36
- // Annotate the CommonJS export names for ESM import in node:
37
- 0 && (module.exports = {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/authorizations-axios",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Availity authorizations react logic",
5
5
  "homepage": "https://availity.github.io/sdk-js/api/authorizations",
6
6
  "bugs": {
@@ -27,13 +27,13 @@
27
27
  "publish": "yarn npm publish --tolerate-republish --access public"
28
28
  },
29
29
  "dependencies": {
30
- "@availity/api-axios": "8.0.0",
31
- "@availity/authorizations-core": "3.0.3"
30
+ "@availity/api-axios": "8.0.3",
31
+ "@availity/authorizations-core": "3.0.4"
32
32
  },
33
33
  "devDependencies": {
34
34
  "axios": "^1.4.0",
35
- "tsup": "^5.12.8",
36
- "typescript": "^4.6.4"
35
+ "tsup": "^7.2.0",
36
+ "typescript": "^5.1.6"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "axios": "^0.21.1"
package/project.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "projectType": "library",
4
4
  "targets": {
5
5
  "test": {
6
- "executor": "@nrwl/jest:jest",
6
+ "executor": "@nx/jest:jest",
7
7
  "outputs": ["coverage/authorizations-axios"],
8
8
  "options": {
9
9
  "jestConfig": "packages/authorizations-axios/jest.config.js",
@@ -14,13 +14,13 @@
14
14
  "executor": "@jscutlery/semver:version",
15
15
  "options": {
16
16
  "preset": "angular",
17
- "commitMessageFormat": "chore(${projectName}): release version ${version} [skip ci]",
18
- "tagPrefix": "@availity/${projectName}@",
17
+ "commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]",
18
+ "tagPrefix": "@availity/{projectName}@",
19
19
  "baseBranch": "master"
20
20
  }
21
21
  },
22
22
  "lint": {
23
- "executor": "@nrwl/linter:eslint",
23
+ "executor": "@nx/linter:eslint",
24
24
  "options": {
25
25
  "eslintConfig": ".eslintrc.yaml",
26
26
  "lintFilePatterns": ["packages/authorizations-axios/**/*.{js,ts}"],