xwing-wasm 0.2.1 → 0.2.3
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/index.d.ts +3 -1
- package/package.json +4 -3
package/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
2
2
|
// Copyright 2026 Thomas <tom@unebaguette.fr>
|
|
3
3
|
|
|
4
|
-
export {generateKeypair, encapsulate, decapsulate, GenerateKeypairResult, EncapsulateResult} from './bundler/xwing';
|
|
4
|
+
export {generateKeypair, encapsulate, decapsulate, GenerateKeypairResult, EncapsulateResult} from './bundler/xwing';
|
|
5
|
+
|
|
6
|
+
export { default } from './web/xwing';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xwing-wasm",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "X-Wing hybrid KEM (ML-KEM-768 + X25519) via Rust/WASM",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
".": {
|
|
14
14
|
"node": {
|
|
15
15
|
"require": "./node/xwing.js",
|
|
16
|
-
"import": "./
|
|
16
|
+
"import": "./node/xwing.js"
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"webpack": "./bundler/xwing.js",
|
|
19
|
+
"import": "./web/xwing.js",
|
|
19
20
|
"default": "./web/xwing.js"
|
|
20
21
|
}
|
|
21
22
|
},
|