@monocloud/auth-nextjs 0.1.2 → 0.1.3
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 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,8 +10,10 @@ This SDK is designed specifically for **Next.js**, providing first-class integra
|
|
|
10
10
|
|
|
11
11
|
## 📘 Documentation
|
|
12
12
|
|
|
13
|
+
- **Documentation:** [https://www.monocloud.com/docs](https://www.monocloud.com/docs?utm_source=github&utm_medium=auth_js)
|
|
13
14
|
- **Quickstart:** [https://www.monocloud.com/docs/quickstarts/nextjs-app-router](https://www.monocloud.com/docs/quickstarts/nextjs-app-router?utm_source=github&utm_medium=auth_js)
|
|
14
15
|
- **SDK Reference:** [https://www.monocloud.com/docs/sdk-reference/nextjs](https://www.monocloud.com/docs/sdk-reference/nextjs/index?utm_source=github&utm_medium=auth_js)
|
|
16
|
+
- **API Reference:** [https://monocloud.github.io/auth-js](https://monocloud.github.io/auth-js?utm_source=github&utm_medium=auth_js)
|
|
15
17
|
|
|
16
18
|
## Supported Platforms
|
|
17
19
|
|
|
@@ -124,6 +126,7 @@ export default function Page() {
|
|
|
124
126
|
);
|
|
125
127
|
}
|
|
126
128
|
```
|
|
129
|
+
|
|
127
130
|
## When should I use `auth-nextjs`?
|
|
128
131
|
|
|
129
132
|
Use **`@monocloud/auth-nextjs`** if you are building a **Next.js application** and want a secure authentication solution with minimal configuration.
|
package/dist/index.cjs
CHANGED
|
@@ -442,7 +442,7 @@ var MonoCloudNextClient = class {
|
|
|
442
442
|
constructor(options) {
|
|
443
443
|
const opt = {
|
|
444
444
|
...options ?? {},
|
|
445
|
-
userAgent: (options === null || options === void 0 ? void 0 : options.userAgent) ?? `@monocloud/auth-nextjs@0.1.
|
|
445
|
+
userAgent: (options === null || options === void 0 ? void 0 : options.userAgent) ?? `@monocloud/auth-nextjs@0.1.3`,
|
|
446
446
|
debugger: (options === null || options === void 0 ? void 0 : options.debugger) ?? "@monocloud:auth-nextjs"
|
|
447
447
|
};
|
|
448
448
|
this.registerPublicEnvVariables();
|
package/dist/index.mjs
CHANGED
|
@@ -441,7 +441,7 @@ var MonoCloudNextClient = class {
|
|
|
441
441
|
constructor(options) {
|
|
442
442
|
const opt = {
|
|
443
443
|
...options ?? {},
|
|
444
|
-
userAgent: (options === null || options === void 0 ? void 0 : options.userAgent) ?? `@monocloud/auth-nextjs@0.1.
|
|
444
|
+
userAgent: (options === null || options === void 0 ? void 0 : options.userAgent) ?? `@monocloud/auth-nextjs@0.1.3`,
|
|
445
445
|
debugger: (options === null || options === void 0 ? void 0 : options.debugger) ?? "@monocloud:auth-nextjs"
|
|
446
446
|
};
|
|
447
447
|
this.registerPublicEnvVariables();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monocloud/auth-nextjs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "MonoCloud Next.js Authentication SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"monocloud",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"cookie": "1.1.1",
|
|
59
59
|
"swr": "2.3.8",
|
|
60
|
-
"@monocloud/auth-node-core": "0.1.
|
|
60
|
+
"@monocloud/auth-node-core": "0.1.3"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@edge-runtime/vm": "5.0.0",
|