@qwik.dev/core 2.0.0-beta.27 → 2.0.0-beta.28

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.
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/backpatch",
3
- "version": "2.0.0-beta.27-dev+7fc6984",
3
+ "version": "2.0.0-beta.28-dev+fac55b7",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/build",
3
- "version": "2.0.0-beta.27-dev+7fc6984",
3
+ "version": "2.0.0-beta.28-dev+fac55b7",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * @qwik.dev/core/cli 2.0.0-beta.27-dev+7fc6984
3
+ * @qwik.dev/core/cli 2.0.0-beta.28-dev+fac55b7
4
4
  * Copyright QwikDev. All Rights Reserved.
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
@@ -12908,7 +12908,7 @@ async function printHelp(app) {
12908
12908
  await runCommand2(Object.assign(app, { task: args[0], args }));
12909
12909
  }
12910
12910
  function printVersion() {
12911
- console.log("2.0.0-beta.27-dev+7fc6984");
12911
+ console.log("2.0.0-beta.28-dev+fac55b7");
12912
12912
  }
12913
12913
  export {
12914
12914
  runCli,
@@ -1422,6 +1422,13 @@ export { h }
1422
1422
  */
1423
1423
  export declare const _hasStoreEffects: (value: StoreTarget, prop: keyof StoreTarget) => boolean;
1424
1424
 
1425
+ /**
1426
+ * HMR event handler. Replaces the component QRL with a fresh one and marks dirty.
1427
+ *
1428
+ * @internal
1429
+ */
1430
+ export declare const _hmr: (event: Event, element: Element) => void;
1431
+
1425
1432
  /** @public */
1426
1433
  declare interface HoistEntryStrategy {
1427
1434
  type: 'hoist';
@@ -4205,6 +4212,14 @@ export declare const useContextProvider: <STATE>(context: ContextId<STATE>, newV
4205
4212
  /** @public */
4206
4213
  export declare const useErrorBoundary: () => ErrorBoundaryStore;
4207
4214
 
4215
+ /**
4216
+ * Injected by the optimizer into component$ bodies in HMR mode. Registers a document event listener
4217
+ * that triggers component re-render on HMR updates.
4218
+ *
4219
+ * @internal
4220
+ */
4221
+ export declare function _useHmr(devPath: string): void;
4222
+
4208
4223
  /** @public */
4209
4224
  export declare const useId: () => string;
4210
4225
 
@@ -4688,7 +4703,7 @@ export declare const _VAR_PROPS: unique symbol;
4688
4703
  export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
4689
4704
 
4690
4705
  /**
4691
- * 2.0.0-beta.27-dev+7fc6984
4706
+ * 2.0.0-beta.28-dev+fac55b7
4692
4707
  *
4693
4708
  * @public
4694
4709
  */