hyper-multisig-cli 1.1.1 → 1.1.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/bin.js +5 -3
- package/package.json +3 -3
package/bin.js
CHANGED
|
@@ -3,7 +3,6 @@ const Corestore = require('corestore')
|
|
|
3
3
|
const fs = require('fs').promises
|
|
4
4
|
const goodbye = require('graceful-goodbye')
|
|
5
5
|
const Multisig = require('hyper-multisig')
|
|
6
|
-
const MultisigUtil = require('hyper-multisig/lib/util')
|
|
7
6
|
const idEnc = require('hypercore-id-encoding')
|
|
8
7
|
const SignRequest = require('hypercore-signing-request')
|
|
9
8
|
const Hyperdrive = require('hyperdrive')
|
|
@@ -64,8 +63,11 @@ const cmd = command(
|
|
|
64
63
|
)
|
|
65
64
|
|
|
66
65
|
async function link() {
|
|
67
|
-
const { publicKeys, namespace } = await setup({
|
|
68
|
-
|
|
66
|
+
const { publicKeys, namespace, quorum } = await setup({
|
|
67
|
+
withReplication: false,
|
|
68
|
+
srcKeyRequired: false
|
|
69
|
+
})
|
|
70
|
+
const key = Multisig.getCoreKey(publicKeys, namespace, { quorum })
|
|
69
71
|
console.info(`pear://${idEnc.normalize(key)}`)
|
|
70
72
|
}
|
|
71
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyper-multisig-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "CLI of hyper-multisig",
|
|
5
5
|
"main": "bin.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bare-fs": "^4.5.4",
|
|
22
22
|
"corestore": "^7.8.0",
|
|
23
23
|
"graceful-goodbye": "^1.3.3",
|
|
24
|
-
"hyper-multisig": "^1.0.
|
|
24
|
+
"hyper-multisig": "^1.0.4",
|
|
25
25
|
"hypercore-id-encoding": "^1.3.0",
|
|
26
26
|
"hypercore-signing-request": "^4.0.2",
|
|
27
27
|
"hyperdrive": "^13.2.1",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"brittle": "^3.19.1",
|
|
38
38
|
"compact-encoding": "^2.18.0",
|
|
39
39
|
"hypercore-crypto": "^3.6.1",
|
|
40
|
-
"hypercore-sign": "^
|
|
40
|
+
"hypercore-sign": "^4.0.1",
|
|
41
41
|
"hyperdht": "^6.29.0",
|
|
42
42
|
"lunte": "^1.6.0",
|
|
43
43
|
"newline-decoder": "^1.0.2",
|