Skip to content

Commit

Permalink
Merge pull request #153 from DIG-Network/release/v0.0.1-alpha.169
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.169
  • Loading branch information
MichaelTaylor3D authored Oct 10, 2024
2 parents d223616 + 85b325d commit b93a928
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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.169](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.168...v0.0.1-alpha.169) (2024-10-10)


### Bug Fixes

* listFilesRecursively ([9c9550d](https://github.com/DIG-Network/dig-chia-sdk/commit/9c9550d6fa141df1a5b1fd4f3efdbe96a7e0d5a4))

### [0.0.1-alpha.168](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.167...v0.0.1-alpha.168) (2024-10-10)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dignetwork/dig-sdk",
"version": "0.0.1-alpha.168",
"version": "0.0.1-alpha.169",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
7 changes: 0 additions & 7 deletions src/blockchain/StoreMonitorRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,19 +295,13 @@ export class StoreMonitorRegistry {
private async fetchAndCacheStoreInfo(
storeId: string
): Promise<StoreCacheEntry> {
console.log(
`Monitor: Fetching and caching latest store info for storeId: ${storeId}`
);

const peer = await FullNodePeer.connect();
const dataStore = DataStore.from(storeId);
const { createdAtHeight, createdAtHash } =
await dataStore.getCreationHeight();

// Sync store from the peer using launcher ID
console.log(
`Monitor: Syncing store from launcher ID for storeId: ${storeId}`
);
const { latestStore, latestHeight } = await peer.syncStoreFromLauncherId(
Buffer.from(storeId, "hex"),
createdAtHeight,
Expand All @@ -324,7 +318,6 @@ export class StoreMonitorRegistry {
latestHash
).serialize();

console.log(`Monitor: Caching new store info for storeId: ${storeId}`);
this.storeCoinCache.set(storeId, {
latestStore: serializedLatestStore,
latestHeight,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/directoryUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ type ListFilesResult = string[] | string[][];
* @param {number} [groupSize] - Optional. The number of files per group. If provided, the result will be an array of arrays.
* @returns {ListFilesResult} - A flat list of relative file paths or grouped lists based on `groupSize`.
*/
function listFilesRecursively(
export function listFilesRecursively(
baseDir: string,
groupSize?: number
): ListFilesResult {
Expand Down

0 comments on commit b93a928

Please sign in to comment.