Skip to content

Commit 0edb936

Browse files
Merge pull request #182 from DIG-Network/release/v0.0.1-alpha.193
Release/v0.0.1 alpha.193
2 parents a3d8cce + 42848c8 commit 0edb936

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
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.193](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.192...v0.0.1-alpha.193) (2024-11-16)
6+
7+
8+
### Bug Fixes
9+
10+
* temp store fix ([8204ef7](https://github.com/DIG-Network/dig-chia-sdk/commit/8204ef745b78520da45c539e818819b16628eb26))
11+
512
### [0.0.1-alpha.192](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.191...v0.0.1-alpha.192) (2024-11-01)
613

714

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.192",
3+
"version": "0.0.1-alpha.193",
44
"description": "",
55
"type": "commonjs",
66
"main": "./dist/index.js",

src/utils/Udi.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ class Udi {
8383
return input + "=".repeat(paddingNeeded);
8484
}
8585

86-
toUrn(encoding: "hex" | "base32" = "hex"): string {
87-
const storeIdStr = this.formatBufferAsEncoding(this._storeIdHex, encoding);
86+
toUrn(): string {
87+
const storeIdStr = this.formatBufferAsEncoding(this._storeIdHex, "hex");
8888
let urn = `${Udi.namespace}:${this.chainName}:${storeIdStr}`;
8989

9090
if (this._rootHashHex) {
9191
const rootHashStr = this.formatBufferAsEncoding(
9292
this._rootHashHex,
93-
encoding
93+
"hex"
9494
);
9595
urn += `:${rootHashStr}`;
9696
}

src/utils/config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ export const getStoresList = (): string[] => {
109109
return folders.filter(
110110
(folder) =>
111111
/^[a-f0-9]{64}$/.test(folder) &&
112-
fs.lstatSync(path.join(STORE_PATH, folder)).isDirectory()
112+
fs.lstatSync(path.join(STORE_PATH, folder)).isDirectory() &&
113+
// temp fix to remove folder that is causing issues
114+
folder !== "a3f1b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f80")
113115
);
114116
};
115117

0 commit comments

Comments
 (0)