@availity/authorizations-axios 10.0.0 → 10.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,22 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [10.0.2](https://github.com/availity/sdk-js/compare/@availity/authorizations-axios@10.0.1...@availity/authorizations-axios@10.0.2) (2026-06-09)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `api-axios` updated to version `10.0.1`
10
+ * `authorizations-core` updated to version `10.0.1`
11
+
12
+
13
+ ## [10.0.1](https://github.com/availity/sdk-js/compare/@availity/authorizations-axios@10.0.0...@availity/authorizations-axios@10.0.1) (2026-06-09)
14
+
15
+ ### Dependency Updates
16
+
17
+ * `api-axios` updated to version `10.0.0`
18
+ * `authorizations-core` updated to version `10.0.0`
19
+
20
+
5
21
  # [10.0.0](https://github.com/availity/sdk-js/compare/@availity/authorizations-axios@9.1.1...@availity/authorizations-axios@10.0.0) (2026-06-08)
6
22
 
7
23
  ### Dependency Updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/authorizations-axios",
3
- "version": "10.0.0",
3
+ "version": "10.0.2",
4
4
  "description": "Availity authorizations react logic",
5
5
  "homepage": "https://availity.github.io/sdk-js/api/authorizations",
6
6
  "bugs": {
@@ -14,31 +14,30 @@
14
14
  "license": "MIT",
15
15
  "author": "Kasey Powers <kasey.powers@availity.com>",
16
16
  "type": "module",
17
- "main": "./dist/index.cjs",
18
- "module": "./dist/index.js",
17
+ "main": "./dist/index.js",
19
18
  "types": "./dist/index.d.ts",
20
19
  "exports": {
21
20
  "./package.json": "./package.json",
22
21
  ".": {
23
22
  "types": "./dist/index.d.ts",
24
- "import": "./dist/index.js",
25
- "require": "./dist/index.cjs"
23
+ "import": "./dist/index.js"
26
24
  }
27
25
  },
28
26
  "engines": {
29
27
  "node": "^22.0.0 || ^24.0.0"
30
28
  },
31
29
  "scripts": {
32
- "build": "tsup src/index.js --format esm,cjs --dts",
33
- "dev": "tsup src/index.js --format esm,cjs --watch --dts",
30
+ "build": "tsup src/index.js --format esm --clean --dts",
31
+ "dev": "tsup src/index.js --format esm --watch --dts",
34
32
  "lint": "eslint src",
35
33
  "lint:fix": "eslint src --fix",
36
- "clean": "rm -rf node_modules && rm -rf dist",
37
- "publish": "yarn npm publish --tolerate-republish --access public"
34
+ "clean": "rm -rf dist",
35
+ "publish": "yarn npm publish --tolerate-republish --access public",
36
+ "test": "vitest run"
38
37
  },
39
38
  "dependencies": {
40
- "@availity/api-axios": "13.0.0",
41
- "@availity/authorizations-core": "6.0.0"
39
+ "@availity/api-axios": "13.0.2",
40
+ "@availity/authorizations-core": "6.0.2"
42
41
  },
43
42
  "devDependencies": {
44
43
  "axios": "^1.17.0",
package/project.json CHANGED
@@ -4,10 +4,15 @@
4
4
  "projectType": "library",
5
5
  "targets": {
6
6
  "test": {
7
- "executor": "@nx/jest:jest",
8
- "outputs": ["{workspaceRoot}/coverage/authorizations-axios"],
7
+ "executor": "nx:run-commands",
9
8
  "options": {
10
- "jestConfig": "packages/authorizations-axios/jest.config.cjs"
9
+ "command": "vitest run --project=authorizations-axios",
10
+ "cwd": "."
11
+ },
12
+ "configurations": {
13
+ "ci": {
14
+ "command": "vitest run --project=authorizations-axios --coverage"
15
+ }
11
16
  }
12
17
  },
13
18
  "version": {
@@ -0,0 +1,12 @@
1
+ import { defineProject } from 'vitest/config';
2
+ import { alias } from '../../vitest.aliases.ts';
3
+
4
+ export default defineProject({
5
+ resolve: { alias },
6
+ test: {
7
+ name: 'authorizations-axios',
8
+ globals: true,
9
+ environment: 'jsdom',
10
+ include: ['src/**/*.test.{ts,js}'],
11
+ },
12
+ });
package/dist/index.cjs DELETED
@@ -1,43 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
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
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/index.js
31
- var index_exports = {};
32
- __export(index_exports, {
33
- default: () => index_default
34
- });
35
- module.exports = __toCommonJS(index_exports);
36
- var import_authorizations_core = __toESM(require("@availity/authorizations-core"), 1);
37
- var import_api_axios = require("@availity/api-axios");
38
- var AvAuthorizationsReact = class extends import_authorizations_core.default {
39
- constructor() {
40
- super(import_api_axios.avUserPermissionsApi, import_api_axios.avRegionsApi, Promise);
41
- }
42
- };
43
- var index_default = new AvAuthorizationsReact();
package/dist/index.d.cts DELETED
@@ -1,6 +0,0 @@
1
- import AvAuthorizationsCore from '@availity/authorizations-core';
2
- export { Organization, Permission, Resource } from '@availity/authorizations-core';
3
-
4
- declare const avAuthorizationsAxios: AvAuthorizationsCore;
5
-
6
- export { avAuthorizationsAxios as default };
package/jest.config.cjs DELETED
@@ -1,7 +0,0 @@
1
- const global = require('../../jest.config.cjs');
2
-
3
- module.exports = {
4
- ...global,
5
- displayName: 'authorizations-axios',
6
- coverageDirectory: '../../coverage/authorizations-axios',
7
- };
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../dist/out-tsc",
5
- "module": "commonjs",
6
- "types": ["jest", "node"],
7
- "allowJs": true
8
- },
9
- "include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
10
- }