@hashgraphonline/hashinal-wc 1.0.87 → 1.0.88
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 +1 -0
- package/dist/es/hashinal-wc.es.js +69 -5
- package/dist/es/hashinal-wc.es.js.map +1 -1
- package/dist/es/index.d.ts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/umd/hashinal-wc.umd.js +1 -1
- package/dist/umd/hashinal-wc.umd.js.map +1 -1
- package/dist/umd/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/umd/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ declare class HashinalsWalletConnectSDK {
|
|
|
9
9
|
private static dAppConnectorInstance;
|
|
10
10
|
private logger;
|
|
11
11
|
private network;
|
|
12
|
+
private extensionCheckInterval;
|
|
13
|
+
private hasCalledExtensionCallback;
|
|
12
14
|
get dAppConnector(): DAppConnector;
|
|
13
15
|
constructor(logger?: ILogger, network?: LedgerId);
|
|
14
16
|
static getInstance(logger?: ILogger, network?: LedgerId): HashinalsWalletConnectSDK;
|
|
@@ -54,10 +56,13 @@ declare class HashinalsWalletConnectSDK {
|
|
|
54
56
|
session: SessionTypes.Struct;
|
|
55
57
|
}>;
|
|
56
58
|
disconnectWallet(clearStorage?: boolean): Promise<boolean>;
|
|
57
|
-
initAccount(PROJECT_ID: string, APP_METADATA: SignClientTypes.Metadata): Promise<{
|
|
59
|
+
initAccount(PROJECT_ID: string, APP_METADATA: SignClientTypes.Metadata, networkOverride?: LedgerId, onSessionIframeCreated?: (session: SessionTypes.Struct) => void): Promise<{
|
|
58
60
|
accountId: string;
|
|
59
61
|
balance: string;
|
|
60
62
|
} | null>;
|
|
63
|
+
subscribeToExtensions(callback: (extension: any) => void): () => void;
|
|
64
|
+
connectViaDappBrowser(): Promise<void>;
|
|
65
|
+
private connectToExtension;
|
|
61
66
|
private ensureInitialized;
|
|
62
67
|
static run(): void;
|
|
63
68
|
transferToken(tokenId: string, fromAccountId: string, toAccountId: string, amount: number): Promise<TransactionReceipt>;
|
package/package.json
CHANGED