@portal-hq/utils 0.3.0 → 0.3.2
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/src/index.ts +2 -1
- package/types.d.ts +15 -5
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -22,9 +22,10 @@ export { HttpRequester } from './requesters'
|
|
|
22
22
|
|
|
23
23
|
export {
|
|
24
24
|
type ClientWithCustodianData,
|
|
25
|
-
type
|
|
25
|
+
type Address,
|
|
26
26
|
type Dapp,
|
|
27
27
|
type DappImage,
|
|
28
|
+
type DappOnNetwork,
|
|
28
29
|
type DkgData,
|
|
29
30
|
type HttpOptions,
|
|
30
31
|
type HttpRequesterOptions,
|
package/types.d.ts
CHANGED
|
@@ -19,17 +19,27 @@ export interface ClientWithCustodianData {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface Address {
|
|
23
23
|
id: string
|
|
24
|
-
contractAddress: string
|
|
25
|
-
clientUrl: string
|
|
26
24
|
network: Network
|
|
25
|
+
value: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface DappOnNetwork {
|
|
29
|
+
clientUrl?: string
|
|
30
|
+
dapp: Dapp
|
|
31
|
+
dappId: string
|
|
32
|
+
id: string
|
|
33
|
+
network: Network
|
|
34
|
+
networkId: string
|
|
27
35
|
}
|
|
28
36
|
|
|
29
37
|
export interface Dapp {
|
|
30
38
|
id: string
|
|
31
|
-
contracts: Contract[]
|
|
32
39
|
name: string
|
|
40
|
+
|
|
41
|
+
addresses: Address[]
|
|
42
|
+
dappOnNetworks: DappOnNetwork[]
|
|
33
43
|
image: DappImage
|
|
34
44
|
}
|
|
35
45
|
|
|
@@ -110,7 +120,7 @@ export interface Pubkey {
|
|
|
110
120
|
Y: string
|
|
111
121
|
}
|
|
112
122
|
|
|
113
|
-
export interface RequesterOptions {
|
|
123
|
+
export interface RequesterOptions {}
|
|
114
124
|
|
|
115
125
|
export interface RpcErrorDefinition {
|
|
116
126
|
description: string
|