Skip to content

Commit ebfad4f

Browse files
Merge pull request #104 from DIG-Network/release/v0.0.1-alpha.114
Release/v0.0.1 alpha.114
2 parents eaff458 + 8688a3e commit ebfad4f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
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.
44

5+
### [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)
6+
57
### [0.0.1-alpha.113](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.112...v0.0.1-alpha.113) (2024-10-03)
68

79

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dignetwork/dig-sdk",
3-
"version": "0.0.1-alpha.113",
3+
"version": "0.0.1-alpha.114",
44
"description": "",
55
"type": "commonjs",
66
"main": "./dist/index.js",

src/blockchain/StoreInfoCacheUpdater.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import fs from "fs";
12
import { FullNodePeer } from "./FullNodePeer";
23
import { FileCache, USER_DIR_PATH, DIG_FOLDER_PATH } from "../utils";
34
import { DataStoreSerializer } from "./DataStoreSerializer";
@@ -28,6 +29,11 @@ export class StoreInfoCacheUpdater {
2829
// Construct lock file path using the path module
2930
this.lockFilePath = path.join(DIG_FOLDER_PATH, "store-info-cache.lock");
3031

32+
if (fs.existsSync(this.lockFilePath)) {
33+
console.log("Removing existing lock file");
34+
fs.unlinkSync(this.lockFilePath);
35+
}
36+
3137
// Start monitors for existing storeIds
3238
this.startMonitors();
3339
}

0 commit comments

Comments
 (0)