Skip to content

Commit

Permalink
chore: rename with version number
Browse files Browse the repository at this point in the history
  • Loading branch information
pacoyang committed Feb 28, 2024
1 parent 51d743d commit f795fe5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
}
},
"scripts": {
"build": "shx rm -rf dist && tsc -b && shx cp src/lib/phatjs/phatjs_bg.wasm dist/lib/phatjs/",
"build": "shx rm -rf dist && tsc -b && shx cp src/lib/phatjs/phatjs_bg.*.wasm dist/lib/phatjs/",
"lint": "tsc --noEmit",
"test": "mocha --forbid-only \"test/**/*.test.ts\""
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/phatjs/phatjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ module.exports.__wbindgen_closure_wrapper1483 = function(arg0, arg1, arg2) {
};

module.exports.init = function() {
const path = require('upath').join(__dirname, 'phatjs_bg.wasm');
const path = require('upath').join(__dirname, 'phatjs_bg.0.10.1.wasm');
const bytes = require('fs').readFileSync(path);
const wasmModule = new WebAssembly.Module(bytes);
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
Expand Down
File renamed without changes.
22 changes: 0 additions & 22 deletions src/lib/phatjs/phatjs_bg.wasm.d.ts

This file was deleted.

0 comments on commit f795fe5

Please sign in to comment.