@alephium/web3 0.10.4 → 0.11.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.
@@ -929,7 +929,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
929
929
  }
930
930
  /**
931
931
  * @title Alephium API
932
- * @version 2.1.2
932
+ * @version 2.2.1
933
933
  * @baseUrl ../
934
934
  */
935
935
  export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
@@ -151,7 +151,7 @@ class HttpClient {
151
151
  exports.HttpClient = HttpClient;
152
152
  /**
153
153
  * @title Alephium API
154
- * @version 2.1.2
154
+ * @version 2.2.1
155
155
  * @baseUrl ../
156
156
  */
157
157
  class Api extends HttpClient {
@@ -109,7 +109,7 @@ export interface SubmissionResult {
109
109
  toGroup: number;
110
110
  }
111
111
  export interface EnableOptionsBase {
112
- chainGroup?: number;
112
+ addressGroup?: number;
113
113
  keyType?: KeyType;
114
114
  networkId?: NetworkId;
115
115
  onDisconnected: () => Promise<void> | void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alephium/web3",
3
- "version": "0.10.4",
3
+ "version": "0.11.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",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "author": "Alephium dev <dev@alephium.org>",
29
29
  "config": {
30
- "alephium_version": "2.1.2",
30
+ "alephium_version": "2.2.1",
31
31
  "explorer_backend_version": "1.13.4"
32
32
  },
33
33
  "type": "commonjs",
@@ -1217,7 +1217,7 @@ export class HttpClient<SecurityDataType = unknown> {
1217
1217
 
1218
1218
  /**
1219
1219
  * @title Alephium API
1220
- * @version 2.1.2
1220
+ * @version 2.2.1
1221
1221
  * @baseUrl ../
1222
1222
  */
1223
1223
  export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
@@ -164,8 +164,8 @@ export interface SubmissionResult {
164
164
  }
165
165
 
166
166
  export interface EnableOptionsBase {
167
- // chainGroup - specify whether to use addresses from a specific group. Default: any group
168
- chainGroup?: number
167
+ // addressGroup - specify whether to use addresses from a specific group. Default: any group
168
+ addressGroup?: number
169
169
  // keyType - specify which type of signing algorithm to use. Default: Secp256K1
170
170
  keyType?: KeyType
171
171
  // networkId - specify which network to connect. Default: the current network