Page MenuHomePhabricator

D7197.diff
No OneTemporary

D7197.diff

diff --git a/web/opaque-ke-wasm/index.js b/web/opaque-ke-wasm/index.js
deleted file mode 100644
--- a/web/opaque-ke-wasm/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// @flow
diff --git a/web/opaque-ke-wasm/package.json b/web/opaque-ke-wasm/package.json
--- a/web/opaque-ke-wasm/package.json
+++ b/web/opaque-ke-wasm/package.json
@@ -1,15 +1,19 @@
{
"name": "@commapp/opaque-ke-wasm",
"description": "WASM bindings for use of opaque-ke inside web browser",
- "version": "0.0.1",
- "main": "index.js",
+ "version": "0.0.3",
+ "main": "pkg/comm_opaque2_wasm.js",
"files": [
- "index.js"
+ "pkg/comm_opaque2_wasm.js",
+ "pkg/comm_opaque2_wasm_bg.js",
+ "pkg/comm_opaque2_wasm_bg.wasm"
],
"type": "module",
"license": "BSD-3-Clause",
"engines": {
"node": ">= 16"
},
- "scripts": {}
+ "scripts": {
+ "build": "wasm-pack build --no-typescript --target web"
+ }
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 6:59 PM (12 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2702969
Default Alt Text
D7197.diff (904 B)

Event Timeline