@nhtio/swarm 1.20250425.0 → 1.20251110.0
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/index.cjs +2 -2
- package/index.cjs.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/lib/common.d.ts +1 -0
- package/package.json +1 -1
package/lib/common.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const isTabEnvironment: () => boolean;
|
|
|
8
8
|
* @returns {boolean} - true if the environment is a service worker
|
|
9
9
|
*/
|
|
10
10
|
export declare const isWorkerEnvironment: () => boolean;
|
|
11
|
+
export declare const isWebWorkerEnvironment: () => boolean;
|
|
11
12
|
/**
|
|
12
13
|
* Returns true if the environment is an SSR (Server-Side Rendering) environment
|
|
13
14
|
* @returns {boolean} - true if the environment is an SSR environment
|