@pinkparrot/qsafe-mayo-wasm 0.0.7 → 0.0.9

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/build_mayo1.ps1 CHANGED
@@ -23,7 +23,7 @@ emcc `
23
23
  -DENABLE_PARAMS_DYNAMIC `
24
24
  -Oz `
25
25
  -flto `
26
- -o ./dist/mayo1.js `
26
+ -o ./dist/mayo1.cjs `
27
27
  -s WASM=1 `
28
28
  -s "EXPORTED_FUNCTIONS=['_keypair_from_seed','_sign','_verify','_malloc','_free']" `
29
29
  -s "EXPORTED_RUNTIME_METHODS=['ccall','cwrap','HEAPU8']" `
@@ -33,4 +33,6 @@ emcc `
33
33
  -s STACK_SIZE=4194304 `
34
34
  -s INITIAL_MEMORY=8388608 `
35
35
 
36
- Write-Host "Build done -> dist/mayo1.js"
36
+ Write-Host "Build done -> dist/mayo1.cjs"
37
+ node post-build.mjs
38
+ Write-Host "Post-build done -> dist/mayo1.js"
package/build_mayo2.ps1 CHANGED
@@ -23,7 +23,7 @@ emcc `
23
23
  -DENABLE_PARAMS_DYNAMIC `
24
24
  -Oz `
25
25
  -flto `
26
- -o ./dist/mayo2.js `
26
+ -o ./dist/mayo2.cjs `
27
27
  -s WASM=1 `
28
28
  -s "EXPORTED_FUNCTIONS=['_keypair_from_seed','_sign','_verify','_malloc','_free']" `
29
29
  -s "EXPORTED_RUNTIME_METHODS=['ccall','cwrap','HEAPU8']" `
@@ -33,4 +33,6 @@ emcc `
33
33
  -s STACK_SIZE=4194304 `
34
34
  -s INITIAL_MEMORY=8388608
35
35
 
36
- Write-Host "Build done -> dist/mayo2.js"
36
+ Write-Host "Build done -> dist/mayo2.cjs"
37
+ node post-build.mjs
38
+ Write-Host "Post-build done -> dist/mayo2.js"