sekisho 0.4.0 → 0.6.0
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/dist/factory.d.ts +1 -2
- package/package.json +3 -3
package/dist/factory.d.ts
CHANGED
|
@@ -10,8 +10,7 @@ interface SekishoGuardError extends Error {
|
|
|
10
10
|
* - `fallback` — a static `ReactNode` rendered in place of children when the
|
|
11
11
|
* guard fires (access-control pattern).
|
|
12
12
|
* - `fallbackComponent` — a React component that receives `{ error }` as props.
|
|
13
|
-
*
|
|
14
|
-
* navigation side-effect (auth pattern).
|
|
13
|
+
* The `error` prop will only be `null` when the error is thrown in the server
|
|
15
14
|
*/
|
|
16
15
|
type SekishoContainerProps = React.PropsWithChildren & ({
|
|
17
16
|
fallback: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sekisho",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Authentication and Access Control for any React app",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"author": "Sukka <https://skk.moe>",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"foxact": "^0.3.
|
|
35
|
+
"foxact": "^0.3.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@swc/core": "^1.15.33",
|
|
39
|
-
"@types/react": "^19.2.
|
|
39
|
+
"@types/react": "^19.2.15",
|
|
40
40
|
"bunchee": "^6.10.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|