@availity/hooks 4.0.0 → 5.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 +19 -0
- package/package.json +5 -5
- package/src/useCurrentRegion.js +1 -1
- package/src/useCurrentUser.js +1 -1
- package/src/useOrganizations.js +1 -1
- package/src/usePermissions.js +1 -1
- package/src/useProviders.js +1 -1
- package/tests/util.js +1 -1
- package/types/useCurrentRegion.d.ts +1 -1
- package/types/useCurrentUser.d.ts +1 -1
- package/types/useOrganizations.d.ts +1 -1
- package/types/usePermissions.d.ts +1 -1
- package/types/useProviders.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [5.0.1](https://github.com/Availity/availity-react/compare/@availity/hooks@5.0.0...@availity/hooks@5.0.1) (2024-02-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# [5.0.0](https://github.com/Availity/availity-react/compare/@availity/hooks@4.0.0...@availity/hooks@5.0.0) (2023-10-16)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **hooks:** upgrade react query to v4 ([9b7b266](https://github.com/Availity/availity-react/commit/9b7b266fbbd880114d162d5a4f89f7a9f34a6a6f))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* **hooks:** react query has been upgraded to v4. you must upgrade
|
|
20
|
+
to @tanstack/react-query@^4.36.1 in order to use this package now
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
5
24
|
# [4.0.0](https://github.com/Availity/availity-react/compare/@availity/hooks@3.3.3...@availity/hooks@4.0.0) (2023-10-09)
|
|
6
25
|
|
|
7
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/hooks",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A group of pre-built hooks that are common in most apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"@tanstack/react-query": "^4.36.1",
|
|
29
|
+
"prop-types": "^15.8.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@availity/api-axios": "^8.0.
|
|
33
|
-
"axios": "^1.
|
|
32
|
+
"@availity/api-axios": "^8.0.4",
|
|
33
|
+
"axios": "^1.6.7",
|
|
34
34
|
"react": "^18.2.0",
|
|
35
35
|
"react-dom": "^18.2.0"
|
|
36
36
|
},
|
package/src/useCurrentRegion.js
CHANGED
package/src/useCurrentUser.js
CHANGED
package/src/useOrganizations.js
CHANGED
package/src/usePermissions.js
CHANGED
package/src/useProviders.js
CHANGED
package/tests/util.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import { QueryClientProvider } from 'react-query';
|
|
3
|
+
import { QueryClientProvider } from '@tanstack/react-query';
|
|
4
4
|
|
|
5
5
|
// Taken from https://github.com/tannerlinsley/react-query/blob/master/src/react/tests/utils.tsx#L6
|
|
6
6
|
export default function renderWithClient(client, ui) {
|
package/types/useProviders.d.ts
CHANGED