@alephium/web3 0.6.7 → 0.7.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.
|
@@ -928,7 +928,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
928
928
|
}
|
|
929
929
|
/**
|
|
930
930
|
* @title Alephium API
|
|
931
|
-
* @version
|
|
931
|
+
* @version 2.0.1
|
|
932
932
|
* @baseUrl ../
|
|
933
933
|
*/
|
|
934
934
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
@@ -11,6 +11,7 @@ export interface AcceptedTransaction {
|
|
|
11
11
|
gasAmount: number;
|
|
12
12
|
/** @format uint256 */
|
|
13
13
|
gasPrice: string;
|
|
14
|
+
scriptExecutionOk: boolean;
|
|
14
15
|
coinbase: boolean;
|
|
15
16
|
type: string;
|
|
16
17
|
}
|
|
@@ -250,6 +251,7 @@ export interface Transaction {
|
|
|
250
251
|
gasAmount: number;
|
|
251
252
|
/** @format uint256 */
|
|
252
253
|
gasPrice: string;
|
|
254
|
+
scriptExecutionOk: boolean;
|
|
253
255
|
coinbase: boolean;
|
|
254
256
|
}
|
|
255
257
|
export declare type TransactionLike = AcceptedTransaction | PendingTransaction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alephium/web3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.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,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"author": "Alephium dev <dev@alephium.org>",
|
|
29
29
|
"config": {
|
|
30
|
-
"alephium_version": "
|
|
31
|
-
"explorer_backend_version": "1.13.
|
|
30
|
+
"alephium_version": "2.0.1",
|
|
31
|
+
"explorer_backend_version": "1.13.2"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "rm -rf dist/* && npx tsc --build . && webpack",
|
package/src/api/api-alephium.ts
CHANGED
|
@@ -1216,7 +1216,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
1218
1218
|
* @title Alephium API
|
|
1219
|
-
* @version
|
|
1219
|
+
* @version 2.0.1
|
|
1220
1220
|
* @baseUrl ../
|
|
1221
1221
|
*/
|
|
1222
1222
|
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
package/src/api/api-explorer.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface AcceptedTransaction {
|
|
|
22
22
|
gasAmount: number
|
|
23
23
|
/** @format uint256 */
|
|
24
24
|
gasPrice: string
|
|
25
|
+
scriptExecutionOk: boolean
|
|
25
26
|
coinbase: boolean
|
|
26
27
|
type: string
|
|
27
28
|
}
|
|
@@ -289,6 +290,7 @@ export interface Transaction {
|
|
|
289
290
|
gasAmount: number
|
|
290
291
|
/** @format uint256 */
|
|
291
292
|
gasPrice: string
|
|
293
|
+
scriptExecutionOk: boolean
|
|
292
294
|
coinbase: boolean
|
|
293
295
|
}
|
|
294
296
|
|