Skip to content

Commit 4cf153b

Browse files
Merge pull request #27 from DIG-Network/release/v0.0.1-alpha.28
Release/v0.0.1 alpha.28
2 parents 5be6a30 + a86c7af commit 4cf153b

File tree

6 files changed

+80
-12
lines changed

6 files changed

+80
-12
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
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.
44

5+
### [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)
6+
57
### [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)
68

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

package-lock.json

Lines changed: 73 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dignetwork/dig-chia-cli",
3-
"version": "0.0.1-alpha.27",
3+
"version": "0.0.1-alpha.28",
44
"description": "",
55
"type": "commonjs",
66
"main": "./dist/index.js",
@@ -24,7 +24,7 @@
2424
"LICENSE"
2525
],
2626
"dependencies": {
27-
"@dignetwork/dig-sdk": "^0.0.1-alpha.52",
27+
"@dignetwork/dig-sdk": "^0.0.1-alpha.58",
2828
"bip39": "^3.1.0",
2929
"datalayer-driver": "^0.1.21",
3030
"inquirer": "^10.1.8",

src/actions/clone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const clone = async (
2929
const digNetwork = new DigNetwork(storeId);
3030

3131
// Pull files from the network using DigNetwork
32-
await digNetwork.downloadFiles();
32+
await digNetwork.syncStoreFromPeers();
3333
} catch (error: any) {
3434
console.error(error.message);
3535
process.exit(1); // Exit the process with an error code

src/actions/pull.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ export const pull = async (): Promise<void> => {
1111
const digNetwork = new DigNetwork(dataStore.StoreId);
1212

1313
// Pull files from the network using DigNetwork's downloadFiles method
14-
await digNetwork.downloadFiles();
14+
await digNetwork.syncStoreFromPeers();
1515
};

src/actions/push.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ export const push = async (): Promise<void> => {
4848
}
4949

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

5354
} catch (error: any) {
5455
console.error(`Push failed: ${error.message}`);
55-
} finally {
56-
process.exit();
5756
}
5857
};

0 commit comments

Comments
 (0)