finwipe 0.1.3 → 0.1.4

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 (2) hide show
  1. package/package.json +1 -1
  2. package/postinstall.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "finwipe",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "DIY Financial Data Deletion tool for India under DPDP Act 2023. Exercise your right to erasure against NBFCs, banks, and fintechs.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/postinstall.js CHANGED
@@ -3,7 +3,7 @@ const fs = require('fs');
3
3
  const path = require('path');
4
4
 
5
5
  const home = process.env.HOME;
6
- const destDir = path.join(home, '.finwipe', 'data');
6
+ const destDir = path.join(home, '.finwipe');
7
7
  const destFile = path.join(destDir, 'nbfcs.yaml');
8
8
 
9
9
  try {
@@ -11,7 +11,7 @@ try {
11
11
  const srcFile = path.join(__dirname, 'data', 'nbfcs.yaml');
12
12
  if (fs.existsSync(srcFile)) {
13
13
  fs.copyFileSync(srcFile, destFile);
14
- console.log('FinWipe: NBFC data initialized at ~/.finwipe/data/');
14
+ console.log('FinWipe: NBFC data initialized at ~/.finwipe/nbfcs.yaml');
15
15
  } else {
16
16
  console.log('FinWipe: NBFC data not found in package, skipping');
17
17
  }