@swr-login/react 0.1.0 → 0.2.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/README.md +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> React bindings for swr-login: Provider, Hooks, and AuthGuard component.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@swr-login/react)
|
|
6
|
-
[](https://github.com/
|
|
6
|
+
[](https://github.com/tobytovi/swr-login/blob/main/LICENSE)
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
@@ -84,8 +84,8 @@ function LoginButton() {
|
|
|
84
84
|
|
|
85
85
|
## Part of swr-login
|
|
86
86
|
|
|
87
|
-
This package is the React layer of [swr-login](https://github.com/
|
|
87
|
+
This package is the React layer of [swr-login](https://github.com/tobytovi/swr-login). The framework-agnostic core is [`@swr-login/core`](https://www.npmjs.com/package/@swr-login/core).
|
|
88
88
|
|
|
89
89
|
## License
|
|
90
90
|
|
|
91
|
-
[MIT](https://github.com/
|
|
91
|
+
[MIT](https://github.com/tobytovi/swr-login/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swr-login/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "React bindings for swr-login: Provider, Hooks, and AuthGuard component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"swr": ">=2.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@swr-login/core": "0.
|
|
30
|
+
"@swr-login/core": "0.2.0"
|
|
31
31
|
},
|
|
32
32
|
"keywords": [
|
|
33
33
|
"swr",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
42
|
-
"url": "https://github.com/
|
|
42
|
+
"url": "https://github.com/tobytovi/swr-login",
|
|
43
43
|
"directory": "packages/react"
|
|
44
44
|
},
|
|
45
|
-
"homepage": "https://github.com/
|
|
46
|
-
"bugs": "https://github.com/
|
|
45
|
+
"homepage": "https://github.com/tobytovi/swr-login#readme",
|
|
46
|
+
"bugs": "https://github.com/tobytovi/swr-login/issues",
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup",
|
|
55
55
|
"dev": "tsup --watch",
|
|
56
|
-
"test": "vitest run",
|
|
56
|
+
"test": "vitest run --passWithNoTests",
|
|
57
57
|
"clean": "rm -rf dist"
|
|
58
58
|
}
|
|
59
59
|
}
|