@palbase/web 7.3.9 → 7.4.1

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.
Files changed (47) hide show
  1. package/dist/{analytics-facade-BER0EyYT.d.ts → analytics-facade-But6gu2r.d.ts} +135 -16
  2. package/dist/{analytics-facade-CQXCQSoF.d.cts → analytics-facade-f8IVujJW.d.cts} +135 -16
  3. package/dist/{chunk-EAOROUSW.js → chunk-4WMJTUDN.js} +26 -17
  4. package/dist/chunk-4WMJTUDN.js.map +1 -0
  5. package/dist/{chunk-Q5DUDL77.js → chunk-G56VGUYZ.js} +1 -1
  6. package/dist/chunk-G56VGUYZ.js.map +1 -0
  7. package/dist/{chunk-FCIMEU2E.js → chunk-VHUCJBBQ.js} +2 -2
  8. package/dist/chunk-VHUCJBBQ.js.map +1 -0
  9. package/dist/{chunk-H6YSCGQC.js → chunk-XJBMBUHU.js} +502 -38
  10. package/dist/chunk-XJBMBUHU.js.map +1 -0
  11. package/dist/gen/cli.cjs +2 -2
  12. package/dist/gen/cli.cjs.map +1 -1
  13. package/dist/gen/cli.js +3 -3
  14. package/dist/gen/cli.js.map +1 -1
  15. package/dist/index.cjs +514 -50
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +3 -3
  18. package/dist/index.d.ts +3 -3
  19. package/dist/index.js +3 -3
  20. package/dist/internal.cjs +524 -51
  21. package/dist/internal.cjs.map +1 -1
  22. package/dist/internal.d.cts +24 -4
  23. package/dist/internal.d.ts +24 -4
  24. package/dist/internal.js +3 -3
  25. package/dist/next/client.cjs +518 -48
  26. package/dist/next/client.cjs.map +1 -1
  27. package/dist/next/client.js +3 -3
  28. package/dist/next/index.cjs +524 -51
  29. package/dist/next/index.cjs.map +1 -1
  30. package/dist/next/index.d.cts +2 -2
  31. package/dist/next/index.d.ts +2 -2
  32. package/dist/next/index.js +4 -4
  33. package/dist/next/index.js.map +1 -1
  34. package/dist/next/proxy.cjs.map +1 -1
  35. package/dist/next/proxy.js +3 -3
  36. package/dist/{pb-WAQvwCfM.d.cts → pb-9MMDNQ9p.d.cts} +6 -1
  37. package/dist/{pb-BRlmBIAm.d.ts → pb-DRmdWQzG.d.ts} +6 -1
  38. package/dist/react/index.cjs +22 -19
  39. package/dist/react/index.cjs.map +1 -1
  40. package/dist/react/index.d.cts +1 -1
  41. package/dist/react/index.d.ts +1 -1
  42. package/dist/react/index.js +3 -3
  43. package/package.json +1 -1
  44. package/dist/chunk-EAOROUSW.js.map +0 -1
  45. package/dist/chunk-FCIMEU2E.js.map +0 -1
  46. package/dist/chunk-H6YSCGQC.js.map +0 -1
  47. package/dist/chunk-Q5DUDL77.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { P as PalbeConfig } from './analytics-facade-CQXCQSoF.cjs';
2
- export { d as PalbeRuntime, e as buildRuntime } from './analytics-facade-CQXCQSoF.cjs';
1
+ import { P as PalbeConfig, d as PalbeRuntime } from './analytics-facade-f8IVujJW.cjs';
2
+ export { e as buildRuntime } from './analytics-facade-f8IVujJW.cjs';
3
3
  import { B as BackendError } from './errors-fDoNdTrJ.cjs';
4
- export { P as PB, c as createBoundClient } from './pb-WAQvwCfM.cjs';
4
+ export { P as PB, c as createBoundClient } from './pb-9MMDNQ9p.cjs';
5
5
  import './storage-BPaeSG8K.cjs';
6
6
  import './pooled-flags-4GtDtsiu.js';
7
7
 
@@ -30,7 +30,27 @@ declare function __registerNamespaces(tree: NamespaceTree): void;
30
30
  * gen file re-registers its static descriptors right after.
31
31
  */
32
32
  declare function __configure(config: PalbeConfig): void;
33
+ /**
34
+ * Register a callback that fires synchronously after every successful
35
+ * `__configure` call (including re-configure / watch-mode regen).
36
+ *
37
+ * Returns an unsubscribe function. Safe to call before the first `__configure`.
38
+ *
39
+ * Consumed by `palbe/react`; not part of the public `palbe` surface — which is
40
+ * what the separate `palbe/internal` ENTRY expresses, and the only thing that
41
+ * may. DO NOT mark this doc comment with the TSDoc internal tag (not even in
42
+ * prose — the compiler matches the token anywhere in the block): `stripInternal`
43
+ * in tsconfig.json reads the whole src tree, so the tag deletes this declaration
44
+ * from the shipped `internal.d.ts` while the JS keeps exporting it, and every
45
+ * honest importer fails typecheck (WEB-9).
46
+ */
47
+ declare function onConfigured(cb: () => void): () => void;
48
+ /** The configured runtime, or a guided `notConfigured` throw. Package-internal
49
+ * (hence the `palbe/internal` entry) but part of THAT entry's shipped surface —
50
+ * carries no TSDoc internal tag, which `stripInternal` would honour by deleting
51
+ * this declaration from `internal.d.ts` (see `onConfigured` above). */
52
+ declare function getRuntime(): PalbeRuntime;
33
53
  /** Test-only: drop runtime + registered namespaces. */
34
54
  declare function __reset(): void;
35
55
 
36
- export { type EndpointDescriptor, type NamespaceTree, PalbeConfig, __configure, __registerNamespaces, __reset };
56
+ export { type EndpointDescriptor, type NamespaceTree, PalbeConfig, PalbeRuntime, __configure, __registerNamespaces, __reset, getRuntime, onConfigured };
@@ -1,7 +1,7 @@
1
- import { P as PalbeConfig } from './analytics-facade-BER0EyYT.js';
2
- export { d as PalbeRuntime, e as buildRuntime } from './analytics-facade-BER0EyYT.js';
1
+ import { P as PalbeConfig, d as PalbeRuntime } from './analytics-facade-But6gu2r.js';
2
+ export { e as buildRuntime } from './analytics-facade-But6gu2r.js';
3
3
  import { B as BackendError } from './errors-fDoNdTrJ.js';
4
- export { P as PB, c as createBoundClient } from './pb-BRlmBIAm.js';
4
+ export { P as PB, c as createBoundClient } from './pb-DRmdWQzG.js';
5
5
  import './storage-BPaeSG8K.js';
6
6
  import './pooled-flags-4GtDtsiu.js';
7
7
 
@@ -30,7 +30,27 @@ declare function __registerNamespaces(tree: NamespaceTree): void;
30
30
  * gen file re-registers its static descriptors right after.
31
31
  */
32
32
  declare function __configure(config: PalbeConfig): void;
33
+ /**
34
+ * Register a callback that fires synchronously after every successful
35
+ * `__configure` call (including re-configure / watch-mode regen).
36
+ *
37
+ * Returns an unsubscribe function. Safe to call before the first `__configure`.
38
+ *
39
+ * Consumed by `palbe/react`; not part of the public `palbe` surface — which is
40
+ * what the separate `palbe/internal` ENTRY expresses, and the only thing that
41
+ * may. DO NOT mark this doc comment with the TSDoc internal tag (not even in
42
+ * prose — the compiler matches the token anywhere in the block): `stripInternal`
43
+ * in tsconfig.json reads the whole src tree, so the tag deletes this declaration
44
+ * from the shipped `internal.d.ts` while the JS keeps exporting it, and every
45
+ * honest importer fails typecheck (WEB-9).
46
+ */
47
+ declare function onConfigured(cb: () => void): () => void;
48
+ /** The configured runtime, or a guided `notConfigured` throw. Package-internal
49
+ * (hence the `palbe/internal` entry) but part of THAT entry's shipped surface —
50
+ * carries no TSDoc internal tag, which `stripInternal` would honour by deleting
51
+ * this declaration from `internal.d.ts` (see `onConfigured` above). */
52
+ declare function getRuntime(): PalbeRuntime;
33
53
  /** Test-only: drop runtime + registered namespaces. */
34
54
  declare function __reset(): void;
35
55
 
36
- export { type EndpointDescriptor, type NamespaceTree, PalbeConfig, __configure, __registerNamespaces, __reset };
56
+ export { type EndpointDescriptor, type NamespaceTree, PalbeConfig, PalbeRuntime, __configure, __registerNamespaces, __reset, getRuntime, onConfigured };
package/dist/internal.js CHANGED
@@ -6,9 +6,9 @@ import {
6
6
  createBoundClient,
7
7
  getRuntime,
8
8
  onConfigured
9
- } from "./chunk-H6YSCGQC.js";
10
- import "./chunk-EAOROUSW.js";
11
- import "./chunk-Q5DUDL77.js";
9
+ } from "./chunk-XJBMBUHU.js";
10
+ import "./chunk-4WMJTUDN.js";
11
+ import "./chunk-G56VGUYZ.js";
12
12
  import "./chunk-PZ5AY32C.js";
13
13
  export {
14
14
  __configure,