@code-inspector/core 1.3.0 → 1.3.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.
- package/dist/client.iife.js +1 -1
- package/dist/client.umd.js +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +16590 -16591
- package/package.json +1 -1
- package/types/server/use-client.d.ts +2 -1
- package/types/shared/type.d.ts +1 -0
package/package.json
CHANGED
|
@@ -4,12 +4,13 @@ export declare function getInjectedCode(options: CodeOptions, port: number, isNe
|
|
|
4
4
|
export declare function getWebComponentCode(options: CodeOptions, port: number): string;
|
|
5
5
|
export declare function getEliminateWarningCode(): string;
|
|
6
6
|
export declare function getHidePathAttrCode(): string;
|
|
7
|
-
export declare function getCodeWithWebComponent({ options, record, file, code, inject, }: {
|
|
7
|
+
export declare function getCodeWithWebComponent({ options, record, file, code, inject, server, }: {
|
|
8
8
|
options: CodeOptions;
|
|
9
9
|
record: RecordInfo;
|
|
10
10
|
file: string;
|
|
11
11
|
code: string;
|
|
12
12
|
inject?: boolean;
|
|
13
|
+
server?: boolean;
|
|
13
14
|
}): Promise<string>;
|
|
14
15
|
export declare function isNextjsProject(): boolean;
|
|
15
16
|
export declare function isNextGET16(): boolean;
|
package/types/shared/type.d.ts
CHANGED