@hashgraphonline/standards-sdk 0.0.33 → 0.0.34
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,5 @@
|
|
|
1
|
-
import { AccountId, Client } from '@hashgraph/sdk';
|
|
1
|
+
import { AccountId, Client, Signer } from '@hashgraph/sdk';
|
|
2
2
|
import { LogLevel } from '../utils/logger';
|
|
3
|
-
import { DAppSigner } from '@hashgraph/hedera-wallet-connect';
|
|
4
3
|
export declare enum ProfileType {
|
|
5
4
|
PERSONAL = 0,
|
|
6
5
|
AI_AGENT = 1
|
|
@@ -71,7 +70,7 @@ export type HCS11Profile = PersonalProfile | AIAgentProfile;
|
|
|
71
70
|
export interface HCS11Auth {
|
|
72
71
|
operatorId: string;
|
|
73
72
|
privateKey?: string;
|
|
74
|
-
signer?:
|
|
73
|
+
signer?: Signer;
|
|
75
74
|
}
|
|
76
75
|
export interface HCS11ClientConfig {
|
|
77
76
|
network: 'mainnet' | 'testnet';
|
|
@@ -31868,7 +31868,10 @@ class HCS11Client {
|
|
|
31868
31868
|
network: this.network
|
|
31869
31869
|
},
|
|
31870
31870
|
inscriptionOptions
|
|
31871
|
-
) :
|
|
31871
|
+
) : (
|
|
31872
|
+
// @ts-ignore
|
|
31873
|
+
await inscribeWithSigner(input, this.auth.signer, inscriptionOptions)
|
|
31874
|
+
);
|
|
31872
31875
|
if (!inscriptionResponse.confirmed || !inscriptionResponse.inscription.topic_id) {
|
|
31873
31876
|
return {
|
|
31874
31877
|
profileTopicId: "",
|