@ecency/sdk 2.3.76 → 2.3.77
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/browser/index.d.ts
CHANGED
|
@@ -990,7 +990,7 @@ declare function useBroadcastMutation<T>(mutationKey: MutationKey | undefined, u
|
|
|
990
990
|
broadcastMode?: BroadcastMode;
|
|
991
991
|
}): _tanstack_react_query.UseMutationResult<unknown, Error, T, unknown>;
|
|
992
992
|
|
|
993
|
-
declare function broadcastJson<T>(username: string | undefined, id: string, payload: T, auth?:
|
|
993
|
+
declare function broadcastJson<T>(username: string | undefined, id: string, payload: T, auth?: AuthContextV2): Promise<any>;
|
|
994
994
|
|
|
995
995
|
/**
|
|
996
996
|
* Delay (ms) before invalidating chain-derived queries after an async
|
|
@@ -2255,7 +2255,7 @@ interface CommonPayload$1 {
|
|
|
2255
2255
|
type RevokePostingOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload$1>, "onSuccess" | "onError"> & {
|
|
2256
2256
|
hsCallbackUrl?: string;
|
|
2257
2257
|
};
|
|
2258
|
-
declare function useAccountRevokePosting(username: string | undefined, options: RevokePostingOptions, auth?:
|
|
2258
|
+
declare function useAccountRevokePosting(username: string | undefined, options: RevokePostingOptions, auth?: AuthContextV2): _tanstack_react_query.UseMutationResult<string | void | TransactionConfirmation, Error, CommonPayload$1, unknown>;
|
|
2259
2259
|
|
|
2260
2260
|
type SignType = "key" | "keychain" | "hivesigner" | "ecency";
|
|
2261
2261
|
interface CommonPayload {
|
|
@@ -2267,7 +2267,7 @@ interface CommonPayload {
|
|
|
2267
2267
|
type UpdateRecoveryOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload>, "onSuccess" | "onError"> & {
|
|
2268
2268
|
hsCallbackUrl?: string;
|
|
2269
2269
|
};
|
|
2270
|
-
declare function useAccountUpdateRecovery(username: string | undefined, code: string | undefined, options: UpdateRecoveryOptions, auth?:
|
|
2270
|
+
declare function useAccountUpdateRecovery(username: string | undefined, code: string | undefined, options: UpdateRecoveryOptions, auth?: AuthContextV2): _tanstack_react_query.UseMutationResult<string | void | Response | TransactionConfirmation, Error, CommonPayload, unknown>;
|
|
2271
2271
|
|
|
2272
2272
|
interface Payload {
|
|
2273
2273
|
currentKey: PrivateKey;
|
|
@@ -3028,7 +3028,7 @@ declare function useSignOperationByKey(username: string | undefined): _tanstack_
|
|
|
3028
3028
|
keyOrSeed: string;
|
|
3029
3029
|
}, unknown>;
|
|
3030
3030
|
|
|
3031
|
-
declare function useSignOperationByKeychain(username: string | undefined, auth?:
|
|
3031
|
+
declare function useSignOperationByKeychain(username: string | undefined, auth?: AuthContextV2, keyType?: "owner" | "active" | "posting" | "memo"): _tanstack_react_query.UseMutationResult<TransactionConfirmation, Error, {
|
|
3032
3032
|
operation: Operation;
|
|
3033
3033
|
}, unknown>;
|
|
3034
3034
|
|