@viwoapp/sdk 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/README.md +8 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,15 +5,16 @@
5
5
 
6
6
  TypeScript SDK for VCoin Protocol Integration on Solana.
7
7
 
8
- **Version:** 0.1.3 (Phase 5 Security Update)
8
+ **Version:** 0.1.4 (Phase 5 Security Update)
9
9
 
10
- ## What's New in v0.1.2
10
+ ## What's New in v0.1.4
11
11
 
12
12
  - **New Constants:** `MERKLE_PROOF_MAX_SIZE`, `MAX_EPOCH_BITMAP`, `LEGACY_SLASH_DEPRECATED`
13
13
  - **New Enum:** `VoteChoice` for typed governance voting (Against, For, Abstain)
14
14
  - **Updated Types:** `SlashRequest` (added `requestId`), `UserClaim` (bitmap storage)
15
15
  - **Updated Docs:** `buildVoteTransaction` - voting power now verified on-chain
16
16
  - **SECURITY_CONSTANTS:** Added `merkleProofMaxSize`, `maxEpochBitmap`, `votingPowerVerifiedOnChain`
17
+ - **Full README:** Complete usage documentation for all modules
17
18
 
18
19
  ## What's New in v0.1.1
19
20
 
@@ -255,7 +256,7 @@ import {
255
256
  SECURITY_CONSTANTS,
256
257
  VALID_URI_PREFIXES,
257
258
  MERKLE_CONSTANTS,
258
- // v0.1.2 additions
259
+ // v0.1.4 additions
259
260
  MERKLE_PROOF_MAX_SIZE, // 32 - prevents DoS
260
261
  MAX_EPOCH_BITMAP, // 1023 - max epoch with bitmap
261
262
  LEGACY_SLASH_DEPRECATED, // true - use propose_slash flow
@@ -267,9 +268,9 @@ SECURITY_CONSTANTS.slashApprovalTimelock; // 48 hours
267
268
  SECURITY_CONSTANTS.maxFeeSlippageBps; // 500 (5%)
268
269
  SECURITY_CONSTANTS.oracleConsensusRequired; // 3-of-N
269
270
  SECURITY_CONSTANTS.circuitBreakerCooldown; // 6 hours
270
- SECURITY_CONSTANTS.merkleProofMaxSize; // 32 (v0.1.2)
271
- SECURITY_CONSTANTS.maxEpochBitmap; // 1023 (v0.1.2)
272
- SECURITY_CONSTANTS.votingPowerVerifiedOnChain; // true (v0.1.2)
271
+ SECURITY_CONSTANTS.merkleProofMaxSize; // 32 (v0.1.4)
272
+ SECURITY_CONSTANTS.maxEpochBitmap; // 1023 (v0.1.4)
273
+ SECURITY_CONSTANTS.votingPowerVerifiedOnChain; // true (v0.1.4)
273
274
  ```
274
275
 
275
276
  ## Types
@@ -286,7 +287,7 @@ import type {
286
287
  Proposal,
287
288
  VoteRecord,
288
289
  ProposalStatus,
289
- VoteChoice, // v0.1.2: Against, For, Abstain
290
+ VoteChoice, // v0.1.4: Against, For, Abstain
290
291
  GovernanceConfig,
291
292
  Delegation,
292
293
  PrivateVotingConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viwoapp/sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "ViWoApp SDK - TypeScript SDK for VCoin Protocol Integration",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",