@absolutejs/absolute 0.19.0-beta.13 → 0.19.0-beta.15
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/dist/build.js +16 -5
- package/dist/build.js.map +6 -6
- package/dist/dev/client/handlers/react.ts +15 -3
- package/dist/index.js +16 -5
- package/dist/index.js.map +6 -6
- package/dist/src/dev/clientManager.d.ts +2 -0
- package/dist/types/messages.d.ts +5 -1
- package/native/packages/darwin-arm64/fast_ops.dylib +0 -0
- package/native/packages/darwin-arm64/package.json +1 -1
- package/native/packages/darwin-x64/fast_ops.dylib +0 -0
- package/native/packages/darwin-x64/package.json +1 -1
- package/native/packages/linux-arm64/package.json +1 -1
- package/native/packages/linux-x64/fast_ops.so +0 -0
- package/native/packages/linux-x64/package.json +1 -1
- package/package.json +5 -5
- package/types/messages.ts +7 -1
- package/types/typeGuards.ts +2 -0
|
@@ -23,6 +23,8 @@ export type HMRState = {
|
|
|
23
23
|
assetStore: Map<string, Uint8Array>;
|
|
24
24
|
manifest: Record<string, string>;
|
|
25
25
|
rebuildCount: number;
|
|
26
|
+
lastHmrPath?: string;
|
|
27
|
+
lastHmrFramework?: string;
|
|
26
28
|
};
|
|
27
29
|
export declare const createHMRState: (config: BuildConfig) => HMRState;
|
|
28
30
|
export declare const incrementSourceFileVersion: (state: HMRState, filePath: string) => number;
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -16,7 +16,11 @@ export type HydrationErrorMessage = {
|
|
|
16
16
|
error?: string;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
export type
|
|
19
|
+
export type HMRTimingMessage = {
|
|
20
|
+
type: 'hmr-timing';
|
|
21
|
+
duration: number;
|
|
22
|
+
};
|
|
23
|
+
export type HMRClientMessage = PingMessage | ReadyMessage | RequestRebuildMessage | HydrationErrorMessage | HMRTimingMessage;
|
|
20
24
|
export type ManifestMessage = {
|
|
21
25
|
type: 'manifest';
|
|
22
26
|
data: {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -138,10 +138,10 @@
|
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
"optionalDependencies": {
|
|
141
|
-
"@absolutejs/native-darwin-arm64": "0.19.0-beta.
|
|
142
|
-
"@absolutejs/native-darwin-x64": "0.19.0-beta.
|
|
143
|
-
"@absolutejs/native-linux-arm64": "0.19.0-beta.
|
|
144
|
-
"@absolutejs/native-linux-x64": "0.19.0-beta.
|
|
141
|
+
"@absolutejs/native-darwin-arm64": "0.19.0-beta.15",
|
|
142
|
+
"@absolutejs/native-darwin-x64": "0.19.0-beta.15",
|
|
143
|
+
"@absolutejs/native-linux-arm64": "0.19.0-beta.15",
|
|
144
|
+
"@absolutejs/native-linux-x64": "0.19.0-beta.15"
|
|
145
145
|
},
|
|
146
146
|
"repository": {
|
|
147
147
|
"type": "git",
|
|
@@ -162,5 +162,5 @@
|
|
|
162
162
|
"typecheck": "bun run vue-tsc --noEmit"
|
|
163
163
|
},
|
|
164
164
|
"types": "./dist/src/index.d.ts",
|
|
165
|
-
"version": "0.19.0-beta.
|
|
165
|
+
"version": "0.19.0-beta.15"
|
|
166
166
|
}
|
package/types/messages.ts
CHANGED
|
@@ -23,11 +23,17 @@ export type HydrationErrorMessage = {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
+
export type HMRTimingMessage = {
|
|
27
|
+
type: 'hmr-timing';
|
|
28
|
+
duration: number;
|
|
29
|
+
};
|
|
30
|
+
|
|
26
31
|
export type HMRClientMessage =
|
|
27
32
|
| PingMessage
|
|
28
33
|
| ReadyMessage
|
|
29
34
|
| RequestRebuildMessage
|
|
30
|
-
| HydrationErrorMessage
|
|
35
|
+
| HydrationErrorMessage
|
|
36
|
+
| HMRTimingMessage;
|
|
31
37
|
|
|
32
38
|
/* Server-to-client message types */
|
|
33
39
|
export type ManifestMessage = {
|