@unyt/datex 0.0.2 → 0.0.3
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/esm/deno.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as dntShim from "../../_dnt.shims.js";
|
|
2
2
|
import * as imports from "./datex_core_js.internal.js";
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
(typeof globalThis.process.versions.node !== "undefined");
|
|
7
|
-
const wasm = (isNodeOrBun
|
|
3
|
+
// for deno-to-node builds, fetch does not support streaming webassembly instantiation
|
|
4
|
+
let isDntBuild = !!dntShim.dntGlobalThis[Symbol.for("import-meta-ponyfill-commonjs")];
|
|
5
|
+
const wasm = (isDntBuild
|
|
8
6
|
? await WebAssembly.instantiate(await dntShim.Deno.readFile(new URL("datex_core_js.wasm", globalThis[Symbol.for("import-meta-ponyfill-esmodule")](import.meta).url)), {
|
|
9
7
|
"./datex_core_js.internal.js": imports,
|
|
10
8
|
})
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/src/runtime/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAMtE,UAAU,UAAU;IAChB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,6BAA6B,CAAC,EAAE,OAAO,CAAC;CAC3C;
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/src/runtime/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAMtE,UAAU,UAAU;IAChB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,6BAA6B,CAAC,EAAE,OAAO,CAAC;CAC3C;AAED,qBAAa,OAAO;;IAChB,SAAgB,UAAU,SAAW;gBAMzB,QAAQ,GAAE,MAAgB,EAAE,WAAW,CAAC,EAAE,UAAU;IAMhE;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,IAAI,MAAM,IAAI,QAAQ,CAErB;IAED,IAAI,MAAM,IAAI,QAAQ,CAErB;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,SAAS,CAExB;IAEM,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe,GAAG,MAAM;IAIjE,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;CAG1D"}
|
|
@@ -12,7 +12,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
var _Runtime_runtime, _Runtime_memory, _Runtime_comHub;
|
|
13
13
|
import { execute, execute_internal, init_runtime } from "../datex-core.js";
|
|
14
14
|
// auto-generated version - do not edit:
|
|
15
|
-
const VERSION = "0.0.
|
|
15
|
+
const VERSION = "0.0.3";
|
|
16
16
|
export class Runtime {
|
|
17
17
|
constructor(endpoint = "@unyt", debug_flags) {
|
|
18
18
|
Object.defineProperty(this, "js_version", {
|