From 4eb2718826cfa2d3578ef1dbc939ad936dd7896c Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Thu, 3 Oct 2024 16:46:11 -0400 Subject: [PATCH 1/2] chore: update sdk --- src/blockchain/StoreInfoCacheUpdater.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/blockchain/StoreInfoCacheUpdater.ts b/src/blockchain/StoreInfoCacheUpdater.ts index 58754e9..f0b8321 100644 --- a/src/blockchain/StoreInfoCacheUpdater.ts +++ b/src/blockchain/StoreInfoCacheUpdater.ts @@ -80,6 +80,8 @@ export class StoreInfoCacheUpdater { } } + this.isMonitoring = true; + // Wait for all monitors to settle const monitorPromises = Array.from(this.monitors.values()); @@ -104,6 +106,7 @@ export class StoreInfoCacheUpdater { while (this.isMonitoring) { let peer: Peer | null = null; try { + console.log(`Monitoring store ${storeId}`); // Connect to a peer peer = await withTimeout( FullNodePeer.connect(), @@ -135,7 +138,7 @@ export class StoreInfoCacheUpdater { // Get the coinId associated with the store const coinId = getCoinId(latestStore.coin); - console.log(`Waiting for coin to be spent: ${coinId.toString("hex")}`); + console.log(`!!! Waiting for coin to be spent: ${coinId.toString("hex")}`); // Wait for the coin to be spent await peer.waitForCoinToBeSpent( From bfcf685258f38837871a9c1ad59d3ee2b8da6627 Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Thu, 3 Oct 2024 16:46:57 -0400 Subject: [PATCH 2/2] chore(release): 0.0.1-alpha.116 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9f4c9e..ac46ad6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.1-alpha.116](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.115...v0.0.1-alpha.116) (2024-10-03) + ### [0.0.1-alpha.115](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.114...v0.0.1-alpha.115) (2024-10-03) ### [0.0.1-alpha.114](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.113...v0.0.1-alpha.114) (2024-10-03) diff --git a/package-lock.json b/package-lock.json index b081265..49a88dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.115", + "version": "0.0.1-alpha.116", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.115", + "version": "0.0.1-alpha.116", "license": "ISC", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.29", diff --git a/package.json b/package.json index b1e3133..8a15615 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.115", + "version": "0.0.1-alpha.116", "description": "", "type": "commonjs", "main": "./dist/index.js",