@hashgraphonline/standards-agent-kit 0.2.159 → 0.2.161
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/cjs/builders/inscriber/inscriber-builder.d.ts +4 -3
- package/dist/cjs/standards-agent-kit.cjs +1 -1
- package/dist/cjs/standards-agent-kit.cjs.map +1 -1
- package/dist/es/builders/inscriber/inscriber-builder.d.ts +4 -3
- package/dist/es/standards-agent-kit.es48.js +7 -3
- package/dist/es/standards-agent-kit.es48.js.map +1 -1
- package/dist/es/standards-agent-kit.es49.js +3 -7
- package/dist/es/standards-agent-kit.es49.js.map +1 -1
- package/dist/es/standards-agent-kit.es6.js +1 -1
- package/dist/es/standards-agent-kit.es7.js +1 -1
- package/dist/es/standards-agent-kit.es8.js +33 -20
- package/dist/es/standards-agent-kit.es8.js.map +1 -1
- package/dist/es/standards-agent-kit.es9.js +1 -1
- package/dist/umd/builders/inscriber/inscriber-builder.d.ts +4 -3
- package/dist/umd/standards-agent-kit.umd.js +1 -1
- package/dist/umd/standards-agent-kit.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/builders/inscriber/inscriber-builder.ts +54 -27
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseServiceBuilder, HederaAgentKit, AgentOperationalMode } from 'hedera-agent-kit';
|
|
2
2
|
import { InscriptionInput, InscriptionOptions, InscriptionResponse, RetrievedInscriptionResult } from '@hashgraphonline/standards-sdk';
|
|
3
|
-
import {
|
|
3
|
+
import { InscriptionSDK, InscriptionResult } from '@kiloscribe/inscription-sdk';
|
|
4
4
|
/**
|
|
5
5
|
* Type definition for DAppSigner interface compatible with inscription SDK
|
|
6
6
|
*/
|
|
@@ -27,8 +27,9 @@ export interface CompletedInscriptionResponse {
|
|
|
27
27
|
/**
|
|
28
28
|
* Builder for Inscription operations
|
|
29
29
|
*/
|
|
30
|
+
type InscriptionSDKInstance = InstanceType<typeof InscriptionSDK>;
|
|
30
31
|
export declare class InscriberBuilder extends BaseServiceBuilder {
|
|
31
|
-
protected inscriptionSDK?:
|
|
32
|
+
protected inscriptionSDK?: InscriptionSDKInstance;
|
|
32
33
|
private static signerProvider?;
|
|
33
34
|
private static walletInfoResolver?;
|
|
34
35
|
private static startInscriptionDelegate?;
|
|
@@ -57,7 +58,7 @@ export declare class InscriberBuilder extends BaseServiceBuilder {
|
|
|
57
58
|
/**
|
|
58
59
|
* Get or create Inscription SDK
|
|
59
60
|
*/
|
|
60
|
-
protected getInscriptionSDK(_options: InscriptionOptions): Promise<
|
|
61
|
+
protected getInscriptionSDK(_options: InscriptionOptions): Promise<InscriptionSDKInstance | null>;
|
|
61
62
|
/**
|
|
62
63
|
* Inscribe content using server-side authentication
|
|
63
64
|
*/
|