@ecency/sdk 2.0.34 → 2.0.36
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
|
@@ -1188,7 +1188,9 @@ interface CommonPayload$1 {
|
|
|
1188
1188
|
type: SignType$1;
|
|
1189
1189
|
key?: PrivateKey;
|
|
1190
1190
|
}
|
|
1191
|
-
type RevokePostingOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload$1>, "onSuccess" | "onError"
|
|
1191
|
+
type RevokePostingOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload$1>, "onSuccess" | "onError"> & {
|
|
1192
|
+
hsCallbackUrl?: string;
|
|
1193
|
+
};
|
|
1192
1194
|
declare function useAccountRevokePosting(username: string | undefined, options: RevokePostingOptions, auth?: AuthContext): _tanstack_react_query.UseMutationResult<unknown, Error, CommonPayload$1, unknown>;
|
|
1193
1195
|
|
|
1194
1196
|
type SignType = "key" | "keychain" | "hivesigner" | "ecency";
|
|
@@ -1198,7 +1200,9 @@ interface CommonPayload {
|
|
|
1198
1200
|
key?: PrivateKey;
|
|
1199
1201
|
email?: string;
|
|
1200
1202
|
}
|
|
1201
|
-
type UpdateRecoveryOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload>, "onSuccess" | "onError"
|
|
1203
|
+
type UpdateRecoveryOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload>, "onSuccess" | "onError"> & {
|
|
1204
|
+
hsCallbackUrl?: string;
|
|
1205
|
+
};
|
|
1202
1206
|
declare function useAccountUpdateRecovery(username: string | undefined, code: string | undefined, options: UpdateRecoveryOptions, auth?: AuthContext): _tanstack_react_query.UseMutationResult<unknown, Error, CommonPayload, unknown>;
|
|
1203
1207
|
|
|
1204
1208
|
interface Payload {
|