@strands.gg/accui 1.4.1 → 1.5.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/nuxt/runtime/composables/useStrandsAuth.cjs.js +1 -1
- package/dist/nuxt/runtime/composables/useStrandsAuth.d.ts +11 -0
- package/dist/nuxt/runtime/composables/useStrandsAuth.d.ts.map +1 -1
- package/dist/nuxt/runtime/composables/useStrandsAuth.es.js +1 -1
- package/dist/nuxt/runtime/plugin.client.cjs.js +1 -1
- package/dist/nuxt/runtime/plugin.client.es.js +1 -1
- package/dist/nuxt/runtime/plugin.server.cjs.js +1 -1
- package/dist/nuxt/runtime/plugin.server.es.js +1 -1
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.cjs.js +1 -1
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.es.js +1 -1
- package/dist/nuxt-v4/runtime/plugin.client.cjs.js +1 -1
- package/dist/nuxt-v4/runtime/plugin.client.es.js +1 -1
- package/dist/nuxt-v4/runtime/plugin.server.cjs.js +1 -1
- package/dist/nuxt-v4/runtime/plugin.server.es.js +1 -1
- package/dist/strands-auth-ui.cjs.js +341 -104
- package/dist/strands-auth-ui.cjs.js.map +1 -1
- package/dist/strands-auth-ui.es.js +342 -105
- package/dist/strands-auth-ui.es.js.map +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/{useStrandsAuth-zR8fRWme.cjs → useStrandsAuth-CVR23cd8.cjs} +77 -2
- package/dist/useStrandsAuth-CVR23cd8.cjs.map +1 -0
- package/dist/{useStrandsAuth-SdmBCyFS.js → useStrandsAuth-if4J5WT8.js} +77 -2
- package/dist/useStrandsAuth-if4J5WT8.js.map +1 -0
- package/dist/{useStrandsConfig-COEj6nFc.js → useStrandsConfig-Bdk-g0jS.js} +9 -1
- package/dist/useStrandsConfig-Bdk-g0jS.js.map +1 -0
- package/dist/{useStrandsConfig-DW4ez8t4.cjs → useStrandsConfig-CtmQtE7Y.cjs} +9 -1
- package/dist/useStrandsConfig-CtmQtE7Y.cjs.map +1 -0
- package/dist/vue/components/SignedIn.vue.d.ts +2 -0
- package/dist/vue/components/SignedIn.vue.d.ts.map +1 -1
- package/dist/vue/components/SignedOut.vue.d.ts +2 -0
- package/dist/vue/components/SignedOut.vue.d.ts.map +1 -1
- package/dist/vue/components/StrandsUserProfile.vue.d.ts.map +1 -1
- package/dist/vue/composables/useStrandsAuth.d.ts +11 -0
- package/dist/vue/composables/useStrandsAuth.d.ts.map +1 -1
- package/dist/vue/composables/useStrandsConfig.d.ts.map +1 -1
- package/dist/vue/ui/UiAvatarEditorSimple.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/useStrandsAuth-SdmBCyFS.js.map +0 -1
- package/dist/useStrandsAuth-zR8fRWme.cjs.map +0 -1
- package/dist/useStrandsConfig-COEj6nFc.js.map +0 -1
- package/dist/useStrandsConfig-DW4ez8t4.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const app = require("nuxt/app");
|
|
4
|
-
const useStrandsAuth$1 = require("../../../useStrandsAuth-
|
|
4
|
+
const useStrandsAuth$1 = require("../../../useStrandsAuth-CVR23cd8.cjs");
|
|
5
5
|
const useStrandsAuth = () => {
|
|
6
6
|
const config = app.useRuntimeConfig().public["strandsAuth"];
|
|
7
7
|
const vueAuth = useStrandsAuth$1.useStrandsAuth();
|
|
@@ -21,6 +21,8 @@ export declare const useStrandsAuth: () => {
|
|
|
21
21
|
passwordUpdatedAt?: (string | Date) | undefined;
|
|
22
22
|
settings?: any;
|
|
23
23
|
xp: number;
|
|
24
|
+
username?: string | undefined;
|
|
25
|
+
usernameLastChangedAt?: (string | Date) | undefined;
|
|
24
26
|
createdAt: string | Date;
|
|
25
27
|
updatedAt: string | Date;
|
|
26
28
|
} | null>;
|
|
@@ -35,6 +37,8 @@ export declare const useStrandsAuth: () => {
|
|
|
35
37
|
passwordUpdatedAt?: (string | Date) | undefined;
|
|
36
38
|
settings?: any;
|
|
37
39
|
xp: number;
|
|
40
|
+
username?: string | undefined;
|
|
41
|
+
usernameLastChangedAt?: (string | Date) | undefined;
|
|
38
42
|
createdAt: string | Date;
|
|
39
43
|
updatedAt: string | Date;
|
|
40
44
|
} | null>;
|
|
@@ -80,6 +84,8 @@ export declare const useStrandsAuth: () => {
|
|
|
80
84
|
passwordUpdatedAt?: (string | Date) | undefined;
|
|
81
85
|
settings?: any;
|
|
82
86
|
xp: number;
|
|
87
|
+
username?: string | undefined;
|
|
88
|
+
usernameLastChangedAt?: (string | Date) | undefined;
|
|
83
89
|
createdAt: string | Date;
|
|
84
90
|
updatedAt: string | Date;
|
|
85
91
|
} | null>;
|
|
@@ -94,10 +100,15 @@ export declare const useStrandsAuth: () => {
|
|
|
94
100
|
passwordUpdatedAt?: (string | Date) | undefined;
|
|
95
101
|
settings?: any;
|
|
96
102
|
xp: number;
|
|
103
|
+
username?: string | undefined;
|
|
104
|
+
usernameLastChangedAt?: (string | Date) | undefined;
|
|
97
105
|
createdAt: string | Date;
|
|
98
106
|
updatedAt: string | Date;
|
|
99
107
|
} | null>;
|
|
100
108
|
changeEmail: (newEmail: string, password: string) => Promise<any>;
|
|
109
|
+
changeUsername: (newUsername: string) => Promise<any>;
|
|
110
|
+
getUsernameCooldown: () => Promise<any>;
|
|
111
|
+
checkUsernameAvailability: (username: string) => Promise<any>;
|
|
101
112
|
setAuthData: (authResponse: import('../../..').AuthResponse, isTokenRefresh?: boolean) => void;
|
|
102
113
|
verifyMfa: (deviceId: string, code: string, isBackupCode?: boolean) => Promise<import('../../..').AuthResponse>;
|
|
103
114
|
sendMfaEmailCode: (deviceId: string) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStrandsAuth.d.ts","sourceRoot":"","sources":["../../../../../../apps/accounts-ui/src/nuxt/runtime/composables/useStrandsAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAK3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,eAAO,MAAM,cAAc;;0BAYU;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;uBAYtC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE
|
|
1
|
+
{"version":3,"file":"useStrandsAuth.d.ts","sourceRoot":"","sources":["../../../../../../apps/accounts-ui/src/nuxt/runtime/composables/useStrandsAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAK3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,eAAO,MAAM,cAAc;;0BAYU;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;uBAYtC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClD,CAAA;AAGD,eAAO,MAAM,WAAW,QAAO;IAAE,IAAI,EAAE,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;CAG9D,CAAA;AAED,eAAO,MAAM,YAAY,QAAO;IAAE,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAAC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAGvG,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRuntimeConfig, navigateTo } from "nuxt/app";
|
|
2
|
-
import { u as useStrandsAuth$1 } from "../../../useStrandsAuth-
|
|
2
|
+
import { u as useStrandsAuth$1 } from "../../../useStrandsAuth-if4J5WT8.js";
|
|
3
3
|
const useStrandsAuth = () => {
|
|
4
4
|
const config = useRuntimeConfig().public["strandsAuth"];
|
|
5
5
|
const vueAuth = useStrandsAuth$1();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const app = require("nuxt/app");
|
|
3
|
-
const useStrandsConfig = require("../../useStrandsConfig-
|
|
3
|
+
const useStrandsConfig = require("../../useStrandsConfig-CtmQtE7Y.cjs");
|
|
4
4
|
const plugin_client = app.defineNuxtPlugin({
|
|
5
5
|
name: "strands-auth-client",
|
|
6
6
|
async setup() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineNuxtPlugin, useRuntimeConfig } from "nuxt/app";
|
|
2
|
-
import { p as provideStrandsConfig, S as STRANDS_AUTH_DEFAULTS } from "../../useStrandsConfig-
|
|
2
|
+
import { p as provideStrandsConfig, S as STRANDS_AUTH_DEFAULTS } from "../../useStrandsConfig-Bdk-g0jS.js";
|
|
3
3
|
const plugin_client = defineNuxtPlugin({
|
|
4
4
|
name: "strands-auth-client",
|
|
5
5
|
async setup() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const app = require("nuxt/app");
|
|
3
|
-
const useStrandsConfig = require("../../useStrandsConfig-
|
|
3
|
+
const useStrandsConfig = require("../../useStrandsConfig-CtmQtE7Y.cjs");
|
|
4
4
|
const plugin_server = app.defineNuxtPlugin({
|
|
5
5
|
name: "strands-auth-server",
|
|
6
6
|
setup() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineNuxtPlugin, useRuntimeConfig } from "nuxt/app";
|
|
2
|
-
import { p as provideStrandsConfig, S as STRANDS_AUTH_DEFAULTS } from "../../useStrandsConfig-
|
|
2
|
+
import { p as provideStrandsConfig, S as STRANDS_AUTH_DEFAULTS } from "../../useStrandsConfig-Bdk-g0jS.js";
|
|
3
3
|
const plugin_server = defineNuxtPlugin({
|
|
4
4
|
name: "strands-auth-server",
|
|
5
5
|
setup() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const app = require("nuxt/app");
|
|
4
|
-
const useStrandsAuth$1 = require("../../../useStrandsAuth-
|
|
4
|
+
const useStrandsAuth$1 = require("../../../useStrandsAuth-CVR23cd8.cjs");
|
|
5
5
|
const useStrandsAuth = () => {
|
|
6
6
|
const config = app.useRuntimeConfig().public["strandsAuth"];
|
|
7
7
|
const vueAuth = useStrandsAuth$1.useStrandsAuth();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRuntimeConfig, navigateTo } from "nuxt/app";
|
|
2
|
-
import { u as useStrandsAuth$1 } from "../../../useStrandsAuth-
|
|
2
|
+
import { u as useStrandsAuth$1 } from "../../../useStrandsAuth-if4J5WT8.js";
|
|
3
3
|
const useStrandsAuth = () => {
|
|
4
4
|
const config = useRuntimeConfig().public["strandsAuth"];
|
|
5
5
|
const vueAuth = useStrandsAuth$1();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const app = require("nuxt/app");
|
|
3
|
-
const useStrandsConfig = require("../../useStrandsConfig-
|
|
3
|
+
const useStrandsConfig = require("../../useStrandsConfig-CtmQtE7Y.cjs");
|
|
4
4
|
const plugin_client = app.defineNuxtPlugin({
|
|
5
5
|
name: "strands-auth-client-v4",
|
|
6
6
|
async setup() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineNuxtPlugin, useRuntimeConfig } from "nuxt/app";
|
|
2
|
-
import { p as provideStrandsConfig, S as STRANDS_AUTH_DEFAULTS } from "../../useStrandsConfig-
|
|
2
|
+
import { p as provideStrandsConfig, S as STRANDS_AUTH_DEFAULTS } from "../../useStrandsConfig-Bdk-g0jS.js";
|
|
3
3
|
const plugin_client = defineNuxtPlugin({
|
|
4
4
|
name: "strands-auth-client-v4",
|
|
5
5
|
async setup() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const app = require("nuxt/app");
|
|
3
|
-
const useStrandsConfig = require("../../useStrandsConfig-
|
|
3
|
+
const useStrandsConfig = require("../../useStrandsConfig-CtmQtE7Y.cjs");
|
|
4
4
|
const plugin_server = app.defineNuxtPlugin({
|
|
5
5
|
name: "strands-auth-server-v4",
|
|
6
6
|
setup() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineNuxtPlugin, useRuntimeConfig } from "nuxt/app";
|
|
2
|
-
import { S as STRANDS_AUTH_DEFAULTS, p as provideStrandsConfig } from "../../useStrandsConfig-
|
|
2
|
+
import { S as STRANDS_AUTH_DEFAULTS, p as provideStrandsConfig } from "../../useStrandsConfig-Bdk-g0jS.js";
|
|
3
3
|
const plugin_server = defineNuxtPlugin({
|
|
4
4
|
name: "strands-auth-server-v4",
|
|
5
5
|
setup() {
|