@cortexkit/pi-magic-context 0.37.0 → 0.38.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.
@@ -34,17 +34,17 @@ import {
34
34
  } from "./index-9xexf8s7.js";
35
35
  import {
36
36
  __require
37
- } from "./index-wckvcay0.js";
37
+ } from "./index-1yh8g550.js";
38
38
 
39
39
  // ../../node_modules/.bun/quickjs-emscripten-core@0.32.0/node_modules/quickjs-emscripten-core/dist/index.mjs
40
40
  async function newQuickJSWASMModuleFromVariant(variantOrPromise) {
41
- let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule: QuickJSWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-ES6BEMUI-atfbtnbp.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
41
+ let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule: QuickJSWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-ES6BEMUI-1yjdz59c.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
42
42
  wasmModule.type = "sync";
43
43
  let ffi = new QuickJSFFI(wasmModule);
44
44
  return new QuickJSWASMModule2(wasmModule, ffi);
45
45
  }
46
46
  async function newQuickJSAsyncWASMModuleFromVariant(variantOrPromise) {
47
- let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSAsyncFFI, { QuickJSAsyncWASMModule: QuickJSAsyncWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-asyncify-2EFITU5U-7xckhw8w.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
47
+ let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSAsyncFFI, { QuickJSAsyncWASMModule: QuickJSAsyncWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-asyncify-2EFITU5U-fdkx4fhy.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
48
48
  wasmModule.type = "async";
49
49
  let ffi = new QuickJSAsyncFFI(wasmModule);
50
50
  return new QuickJSAsyncWASMModule2(wasmModule, ffi);
@@ -163,19 +163,19 @@ var TestQuickJSWASMModule = class {
163
163
  };
164
164
 
165
165
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.mjs
166
- var variant = { type: "sync", importFFI: () => import("./ffi-9wvt2wwz.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-bkktz927.js").then((mod) => mod.default) };
166
+ var variant = { type: "sync", importFFI: () => import("./ffi-yx2hpf4p.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-ss4g4spn.js").then((mod) => mod.default) };
167
167
  var src_default = variant;
168
168
 
169
169
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs
170
- var variant2 = { type: "sync", importFFI: () => import("./ffi-t8b862vx.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-ap8t3st0.js").then((mod) => mod.default) };
170
+ var variant2 = { type: "sync", importFFI: () => import("./ffi-qnrt0y78.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-49k43zfy.js").then((mod) => mod.default) };
171
171
  var src_default2 = variant2;
172
172
 
173
173
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.mjs
174
- var variant3 = { type: "async", importFFI: () => import("./ffi-d8pnn3mn.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-r5h7aghp.js").then((mod) => mod.default) };
174
+ var variant3 = { type: "async", importFFI: () => import("./ffi-bbm9vkfa.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-jfs3d1dq.js").then((mod) => mod.default) };
175
175
  var src_default3 = variant3;
176
176
 
177
177
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.mjs
178
- var variant4 = { type: "async", importFFI: () => import("./ffi-04jzypzk.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-682pfzaa.js").then((mod) => mod.default) };
178
+ var variant4 = { type: "async", importFFI: () => import("./ffi-kb5r0x1j.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-ex4v0x4z.js").then((mod) => mod.default) };
179
179
  var src_default4 = variant4;
180
180
 
181
181
  // ../../node_modules/.bun/quickjs-emscripten@0.32.0/node_modules/quickjs-emscripten/dist/chunk-OHAYRCBA.mjs
@@ -204,48 +204,48 @@ async function newAsyncContext(options) {
204
204
  return (await newQuickJSAsyncWASMModule()).newContext(options);
205
205
  }
206
206
  export {
207
- shouldInterruptAfterDeadline,
208
- setDebugMode,
209
- newVariant,
210
- newQuickJSWASMModuleFromVariant,
211
- newQuickJSWASMModule,
212
- newQuickJSAsyncWASMModuleFromVariant,
213
- newQuickJSAsyncWASMModule,
214
- newAsyncRuntime,
215
- newAsyncContext,
216
- memoizePromiseFactory,
217
- isSuccess,
218
- isFail,
219
- getQuickJSSync,
220
- getQuickJS,
221
- errors_exports as errors,
222
- debugLog,
223
- createDisposableArray,
224
- assertSync,
225
- WeakLifetime,
226
- UsingDisposable,
227
- TestQuickJSWASMModule,
228
- StaticLifetime,
229
- Scope,
230
- src_default2 as RELEASE_SYNC,
231
- src_default4 as RELEASE_ASYNC,
232
- QuickJSWASMModule,
233
- QuickJSRuntime,
234
- QuickJSDeferredPromise,
235
- QuickJSContext,
236
- QuickJSAsyncWASMModule,
237
- QuickJSAsyncRuntime,
238
- QuickJSAsyncContext,
239
- Lifetime,
240
- JSPromiseStateEnum,
241
- IsEqualOp,
242
- IntrinsicsFlags,
243
- GetOwnPropertyNamesFlags,
244
- EvalFlags,
245
- DisposableSuccess,
246
- DisposableResult,
247
- DisposableFail,
248
- DefaultIntrinsics,
207
+ src_default3 as DEBUG_ASYNC,
249
208
  src_default as DEBUG_SYNC,
250
- src_default3 as DEBUG_ASYNC
209
+ DefaultIntrinsics,
210
+ DisposableFail,
211
+ DisposableResult,
212
+ DisposableSuccess,
213
+ EvalFlags,
214
+ GetOwnPropertyNamesFlags,
215
+ IntrinsicsFlags,
216
+ IsEqualOp,
217
+ JSPromiseStateEnum,
218
+ Lifetime,
219
+ QuickJSAsyncContext,
220
+ QuickJSAsyncRuntime,
221
+ QuickJSAsyncWASMModule,
222
+ QuickJSContext,
223
+ QuickJSDeferredPromise,
224
+ QuickJSRuntime,
225
+ QuickJSWASMModule,
226
+ src_default4 as RELEASE_ASYNC,
227
+ src_default2 as RELEASE_SYNC,
228
+ Scope,
229
+ StaticLifetime,
230
+ TestQuickJSWASMModule,
231
+ UsingDisposable,
232
+ WeakLifetime,
233
+ assertSync,
234
+ createDisposableArray,
235
+ debugLog,
236
+ errors_exports as errors,
237
+ getQuickJS,
238
+ getQuickJSSync,
239
+ isFail,
240
+ isSuccess,
241
+ memoizePromiseFactory,
242
+ newAsyncContext,
243
+ newAsyncRuntime,
244
+ newQuickJSAsyncWASMModule,
245
+ newQuickJSAsyncWASMModuleFromVariant,
246
+ newQuickJSWASMModule,
247
+ newQuickJSWASMModuleFromVariant,
248
+ newVariant,
249
+ setDebugMode,
250
+ shouldInterruptAfterDeadline
251
251
  };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  __commonJS,
3
3
  __require
4
- } from "./index-wckvcay0.js";
4
+ } from "./index-1yh8g550.js";
5
5
 
6
6
  // ../../node_modules/.bun/@jitl+quickjs-ffi-types@0.32.0/node_modules/@jitl/quickjs-ffi-types/dist/index.js
7
- var require_dist = __commonJS((exports, module) => {
7
+ var require_dist = __commonJS(function(exports, module) {
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
10
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -39,7 +39,7 @@ var require_dist = __commonJS((exports, module) => {
39
39
  });
40
40
 
41
41
  // ../../node_modules/.bun/@jitl+quickjs-singlefile-cjs-release-asyncify@0.32.0/node_modules/@jitl/quickjs-singlefile-cjs-release-asyncify/dist/index.js
42
- var require_dist2 = __commonJS((exports, module) => {
42
+ var require_dist2 = __commonJS(function(exports, module) {
43
43
  var __filename = "/home/runner/work/magic-context/magic-context/node_modules/.bun/@jitl+quickjs-singlefile-cjs-release-asyncify@0.32.0/node_modules/@jitl/quickjs-singlefile-cjs-release-asyncify/dist/index.js";
44
44
  var __create = Object.create;
45
45
  var __defProp = Object.defineProperty;