@reticlehq/next 2.14.0 → 3.1.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/index.cjs +3 -4
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -28,10 +28,9 @@ const RETICLE_WS_PATH = '/reticle';
|
|
|
28
28
|
/**
|
|
29
29
|
* Read the pairing token, or create it — whichever process gets there first.
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* and the page reloads once it has" was false for Next.
|
|
31
|
+
* Read once at `next.config` evaluation is NOT enough: start `next dev` before the daemon and the
|
|
32
|
+
* value is empty, every page is refused, and a reload cannot help because there is no token
|
|
33
|
+
* page-side to pick up.
|
|
35
34
|
*
|
|
36
35
|
* Same mint as the daemon (24 random bytes, 0600 file, never overwrite). An existing token is
|
|
37
36
|
* reused so a plugin-injected page keeps working after the daemon bounces.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reticlehq/next",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Next.js helper for Reticle: keeps SWC, adds source-file mapping via a dev-only webpack pre-loader (data-reticle-source).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Reticle contributors",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/reticlehq/reticle.git",
|
|
10
|
-
"directory": "
|
|
10
|
+
"directory": "adapters/build/next"
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://github.com/reticlehq/reticle#readme",
|
|
13
13
|
"keywords": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@babel/core": "^7.26.0",
|
|
41
|
-
"@reticlehq/babel-plugin": "
|
|
41
|
+
"@reticlehq/babel-plugin": "3.1.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"next": ">=13"
|