@wireapp/core-crypto 1.0.0-rc.2 → 1.0.0-rc.20
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/README.md +3 -1
- package/package.json +12 -31
- package/platforms/web/core-crypto-ffi_bg.wasm +0 -0
- package/platforms/web/corecrypto.d.ts +271 -156
- package/platforms/web/corecrypto.js +3118 -4904
- package/platforms/web/assets/core_crypto_ffi-b7eb1191.wasm +0 -0
package/README.md
CHANGED
@@ -76,6 +76,7 @@ rustup target add x86_64-unknown-linux-gnu
|
|
76
76
|
* Install [wasm-pack](https://rustwasm.github.io/wasm-pack/)
|
77
77
|
* Install the wasm32-unknown-unknown toolchain `rustup target add wasm32-unknown-unknown`
|
78
78
|
* Install node.js (recommended way is via [Volta](https://volta.sh/))
|
79
|
+
* Install Bun (follow the instructions on [Bun's website](https://bun.sh/))
|
79
80
|
|
80
81
|
### Bindings
|
81
82
|
|
@@ -93,7 +94,7 @@ cargo make "copy-android-resources"
|
|
93
94
|
# builds iOS framework
|
94
95
|
cargo make "create-swift-package"
|
95
96
|
|
96
|
-
# builds wasm binary
|
97
|
+
# builds wasm binary & TS bindings
|
97
98
|
cargo make wasm
|
98
99
|
```
|
99
100
|
|
@@ -125,3 +126,4 @@ cd kotlin
|
|
125
126
|
### JS / WASM
|
126
127
|
|
127
128
|
Given that you are logged in NPM and can publish to `@wireapp/core-crypto`, you can just `npm publish` to push a new version
|
129
|
+
But this is not needed as releases are auto-published to the `@wireapp` organization
|
package/package.json
CHANGED
@@ -1,20 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wireapp/core-crypto",
|
3
|
-
"version": "1.0.0-rc.
|
3
|
+
"version": "1.0.0-rc.20",
|
4
4
|
"description": "CoreCrypto bindings for the Web",
|
5
5
|
"type": "module",
|
6
6
|
"module": "platforms/web/corecrypto.js",
|
7
7
|
"types": "platforms/web/corecrypto.d.ts",
|
8
8
|
"scripts": {
|
9
|
-
"
|
10
|
-
"build": "npm run clean && rollup -c crypto-ffi/bindings/js/rollup.config.js",
|
11
|
-
"build:test": "npm run clean && rollup -c crypto-ffi/bindings/js/rollup.config.test.js",
|
12
|
-
"clean": "rm -f ./platforms/web/*.{js,ts,wasm,html} && rm -rf ./platforms/web/assets",
|
13
|
-
"package": "npm run build && npm pack",
|
14
|
-
"test:raw": "jest -c crypto-ffi/bindings/js/jest.config.js --runInBand",
|
15
|
-
"test": "npm run build:test && npm run test:raw",
|
16
|
-
"test:cov": "npm run build:test && jest -c crypto-ffi/bindings/js/jest.config.js --coverage --runInBand",
|
17
|
-
"test:http-server": "http-server platforms/web -g -p 3000"
|
9
|
+
"clean": "rm -f ./platforms/web/*.{js,ts,wasm,html} && rm -rf ./platforms/web/assets"
|
18
10
|
},
|
19
11
|
"publishConfig": {
|
20
12
|
"access": "public"
|
@@ -40,26 +32,15 @@
|
|
40
32
|
"url": "https://github.com/wireapp/core-crypto/issues"
|
41
33
|
},
|
42
34
|
"devDependencies": {
|
43
|
-
"@
|
44
|
-
"@
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"http-server": "^14.1.1",
|
54
|
-
"jest": "^29.4.1",
|
55
|
-
"jest-dev-server": "^6.2.0",
|
56
|
-
"prettier": "^2.8.3",
|
57
|
-
"puppeteer": "^19.6.2",
|
58
|
-
"rollup": "^3.12.0",
|
59
|
-
"rollup-jest": "^3.1.0",
|
60
|
-
"rollup-plugin-ts": "^3.2.0",
|
61
|
-
"ts-jest": "^29.0.5",
|
62
|
-
"ts-loader": "^9.4.2",
|
63
|
-
"typescript": "^4.9.5"
|
35
|
+
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
36
|
+
"@typescript-eslint/parser": "^6.7.5",
|
37
|
+
"bun-plugin-dts": "^0.2.1",
|
38
|
+
"eslint": "^8.51.0",
|
39
|
+
"eslint-config-prettier": "^9.0.0",
|
40
|
+
"eslint-plugin-prettier": "^5.0.0",
|
41
|
+
"prettier": "^3.0.3",
|
42
|
+
"puppeteer": "^21.3.8",
|
43
|
+
"ts-loader": "^9.5.0",
|
44
|
+
"typescript": "^5.2.2"
|
64
45
|
}
|
65
46
|
}
|
Binary file
|