@portal-hq/utils 0.2.33 → 0.3.1
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/package.json +1 -1
- package/types.d.ts +19 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -45,6 +45,24 @@ export interface DkgData {
|
|
|
45
45
|
bks: Bk[]
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
export interface DkgDataV1 {
|
|
49
|
+
share: string
|
|
50
|
+
ssid: string
|
|
51
|
+
pubkey: Pubkey
|
|
52
|
+
partialPubKey: Pubkey[]
|
|
53
|
+
allY: Pubkey[]
|
|
54
|
+
p: string
|
|
55
|
+
q: string
|
|
56
|
+
pederson: PedersonParams[]
|
|
57
|
+
bks: Bk[]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface PedersonParams {
|
|
61
|
+
n: string
|
|
62
|
+
s: string
|
|
63
|
+
t: string
|
|
64
|
+
}
|
|
65
|
+
|
|
48
66
|
export interface HttpErrorOptions {
|
|
49
67
|
message: string
|
|
50
68
|
status: number
|
|
@@ -92,7 +110,7 @@ export interface Pubkey {
|
|
|
92
110
|
Y: string
|
|
93
111
|
}
|
|
94
112
|
|
|
95
|
-
export interface RequesterOptions {}
|
|
113
|
+
export interface RequesterOptions { }
|
|
96
114
|
|
|
97
115
|
export interface RpcErrorDefinition {
|
|
98
116
|
description: string
|