diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b777ae..ea30109 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package-lock.json b/package-lock.json index d6ce899..e5e21fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.33", + "version": "0.0.1-alpha.34", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.33", + "version": "0.0.1-alpha.34", "license": "ISC", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.24", diff --git a/package.json b/package.json index e7088cd..16d0ad0 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/DigNetwork/ContentServer.ts b/src/DigNetwork/ContentServer.ts index 84b2883..4a816b0 100644 --- a/src/DigNetwork/ContentServer.ts +++ b/src/DigNetwork/ContentServer.ts @@ -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) @@ -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 { diff --git a/src/DigNetwork/DigNetwork.ts b/src/DigNetwork/DigNetwork.ts index ed934b5..950d2a5 100644 --- a/src/DigNetwork/DigNetwork.ts +++ b/src/DigNetwork/DigNetwork.ts @@ -178,7 +178,7 @@ export class DigNetwork { hasRootHash: rootHash, }); - console.log(peerIp, storeResponse.headers); + console.log(peerIp, storeResponse, storeResponse.headers); if ( storeResponse.success &&