Skip to content

Commit

Permalink
Merge pull request #32 from DIG-Network/release/v0.0.1-alpha.34
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.34
  • Loading branch information
MichaelTaylor3D authored Sep 19, 2024
2 parents d30681c + 892eb22 commit b1666e2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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.34](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.33...v0.0.1-alpha.34) (2024-09-19)

### [0.0.1-alpha.33](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.32...v0.0.1-alpha.33) (2024-09-19)


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.33",
"version": "0.0.1-alpha.34",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/DigNetwork/ContentServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class ContentServer {
key: string
): Promise<{ success: boolean; headers?: http.IncomingHttpHeaders }> {
const url = `https://${this.ipAddress}/${this.storeId}/${key}`;
return this.head(url); // Return the object from head method
return this.head(url);
}

// Method to check if a specific store exists (HEAD request)
Expand All @@ -93,7 +93,7 @@ export class ContentServer {
url += `?hasRootHash=${options.hasRootHash}`;
}

return this.head(url); // Return the object from head method
return this.head(url);
}

public streamKey(key: string): Promise<Readable> {
Expand Down
2 changes: 1 addition & 1 deletion src/DigNetwork/DigNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class DigNetwork {
hasRootHash: rootHash,
});

console.log(peerIp, storeResponse.headers);
console.log(peerIp, storeResponse, storeResponse.headers);

if (
storeResponse.success &&
Expand Down

0 comments on commit b1666e2

Please sign in to comment.