ctx-core 6.0.0 → 6.1.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.
@@ -160,7 +160,7 @@ export type ctx_T<ns_T extends string = string> = Readonly<{
160
160
  */
161
161
  ns_T?:ns_T
162
162
  }>
163
- export type wide_ctx_T<ns_union_T extends string> =
163
+ export type wide_ctx_T<ns_union_T extends string = ''> =
164
164
  ctx_T&wide_ctx_s_T<ns_union_T>
165
165
  export type ctx_s_T<ns_union_T extends string = string> = {
166
166
  [K in ns_union_T]:BeMap<K>
@@ -1,3 +1,4 @@
1
+ import { is_browser_ } from '../is_browser/index.js'
1
2
  export function is_server_() {
2
- return !!globalThis.process?.release?.name
3
+ return !is_browser_()
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctx-core",
3
- "version": "6.0.0",
3
+ "version": "6.1.1",
4
4
  "description": "ctx-core core library",
5
5
  "keywords": [
6
6
  "ctx-core",