Skip to content

Commit

Permalink
Merge pull request #65 from DIG-Network/release/v0.0.1-alpha.70
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.70
  • Loading branch information
MichaelTaylor3D authored Sep 23, 2024
2 parents b960b44 + 1c6fe0c commit 86f8ea8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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


### Bug Fixes

* bad propagation server constructor ([8fdf32b](https://github.com/DIG-Network/dig-chia-sdk/commit/8fdf32b0cf350b267c397d167b1a8e36c6ae87f9))

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


### Bug Fixes

* propagation server consturctor ([3904426](https://github.com/DIG-Network/dig-chia-sdk/commit/39044268152a179d30afea10ebbc0f0bc080d7aa))

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


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.68",
"version": "0.0.1-alpha.70",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
5 changes: 0 additions & 5 deletions src/DigNetwork/DigPeer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ import {
import { FullNodePeer } from "../blockchain";
import { Wallet } from "../blockchain";
import { selectUnspentCoins } from "../blockchain/coins";
import { STORE_PATH } from "../utils/config";
import { promisify } from "util";

const rename = promisify(fs.rename);
const unlink = promisify(fs.unlink);

export class DigPeer {
private ipAddress: string;
Expand Down
6 changes: 3 additions & 3 deletions src/DigNetwork/PropagationServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class PropagationServer {
cliProgress.Presets.shades_classic
);

constructor(storeId: string, ipAddress: string) {
constructor(ipAddress: string, storeId: string) {
this.storeId = storeId;
this.sessionId = ""; // Session ID will be set after starting the upload session
this.publicKey = ""; // Public key will be set after initializing the wallet
Expand Down Expand Up @@ -360,7 +360,7 @@ export class PropagationServer {
rootHash: string,
ipAddress: string
) {
const propagationServer = new PropagationServer(storeId, ipAddress);
const propagationServer = new PropagationServer(ipAddress, storeId);

// Initialize wallet
await propagationServer.initializeWallet();
Expand Down Expand Up @@ -575,7 +575,7 @@ export class PropagationServer {
rootHash: string,
ipAddress: string
) {
const propagationServer = new PropagationServer(storeId, ipAddress);
const propagationServer = new PropagationServer(ipAddress, storeId);

// Initialize wallet
await propagationServer.initializeWallet();
Expand Down

0 comments on commit 86f8ea8

Please sign in to comment.