ctx-core 5.3.0 → 5.3.1

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 +1 @@
1
- export declare function is_server_():boolean
1
+ export declare function is_browser_():boolean
@@ -1,3 +1,3 @@
1
- export function is_server_() {
2
- return !!globalThis.process?.release?.name
1
+ export function is_browser_() {
2
+ return !globalThis.process?.release?.name
3
3
  }
@@ -1,3 +1,3 @@
1
- export function is_browser_() {
2
- return !globalThis.process?.release?.name
1
+ export function is_server_() {
2
+ return !!globalThis.process?.release?.name
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctx-core",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "ctx-core core library",
5
5
  "keywords": [
6
6
  "ctx-core",