genlayer-js 0.4.6 → 0.4.7

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.4.7 (2024-12-03)
4
+
3
5
  ## 0.4.6 (2024-12-02)
4
6
 
5
7
  ## 0.4.5 (2024-12-02)
package/dist/index.cjs CHANGED
@@ -291,7 +291,7 @@ async function sleep(ms) {
291
291
  var transactionActions = (client) => ({
292
292
  waitForTransactionReceipt: async ({
293
293
  hash,
294
- status = "FINALIZED" /* FINALIZED */,
294
+ status = "ACCEPTED" /* ACCEPTED */,
295
295
  interval = transactionsConfig.waitInterval,
296
296
  retries = transactionsConfig.retries
297
297
  }) => {
package/dist/index.js CHANGED
@@ -291,7 +291,7 @@ async function sleep(ms) {
291
291
  var transactionActions = (client) => ({
292
292
  waitForTransactionReceipt: async ({
293
293
  hash,
294
- status = "FINALIZED" /* FINALIZED */,
294
+ status = "ACCEPTED" /* ACCEPTED */,
295
295
  interval = transactionsConfig.waitInterval,
296
296
  retries = transactionsConfig.retries
297
297
  }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "genlayer-js",
3
3
  "type": "module",
4
- "version": "0.4.6",
4
+ "version": "0.4.7",
5
5
  "description": "GenLayer JavaScript SDK",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -7,7 +7,7 @@ import {SimulatorChain} from "@/types";
7
7
  export const transactionActions = (client: GenLayerClient<SimulatorChain>) => ({
8
8
  waitForTransactionReceipt: async ({
9
9
  hash,
10
- status = TransactionStatus.FINALIZED,
10
+ status = TransactionStatus.ACCEPTED,
11
11
  interval = transactionsConfig.waitInterval,
12
12
  retries = transactionsConfig.retries,
13
13
  }: {