@alephium/web3 1.1.0-rc.0 → 1.1.0

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.
@@ -218,6 +218,8 @@ export interface BuildExecuteScriptTx {
218
218
  gasPrice?: string;
219
219
  /** @format block-hash */
220
220
  targetBlockHash?: string;
221
+ /** @format double */
222
+ gasEstimationMultiplier?: number;
221
223
  }
222
224
  /** BuildExecuteScriptTxResult */
223
225
  export interface BuildExecuteScriptTxResult {
@@ -1151,7 +1153,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
1151
1153
  }
1152
1154
  /**
1153
1155
  * @title Alephium API
1154
- * @version 3.1.0
1156
+ * @version 3.2.0
1155
1157
  * @baseUrl ../
1156
1158
  */
1157
1159
  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 3.1.0
154
+ * @version 3.2.0
155
155
  * @baseUrl ../
156
156
  */
157
157
  class Api extends HttpClient {
@@ -67,6 +67,7 @@ export interface SignExecuteScriptTxParams {
67
67
  tokens?: Token[];
68
68
  gasAmount?: number;
69
69
  gasPrice?: Number256;
70
+ gasEstimationMultiplier?: number;
70
71
  }
71
72
  export interface SignExecuteScriptTxResult {
72
73
  groupIndex: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alephium/web3",
3
- "version": "1.1.0-rc.0",
3
+ "version": "1.1.0",
4
4
  "description": "A JS/TS library to interact with the Alephium platform",
5
5
  "license": "GPL",
6
6
  "main": "dist/src/index.js",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "author": "Alephium dev <dev@alephium.org>",
35
35
  "config": {
36
- "alephium_version": "3.1.0",
36
+ "alephium_version": "3.2.0",
37
37
  "explorer_backend_version": "1.19.3"
38
38
  },
39
39
  "type": "commonjs",
@@ -248,6 +248,8 @@ export interface BuildExecuteScriptTx {
248
248
  gasPrice?: string
249
249
  /** @format block-hash */
250
250
  targetBlockHash?: string
251
+ /** @format double */
252
+ gasEstimationMultiplier?: number
251
253
  }
252
254
 
253
255
  /** BuildExecuteScriptTxResult */
@@ -1451,7 +1453,7 @@ export class HttpClient<SecurityDataType = unknown> {
1451
1453
 
1452
1454
  /**
1453
1455
  * @title Alephium API
1454
- * @version 3.1.0
1456
+ * @version 3.2.0
1455
1457
  * @baseUrl ../
1456
1458
  */
1457
1459
  export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
@@ -103,6 +103,7 @@ export interface SignExecuteScriptTxParams {
103
103
  tokens?: Token[]
104
104
  gasAmount?: number
105
105
  gasPrice?: Number256
106
+ gasEstimationMultiplier?: number
106
107
  }
107
108
  assertType<Eq<keyof SignExecuteScriptTxParams, keyof TxBuildParams<node.BuildExecuteScriptTx>>>()
108
109
  export interface SignExecuteScriptTxResult {