Skip to content

Commit

Permalink
Merge pull request #9 from DIG-Network/release/v0.0.1-alpha.9
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.9
  • Loading branch information
MichaelTaylor3D authored Sep 10, 2024
2 parents b97a5f4 + 742aa22 commit 0d73615
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 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.9](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.8...v0.0.1-alpha.9) (2024-09-10)


### Bug Fixes

* set dig config when doesnt exist ([69f3dd6](https://github.com/DIG-Network/dig-chia-sdk/commit/69f3dd62c7499b9e19088e57ae3e5857baf4c8f5))

### [0.0.1-alpha.8](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.7...v0.0.1-alpha.8) (2024-09-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.8",
"version": "0.0.1-alpha.9",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
2 changes: 2 additions & 0 deletions src/blockchain/FullNodePeer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ export class FullNodePeer {
// If the error is WebSocket-related or timeout, reset the peer
if (error.message.includes("WebSocket") || error.message.includes("Operation timed out")) {
FullNodePeer.cachedPeer = null;
// @ts-ignore
FullNodePeer.memoizedFetchNewPeerIPs.cache.clear();
const newPeer = await FullNodePeer.getBestPeer();
return (newPeer as any)[prop](...args);
}
Expand Down

0 comments on commit 0d73615

Please sign in to comment.