@ecency/wallets 1.3.12 → 1.3.14

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,3 +1,4 @@
1
+ import { useMutation } from '@tanstack/react-query';
1
2
  import { EcencyTokenMetadata } from '../types';
2
3
  /**
3
4
  * Saving of token(s) metadata to Hive profile
@@ -5,4 +6,4 @@ import { EcencyTokenMetadata } from '../types';
5
6
  *
6
7
  * Basically, this mutation is a convenient wrapper for update profile operation
7
8
  */
8
- export declare function useSaveWalletInformationToMetadata(username: string): import('@tanstack/react-query').UseMutationResult<unknown, Error, EcencyTokenMetadata[], unknown>;
9
+ export declare function useSaveWalletInformationToMetadata(username: string, options?: Pick<Parameters<typeof useMutation>[0], "onSuccess" | "onError">): import('@tanstack/react-query').UseMutationResult<unknown, unknown, EcencyTokenMetadata[], unknown>;
@@ -1,3 +1,2 @@
1
- import { Client } from '@hiveio/dhive';
2
1
  export type HiveKeyDerivation = "bip44" | "master-password" | "unknown";
3
- export declare function detectHiveKeyDerivation(username: string, seed: string, client?: Client): Promise<HiveKeyDerivation>;
2
+ export declare function detectHiveKeyDerivation(username: string, seed: string, type?: "active" | "owner"): Promise<HiveKeyDerivation>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ecency/wallets",
3
3
  "private": false,
4
- "version": "1.3.12",
4
+ "version": "1.3.14",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "./dist/ecency-sdk.umd.js",