@alephium/web3 0.5.0 → 0.5.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.
@@ -110,6 +110,6 @@ export interface SubmissionResult {
110
110
  export interface EnableOptionsBase {
111
111
  chainGroup?: number;
112
112
  keyType?: KeyType;
113
- networkId: string;
113
+ networkId?: string;
114
114
  onDisconnected: () => Promise<void> | void;
115
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alephium/web3",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A JS/TS library to interact with the Alephium platform",
5
5
  "license": "GPL",
6
6
  "main": "dist/src/index.js",
@@ -164,11 +164,12 @@ export interface SubmissionResult {
164
164
  }
165
165
 
166
166
  export interface EnableOptionsBase {
167
- // chainGroup - specify whether to use addresses from a specific group
167
+ // chainGroup - specify whether to use addresses from a specific group. Default: any group
168
168
  chainGroup?: number
169
- // keyType - specify which type of signing algorithm to use
169
+ // keyType - specify which type of signing algorithm to use. Default: Secp256K1
170
170
  keyType?: KeyType
171
+ // networkId - specify which network to connect. Default: the current network
172
+ networkId?: string
171
173
 
172
- networkId: string
173
174
  onDisconnected: () => Promise<void> | void
174
175
  }