@unyt/datex 0.0.5 → 0.0.7
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/README.md +6 -4
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/datex-core/datex_core_js.internal.d.ts +290 -210
- package/esm/datex-core/datex_core_js.internal.d.ts.map +1 -1
- package/esm/datex-core/datex_core_js.internal.js +836 -524
- package/esm/datex-core/datex_core_js.wasm +0 -0
- package/esm/deno.json +11 -2
- package/esm/dif/builders.d.ts +11 -0
- package/esm/dif/builders.d.ts.map +1 -0
- package/esm/dif/builders.js +23 -0
- package/esm/dif/definitions.d.ts +116 -0
- package/esm/dif/definitions.d.ts.map +1 -0
- package/esm/dif/definitions.js +70 -0
- package/esm/dif/dif-handler.d.ts +217 -0
- package/esm/dif/dif-handler.d.ts.map +1 -0
- package/esm/dif/dif-handler.js +688 -0
- package/esm/dif/display.d.ts +8 -0
- package/esm/dif/display.d.ts.map +1 -0
- package/esm/dif/display.js +74 -0
- package/esm/mod.js +8 -6
- package/esm/network/com-hub.d.ts +1 -0
- package/esm/network/com-hub.d.ts.map +1 -1
- package/esm/network/com-hub.js +3 -0
- package/esm/network/interface-impls/base.d.ts +11 -0
- package/esm/network/interface-impls/base.d.ts.map +1 -0
- package/esm/network/interface-impls/base.js +21 -0
- package/esm/network/interface-impls/websocket-client.d.ts +6 -0
- package/esm/network/interface-impls/websocket-client.d.ts.map +1 -0
- package/esm/network/interface-impls/websocket-client.js +6 -0
- package/esm/network/interface-impls/websocket-server-deno.d.ts +9 -0
- package/esm/network/interface-impls/websocket-server-deno.d.ts.map +1 -0
- package/esm/network/interface-impls/websocket-server-deno.js +45 -0
- package/esm/refs/ref.d.ts +27 -0
- package/esm/refs/ref.d.ts.map +1 -0
- package/esm/refs/ref.js +58 -0
- package/esm/runtime/runtime.d.ts +97 -5
- package/esm/runtime/runtime.d.ts.map +1 -1
- package/esm/runtime/runtime.js +69 -13
- package/esm/runtime/special-core-types.d.ts +10 -0
- package/esm/runtime/special-core-types.d.ts.map +1 -0
- package/esm/runtime/special-core-types.js +51 -0
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# DATEX Core JS
|
|
2
2
|
|
|
3
|
+
> Check out our specification at [datex.unyt.org](https://datex.unyt.org).
|
|
4
|
+
|
|
3
5
|
[![Twitter badge][]][Twitter link] [![Discord badge][]][Discord link]
|
|
4
6
|
|
|
5
7
|
<img align="right" src="assets/datex-logo-light.svg" width="150px" alt="The DATEX logo">
|
|
@@ -10,11 +12,11 @@ high-level API for working with DATEX in JavaScript and TypeScript. DATEX is
|
|
|
10
12
|
developed and maintained by the [unyt.org](https://unyt.org) organization and
|
|
11
13
|
community.
|
|
12
14
|
|
|
13
|
-
You can find the legacy version of the DATEX Core library (implemented in
|
|
14
|
-
TypeScript) at
|
|
15
|
+
You can find the legacy version of the DATEX Core library _(implemented in
|
|
16
|
+
TypeScript)_ at
|
|
15
17
|
[unyt-org/datex-core-js-legacy](https://github.com/unyt-org/datex-core-js-legacy).
|
|
16
|
-
The legacy version is still
|
|
17
|
-
|
|
18
|
+
The legacy version is still maintained and supported until this library reaches
|
|
19
|
+
feature parity.
|
|
18
20
|
|
|
19
21
|
## Contributing
|
|
20
22
|
|
package/esm/_dnt.shims.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { fetch, File, FormData, Headers, Request, Response } from "undici";
|
|
|
8
8
|
export { fetch, File, FormData, Headers, Request, Response, type BodyInit, type HeadersInit, type ReferrerPolicy, type RequestInit, type RequestCache, type RequestMode, type RequestRedirect, type ResponseInit } from "undici";
|
|
9
9
|
export { WeakRef, type WeakRefConstructor } from "@deno/sham-weakref";
|
|
10
10
|
export { default as WebSocket } from "ws";
|
|
11
|
-
export declare const dntGlobalThis: Omit<typeof globalThis, "WeakRef" | "fetch" | "
|
|
11
|
+
export declare const dntGlobalThis: Omit<typeof globalThis, "WeakRef" | "fetch" | "FormData" | "Headers" | "Request" | "Response" | "WebSocket" | "File" | "crypto" | "setInterval" | "setTimeout" | "Deno" | "alert" | "confirm" | "prompt"> & {
|
|
12
12
|
Deno: typeof Deno;
|
|
13
13
|
crypto: import("@deno/shim-crypto").Crypto;
|
|
14
14
|
alert: (message?: any) => void;
|