rari 0.7.3 → 0.7.4
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/image/index.d.mts +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/server-build-Qxg1F-98.mjs +3 -0
- package/dist/{server-build-DadtZ6wc.mjs → server-build-y4PwbtX3.mjs} +6 -3
- package/dist/{vite-DJhQmKAk.mjs → vite-4h_gIEDe.mjs} +9 -6
- package/dist/{vite-O3u7f8Q_.d.mts → vite-BmkmtVrY.d.mts} +6 -0
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +6 -6
- package/src/vite/index.ts +6 -0
- package/src/vite/server-build.ts +11 -1
- package/dist/server-build-D005lG4Y.mjs +0 -3
package/dist/image/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/image/constants.d.ts
|
|
4
4
|
type ImageFormat = 'avif' | 'webp';
|
|
@@ -61,6 +61,6 @@ declare function Image({
|
|
|
61
61
|
loader,
|
|
62
62
|
overrideSrc,
|
|
63
63
|
decoding
|
|
64
|
-
}: ImageProps):
|
|
64
|
+
}: ImageProps): react_jsx_runtime0.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { DEFAULT_DEVICE_SIZES, DEFAULT_FORMATS, DEFAULT_IMAGE_SIZES, DEFAULT_MAX_CACHE_SIZE, DEFAULT_MINIMUM_CACHE_TTL, DEFAULT_QUALITY_LEVELS, Image, type ImageProps, type StaticImageData };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { A as extractMetadata, C as RouteSegment, D as StaticParamsResult, E as ServerPropsResult, M as extractServerPropsWithCache, N as extractStaticParams, O as clearPropsCache, P as hasServerSideDataFetching, S as PageProps, T as MetadataResult, _ as GenerateStaticParams, b as LoadingEntry, d as AppRouteEntry, f as AppRouteManifest, g as GenerateMetadata, h as ErrorProps, i as HttpRuntimeClient, j as extractServerProps, k as clearPropsCacheForComponent, l as createHttpRuntimeClient, m as ErrorEntry, p as AppRouteMatch, s as RuntimeClient, v as LayoutEntry, w as RouteSegmentType, x as NotFoundEntry, y as LayoutProps } from "./runtime-client-C2xNyif4.mjs";
|
|
2
|
-
import { C as ApiRouteHandlers, D as RobotsRule, E as Robots, S as ApiResponse, T as RouteHandler, _ as ProxyResult, a as rari, b as RequestCookies, c as ProxyPluginOptions, d as RariRequest, f as CookieOptions, g as ProxyModule, h as ProxyMatcher, i as defineRariOptions, l as rariProxy, m as ProxyFunction, n as Response, o as rariRouter, p as ProxyConfig, r as defineRariConfig, s as generateAppRouteManifest, t as Request, u as RariResponse, v as RariFetchEvent, w as RouteContext, x as ResponseCookies, y as RariURL } from "./vite-
|
|
2
|
+
import { C as ApiRouteHandlers, D as RobotsRule, E as Robots, S as ApiResponse, T as RouteHandler, _ as ProxyResult, a as rari, b as RequestCookies, c as ProxyPluginOptions, d as RariRequest, f as CookieOptions, g as ProxyModule, h as ProxyMatcher, i as defineRariOptions, l as rariProxy, m as ProxyFunction, n as Response, o as rariRouter, p as ProxyConfig, r as defineRariConfig, s as generateAppRouteManifest, t as Request, u as RariResponse, v as RariFetchEvent, w as RouteContext, x as ResponseCookies, y as RariURL } from "./vite-BmkmtVrY.mjs";
|
|
3
3
|
import "./runtime-executor-NBcG4boA.mjs";
|
|
4
4
|
export { ApiResponse, ApiRouteHandlers, AppRouteEntry, AppRouteManifest, AppRouteMatch, CookieOptions, ErrorEntry, ErrorProps, GenerateMetadata, GenerateStaticParams, HttpRuntimeClient, LayoutEntry, LayoutProps, LoadingEntry, MetadataResult, NotFoundEntry, PageProps, ProxyConfig, ProxyFunction, ProxyMatcher, ProxyModule, ProxyPluginOptions, ProxyResult, RariFetchEvent, RariRequest, RariResponse, RariURL, Request, RequestCookies, Response, ResponseCookies, type Robots, type RobotsRule, RouteContext, RouteHandler, RouteSegment, RouteSegmentType, RuntimeClient, ServerPropsResult, StaticParamsResult, clearPropsCache, clearPropsCacheForComponent, createHttpRuntimeClient, defineRariConfig, defineRariOptions, extractMetadata, extractServerProps, extractServerPropsWithCache, extractStaticParams, generateAppRouteManifest, hasServerSideDataFetching, rari, rariProxy, rariRouter };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as rariProxy, i as rariRouter, n as defineRariOptions, o as RariResponse, r as rari, s as ApiResponse, t as defineRariConfig } from "./vite-
|
|
1
|
+
import { a as rariProxy, i as rariRouter, n as defineRariOptions, o as RariResponse, r as rari, s as ApiResponse, t as defineRariConfig } from "./vite-4h_gIEDe.mjs";
|
|
2
2
|
import { t as RariRequest } from "./RariRequest-DM6Q4JDB.mjs";
|
|
3
3
|
import { c as createHttpRuntimeClient, d as clearPropsCacheForComponent, f as extractMetadata, g as hasServerSideDataFetching, h as extractStaticParams, i as HttpRuntimeClient, m as extractServerPropsWithCache, p as extractServerProps, u as clearPropsCache } from "./runtime-client-B7wmvKD3.mjs";
|
|
4
4
|
import { t as generateAppRouteManifest } from "./routes-B_KAzmbj.mjs";
|
|
5
5
|
import "./image-CL9iVW32.mjs";
|
|
6
|
-
import "./server-build-
|
|
6
|
+
import "./server-build-y4PwbtX3.mjs";
|
|
7
7
|
|
|
8
8
|
export { ApiResponse, HttpRuntimeClient, RariRequest, RariResponse, clearPropsCache, clearPropsCacheForComponent, createHttpRuntimeClient, defineRariConfig, defineRariOptions, extractMetadata, extractServerProps, extractServerPropsWithCache, extractStaticParams, generateAppRouteManifest, hasServerSideDataFetching, rari, rariProxy, rariRouter };
|
|
@@ -55,7 +55,8 @@ var ServerComponentBuilder = class {
|
|
|
55
55
|
minify: options.minify ?? process.env.NODE_ENV === "production",
|
|
56
56
|
alias: options.alias || {},
|
|
57
57
|
csp: options.csp,
|
|
58
|
-
rateLimit: options.rateLimit
|
|
58
|
+
rateLimit: options.rateLimit,
|
|
59
|
+
spamBlocker: options.spamBlocker
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
isServerComponent(filePath) {
|
|
@@ -427,7 +428,8 @@ const ${importName} = (props) => {
|
|
|
427
428
|
version: "1.0.0",
|
|
428
429
|
buildTime: (/* @__PURE__ */ new Date()).toISOString(),
|
|
429
430
|
csp: this.options.csp,
|
|
430
|
-
rateLimit: this.options.rateLimit
|
|
431
|
+
rateLimit: this.options.rateLimit,
|
|
432
|
+
spamBlocker: this.options.spamBlocker
|
|
431
433
|
};
|
|
432
434
|
for (const [filePath, component] of this.serverComponents) {
|
|
433
435
|
const relativePath = path.relative(this.projectRoot, filePath);
|
|
@@ -978,7 +980,8 @@ function registerClientReference(clientReference, id, exportName) {
|
|
|
978
980
|
version: "1.0.0",
|
|
979
981
|
buildTime: (/* @__PURE__ */ new Date()).toISOString(),
|
|
980
982
|
csp: this.options.csp,
|
|
981
|
-
rateLimit: this.options.rateLimit
|
|
983
|
+
rateLimit: this.options.rateLimit,
|
|
984
|
+
spamBlocker: this.options.spamBlocker
|
|
982
985
|
};
|
|
983
986
|
this.manifestCache = manifest;
|
|
984
987
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __require } from "./chunk-DViRIILg.mjs";
|
|
2
2
|
import { a as DEFAULT_MAX_CACHE_SIZE, i as DEFAULT_IMAGE_SIZES, n as DEFAULT_DEVICE_SIZES, o as DEFAULT_MINIMUM_CACHE_TTL, r as DEFAULT_FORMATS, s as DEFAULT_QUALITY_LEVELS } from "./image-CL9iVW32.mjs";
|
|
3
|
-
import { n as createServerBuildPlugin } from "./server-build-
|
|
3
|
+
import { n as createServerBuildPlugin } from "./server-build-y4PwbtX3.mjs";
|
|
4
4
|
import fs, { promises, stat, unwatchFile, watch, watchFile } from "node:fs";
|
|
5
5
|
import * as sp from "node:path";
|
|
6
6
|
import path, { join, relative, resolve, sep } from "node:path";
|
|
@@ -2846,14 +2846,15 @@ const ${componentName$1} = registerClientReference(
|
|
|
2846
2846
|
let serverComponentBuilder = null;
|
|
2847
2847
|
const discoverAndRegisterComponents = async () => {
|
|
2848
2848
|
try {
|
|
2849
|
-
const { ServerComponentBuilder, scanDirectory } = await import("./server-build-
|
|
2849
|
+
const { ServerComponentBuilder, scanDirectory } = await import("./server-build-Qxg1F-98.mjs");
|
|
2850
2850
|
const builder = new ServerComponentBuilder(projectRoot, {
|
|
2851
2851
|
outDir: "dist",
|
|
2852
2852
|
serverDir: "server",
|
|
2853
2853
|
manifestPath: "server/manifest.json",
|
|
2854
2854
|
alias: resolvedAlias,
|
|
2855
2855
|
csp: options.csp,
|
|
2856
|
-
rateLimit: options.rateLimit
|
|
2856
|
+
rateLimit: options.rateLimit,
|
|
2857
|
+
spamBlocker: options.spamBlocker
|
|
2857
2858
|
});
|
|
2858
2859
|
serverComponentBuilder = builder;
|
|
2859
2860
|
if (!hmrCoordinator && serverComponentBuilder) {
|
|
@@ -3010,14 +3011,15 @@ const ${componentName$1} = registerClientReference(
|
|
|
3010
3011
|
const handleServerComponentHMR = async (filePath) => {
|
|
3011
3012
|
try {
|
|
3012
3013
|
if (!isServerComponent(filePath)) return;
|
|
3013
|
-
const { ServerComponentBuilder } = await import("./server-build-
|
|
3014
|
+
const { ServerComponentBuilder } = await import("./server-build-Qxg1F-98.mjs");
|
|
3014
3015
|
const builder = new ServerComponentBuilder(projectRoot, {
|
|
3015
3016
|
outDir: "dist",
|
|
3016
3017
|
serverDir: "server",
|
|
3017
3018
|
manifestPath: "server/manifest.json",
|
|
3018
3019
|
alias: resolvedAlias,
|
|
3019
3020
|
csp: options.csp,
|
|
3020
|
-
rateLimit: options.rateLimit
|
|
3021
|
+
rateLimit: options.rateLimit,
|
|
3022
|
+
spamBlocker: options.spamBlocker
|
|
3021
3023
|
});
|
|
3022
3024
|
builder.addServerComponent(filePath);
|
|
3023
3025
|
const components = await builder.getTransformedComponentsForDevelopment();
|
|
@@ -3321,7 +3323,8 @@ globalThis['~clientComponentPaths']["${ext.path}"] = "${exportName}";`;
|
|
|
3321
3323
|
}, createServerBuildPlugin({
|
|
3322
3324
|
...options.serverBuild,
|
|
3323
3325
|
csp: options.csp,
|
|
3324
|
-
rateLimit: options.rateLimit
|
|
3326
|
+
rateLimit: options.rateLimit,
|
|
3327
|
+
spamBlocker: options.spamBlocker
|
|
3325
3328
|
})];
|
|
3326
3329
|
if (options.proxy !== false) plugins.push(rariProxy(options.proxy || {}));
|
|
3327
3330
|
if (options.router !== false) plugins.push(rariRouter(options.router || {}));
|
|
@@ -226,6 +226,9 @@ interface ServerBuildOptions {
|
|
|
226
226
|
burstSize?: number;
|
|
227
227
|
revalidateRequestsPerMinute?: number;
|
|
228
228
|
};
|
|
229
|
+
spamBlocker?: {
|
|
230
|
+
enabled?: boolean;
|
|
231
|
+
};
|
|
229
232
|
}
|
|
230
233
|
//#endregion
|
|
231
234
|
//#region src/vite/index.d.ts
|
|
@@ -272,6 +275,9 @@ interface RariOptions {
|
|
|
272
275
|
burstSize?: number;
|
|
273
276
|
revalidateRequestsPerMinute?: number;
|
|
274
277
|
};
|
|
278
|
+
spamBlocker?: {
|
|
279
|
+
enabled?: boolean;
|
|
280
|
+
};
|
|
275
281
|
}
|
|
276
282
|
declare function defineRariOptions(config: RariOptions): RariOptions;
|
|
277
283
|
declare function rari(options?: RariOptions): Plugin[];
|
package/dist/vite.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { A as extractMetadata, C as RouteSegment, D as StaticParamsResult, E as ServerPropsResult, M as extractServerPropsWithCache, N as extractStaticParams, O as clearPropsCache, P as hasServerSideDataFetching, S as PageProps, T as MetadataResult, _ as GenerateStaticParams, b as LoadingEntry, d as AppRouteEntry, f as AppRouteManifest, g as GenerateMetadata, h as ErrorProps, i as HttpRuntimeClient, j as extractServerProps, k as clearPropsCacheForComponent, l as createHttpRuntimeClient, m as ErrorEntry, p as AppRouteMatch, s as RuntimeClient, v as LayoutEntry, w as RouteSegmentType, x as NotFoundEntry, y as LayoutProps } from "./runtime-client-C2xNyif4.mjs";
|
|
2
|
-
import { C as ApiRouteHandlers, D as RobotsRule, E as Robots, S as ApiResponse, T as RouteHandler, _ as ProxyResult, a as rari, b as RequestCookies, c as ProxyPluginOptions, d as RariRequest, f as CookieOptions, g as ProxyModule, h as ProxyMatcher, i as defineRariOptions, l as rariProxy, m as ProxyFunction, n as Response, o as rariRouter, p as ProxyConfig, r as defineRariConfig, s as generateAppRouteManifest, t as Request, u as RariResponse, v as RariFetchEvent, w as RouteContext, x as ResponseCookies, y as RariURL } from "./vite-
|
|
2
|
+
import { C as ApiRouteHandlers, D as RobotsRule, E as Robots, S as ApiResponse, T as RouteHandler, _ as ProxyResult, a as rari, b as RequestCookies, c as ProxyPluginOptions, d as RariRequest, f as CookieOptions, g as ProxyModule, h as ProxyMatcher, i as defineRariOptions, l as rariProxy, m as ProxyFunction, n as Response, o as rariRouter, p as ProxyConfig, r as defineRariConfig, s as generateAppRouteManifest, t as Request, u as RariResponse, v as RariFetchEvent, w as RouteContext, x as ResponseCookies, y as RariURL } from "./vite-BmkmtVrY.mjs";
|
|
3
3
|
import "./runtime-executor-NBcG4boA.mjs";
|
|
4
4
|
export { ApiResponse, ApiRouteHandlers, AppRouteEntry, AppRouteManifest, AppRouteMatch, CookieOptions, ErrorEntry, ErrorProps, GenerateMetadata, GenerateStaticParams, HttpRuntimeClient, LayoutEntry, LayoutProps, LoadingEntry, MetadataResult, NotFoundEntry, PageProps, ProxyConfig, ProxyFunction, ProxyMatcher, ProxyModule, ProxyPluginOptions, ProxyResult, RariFetchEvent, RariRequest, RariResponse, RariURL, Request, RequestCookies, Response, ResponseCookies, Robots, RobotsRule, RouteContext, RouteHandler, RouteSegment, RouteSegmentType, RuntimeClient, ServerPropsResult, StaticParamsResult, clearPropsCache, clearPropsCacheForComponent, createHttpRuntimeClient, defineRariConfig, defineRariOptions, extractMetadata, extractServerProps, extractServerPropsWithCache, extractStaticParams, generateAppRouteManifest, hasServerSideDataFetching, rari, rariProxy, rariRouter };
|
package/dist/vite.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as rariProxy, i as rariRouter, n as defineRariOptions, o as RariResponse, r as rari, s as ApiResponse, t as defineRariConfig } from "./vite-
|
|
1
|
+
import { a as rariProxy, i as rariRouter, n as defineRariOptions, o as RariResponse, r as rari, s as ApiResponse, t as defineRariConfig } from "./vite-4h_gIEDe.mjs";
|
|
2
2
|
import { t as RariRequest } from "./RariRequest-DM6Q4JDB.mjs";
|
|
3
3
|
import { c as createHttpRuntimeClient, d as clearPropsCacheForComponent, f as extractMetadata, g as hasServerSideDataFetching, h as extractStaticParams, i as HttpRuntimeClient, m as extractServerPropsWithCache, p as extractServerProps, u as clearPropsCache } from "./runtime-client-B7wmvKD3.mjs";
|
|
4
4
|
import { t as generateAppRouteManifest } from "./routes-B_KAzmbj.mjs";
|
|
5
5
|
import "./image-CL9iVW32.mjs";
|
|
6
|
-
import "./server-build-
|
|
6
|
+
import "./server-build-y4PwbtX3.mjs";
|
|
7
7
|
|
|
8
8
|
export { ApiResponse, HttpRuntimeClient, RariRequest, RariResponse, clearPropsCache, clearPropsCacheForComponent, createHttpRuntimeClient, defineRariConfig, defineRariOptions, extractMetadata, extractServerProps, extractServerPropsWithCache, extractStaticParams, generateAppRouteManifest, hasServerSideDataFetching, rari, rariProxy, rariRouter };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rari",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.4",
|
|
5
5
|
"description": "Runtime Accelerated Rendering Infrastructure (Rari)",
|
|
6
6
|
"author": "Ryan Skinner",
|
|
7
7
|
"license": "MIT",
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
"picocolors": "^1.1.1"
|
|
94
94
|
},
|
|
95
95
|
"optionalDependencies": {
|
|
96
|
-
"rari-darwin-arm64": "0.7.
|
|
97
|
-
"rari-darwin-x64": "0.7.
|
|
98
|
-
"rari-linux-arm64": "0.7.
|
|
99
|
-
"rari-linux-x64": "0.7.
|
|
100
|
-
"rari-win32-x64": "0.7.
|
|
96
|
+
"rari-darwin-arm64": "0.7.4",
|
|
97
|
+
"rari-darwin-x64": "0.7.4",
|
|
98
|
+
"rari-linux-arm64": "0.7.4",
|
|
99
|
+
"rari-linux-x64": "0.7.4",
|
|
100
|
+
"rari-win32-x64": "0.7.4"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@types/node": "^25.0.8",
|
package/src/vite/index.ts
CHANGED
|
@@ -65,6 +65,9 @@ interface RariOptions {
|
|
|
65
65
|
burstSize?: number
|
|
66
66
|
revalidateRequestsPerMinute?: number
|
|
67
67
|
}
|
|
68
|
+
spamBlocker?: {
|
|
69
|
+
enabled?: boolean
|
|
70
|
+
}
|
|
68
71
|
}
|
|
69
72
|
|
|
70
73
|
const DEFAULT_IMAGE_CONFIG = {
|
|
@@ -905,6 +908,7 @@ const ${componentName} = registerClientReference(
|
|
|
905
908
|
alias: resolvedAlias,
|
|
906
909
|
csp: options.csp,
|
|
907
910
|
rateLimit: options.rateLimit,
|
|
911
|
+
spamBlocker: options.spamBlocker,
|
|
908
912
|
})
|
|
909
913
|
|
|
910
914
|
serverComponentBuilder = builder
|
|
@@ -1182,6 +1186,7 @@ const ${componentName} = registerClientReference(
|
|
|
1182
1186
|
alias: resolvedAlias,
|
|
1183
1187
|
csp: options.csp,
|
|
1184
1188
|
rateLimit: options.rateLimit,
|
|
1189
|
+
spamBlocker: options.spamBlocker,
|
|
1185
1190
|
})
|
|
1186
1191
|
|
|
1187
1192
|
builder.addServerComponent(filePath)
|
|
@@ -1676,6 +1681,7 @@ globalThis['~clientComponentPaths']["${ext.path}"] = "${exportName}";`
|
|
|
1676
1681
|
...options.serverBuild,
|
|
1677
1682
|
csp: options.csp,
|
|
1678
1683
|
rateLimit: options.rateLimit,
|
|
1684
|
+
spamBlocker: options.spamBlocker,
|
|
1679
1685
|
})
|
|
1680
1686
|
|
|
1681
1687
|
const plugins: Plugin[] = [mainPlugin, serverBuildPlugin]
|
package/src/vite/server-build.ts
CHANGED
|
@@ -71,6 +71,9 @@ interface ServerComponentManifest {
|
|
|
71
71
|
burstSize?: number
|
|
72
72
|
revalidateRequestsPerMinute?: number
|
|
73
73
|
}
|
|
74
|
+
spamBlocker?: {
|
|
75
|
+
enabled?: boolean
|
|
76
|
+
}
|
|
74
77
|
}
|
|
75
78
|
|
|
76
79
|
export interface ServerBuildOptions {
|
|
@@ -93,6 +96,9 @@ export interface ServerBuildOptions {
|
|
|
93
96
|
burstSize?: number
|
|
94
97
|
revalidateRequestsPerMinute?: number
|
|
95
98
|
}
|
|
99
|
+
spamBlocker?: {
|
|
100
|
+
enabled?: boolean
|
|
101
|
+
}
|
|
96
102
|
}
|
|
97
103
|
|
|
98
104
|
export interface ComponentRebuildResult {
|
|
@@ -102,9 +108,10 @@ export interface ComponentRebuildResult {
|
|
|
102
108
|
error?: string
|
|
103
109
|
}
|
|
104
110
|
|
|
105
|
-
type ResolvedServerBuildOptions = Required<Omit<ServerBuildOptions, 'csp' | 'rateLimit'>> & {
|
|
111
|
+
type ResolvedServerBuildOptions = Required<Omit<ServerBuildOptions, 'csp' | 'rateLimit' | 'spamBlocker'>> & {
|
|
106
112
|
csp?: ServerBuildOptions['csp']
|
|
107
113
|
rateLimit?: ServerBuildOptions['rateLimit']
|
|
114
|
+
spamBlocker?: ServerBuildOptions['spamBlocker']
|
|
108
115
|
}
|
|
109
116
|
|
|
110
117
|
export class ServerComponentBuilder {
|
|
@@ -151,6 +158,7 @@ export class ServerComponentBuilder {
|
|
|
151
158
|
alias: options.alias || {},
|
|
152
159
|
csp: options.csp,
|
|
153
160
|
rateLimit: options.rateLimit,
|
|
161
|
+
spamBlocker: options.spamBlocker,
|
|
154
162
|
}
|
|
155
163
|
}
|
|
156
164
|
|
|
@@ -639,6 +647,7 @@ const ${importName} = (props) => {
|
|
|
639
647
|
buildTime: new Date().toISOString(),
|
|
640
648
|
csp: this.options.csp,
|
|
641
649
|
rateLimit: this.options.rateLimit,
|
|
650
|
+
spamBlocker: this.options.spamBlocker,
|
|
642
651
|
}
|
|
643
652
|
|
|
644
653
|
for (const [filePath, component] of this.serverComponents) {
|
|
@@ -1432,6 +1441,7 @@ function registerClientReference(clientReference, id, exportName) {
|
|
|
1432
1441
|
buildTime: new Date().toISOString(),
|
|
1433
1442
|
csp: this.options.csp,
|
|
1434
1443
|
rateLimit: this.options.rateLimit,
|
|
1444
|
+
spamBlocker: this.options.spamBlocker,
|
|
1435
1445
|
}
|
|
1436
1446
|
this.manifestCache = manifest
|
|
1437
1447
|
}
|