@hashgraphonline/hashinal-wc 1.0.92-canary-2 → 1.0.94

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
@@ -642,6 +642,7 @@ Version 1.0.58 and onward correlate with the NPM Package version.
642
642
  | v1.0.86 | 0.0.7770334 | UMD |
643
643
  | v1.0.88 | 0.0.7797532 | UMD |
644
644
  | v1.0.89 | 0.0.7812387 | UMD |
645
+ | v1.0.92 | 0.0.8084872 | UMD |
645
646
 
646
647
  ## Contributing
647
648
 
@@ -6001,9 +6001,9 @@ class HashinalsWalletConnectSDK {
6001
6001
  let transaction = await new TokenMintTransaction().setTokenId(tokenId).setMetadata([Buffer$1.from(metadata, "utf-8")]).sign(supplyKey);
6002
6002
  return this.executeTransaction(transaction);
6003
6003
  }
6004
- async getMessages(topicId, lastTimestamp, disableTimestampFilter = false) {
6004
+ async getMessages(topicId, lastTimestamp, disableTimestampFilter = false, network) {
6005
6005
  var _a, _b;
6006
- const networkPrefix = this.getNetworkPrefix();
6006
+ const networkPrefix = network || this.getNetworkPrefix();
6007
6007
  const baseUrl = `https://${networkPrefix}.mirrornode.hedera.com`;
6008
6008
  const timestampQuery = Number(lastTimestamp) > 0 && !disableTimestampFilter ? `&timestamp=gt:${lastTimestamp}` : "";
6009
6009
  const url = `${baseUrl}/api/v1/topics/${topicId}/messages?limit=200${timestampQuery}`;