@dynamic-labs-wallet/forward-mpc-client 0.7.0 → 0.8.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.
package/dist/index.cjs CHANGED
@@ -74,8 +74,16 @@ var NitroAttestationVerifier = class {
74
74
  */
75
75
  async initWasm() {
76
76
  if (typeof process !== "undefined" && process.versions?.node) {
77
- const { readFileSync } = await import('fs');
78
- const { createRequire } = await import('module');
77
+ const fsModule = "node:fs";
78
+ const moduleModule = "node:module";
79
+ const { readFileSync } = await import(
80
+ /* @vite-ignore */
81
+ fsModule
82
+ );
83
+ const { createRequire } = await import(
84
+ /* @vite-ignore */
85
+ moduleModule
86
+ );
79
87
  const require2 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)));
80
88
  const wasmPath = require2.resolve("@evervault/wasm-attestation-bindings/index_bg.wasm");
81
89
  const { initSync } = await import('@evervault/wasm-attestation-bindings');