@hashgraphonline/standards-sdk 0.0.31 → 0.0.33

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.
@@ -1,6 +1,6 @@
1
+ import { AccountResponse, HederaMirrorNode, TopicInfo } from '../services/mirror-node';
1
2
  import { Logger, LogLevel } from '../utils/logger';
2
3
  import { Registration } from './registrations';
3
- import { HederaMirrorNode, TopicInfo, AccountResponse } from '../services/mirror-node';
4
4
  export interface HCS10Config {
5
5
  network: 'mainnet' | 'testnet';
6
6
  logLevel?: LogLevel;
@@ -54,6 +54,12 @@ export declare abstract class HCS10BaseClient extends Registration {
54
54
  retrieveOutboundMessages(agentAccountId: string): Promise<HCSMessage[]>;
55
55
  hasConnectionCreated(agentAccountId: string, connectionId: number): Promise<boolean>;
56
56
  clearCache(): void;
57
+ /**
58
+ * Gets message content, resolving any HRL references if needed
59
+ * @param data The message data which might be an HRL reference
60
+ * @returns The resolved content
61
+ */
62
+ getMessageContent(data: string): Promise<string>;
57
63
  }
58
64
  export declare class HCS10Cache {
59
65
  private static instance;
@@ -5,3 +5,5 @@ export * from './hcs-11';
5
5
  export * from './utils';
6
6
  export * from './inscribe';
7
7
  export * from './services';
8
+ export declare const isBrowser: boolean;
9
+ export declare const isServer: boolean;
@@ -133,6 +133,7 @@ export declare class HederaMirrorNode {
133
133
  private network;
134
134
  private baseUrl;
135
135
  private logger?;
136
+ private isServerEnvironment;
136
137
  constructor(network: NetworkType, logger?: Logger);
137
138
  private getMirrorNodeUrl;
138
139
  getBaseUrl(): string;