@valbuild/next 0.92.0 → 0.93.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/client/dist/valbuild-next-client.cjs.dev.js +1 -1
- package/client/dist/valbuild-next-client.cjs.prod.js +1 -1
- package/client/dist/valbuild-next-client.esm.js +1 -1
- package/dist/declarations/src/external_exempt_from_val_quickjs.d.ts +1 -1
- package/dist/declarations/src/initVal.d.ts +1 -1
- package/dist/{routeFromVal-da7172ac.esm.js → routeFromVal-748d2aec.esm.js} +1 -1
- package/dist/{routeFromVal-360717ba.cjs.dev.js → routeFromVal-8fdaa0d0.cjs.dev.js} +1 -1
- package/dist/{routeFromVal-2f6b0861.cjs.prod.js → routeFromVal-ef8c304a.cjs.prod.js} +1 -1
- package/dist/valbuild-next.cjs.dev.js +2 -2
- package/dist/valbuild-next.cjs.prod.js +2 -2
- package/dist/valbuild-next.esm.js +2 -2
- package/package.json +6 -6
- package/rsc/dist/valbuild-next-rsc.cjs.dev.js +3 -2
- package/rsc/dist/valbuild-next-rsc.cjs.prod.js +3 -2
- package/rsc/dist/valbuild-next-rsc.esm.js +3 -2
|
@@ -7,7 +7,7 @@ var core = require('@valbuild/core');
|
|
|
7
7
|
var stega = require('@valbuild/react/stega');
|
|
8
8
|
var React = require('react');
|
|
9
9
|
var ValOverlayContext = require('../../dist/ValOverlayContext-c82a4507.cjs.dev.js');
|
|
10
|
-
var routeFromVal = require('../../dist/routeFromVal-
|
|
10
|
+
var routeFromVal = require('../../dist/routeFromVal-8fdaa0d0.cjs.dev.js');
|
|
11
11
|
require('../../dist/createForOfIteratorHelper-0445603c.cjs.dev.js');
|
|
12
12
|
require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
13
13
|
require('../../dist/objectSpread2-792eb2c2.cjs.dev.js');
|
|
@@ -7,7 +7,7 @@ var core = require('@valbuild/core');
|
|
|
7
7
|
var stega = require('@valbuild/react/stega');
|
|
8
8
|
var React = require('react');
|
|
9
9
|
var ValOverlayContext = require('../../dist/ValOverlayContext-942f1294.cjs.prod.js');
|
|
10
|
-
var routeFromVal = require('../../dist/routeFromVal-
|
|
10
|
+
var routeFromVal = require('../../dist/routeFromVal-ef8c304a.cjs.prod.js');
|
|
11
11
|
require('../../dist/createForOfIteratorHelper-d4afcad8.cjs.prod.js');
|
|
12
12
|
require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
13
13
|
require('../../dist/objectSpread2-3c87fb4f.cjs.prod.js');
|
|
@@ -3,7 +3,7 @@ import { Internal } from '@valbuild/core';
|
|
|
3
3
|
import { getModuleIds, stegaEncode } from '@valbuild/react/stega';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useValOverlayContext } from '../../dist/ValOverlayContext-6635a4d7.esm.js';
|
|
6
|
-
import { i as initValRouteFromVal, g as getValRouteUrlFromVal } from '../../dist/routeFromVal-
|
|
6
|
+
import { i as initValRouteFromVal, g as getValRouteUrlFromVal } from '../../dist/routeFromVal-748d2aec.esm.js';
|
|
7
7
|
import '../../dist/createForOfIteratorHelper-5758a730.esm.js';
|
|
8
8
|
import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
|
|
9
9
|
import '../../dist/objectSpread2-c1340c1c.esm.js';
|
|
@@ -35,7 +35,7 @@ export declare const Internal: {
|
|
|
35
35
|
splitModuleFilePathAndModulePath: typeof import("@valbuild/core/dist/declarations/src/module").splitModuleFilePathAndModulePath;
|
|
36
36
|
joinModuleFilePathAndModulePath: typeof import("@valbuild/core/dist/declarations/src/module").joinModuleFilePathAndModulePath;
|
|
37
37
|
nextAppRouter: import("@valbuild/core").ValRouter;
|
|
38
|
-
|
|
38
|
+
externalPageRouter: import("@valbuild/core").ValRouter;
|
|
39
39
|
remote: {
|
|
40
40
|
createRemoteRef: typeof import("@valbuild/core/dist/declarations/src/source/remote").createRemoteRef;
|
|
41
41
|
getValidationBasis: typeof import("@valbuild/core/dist/declarations/src/remote/validationBasis").getValidationBasis;
|
|
@@ -44,7 +44,7 @@ val) {
|
|
|
44
44
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: schema is not a record)."));
|
|
45
45
|
} else if (!schema["currentRouter"]) {
|
|
46
46
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: router is not set)."));
|
|
47
|
-
} else if (schema["currentRouter"].getRouterId() !== Internal.nextAppRouter.getRouterId() && schema["currentRouter"].getRouterId() !== Internal.
|
|
47
|
+
} else if (schema["currentRouter"].getRouterId() !== Internal.nextAppRouter.getRouterId() && schema["currentRouter"].getRouterId() !== Internal.externalPageRouter.getRouterId()) {
|
|
48
48
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: router is not the Next.js App Router or External URL Page Router)."));
|
|
49
49
|
return null;
|
|
50
50
|
}
|
|
@@ -46,7 +46,7 @@ val) {
|
|
|
46
46
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: schema is not a record)."));
|
|
47
47
|
} else if (!schema["currentRouter"]) {
|
|
48
48
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: router is not set)."));
|
|
49
|
-
} else if (schema["currentRouter"].getRouterId() !== core.Internal.nextAppRouter.getRouterId() && schema["currentRouter"].getRouterId() !== core.Internal.
|
|
49
|
+
} else if (schema["currentRouter"].getRouterId() !== core.Internal.nextAppRouter.getRouterId() && schema["currentRouter"].getRouterId() !== core.Internal.externalPageRouter.getRouterId()) {
|
|
50
50
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: router is not the Next.js App Router or External URL Page Router)."));
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
@@ -46,7 +46,7 @@ val) {
|
|
|
46
46
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: schema is not a record)."));
|
|
47
47
|
} else if (!schema["currentRouter"]) {
|
|
48
48
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: router is not set)."));
|
|
49
|
-
} else if (schema["currentRouter"].getRouterId() !== core.Internal.nextAppRouter.getRouterId() && schema["currentRouter"].getRouterId() !== core.Internal.
|
|
49
|
+
} else if (schema["currentRouter"].getRouterId() !== core.Internal.nextAppRouter.getRouterId() && schema["currentRouter"].getRouterId() !== core.Internal.externalPageRouter.getRouterId()) {
|
|
50
50
|
console.error("Val: ".concat(methodName, " must be used with a Val Module that is a s.record().router(...) (details: router is not the Next.js App Router or External URL Page Router)."));
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
@@ -50,7 +50,7 @@ function decodeValPathsOfString(encodedString) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
var nextAppRouter = core.Internal.nextAppRouter;
|
|
53
|
-
var
|
|
53
|
+
var externalPageRouter = core.Internal.externalPageRouter;
|
|
54
54
|
var initVal = function initVal(config) {
|
|
55
55
|
var _createValSystem = core.initVal(config),
|
|
56
56
|
s = _createValSystem.s,
|
|
@@ -62,7 +62,7 @@ var initVal = function initVal(config) {
|
|
|
62
62
|
s: s,
|
|
63
63
|
c: c,
|
|
64
64
|
nextAppRouter: nextAppRouter,
|
|
65
|
-
|
|
65
|
+
externalPageRouter: externalPageRouter,
|
|
66
66
|
val: objectSpread2._objectSpread2(objectSpread2._objectSpread2({}, val), {}, {
|
|
67
67
|
attrs: stega.attrs,
|
|
68
68
|
unstable_decodeValPathsOfString: decodeValPathsOfString,
|
|
@@ -50,7 +50,7 @@ function decodeValPathsOfString(encodedString) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
var nextAppRouter = core.Internal.nextAppRouter;
|
|
53
|
-
var
|
|
53
|
+
var externalPageRouter = core.Internal.externalPageRouter;
|
|
54
54
|
var initVal = function initVal(config) {
|
|
55
55
|
var _createValSystem = core.initVal(config),
|
|
56
56
|
s = _createValSystem.s,
|
|
@@ -62,7 +62,7 @@ var initVal = function initVal(config) {
|
|
|
62
62
|
s: s,
|
|
63
63
|
c: c,
|
|
64
64
|
nextAppRouter: nextAppRouter,
|
|
65
|
-
|
|
65
|
+
externalPageRouter: externalPageRouter,
|
|
66
66
|
val: objectSpread2._objectSpread2(objectSpread2._objectSpread2({}, val), {}, {
|
|
67
67
|
attrs: stega.attrs,
|
|
68
68
|
unstable_decodeValPathsOfString: decodeValPathsOfString,
|
|
@@ -26,7 +26,7 @@ function decodeValPathsOfString(encodedString) {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
var nextAppRouter = Internal$1.nextAppRouter;
|
|
29
|
-
var
|
|
29
|
+
var externalPageRouter = Internal$1.externalPageRouter;
|
|
30
30
|
var initVal = function initVal(config) {
|
|
31
31
|
var _createValSystem = initVal$1(config),
|
|
32
32
|
s = _createValSystem.s,
|
|
@@ -38,7 +38,7 @@ var initVal = function initVal(config) {
|
|
|
38
38
|
s: s,
|
|
39
39
|
c: c,
|
|
40
40
|
nextAppRouter: nextAppRouter,
|
|
41
|
-
|
|
41
|
+
externalPageRouter: externalPageRouter,
|
|
42
42
|
val: _objectSpread2(_objectSpread2({}, val), {}, {
|
|
43
43
|
attrs: attrs,
|
|
44
44
|
unstable_decodeValPathsOfString: decodeValPathsOfString,
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"next",
|
|
13
13
|
"react"
|
|
14
14
|
],
|
|
15
|
-
"version": "0.
|
|
15
|
+
"version": "0.93.0",
|
|
16
16
|
"main": "dist/valbuild-next.cjs.js",
|
|
17
17
|
"module": "dist/valbuild-next.esm.js",
|
|
18
18
|
"exports": {
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"client-only": "^0.0.1",
|
|
49
49
|
"server-only": "^0.0.1",
|
|
50
|
-
"@valbuild/core": "0.
|
|
51
|
-
"@valbuild/react": "0.
|
|
52
|
-
"@valbuild/server": "0.
|
|
53
|
-
"@valbuild/shared": "0.
|
|
54
|
-
"@valbuild/ui": "0.
|
|
50
|
+
"@valbuild/core": "0.93.0",
|
|
51
|
+
"@valbuild/react": "0.93.0",
|
|
52
|
+
"@valbuild/server": "0.93.0",
|
|
53
|
+
"@valbuild/shared": "0.93.0",
|
|
54
|
+
"@valbuild/ui": "0.93.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/react": "^18.2.38",
|
|
@@ -10,7 +10,7 @@ var core = require('@valbuild/core');
|
|
|
10
10
|
var internal = require('@valbuild/shared/internal');
|
|
11
11
|
var server = require('@valbuild/server');
|
|
12
12
|
var version = require('../../dist/version-d034b2fc.cjs.dev.js');
|
|
13
|
-
var routeFromVal = require('../../dist/routeFromVal-
|
|
13
|
+
var routeFromVal = require('../../dist/routeFromVal-8fdaa0d0.cjs.dev.js');
|
|
14
14
|
require('../../dist/createForOfIteratorHelper-0445603c.cjs.dev.js');
|
|
15
15
|
require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
16
16
|
require('../../dist/slicedToArray-44036a76.cjs.dev.js');
|
|
@@ -88,7 +88,8 @@ var initFetchValStega = function initFetchValStega(config, valApiEndpoints, valS
|
|
|
88
88
|
path: "/",
|
|
89
89
|
query: {
|
|
90
90
|
validate_sources: true,
|
|
91
|
-
validate_binary_files: false
|
|
91
|
+
validate_binary_files: false,
|
|
92
|
+
exclude_patches: false
|
|
92
93
|
},
|
|
93
94
|
cookies: objectSpread2._defineProperty({}, internal.VAL_SESSION_COOKIE, (_cookies = cookies) === null || _cookies === void 0 || (_cookies = _cookies.get(internal.VAL_SESSION_COOKIE)) === null || _cookies === void 0 ? void 0 : _cookies.value)
|
|
94
95
|
});
|
|
@@ -10,7 +10,7 @@ var core = require('@valbuild/core');
|
|
|
10
10
|
var internal = require('@valbuild/shared/internal');
|
|
11
11
|
var server = require('@valbuild/server');
|
|
12
12
|
var version = require('../../dist/version-d2061026.cjs.prod.js');
|
|
13
|
-
var routeFromVal = require('../../dist/routeFromVal-
|
|
13
|
+
var routeFromVal = require('../../dist/routeFromVal-ef8c304a.cjs.prod.js');
|
|
14
14
|
require('../../dist/createForOfIteratorHelper-d4afcad8.cjs.prod.js');
|
|
15
15
|
require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
16
16
|
require('../../dist/slicedToArray-ce613de6.cjs.prod.js');
|
|
@@ -88,7 +88,8 @@ var initFetchValStega = function initFetchValStega(config, valApiEndpoints, valS
|
|
|
88
88
|
path: "/",
|
|
89
89
|
query: {
|
|
90
90
|
validate_sources: true,
|
|
91
|
-
validate_binary_files: false
|
|
91
|
+
validate_binary_files: false,
|
|
92
|
+
exclude_patches: false
|
|
92
93
|
},
|
|
93
94
|
cookies: objectSpread2._defineProperty({}, internal.VAL_SESSION_COOKIE, (_cookies = cookies) === null || _cookies === void 0 || (_cookies = _cookies.get(internal.VAL_SESSION_COOKIE)) === null || _cookies === void 0 ? void 0 : _cookies.value)
|
|
94
95
|
});
|
|
@@ -6,7 +6,7 @@ import { Internal } from '@valbuild/core';
|
|
|
6
6
|
import { VAL_SESSION_COOKIE } from '@valbuild/shared/internal';
|
|
7
7
|
import { createValServer } from '@valbuild/server';
|
|
8
8
|
import { V as VERSION } from '../../dist/version-16f6b0ce.esm.js';
|
|
9
|
-
import { i as initValRouteFromVal, g as getValRouteUrlFromVal } from '../../dist/routeFromVal-
|
|
9
|
+
import { i as initValRouteFromVal, g as getValRouteUrlFromVal } from '../../dist/routeFromVal-748d2aec.esm.js';
|
|
10
10
|
import '../../dist/createForOfIteratorHelper-5758a730.esm.js';
|
|
11
11
|
import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
|
|
12
12
|
import '../../dist/slicedToArray-aa291011.esm.js';
|
|
@@ -84,7 +84,8 @@ var initFetchValStega = function initFetchValStega(config, valApiEndpoints, valS
|
|
|
84
84
|
path: "/",
|
|
85
85
|
query: {
|
|
86
86
|
validate_sources: true,
|
|
87
|
-
validate_binary_files: false
|
|
87
|
+
validate_binary_files: false,
|
|
88
|
+
exclude_patches: false
|
|
88
89
|
},
|
|
89
90
|
cookies: _defineProperty({}, VAL_SESSION_COOKIE, (_cookies = cookies) === null || _cookies === void 0 || (_cookies = _cookies.get(VAL_SESSION_COOKIE)) === null || _cookies === void 0 ? void 0 : _cookies.value)
|
|
90
91
|
});
|