@hexclave/react 1.0.53 → 1.0.55

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.
@@ -14,8 +14,8 @@ import { Store } from "@hexclave/shared/dist/utils/stores";
14
14
  import { envVars } from "../../../../generated/env.js";
15
15
  import { resolveHandlerUrls } from "../../url-targets.js";
16
16
  //#region src/lib/hexclave-app/apps/implementations/common.ts
17
- const clientVersion = "js @hexclave/react@1.0.53";
18
- if ("js @hexclave/react@1.0.53".startsWith("STACK_COMPILE_TIME"));
17
+ const clientVersion = "js @hexclave/react@1.0.55";
18
+ if ("js @hexclave/react@1.0.55".startsWith("STACK_COMPILE_TIME"));
19
19
  const replaceHexclavePortPrefix = (input) => {
20
20
  if (!input) return input;
21
21
  const prefix = envVars.HEXCLAVE_PORT_PREFIX;
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@hexclave/react",
3
+ "type": "module",
4
+ "exports": {
5
+ ".": {
6
+ "types": "./index.d.ts",
7
+ "import": {
8
+ "default": "./index.js"
9
+ }
10
+ },
11
+ "./config": {
12
+ "types": "./config.d.ts",
13
+ "import": {
14
+ "default": "./config.js"
15
+ }
16
+ },
17
+ "./convex.config": {
18
+ "types": "./integrations/convex/component/convex.config.d.ts",
19
+ "import": {
20
+ "default": "./integrations/convex/component/convex.config.js"
21
+ }
22
+ },
23
+ "./convex-auth.config": {
24
+ "types": "./integrations/convex.d.ts",
25
+ "import": {
26
+ "default": "./integrations/convex.js"
27
+ }
28
+ }
29
+ }
30
+ }
@@ -17,8 +17,8 @@ let _hexclave_shared_dist_utils_stores = require("@hexclave/shared/dist/utils/st
17
17
  let ____________generated_env_js = require("../../../../generated/env.js");
18
18
  let ______url_targets_js = require("../../url-targets.js");
19
19
  //#region src/lib/hexclave-app/apps/implementations/common.ts
20
- const clientVersion = "js @hexclave/react@1.0.53";
21
- if ("js @hexclave/react@1.0.53".startsWith("STACK_COMPILE_TIME"));
20
+ const clientVersion = "js @hexclave/react@1.0.55";
21
+ if ("js @hexclave/react@1.0.55".startsWith("STACK_COMPILE_TIME"));
22
22
  const replaceHexclavePortPrefix = (input) => {
23
23
  if (!input) return input;
24
24
  const prefix = ____________generated_env_js.envVars.HEXCLAVE_PORT_PREFIX;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)",
3
3
  "name": "@hexclave/react",
4
- "version": "1.0.53",
4
+ "version": "1.0.55",
5
5
  "repository": "https://github.com/hexclave/hexclave",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -74,8 +74,8 @@
74
74
  "tailwindcss-animate": "^1.0.7",
75
75
  "rrweb": "^1.1.3",
76
76
  "yup": "^1.7.1",
77
- "@hexclave/shared": "1.0.53",
78
- "@hexclave/ui": "1.0.53"
77
+ "@hexclave/shared": "1.0.55",
78
+ "@hexclave/ui": "1.0.55"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@types/react": ">=18.0.0",
package/src/config.ts CHANGED
@@ -2,13 +2,12 @@
2
2
  //===========================================
3
3
  // THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template
4
4
  //===========================================
5
- // Lightweight, side-effect-free entrypoint for authoring `hexclave.config.ts`
6
- // files. Importing from here (e.g. `@hexclave/next/config`) gives you the
7
- // `defineHexclaveConfig` helper and config types WITHOUT pulling in the
8
- // framework runtime (React, server-only, Next.js internals). That matters
9
- // because tooling such as the local dashboard evaluates your config file in a
10
- // plain Node context importing `defineHexclaveConfig` from the package root
11
- // would drag in the whole SDK and fail to load.
5
+ // Retained only for backwards compatibility with config files that still import
6
+ // from `<pkg>/config` (e.g. `@hexclave/next/config`). New config files should
7
+ // import `defineHexclaveConfig` and the config types from the SDK package root
8
+ // (e.g. `@hexclave/next`) the SDK roots are side-effect-free enough to load in
9
+ // a plain Node context (as the local dashboard and CLI do), so the separate
10
+ // `/config` entrypoint is no longer necessary and is not recommended anymore.
12
11
  //
13
12
  // Hexclave aliases and legacy Stack* names — @deprecated JSDoc lives on the
14
13
  // original declarations in @hexclave/shared/config so it survives dts bundling