Skip to content

Commit 248d91b

Browse files
Merge pull request #14 from DIG-Network/release/v0.0.1-alpha.15
Release/v0.0.1 alpha.15
2 parents 50538a7 + 4d195da commit 248d91b

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
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.15](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.14...v0.0.1-alpha.15) (2024-09-10)
6+
57
### [0.0.1-alpha.14](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.11...v0.0.1-alpha.14) (2024-09-10)
68

79
### [0.0.1-alpha.13](https://github.com/DIG-Network/dig-cli/compare/v0.0.1-alpha.11...v0.0.1-alpha.13) (2024-09-10)

package-lock.json

Lines changed: 6 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.14",
3+
"version": "0.0.1-alpha.15",
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.5",
27+
"@dignetwork/dig-sdk": "^0.0.1-alpha.6",
2828
"bip39": "^3.1.0",
2929
"datalayer-driver": "^0.1.21",
3030
"inquirer": "^10.1.8",

src/actions/clone.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import {
99
DataStore,
1010
} from "@dignetwork/dig-sdk";
1111

12-
export const clone = async (storeId: string, skipData: boolean = false): Promise<void> => {
12+
export const clone = async (
13+
storeId: string,
14+
skipData: boolean = false
15+
): Promise<void> => {
1316
console.log(`Cloning store: ${storeId}`);
1417

1518
const storeDir = path.join(DIG_FOLDER_PATH, "stores", storeId);
@@ -33,6 +36,11 @@ export const clone = async (storeId: string, skipData: boolean = false): Promise
3336

3437
const dataStore = DataStore.from(storeId);
3538

39+
if (skipData) {
40+
console.log("Skipping store integrity check due to --skip-data flag.");
41+
return;
42+
}
43+
3644
try {
3745
// Perform the store integrity check after pulling files
3846
const storeIntegrityCheck = await waitForPromise(

src/actions/commit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export const commit = async (): Promise<void> => {
7171
await FullNodePeer.waitForConfirmation(
7272
updatedStoreInfo.coin.parentCoinInfo
7373
);
74+
7475
storeIntegrityCheck = await waitForPromise(
7576
() => dataStore.validate(),
7677
"Checking store integrity...",

0 commit comments

Comments
 (0)