@hexclave/next 1.0.101 → 1.0.102
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/{admin-app-impl-UUvE82LW.d.ts → admin-app-impl-B--_O9fz.d.ts} +4 -4
- package/dist/{admin-app-impl-UUvE82LW.d.ts.map → admin-app-impl-B--_O9fz.d.ts.map} +1 -1
- package/dist/components/api-key-dialogs.d.ts +1 -1
- package/dist/components/api-key-dialogs.js +4 -4
- package/dist/components/credential-sign-in.js +3 -3
- package/dist/components/credential-sign-up.js +5 -5
- package/dist/components/elements/sidebar-layout.js +1 -1
- package/dist/components/elements/user-avatar.js +1 -1
- package/dist/components/magic-link-sign-in.js +5 -5
- package/dist/components/message-cards/no-auth-methods-message-card.js +2 -2
- package/dist/components/message-cards/predefined-message-card.js +1 -1
- package/dist/components/passkey-button.js +1 -1
- package/dist/components/profile-image-editor.js +1 -1
- package/dist/components/team-icon.js +1 -1
- package/dist/components/team-switcher.js +1 -1
- package/dist/components/user-button.js +1 -1
- package/dist/components-page/account-settings/editable-text.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/emails-section.js +4 -4
- package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/passkey-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/password-section.js +5 -5
- package/dist/components-page/account-settings/payments/payments-panel.js +1 -1
- package/dist/components-page/account-settings/teams/team-creation-page.js +4 -4
- package/dist/components-page/account-settings/teams/team-member-invitation-section.js +5 -5
- package/dist/components-page/account-settings.js +3 -3
- package/dist/components-page/auth-page.js +1 -1
- package/dist/components-page/cli-auth-confirm.js +1 -1
- package/dist/components-page/forgot-password.js +5 -5
- package/dist/components-page/hexclave-handler-client.js +1 -1
- package/dist/components-page/mfa.js +3 -3
- package/dist/components-page/oauth-callback.js +1 -1
- package/dist/components-page/onboarding.js +4 -4
- package/dist/components-page/password-reset.js +8 -8
- package/dist/components-page/team-creation.js +5 -5
- package/dist/esm/components/api-key-dialogs.d.ts +1 -1
- package/dist/esm/components/api-key-dialogs.js +4 -4
- package/dist/esm/components/credential-sign-in.js +3 -3
- package/dist/esm/components/credential-sign-up.js +5 -5
- package/dist/esm/components/elements/sidebar-layout.js +1 -1
- package/dist/esm/components/elements/user-avatar.js +1 -1
- package/dist/esm/components/magic-link-sign-in.js +5 -5
- package/dist/esm/components/message-cards/no-auth-methods-message-card.js +2 -2
- package/dist/esm/components/message-cards/predefined-message-card.js +1 -1
- package/dist/esm/components/passkey-button.js +1 -1
- package/dist/esm/components/profile-image-editor.js +1 -1
- package/dist/esm/components/team-icon.js +1 -1
- package/dist/esm/components/team-switcher.js +1 -1
- package/dist/esm/components/user-button.js +1 -1
- package/dist/esm/components-page/account-settings/editable-text.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +4 -4
- package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/passkey-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +5 -5
- package/dist/esm/components-page/account-settings/payments/payments-panel.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-creation-page.js +4 -4
- package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +5 -5
- package/dist/esm/components-page/account-settings.js +3 -3
- package/dist/esm/components-page/auth-page.js +1 -1
- package/dist/esm/components-page/cli-auth-confirm.js +1 -1
- package/dist/esm/components-page/forgot-password.js +5 -5
- package/dist/esm/components-page/hexclave-handler-client.js +1 -1
- package/dist/esm/components-page/mfa.js +3 -3
- package/dist/esm/components-page/oauth-callback.js +1 -1
- package/dist/esm/components-page/onboarding.js +4 -4
- package/dist/esm/components-page/password-reset.js +7 -7
- package/dist/esm/components-page/team-creation.js +5 -5
- package/dist/esm/generated/quetzal-translations.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +3 -3
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.test.js +1 -1
- package/dist/esm/lib/hexclave-app/users/index.d.ts +1 -1
- package/dist/generated/quetzal-translations.d.ts +1 -1
- package/dist/{hexclave-provider-DTT6O21q.d.ts → hexclave-provider-BlnLHwzv.d.ts} +2 -2
- package/dist/{hexclave-provider-DTT6O21q.d.ts.map → hexclave-provider-BlnLHwzv.d.ts.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.test.js +1 -1
- package/dist/providers/hexclave-provider.d.ts +1 -1
- package/dist/providers/translation-provider.d.ts +1 -1
- package/dist/{quetzal-translations-CK45_4Dm.d.ts → quetzal-translations-CwNB-iql.d.ts} +3 -3
- package/dist/{quetzal-translations-CK45_4Dm.d.ts.map → quetzal-translations-CwNB-iql.d.ts.map} +1 -1
- package/dist/{translation-provider-DQ3BJepJ.d.ts → translation-provider-C0uPBd41.d.ts} +2 -2
- package/dist/{translation-provider-DQ3BJepJ.d.ts.map → translation-provider-C0uPBd41.d.ts.map} +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapTokenResponse, MetricsResponse, MetricsUserCounts, UserActivityResponse } from "@hexclave/shared/dist/interface/admin-metrics";
|
|
2
|
-
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
3
2
|
import { HexclaveAdminInterface } from "@hexclave/shared";
|
|
3
|
+
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
4
4
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
5
5
|
import { AdminEmailOutbox, AdminSentEmail } from "../../index.js";
|
|
6
6
|
import { EmailConfig, hexclaveAppInternalsSymbol } from "../../common.js";
|
|
@@ -206,7 +206,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
206
206
|
} & {
|
|
207
207
|
uniqueIdentifier: string;
|
|
208
208
|
};
|
|
209
|
-
setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-
|
|
209
|
+
setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-BBoN3hsn").t["Client"]["Read"] | null>) => void;
|
|
210
210
|
getConstructorOptions: () => {
|
|
211
211
|
baseUrl?: string | {
|
|
212
212
|
browser: string;
|
|
@@ -239,7 +239,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
239
239
|
sendAnalyticsEventBatch: (body: string, options: {
|
|
240
240
|
keepalive: boolean;
|
|
241
241
|
}) => Promise<Result<Response, Error>>;
|
|
242
|
-
addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-
|
|
242
|
+
addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-BoIICu7a").a) => () => void;
|
|
243
243
|
sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
|
|
244
244
|
usedTokens: {
|
|
245
245
|
accessToken: import("@hexclave/shared/dist/sessions-BPBxRkNf").t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
1
|
import { HexclaveClientInterface, KnownError, KnownErrors } from "@hexclave/shared";
|
|
2
|
+
import * as yup from "yup";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { TokenObject } from "./common.js";
|
|
5
5
|
import { ConvexCtx, GetCurrentPartialUserOptions, GetCurrentUserOptions, HandlerUrlOptions as HandlerUrlOptions$1, HandlerUrls, OAuthScopesOnSignIn, RedirectMethod, RedirectToOptions, RequestLike, ResolvedHandlerUrls as ResolvedHandlerUrls$1, TokenStoreInit, hexclaveAppInternalsSymbol } from "../../common.js";
|
|
@@ -15,8 +15,8 @@ import { envVars } from "../../../../generated/env.js";
|
|
|
15
15
|
import { suspendIfSsr } from "../../../../utils/react.js";
|
|
16
16
|
import { resolveHandlerUrls } from "../../url-targets.js";
|
|
17
17
|
//#region src/lib/hexclave-app/apps/implementations/common.ts
|
|
18
|
-
const clientVersion = "js @hexclave/next@1.0.
|
|
19
|
-
if ("js @hexclave/next@1.0.
|
|
18
|
+
const clientVersion = "js @hexclave/next@1.0.102";
|
|
19
|
+
if ("js @hexclave/next@1.0.102".startsWith("STACK_COMPILE_TIME"));
|
|
20
20
|
const replaceHexclavePortPrefix = (input) => {
|
|
21
21
|
if (!input) return input;
|
|
22
22
|
const prefix = envVars.HEXCLAVE_PORT_PREFIX;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
2
2
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
3
|
-
import { EventTracker } from "./event-tracker.js";
|
|
4
3
|
import { KnownErrors } from "@hexclave/shared/dist/known-errors";
|
|
4
|
+
import { EventTracker } from "./event-tracker.js";
|
|
5
5
|
//#region src/lib/hexclave-app/apps/implementations/event-tracker.test.ts
|
|
6
6
|
// @vitest-environment jsdom
|
|
7
7
|
async function advancePastFlush() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
1
|
import { HexclaveServerInterface, KnownErrors } from "@hexclave/shared";
|
|
2
|
+
import * as yup from "yup";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { ConvexCtx, GetCurrentUserOptions } from "../../common.js";
|
|
5
5
|
import { AdminProjectPermissionDefinition, AdminTeamPermission, AdminTeamPermissionDefinition } from "../../permissions/index.js";
|
|
@@ -72,7 +72,7 @@ declare class _HexclaveServerAppImplIncomplete<HasTokenStore extends boolean, Pr
|
|
|
72
72
|
protected _serverNotificationCategoryFromCrud(userId: string, crud: NotificationPreferenceCrud['Server']['Read']): NotificationCategory;
|
|
73
73
|
protected _serverOAuthProviderFromCrud(crud: OAuthProviderCrud['Server']['Read']): {
|
|
74
74
|
id: string;
|
|
75
|
-
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "
|
|
75
|
+
type: "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "twitch";
|
|
76
76
|
userId: string;
|
|
77
77
|
accountId: string;
|
|
78
78
|
email: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as errors from "@hexclave/shared/dist/utils/errors";
|
|
2
2
|
import { describe, expect, it, vi } from "vitest";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
|
-
import { SessionRecorder, analyticsOptionsFromJson, analyticsOptionsToJson, getSessionReplayOptions } from "./session-replay.js";
|
|
5
4
|
import { KnownErrors } from "@hexclave/shared/dist/known-errors";
|
|
5
|
+
import { SessionRecorder, analyticsOptionsFromJson, analyticsOptionsToJson, getSessionReplayOptions } from "./session-replay.js";
|
|
6
6
|
//#region src/lib/hexclave-app/apps/implementations/session-replay.test.ts
|
|
7
7
|
// @vitest-environment jsdom
|
|
8
8
|
describe("session replay options", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
2
1
|
import { KnownErrors } from "@hexclave/shared";
|
|
2
|
+
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { InternalSession } from "@hexclave/shared/dist/sessions";
|
|
5
5
|
import { ReadonlyJson } from "@hexclave/shared/dist/utils/json";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as quetzalLocales, t as quetzalKeys } from "../quetzal-translations-
|
|
1
|
+
import { n as quetzalLocales, t as quetzalKeys } from "../quetzal-translations-CwNB-iql.js";
|
|
2
2
|
export { quetzalKeys, quetzalLocales };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { N as StackAdminApp, a as StackClientApp, z as StackServerApp } from "./client-app-CZjsVpWa.js";
|
|
2
|
-
import { t as TranslationProvider } from "./translation-provider-
|
|
2
|
+
import { t as TranslationProvider } from "./translation-provider-C0uPBd41.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/providers/hexclave-provider.d.ts
|
|
@@ -26,4 +26,4 @@ declare const HexclaveProvider: typeof NextStackProvider;
|
|
|
26
26
|
declare const StackProvider: typeof NextStackProvider;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { HexclaveProvider as n, StackProvider as r, ActiveProvider as t };
|
|
29
|
-
//# sourceMappingURL=hexclave-provider-
|
|
29
|
+
//# sourceMappingURL=hexclave-provider-BlnLHwzv.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hexclave-provider-
|
|
1
|
+
{"version":3,"file":"hexclave-provider-BlnLHwzv.d.ts","names":[],"sources":["../src/providers/hexclave-provider.tsx"],"mappings":";;;;;iBASS,iBAAA;EACP,QAAA;EACA,GAAA;EACA,IAAA;EACA;AAAA;EAEA,IAAA,GAAO,KAAA,CAAM,cAAA,QAAsB,mBAAA;;AARwB;;;;;EAe3D,oBAAA,GAAuB,MAAA;EACvB,QAAA,EAAU,KAAA,CAAM,SAAA;EAEhB,GAAA,EAAK,cAAA,SAAuB,cAAA,SAAuB,aAAA;AAAA,gCACpD,GAAA,CAAA,OAAA;AAAA,cAcK,cAAA,SAAc,iBAAoB;AAAA,cAI3B,gBAAA,SAAgB,iBAAiB;;cAEjC,aAAA,SAAa,iBAAiB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { t as ForgotPassword } from "./forgot-password-B7RLLsC2.js";
|
|
|
18
18
|
import { t as PasswordReset } from "./password-reset-CxIuXeIx.js";
|
|
19
19
|
import { _ as StackHandler, a as HexclaveEnvVarValue, c as HexclaveServerlessService, d as StackConfig, f as defineHexclaveConfig, g as HexclaveHandler, h as SelectedTeamSwitcher, i as HexclaveDeploymentReference, l as HexclaveService, m as TeamSwitcher, n as HexclaveDeploymentConfig, o as HexclavePersistentVolume, p as defineStackConfig, r as HexclaveDeploymentContext, s as HexclaveServerService, t as HexclaveConfig, u as HexclaveServiceOutputs } from "./index-CnokyAXv.js";
|
|
20
20
|
import { n as useStackApp, r as useUser, t as useHexclaveApp } from "./hooks-BLTs4rIm.js";
|
|
21
|
-
import { n as HexclaveProvider, r as StackProvider } from "./hexclave-provider-
|
|
21
|
+
import { n as HexclaveProvider, r as StackProvider } from "./hexclave-provider-BlnLHwzv.js";
|
|
22
22
|
import { n as StackTheme, t as HexclaveTheme } from "./theme-provider-D9_ngSbi.js";
|
|
23
23
|
import { t as AuthPage } from "./auth-page-YnM_LtbN.js";
|
|
24
24
|
import { t as SignIn } from "./sign-in-BT45jb_W.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-B--_O9fz.js";
|
|
2
2
|
export { _HexclaveAdminAppImplIncomplete };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as stripBrowserActionQueryParam, r as _HexclaveClientAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { i as stripBrowserActionQueryParam, r as _HexclaveClientAppImplIncomplete } from "../../../../admin-app-impl-B--_O9fz.js";
|
|
2
2
|
export { _HexclaveClientAppImplIncomplete, stripBrowserActionQueryParam };
|
|
@@ -18,8 +18,8 @@ let ____________generated_env_js = require("../../../../generated/env.js");
|
|
|
18
18
|
let ____________utils_react_js = require("../../../../utils/react.js");
|
|
19
19
|
let ______url_targets_js = require("../../url-targets.js");
|
|
20
20
|
//#region src/lib/hexclave-app/apps/implementations/common.ts
|
|
21
|
-
const clientVersion = "js @hexclave/next@1.0.
|
|
22
|
-
if ("js @hexclave/next@1.0.
|
|
21
|
+
const clientVersion = "js @hexclave/next@1.0.102";
|
|
22
|
+
if ("js @hexclave/next@1.0.102".startsWith("STACK_COMPILE_TIME"));
|
|
23
23
|
const replaceHexclavePortPrefix = (input) => {
|
|
24
24
|
if (!input) return input;
|
|
25
25
|
const prefix = ____________generated_env_js.envVars.HEXCLAVE_PORT_PREFIX;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
let vitest = require("vitest");
|
|
2
2
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
3
|
-
let __event_tracker_js = require("./event-tracker.js");
|
|
4
3
|
let _hexclave_shared_dist_known_errors = require("@hexclave/shared/dist/known-errors");
|
|
4
|
+
let __event_tracker_js = require("./event-tracker.js");
|
|
5
5
|
//#region src/lib/hexclave-app/apps/implementations/event-tracker.test.ts
|
|
6
6
|
// @vitest-environment jsdom
|
|
7
7
|
async function advancePastFlush() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _HexclaveServerAppImplIncomplete, r as _HexclaveClientAppImplIncomplete, t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { n as _HexclaveServerAppImplIncomplete, r as _HexclaveClientAppImplIncomplete, t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-B--_O9fz.js";
|
|
2
2
|
|
|
3
3
|
//#region src/lib/hexclave-app/apps/implementations/index.d.ts
|
|
4
4
|
declare const _HexclaveAdminAppImpl: typeof _HexclaveAdminAppImplIncomplete, _HexclaveClientAppImpl: typeof _HexclaveClientAppImplIncomplete, _HexclaveServerAppImpl: typeof _HexclaveServerAppImplIncomplete;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _HexclaveServerAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { n as _HexclaveServerAppImplIncomplete } from "../../../../admin-app-impl-B--_O9fz.js";
|
|
2
2
|
export { _HexclaveServerAppImplIncomplete };
|
|
@@ -3,8 +3,8 @@ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/er
|
|
|
3
3
|
_hexclave_shared_dist_utils_errors = require_rolldown_runtime.__toESM(_hexclave_shared_dist_utils_errors);
|
|
4
4
|
let vitest = require("vitest");
|
|
5
5
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
6
|
-
let __session_replay_js = require("./session-replay.js");
|
|
7
6
|
let _hexclave_shared_dist_known_errors = require("@hexclave/shared/dist/known-errors");
|
|
7
|
+
let __session_replay_js = require("./session-replay.js");
|
|
8
8
|
//#region src/lib/hexclave-app/apps/implementations/session-replay.test.ts
|
|
9
9
|
// @vitest-environment jsdom
|
|
10
10
|
(0, vitest.describe)("session replay options", () => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as HexclaveProvider, r as StackProvider, t as ActiveProvider } from "../hexclave-provider-
|
|
1
|
+
import { n as HexclaveProvider, r as StackProvider, t as ActiveProvider } from "../hexclave-provider-BlnLHwzv.js";
|
|
2
2
|
export { HexclaveProvider, StackProvider, ActiveProvider as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TranslationProvider } from "../translation-provider-
|
|
1
|
+
import { t as TranslationProvider } from "../translation-provider-C0uPBd41.js";
|
|
2
2
|
export { TranslationProvider };
|