@atls/react-user 0.1.44 → 0.1.47
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 +23 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -1
- package/dist/use-user.hook.d.ts +1 -0
- package/dist/user.context.d.ts +2 -0
- package/dist/with-user-loading.component.d.ts +6 -0
- package/dist/with-user.component.d.ts +6 -0
- package/dist/without-user.component.d.ts +6 -0
- package/dist/withouth-user.component.d.ts +6 -0
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
## 0.1.47 (2025-01-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* **common:** exclude tests from bundle ([94db66e](https://github.com/atls/reactjs/commit/94db66e83000f10c5d8552083f958c88d55dcdfc))
|
|
10
|
+
* **react:** lint and typecheck errors ([a090051](https://github.com/atls/reactjs/commit/a090051d1007e171df8066e85f15fcf8fd44c4ed))
|
|
11
|
+
* upgrade react, types fixes ([34feb02](https://github.com/atls/reactjs/commit/34feb027a2e2d7e5741509fd1ff846755d217b97))
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
* add emotion as deps, bump @types/react ([1ce29b3](https://github.com/atls/reactjs/commit/1ce29b384640d9be0550d9c6f4dc07083821137a))
|
|
17
|
+
* **identity-links:** init, also refactor react-user ([3fe1388](https://github.com/atls/reactjs/commit/3fe138854f57f7b50ce14df6c5dd9ab6f0d90dc2))
|
|
18
|
+
* init identity user provider ([a728eaf](https://github.com/atls/reactjs/commit/a728eafdc9a866e5fce87b73a4adbb6dd9981017))
|
|
19
|
+
* react bump ([#144](https://github.com/atls/reactjs/issues/144)) ([9770fa1](https://github.com/atls/reactjs/commit/9770fa10451b647ed48e226270da68228714d174))
|
|
20
|
+
* update kratos browser flows to client 0.8.2 ([52f9c0f](https://github.com/atls/reactjs/commit/52f9c0fa129cd7d4567ab826c754483a6ddd6817))
|
|
21
|
+
* upgraded ([71a06f6](https://github.com/atls/reactjs/commit/71a06f6f498c928ed33b79f93af5d398a32af487))
|
|
22
|
+
|
|
23
|
+
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './with-user-loading.component';
|
|
2
|
+
export * from './without-user.component';
|
|
3
|
+
export * from './with-user.component';
|
|
4
|
+
export * from './use-user.hook';
|
|
5
|
+
export { Provider as UserProvider, Consumer as UserConsumer, Context as UserContext, } from './user.context';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useUser: () => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atls/react-user",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"license": "BSD 3-Clause",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"postpack": "rm -rf dist"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/react": "
|
|
16
|
-
"react": "
|
|
15
|
+
"@types/react": "18.3.6",
|
|
16
|
+
"react": "18.2.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": "^17.0.1"
|