@vlayer/sdk 0.1.0-nightly-20250131-6bb24e8 → 0.1.0-nightly-20250203-d749009

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.
@@ -27,7 +27,7 @@ export const createVlayerClient = ({ url = "http://127.0.0.1:3000", webProofProv
27
27
  resultHashMap.set(hash.hash, [proverAbi, functionName]);
28
28
  return hash;
29
29
  },
30
- waitForProvingResult: async ({ hash, numberOfRetries = 240, sleepDuration = 1000, }) => {
30
+ waitForProvingResult: async ({ hash, numberOfRetries = 900, sleepDuration = 1000, }) => {
31
31
  try {
32
32
  const { data } = await waitForProof(hash, url, numberOfRetries, sleepDuration);
33
33
  const savedProvingData = resultHashMap.get(hash.hash);
@@ -52,7 +52,7 @@ const handleErrors = (resp) => {
52
52
  .exhaustive();
53
53
  }
54
54
  };
55
- export async function waitForProof(hash, url, numberOfRetries = 240, sleepDuration = 1000) {
55
+ export async function waitForProof(hash, url, numberOfRetries = 900, sleepDuration = 1000) {
56
56
  for (let retry = 0; retry < numberOfRetries; retry++) {
57
57
  const { state, data, metrics } = await getProofReceipt(hash, url);
58
58
  if (state === ProofState.Done) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "types": "./dist/config/index.d.ts"
16
16
  }
17
17
  },
18
- "version": "0.1.0-nightly-20250131-6bb24e8",
18
+ "version": "0.1.0-nightly-20250203-d749009",
19
19
  "scripts": {
20
20
  "build": "bun tsc --project tsconfig.build.json && bun tsc-alias",
21
21
  "test:unit": "vitest --run",