Skip to content

Commit

Permalink
Merge pull request #27 from DIG-Network/release/v0.0.1-alpha.28
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.28
  • Loading branch information
MichaelTaylor3D authored Sep 22, 2024
2 parents 5be6a30 + a86c7af commit 4cf153b
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 12 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.28](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.27...v0.0.1-alpha.28) (2024-09-22)

### [0.0.1-alpha.27](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.26...v0.0.1-alpha.27) (2024-09-20)

### [0.0.1-alpha.26](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.25...v0.0.1-alpha.26) (2024-09-20)
Expand Down
79 changes: 73 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dignetwork/dig-chia-cli",
"version": "0.0.1-alpha.27",
"version": "0.0.1-alpha.28",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand All @@ -24,7 +24,7 @@
"LICENSE"
],
"dependencies": {
"@dignetwork/dig-sdk": "^0.0.1-alpha.52",
"@dignetwork/dig-sdk": "^0.0.1-alpha.58",
"bip39": "^3.1.0",
"datalayer-driver": "^0.1.21",
"inquirer": "^10.1.8",
Expand Down
2 changes: 1 addition & 1 deletion src/actions/clone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const clone = async (
const digNetwork = new DigNetwork(storeId);

// Pull files from the network using DigNetwork
await digNetwork.downloadFiles();
await digNetwork.syncStoreFromPeers();
} catch (error: any) {
console.error(error.message);
process.exit(1); // Exit the process with an error code
Expand Down
2 changes: 1 addition & 1 deletion src/actions/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export const pull = async (): Promise<void> => {
const digNetwork = new DigNetwork(dataStore.StoreId);

// Pull files from the network using DigNetwork's downloadFiles method
await digNetwork.downloadFiles();
await digNetwork.syncStoreFromPeers();
};
3 changes: 1 addition & 2 deletions src/actions/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ export const push = async (): Promise<void> => {
}

const digPeer = new DigPeer(config.remote, dataStore.StoreId);
console.log(`Pushing to ${config.remote}...`);
await digPeer.syncStore();

} catch (error: any) {
console.error(`Push failed: ${error.message}`);
} finally {
process.exit();
}
};

0 comments on commit 4cf153b

Please sign in to comment.