@paramour-js/next 0.5.0 → 0.7.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/devtools-seam.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { AnyRoute, ParamsSource, RouterKind, SafeResult } from "paramour";
|
|
|
2
2
|
/**
|
|
3
3
|
* The devtools observation seam: a dependency-free global
|
|
4
4
|
* slot the hooks push decode observations into and the devtools panel
|
|
5
|
-
* (`@paramour-js/devtools`) reads out of. This module's JSDoc is the
|
|
5
|
+
* (`@paramour-js/devtools-panel`) reads out of. This module's JSDoc is the
|
|
6
6
|
* CONTRACT OF RECORD for the slot — the panel never imports runtime code
|
|
7
7
|
* from this package (its `./devtools-seam` exports entry is types-only, so
|
|
8
8
|
* a runtime import fails module resolution); it attaches to the same
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paramour-js/next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"jiti": "^2.7.0",
|
|
35
35
|
"magicast": "^0.3.5",
|
|
36
36
|
"tinyglobby": "^0.2.15",
|
|
37
|
-
"paramour": "0.
|
|
37
|
+
"paramour": "0.7.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"next": ">=15",
|
|
@@ -43,7 +43,7 @@ Key types: `Codec`, `AnyCodec`, `OutputOf`, `ParamCodec`, `Presence`, `PresenceO
|
|
|
43
43
|
| `@paramour-js/next/app` | `useRouteParams`, `useRouteParamsOrThrow`, `useSearch`, `useSearchOrThrow` (all `(route, options?)` with `options: { select, equality?: "shallow" }`), type `SelectOptions` |
|
|
44
44
|
| `@paramour-js/next/pages` | `useRouteParams`, `useSearch` (return `RouterResult` = `SafeResult` + `{ status: "pending" }`), types `RouterResult`, `SelectOptions` |
|
|
45
45
|
| `@paramour-js/next/testing` | `ParamourTestingProvider`, `withParamourTesting(options?)`, type `ParamourTestingOptions` (`isReady, mounted, onReplace, params, pathname, search`) |
|
|
46
|
-
| `@paramour-js/next/devtools-seam` | Types-only seam contract consumed by `@paramour-js/devtools`; not needed in app code
|
|
46
|
+
| `@paramour-js/next/devtools-seam` | Types-only seam contract consumed by `@paramour-js/devtools-panel`; not needed in app code |
|
|
47
47
|
|
|
48
48
|
## CLI (`paramour <command>`, bin shipped by `@paramour-js/next`)
|
|
49
49
|
|