@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.
@@ -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
@@ -349,5 +349,5 @@
349
349
  ]
350
350
  }
351
351
  },
352
- "version": "0.19.0-beta.746"
352
+ "version": "0.19.0-beta.748"
353
353
  }