@layerzerolabs/typescript-utils 1.2.34 → 1.2.36

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.
@@ -4327,35 +4327,54 @@ __name(manageArtifactAttachment, "manageArtifactAttachment");
4327
4327
  // ../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/dist/index.js
4328
4328
  init_esm_shims();
4329
4329
 
4330
- // ../../node_modules/.pnpm/vitest@4.1.10_@opentelemetry+api@1.9.1_@types+node@25.9.5_@vitest+coverage-v8@4.1.10_@v_6fc561825000373b34c0d993fa844b07/node_modules/vitest/dist/index.js
4330
+ // ../../node_modules/.pnpm/vitest@4.1.10_@opentelemetry+api@1.9.1_@types+node@25.9.5_@vitest+coverage-v8@4.1.10_@v_c52a0213e243e5036c33304b594892ab/node_modules/vitest/dist/index.js
4331
4331
  init_esm_shims();
4332
4332
 
4333
4333
  // ../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/dist/utils.js
4334
4334
  init_esm_shims();
4335
4335
 
4336
- // ../../node_modules/.pnpm/vite@6.4.3_@types+node@25.9.5_jiti@2.7.0_lightningcss@1.30.1_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/dist/node/module-runner.js
4336
+ // ../../node_modules/.pnpm/vite@7.3.6_@types+node@25.9.5_jiti@2.7.0_lightningcss@1.30.1_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/dist/node/module-runner.js
4337
4337
  init_esm_shims();
4338
4338
  typeof process < "u" && process.platform === "win32";
4339
4339
  var chars2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
4340
4340
  var intToChar2 = new Uint8Array(64);
4341
4341
  var charToInt2 = new Uint8Array(128);
4342
4342
  for (let i2 = 0; i2 < chars2.length; i2++) {
4343
- const c = chars2.charCodeAt(i2);
4343
+ let c = chars2.charCodeAt(i2);
4344
4344
  intToChar2[i2] = c, charToInt2[c] = i2;
4345
4345
  }
4346
4346
  var retrieveFileHandlers = /* @__PURE__ */ new Set();
4347
4347
  var retrieveSourceMapHandlers = /* @__PURE__ */ new Set();
4348
4348
  var createExecHandlers = /* @__PURE__ */ __name((handlers) => (...args) => {
4349
- for (const handler of handlers) {
4350
- const result = handler(...args);
4349
+ for (let handler of handlers) {
4350
+ let result = handler(...args);
4351
4351
  if (result) return result;
4352
4352
  }
4353
4353
  return null;
4354
4354
  }, "createExecHandlers");
4355
4355
  createExecHandlers(retrieveFileHandlers);
4356
4356
  createExecHandlers(retrieveSourceMapHandlers);
4357
+ var customizationHookNamespace = "vite-module-runner:import-meta-resolve/v1/";
4358
+ `
4357
4359
 
4358
- // ../../node_modules/.pnpm/vitest@4.1.10_@opentelemetry+api@1.9.1_@types+node@25.9.5_@vitest+coverage-v8@4.1.10_@v_6fc561825000373b34c0d993fa844b07/node_modules/vitest/dist/index.js
4360
+ export async function resolve(specifier, context, nextResolve) {
4361
+ if (specifier.startsWith(${JSON.stringify(customizationHookNamespace)})) {
4362
+ const data = specifier.slice(${JSON.stringify(customizationHookNamespace)}.length)
4363
+ const [parsedSpecifier, parsedImporter] = JSON.parse(data)
4364
+ specifier = parsedSpecifier
4365
+ context.parentURL = parsedImporter
4366
+ }
4367
+ return nextResolve(specifier, context)
4368
+ }
4369
+
4370
+ `;
4371
+ new Proxy({}, {
4372
+ get(_, p) {
4373
+ throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
4374
+ }
4375
+ });
4376
+
4377
+ // ../../node_modules/.pnpm/vitest@4.1.10_@opentelemetry+api@1.9.1_@types+node@25.9.5_@vitest+coverage-v8@4.1.10_@v_c52a0213e243e5036c33304b594892ab/node_modules/vitest/dist/index.js
4359
4378
  var import_expect_type = __toESM(require_dist(), 1);
4360
4379
  /*! Bundled license information:
4361
4380
 
@@ -4381,5 +4400,5 @@ var import_expect_type = __toESM(require_dist(), 1);
4381
4400
  */
4382
4401
 
4383
4402
  export { import_expect_type, test2 as test };
4384
- //# sourceMappingURL=EQ7YQ56H.js.map
4385
- //# sourceMappingURL=EQ7YQ56H.js.map
4403
+ //# sourceMappingURL=WQCZ6KYX.js.map
4404
+ //# sourceMappingURL=WQCZ6KYX.js.map