Skip to content

Commit

Permalink
Merge pull request #182 from DIG-Network/release/v0.0.1-alpha.193
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.193
  • Loading branch information
MichaelTaylor3D authored Nov 16, 2024
2 parents a3d8cce + 42848c8 commit 0edb936
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 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.193](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.192...v0.0.1-alpha.193) (2024-11-16)


### Bug Fixes

* temp store fix ([8204ef7](https://github.com/DIG-Network/dig-chia-sdk/commit/8204ef745b78520da45c539e818819b16628eb26))

### [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)


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.192",
"version": "0.0.1-alpha.193",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/utils/Udi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ class Udi {
return input + "=".repeat(paddingNeeded);
}

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

if (this._rootHashHex) {
const rootHashStr = this.formatBufferAsEncoding(
this._rootHashHex,
encoding
"hex"
);
urn += `:${rootHashStr}`;
}
Expand Down
4 changes: 3 additions & 1 deletion src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ export const getStoresList = (): string[] => {
return folders.filter(
(folder) =>
/^[a-f0-9]{64}$/.test(folder) &&
fs.lstatSync(path.join(STORE_PATH, folder)).isDirectory()
fs.lstatSync(path.join(STORE_PATH, folder)).isDirectory() &&
// temp fix to remove folder that is causing issues
folder !== "a3f1b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f80")
);

Check failure on line 115 in src/utils/config.ts

View workflow job for this annotation

GitHub Actions / Build and Publish to npm

Declaration or statement expected.
};

Check failure on line 116 in src/utils/config.ts

View workflow job for this annotation

GitHub Actions / Build and Publish to npm

Declaration or statement expected.

Expand Down

0 comments on commit 0edb936

Please sign in to comment.