@qwik.dev/utils 2.0.0-beta.45 → 2.0.0-beta.47

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.
@@ -1,4 +1,4 @@
1
- import { _captures, inlinedQrl, useVisibleTaskQrl } from "@qwik.dev/core";
1
+ import { _capturesObj, inlinedQrl, useVisibleTaskQrl } from "@qwik.dev/core";
2
2
  /** Smallest allowed poll interval, so a `0` or negative `expires` can't spin the event loop. */
3
3
  var MIN_EXPIRES_MS = 5;
4
4
  /**
@@ -15,7 +15,7 @@ var MIN_EXPIRES_MS = 5;
15
15
  */
16
16
  var usePoll = (signal, expires) => {
17
17
  useVisibleTaskQrl(/*#__PURE__*/ inlinedQrl(({ track, cleanup }) => {
18
- const expires = _captures[0], signal = _captures[1];
18
+ let expires = _capturesObj._[0], signal = _capturesObj._[1];
19
19
  const signalInternal = signal;
20
20
  const pending = track(() => signalInternal.pending);
21
21
  track(() => signalInternal.error);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1",
3
- "manifestHash": "q48hbl",
3
+ "manifestHash": "orl9hr",
4
4
  "options": {
5
5
  "target": "lib",
6
6
  "buildMode": "development",
@@ -13,8 +13,8 @@
13
13
  "mapping": {},
14
14
  "bundles": {
15
15
  "../index.qwik.mjs": {
16
- "size": 1313,
17
- "total": 1313,
16
+ "size": 1324,
17
+ "total": 1324,
18
18
  "origins": [
19
19
  "src/index.qwik.ts",
20
20
  "src/use-poll.ts"
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@qwik.dev/utils",
3
3
  "description": "Useful but less common utilities for Qwik applications",
4
- "version": "2.0.0-beta.45",
4
+ "version": "2.0.0-beta.47",
5
5
  "bugs": "https://github.com/QwikDev/qwik/issues",
6
6
  "devDependencies": {
7
7
  "typescript": "5.9.3",
8
8
  "vite": "8.2.1",
9
- "@qwik.dev/core": "2.0.0-beta.45"
9
+ "@qwik.dev/core": "2.0.0-beta.47"
10
10
  },
11
11
  "engines": {
12
12
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
@@ -24,7 +24,7 @@
24
24
  "license": "MIT",
25
25
  "main": "./lib/index.qwik.mjs",
26
26
  "peerDependencies": {
27
- "@qwik.dev/core": "2.0.0-beta.45"
27
+ "@qwik.dev/core": "2.0.0-beta.47"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"