@witnium/witniumchain 0.28.2 → 0.29.0

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.
package/README.md CHANGED
@@ -100,8 +100,8 @@ const client = new WitniumchainClient({
100
100
  await client.proposeWitnessV5('0xabc', { ... });
101
101
 
102
102
  // Reads of on-chain state → chain-api (chainBaseUrl)
103
- const witness = await client.getWitnessV5('0xabc', witnessId);
104
- const balance = await client.getWalletBalance('0xabc');
103
+ const witness = await client.getWitnessV5('0xabc', witnessId); // public
104
+ const page = await client.listWitnessesV5('0xabc'); // the registry owner's (accessToken)
105
105
  ```
106
106
 
107
107
  If you call a chain-api method without `chainBaseUrl` configured, the SDK