genlayer-js 0.14.1 → 0.14.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
 
2
2
 
3
+ ## 0.14.2 (2025-08-14)
4
+
3
5
  ## 0.14.1 (2025-08-13)
4
6
 
5
7
  ## 0.14.0 (2025-07-30)
package/dist/index.cjs CHANGED
@@ -597,7 +597,8 @@ var _sendTransaction = async ({
597
597
  from: transactionRequest.from,
598
598
  to: transactionRequest.to,
599
599
  data: encodedData,
600
- value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0"
600
+ value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0",
601
+ gas: transactionRequest.gas ? `0x${transactionRequest.gas.toString(16)}` : "0x5208"
601
602
  };
602
603
  return await client.request({
603
604
  method: "eth_sendTransaction",
package/dist/index.js CHANGED
@@ -597,7 +597,8 @@ var _sendTransaction = async ({
597
597
  from: transactionRequest.from,
598
598
  to: transactionRequest.to,
599
599
  data: encodedData,
600
- value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0"
600
+ value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0",
601
+ gas: transactionRequest.gas ? `0x${transactionRequest.gas.toString(16)}` : "0x5208"
601
602
  };
602
603
  return await client.request({
603
604
  method: "eth_sendTransaction",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "genlayer-js",
3
3
  "type": "module",
4
- "version": "0.14.1",
4
+ "version": "0.14.2",
5
5
  "description": "GenLayer JavaScript SDK",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -256,6 +256,7 @@ const _sendTransaction = async ({
256
256
  to: transactionRequest.to,
257
257
  data: encodedData,
258
258
  value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0",
259
+ gas: transactionRequest.gas ? `0x${transactionRequest.gas.toString(16)}` : "0x5208",
259
260
  };
260
261
 
261
262
  return await client.request({