@synonymdev/pubky 0.6.0-rc.2 → 0.6.0-rc.7
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 +167 -45
- package/index.cjs +1335 -514
- package/index.js +1454 -601
- package/package.json +9 -5
- package/pubky.d.ts +397 -167
- package/pubky_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@synonymdev/pubky",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Pubky client",
|
|
5
|
-
"version": "0.6.0-rc.
|
|
5
|
+
"version": "0.6.0-rc.7",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"testnet": "cargo run -p pubky-testnet",
|
|
13
|
+
"build:test": "tsc --project tsconfig.json && mkdir -p dist && cp index.js dist/index.js",
|
|
13
14
|
"test": "npm run test-nodejs && npm run test-browser",
|
|
14
|
-
"test-nodejs": "tape
|
|
15
|
-
"test-browser": "browserify
|
|
16
|
-
"test-browser:ci": "browserify
|
|
15
|
+
"test-nodejs": "npm run build:test && node --require ./node-header.cjs node_modules/tape/bin/tape dist/tests/*.js -cov",
|
|
16
|
+
"test-browser": "npm run build:test && browserify dist/tests/*.js -p esmify | npx tape-run",
|
|
17
|
+
"test-browser:ci": "npm run build:test && browserify dist/tests/*.js -p esmify | tape-run --browser electron --electron-arg=--no-sandbox --electron-arg=--disable-gpu",
|
|
17
18
|
"build": "cargo run --bin bundle_npm",
|
|
18
19
|
"prepublishOnly": "npm run build"
|
|
19
20
|
},
|
|
@@ -34,11 +35,14 @@
|
|
|
34
35
|
"identity"
|
|
35
36
|
],
|
|
36
37
|
"devDependencies": {
|
|
38
|
+
"@types/node": "^22.0.0",
|
|
39
|
+
"@types/tape": "^5.6.4",
|
|
37
40
|
"browser-resolve": "^2.0.0",
|
|
38
41
|
"browserify": "^17.0.1",
|
|
39
42
|
"esmify": "^2.1.1",
|
|
40
43
|
"tape": "^5.8.1",
|
|
41
|
-
"tape-run": "^11.0.0"
|
|
44
|
+
"tape-run": "^11.0.0",
|
|
45
|
+
"typescript": "^5.4.5"
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
48
|
"fetch-cookie": "^3.0.1"
|