validator0x 0.1.0 → 0.1.1

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/README.md +10 -43
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -53,50 +53,17 @@ console.log(chain); // "bitcoin"
53
53
  - Taproot (P2TR): Starts with `bc1p`.
54
54
  - **Polygon**: Same as Ethereum validation rules.
55
55
 
56
- ## Development
56
+ ## Test Coverage
57
57
 
58
- ```bash
59
- npm install
60
- npm test
61
- npm run build
62
- ```
63
-
64
- ## Contributing
65
-
66
- We welcome contributions! Please follow these steps to set up your development environment:
67
-
68
- 1. **Clone the repository**:
69
- ```bash
70
- git clone https://github.com/Samarth208P/validator0x.git
71
- cd validator0x
72
- ```
73
-
74
- 2. **Install dependencies**:
75
- ```bash
76
- npm install
77
- # Note: We use dev-dependencies for testing and building.
78
- # The core package is zero-dependency.
79
- ```
80
-
81
- 3. **Run Tests**:
82
- ```bash
83
- npm test
84
- # Run specific test file
85
- npx jest tests/ethereum.test.ts
86
- ```
87
-
88
- 4. **Lint & Format**:
89
- ```bash
90
- npm run lint
91
- npm run format
92
- ```
93
-
94
- 5. **Build**:
95
- ```bash
96
- npm run build
97
- # Output will be in /dist
98
- ```
58
+ | Category | Statements | Branches | Functions | Lines |
59
+ | :--- | :--- | :--- | :--- | :--- |
60
+ | **All Files** | **88.01%** | **77.23%** | **96.55%** | **89.21%** |
61
+ | Detectors | 100% | 100% | 100% | 100% |
62
+ | Formatters | 100% | 100% | 100% | 100% |
63
+ | Security | 100% | 100% | 100% | 100% |
64
+ | Utils | 94.26% | 80.55% | 100% | 98.03% |
65
+ | Validators | 78.46% | 65.57% | 92.30% | 78.90% |
99
66
 
100
67
  ## License
101
68
 
102
- MIT
69
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "validator0x",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Multi-chain wallet address validator and formatter for Ethereum, Solana, Bitcoin, and Polygon. Prevents sending crypto to invalid addresses.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",