@absolutejs/absolute 0.19.0-beta.746 → 0.19.0-beta.748
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/angular/browser.js +35 -1
- package/dist/angular/browser.js.map +5 -4
- package/dist/angular/index.js +80 -35
- package/dist/angular/index.js.map +6 -5
- package/dist/angular/server.js +42 -31
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +43 -32
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/angular.ts +142 -38
- package/dist/dev/client/handlers/angularRuntime.ts +25 -4
- package/dist/index.js +46 -35
- package/dist/index.js.map +3 -3
- package/dist/src/angular/browser.d.ts +1 -0
- package/dist/src/angular/index.d.ts +1 -0
- package/dist/src/angular/preserveAcrossHmr.d.ts +7 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ export type { AngularPageDefinition, AngularPagePropsOf } from '../../types/angu
|
|
|
2
2
|
export { ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER, buildAbsoluteHttpTransferCacheOptions } from './httpTransferCache';
|
|
3
3
|
export { createDeterministicRandom, DETERMINISTIC_NOW, DETERMINISTIC_RANDOM, DETERMINISTIC_SEED, provideDeterministicEnv } from './deterministicEnv';
|
|
4
4
|
export { defineAngularPage } from './page';
|
|
5
|
+
export { preserveAcrossHmr } from './preserveAcrossHmr';
|
|
5
6
|
export { Island } from './Island.browser';
|
|
6
7
|
export { withPendingTask } from './pendingTask';
|
|
7
8
|
export { REQUEST, REQUEST_CONTEXT, RESPONSE_INIT } from './requestProviders';
|
|
@@ -4,6 +4,7 @@ export { ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER, buildAbsoluteHttpTransferCach
|
|
|
4
4
|
export { createDeterministicRandom, DETERMINISTIC_NOW, DETERMINISTIC_RANDOM, DETERMINISTIC_SEED, provideDeterministicEnv } from './deterministicEnv';
|
|
5
5
|
export { handleAngularPageRequest } from './pageHandler';
|
|
6
6
|
export { defineAngularPage } from './page';
|
|
7
|
+
export { preserveAcrossHmr } from './preserveAcrossHmr';
|
|
7
8
|
export { withPendingTask } from './pendingTask';
|
|
8
9
|
export { REQUEST, REQUEST_CONTEXT, RESPONSE_INIT } from './requestProviders';
|
|
9
10
|
export { createTypedIsland } from './createIsland';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Mark a service instance for state preservation across full Angular HMR
|
|
2
|
+
* re-bootstraps. Call once from the constructor. Safe in production
|
|
3
|
+
* (no-op outside dev mode). */
|
|
4
|
+
export declare const preserveAcrossHmr: (instance: object) => void;
|
|
5
|
+
/** Snapshot every tracked instance's enumerable own properties into the
|
|
6
|
+
* cache. Called by the HMR client right before `destroyAngularApp()`. */
|
|
7
|
+
export declare const captureTrackedInstanceStates: () => void;
|
package/package.json
CHANGED