@hashgraphonline/standards-sdk 0.0.24 → 0.0.26
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/dist/es/hcs-10/browser.d.ts +5 -1
- package/dist/es/hcs-10/sdk.d.ts +6 -4
- package/dist/es/standards-sdk.es.js +13 -42
- package/dist/es/standards-sdk.es.js.map +1 -1
- package/dist/umd/hcs-10/browser.d.ts +5 -1
- package/dist/umd/hcs-10/sdk.d.ts +6 -4
- package/dist/umd/standards-sdk.umd.js +1 -1
- package/dist/umd/standards-sdk.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -67,7 +67,11 @@ export declare class BrowserHCSClient extends HCS10BaseClient {
|
|
|
67
67
|
success: boolean;
|
|
68
68
|
}>;
|
|
69
69
|
createAndRegisterAgent(name: string, description: string, capabilities: number[], metadata: AgentMetadata, pfpBuffer: Buffer, pfpFileName: string, network: NetworkType, existingPfpTopicId?: string): Promise<BrowserAgentConfig>;
|
|
70
|
-
registerAgentWithGuardedRegistry(accountId: string, inboundTopicId: string, network?: string,
|
|
70
|
+
registerAgentWithGuardedRegistry(accountId: string, inboundTopicId: string, network?: string, options?: {
|
|
71
|
+
progressCallback?: RegistrationProgressCallback;
|
|
72
|
+
maxAttempts?: number;
|
|
73
|
+
delayMs?: number;
|
|
74
|
+
}): Promise<{
|
|
71
75
|
error?: string;
|
|
72
76
|
success: boolean;
|
|
73
77
|
transaction?: any;
|
package/dist/umd/hcs-10/sdk.d.ts
CHANGED
|
@@ -148,12 +148,14 @@ export declare class HCS10Client extends HCS10BaseClient {
|
|
|
148
148
|
* @param accountId Account ID to register
|
|
149
149
|
* @param inboundTopicId Inbound topic ID for the agent
|
|
150
150
|
* @param network Network type ('mainnet' or 'testnet')
|
|
151
|
-
* @param
|
|
152
|
-
* @param maxAttemptsOrDelayMs Optional maximum attempts for confirmation or delay between attempts
|
|
153
|
-
* @param delayMsParam Optional delay between confirmation attempts
|
|
151
|
+
* @param options Optional configuration including progress callback and confirmation settings
|
|
154
152
|
* @returns Registration result
|
|
155
153
|
*/
|
|
156
|
-
registerAgentWithGuardedRegistry(accountId: string, inboundTopicId: string, network?: string,
|
|
154
|
+
registerAgentWithGuardedRegistry(accountId: string, inboundTopicId: string, network?: string, options?: {
|
|
155
|
+
progressCallback?: RegistrationProgressCallback;
|
|
156
|
+
maxAttempts?: number;
|
|
157
|
+
delayMs?: number;
|
|
158
|
+
}): Promise<AgentRegistrationResult>;
|
|
157
159
|
/**
|
|
158
160
|
* Registers an agent with the guarded registry. Should be called by a registry.
|
|
159
161
|
* @param registryTopicId - The topic ID of the guarded registry.
|