@availity/authorizations-axios 7.0.0 → 7.0.2

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,51 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [7.0.2](https://github.com/Availity/sdk-js/compare/@availity/authorizations-axios@7.0.1...@availity/authorizations-axios@7.0.2) (2024-02-19)
6
+
7
+
8
+
9
+ ## [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)
10
+
11
+
12
+
13
+ # 1.0.0 (2023-08-23)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * add browser field for output ([0ce7170](https://github.com/Availity/sdk-js/commit/0ce717075a82675b8707e4db0cc07cd4af370f3d))
19
+ * add lerna ignore for package-locks ([3217d96](https://github.com/Availity/sdk-js/commit/3217d96c1ad7b3b9b752d9376b88d9b91daabca6))
20
+ * **api-axios:** use merge-options-es5 instead of merge-options ([993ccc6](https://github.com/Availity/sdk-js/commit/993ccc6ff8db97b6e1d66454c93e7a33dfe95aee))
21
+ * **authorizations-axios:** swap avPermissionsApi for avUserPermissionsApi ([d6e86ad](https://github.com/Availity/sdk-js/commit/d6e86ad9c46c01e1a887a4f625d40f5fdff88584))
22
+ * fixed package-lock issues boiling down to this repo ([8c896f4](https://github.com/Availity/sdk-js/commit/8c896f486e49eb969320edfbfab422d47abe4ab1))
23
+ * update babel and jest configs, rename tests ([c80e194](https://github.com/Availity/sdk-js/commit/c80e1947f0c3cb28c3c7db842c82f381622d72e7))
24
+
25
+
26
+ ### chore
27
+
28
+ * **api-core:** core, angular, axios api naming consistency ([f129fad](https://github.com/Availity/sdk-js/commit/f129fad36f4e4d8c81fd0b4989811846dd245ee3))
29
+ * **authorizations-axios:** bump axios to v1 ([7f994b1](https://github.com/Availity/sdk-js/commit/7f994b1d7b85a6f446b09e31fbcbe2d59e8747e6))
30
+
31
+
32
+ ### Code Refactoring
33
+
34
+ * **localstorage-core:** converted class to function ([9f1fdf0](https://github.com/Availity/sdk-js/commit/9f1fdf07e388cabbbc1da9ebd4016d6ba5dace8f))
35
+
36
+
37
+ * build!: switch from lerna to nx and compile to esm with tsup ([c586085](https://github.com/Availity/sdk-js/commit/c5860856ca96b743a0653d335ea00f0889132f7f))
38
+
39
+
40
+ ### BREAKING CHANGES
41
+
42
+ * **authorizations-axios:** axios version 1.4.0 or greater is required
43
+ * Drop Internet Explorer support
44
+ * **localstorage-core:** Class is now a Function and doesn't require to be instantiated.
45
+ * upgrades other packages that are using old package-locks
46
+ * **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'.
47
+
48
+
49
+
5
50
  # [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
51
 
7
52
 
@@ -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.2",
4
4
  "description": "Availity authorizations react logic",
5
5
  "homepage": "https://availity.github.io/sdk-js/api/authorizations",
6
6
  "bugs": {
@@ -23,17 +23,16 @@
23
23
  "lint": "eslint src",
24
24
  "lint:fix": "eslint src --fix",
25
25
  "clean": "rm -rf node_modules && rm -rf dist",
26
- "bundlesize": "bundlesize",
27
26
  "publish": "yarn npm publish --tolerate-republish --access public"
28
27
  },
29
28
  "dependencies": {
30
- "@availity/api-axios": "8.0.0",
31
- "@availity/authorizations-core": "3.0.3"
29
+ "@availity/api-axios": "8.0.4",
30
+ "@availity/authorizations-core": "3.0.5"
32
31
  },
33
32
  "devDependencies": {
34
33
  "axios": "^1.4.0",
35
- "tsup": "^5.12.8",
36
- "typescript": "^4.6.4"
34
+ "tsup": "^7.2.0",
35
+ "typescript": "^5.1.6"
37
36
  },
38
37
  "peerDependencies": {
39
38
  "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}"],