@alephium/web3 0.11.3 → 0.11.4
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.
|
@@ -237,6 +237,8 @@ export interface BuildSweepAddressTransactions {
|
|
|
237
237
|
fromPublicKey: string;
|
|
238
238
|
/** @format address */
|
|
239
239
|
toAddress: string;
|
|
240
|
+
/** @format uint256 */
|
|
241
|
+
maxAttoAlphPerUTXO?: string;
|
|
240
242
|
/** @format int64 */
|
|
241
243
|
lockTime?: number;
|
|
242
244
|
/** @format gas */
|
|
@@ -559,7 +561,8 @@ export interface NodeInfo {
|
|
|
559
561
|
};
|
|
560
562
|
}
|
|
561
563
|
export interface NodeVersion {
|
|
562
|
-
|
|
564
|
+
/** @format semver */
|
|
565
|
+
version: string;
|
|
563
566
|
}
|
|
564
567
|
export interface NotFound {
|
|
565
568
|
detail: string;
|
|
@@ -601,14 +604,6 @@ export interface Reachable {
|
|
|
601
604
|
peers: string[];
|
|
602
605
|
type: string;
|
|
603
606
|
}
|
|
604
|
-
export interface ReleaseVersion {
|
|
605
|
-
/** @format int32 */
|
|
606
|
-
major: number;
|
|
607
|
-
/** @format int32 */
|
|
608
|
-
minor: number;
|
|
609
|
-
/** @format int32 */
|
|
610
|
-
patch: number;
|
|
611
|
-
}
|
|
612
607
|
export interface RevealMnemonic {
|
|
613
608
|
password: string;
|
|
614
609
|
}
|
|
@@ -929,7 +924,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
929
924
|
}
|
|
930
925
|
/**
|
|
931
926
|
* @title Alephium API
|
|
932
|
-
* @version 2.
|
|
927
|
+
* @version 2.3.1
|
|
933
928
|
* @baseUrl ../
|
|
934
929
|
*/
|
|
935
930
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alephium/web3",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
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.
|
|
30
|
+
"alephium_version": "2.3.1",
|
|
31
31
|
"explorer_backend_version": "1.13.5"
|
|
32
32
|
},
|
|
33
33
|
"type": "commonjs",
|
package/src/api/api-alephium.ts
CHANGED
|
@@ -273,6 +273,8 @@ export interface BuildSweepAddressTransactions {
|
|
|
273
273
|
fromPublicKey: string
|
|
274
274
|
/** @format address */
|
|
275
275
|
toAddress: string
|
|
276
|
+
/** @format uint256 */
|
|
277
|
+
maxAttoAlphPerUTXO?: string
|
|
276
278
|
/** @format int64 */
|
|
277
279
|
lockTime?: number
|
|
278
280
|
/** @format gas */
|
|
@@ -639,7 +641,8 @@ export interface NodeInfo {
|
|
|
639
641
|
}
|
|
640
642
|
|
|
641
643
|
export interface NodeVersion {
|
|
642
|
-
|
|
644
|
+
/** @format semver */
|
|
645
|
+
version: string
|
|
643
646
|
}
|
|
644
647
|
|
|
645
648
|
export interface NotFound {
|
|
@@ -691,15 +694,6 @@ export interface Reachable {
|
|
|
691
694
|
type: string
|
|
692
695
|
}
|
|
693
696
|
|
|
694
|
-
export interface ReleaseVersion {
|
|
695
|
-
/** @format int32 */
|
|
696
|
-
major: number
|
|
697
|
-
/** @format int32 */
|
|
698
|
-
minor: number
|
|
699
|
-
/** @format int32 */
|
|
700
|
-
patch: number
|
|
701
|
-
}
|
|
702
|
-
|
|
703
697
|
export interface RevealMnemonic {
|
|
704
698
|
password: string
|
|
705
699
|
}
|
|
@@ -1217,7 +1211,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
1217
1211
|
|
|
1218
1212
|
/**
|
|
1219
1213
|
* @title Alephium API
|
|
1220
|
-
* @version 2.
|
|
1214
|
+
* @version 2.3.1
|
|
1221
1215
|
* @baseUrl ../
|
|
1222
1216
|
*/
|
|
1223
1217
|
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|