@@ -7,12 +7,13 @@ import { ApiService, type ITransactionData, type IWalletAsset, type TPassphraseL
77import { PasswordEncryptedLocalStorage } from "./services/PasswordEncryptedLocalStorage" ;
88import type { IAuthManager } from "./auth/IAuthManager" ;
99import { FirebaseAuthManager } from "./auth/FirebaseAuthManager" ;
10- import { decode , version } from "js-base64" ;
10+ import { decode } from "js-base64" ;
1111import type { IEventsHandler , IFireblocksNCW , IJoinWalletEvent , IKeyBackupEvent , IKeyDescriptor , IKeyRecoveryEvent , IMessagesHandler } from "@fireblocks/react-native-ncw-sdk" ;
1212import type { TEvent , TMPCAlgorithm , TEnv } from "@fireblocks/react-native-ncw-sdk" ;
1313import { FireblocksNCWFactory } from "@fireblocks/react-native-ncw-sdk" ;
1414import { ACCESSIBLE , ACCESS_CONTROL , type Options , getGenericPassword , setGenericPassword } from "react-native-keychain" ;
1515import { randomPassPhrase } from "./services/randomPassPhrase" ;
16+ import packageJson from '../../package.json' ;
1617
1718export type TAsyncActionStatus = "not_started" | "started" | "success" | "failed" ;
1819export type TFireblocksNCWStatus = "sdk_not_ready" | "initializing_sdk" | "sdk_available" | "sdk_initialization_failed" ;
@@ -38,7 +39,7 @@ export const useAppStore = create<IAppState>()((set, get) => {
3839 } ;
3940
4041 return {
41- fireblocksNCWSdkVersion : version ,
42+ fireblocksNCWSdkVersion : packageJson . version ,
4243 automateInitialization : ENV_CONFIG . AUTOMATE_INITIALIZATION ,
4344 joinExistingWalletMode : false ,
4445 loggedUser : authManager . loggedUser ,
@@ -529,7 +530,7 @@ export const useAppStore = create<IAppState>()((set, get) => {
529530 }
530531 // TODO: consolidate
531532 // const ALGORITHMS = new Set<TMPCAlgorithm>(["MPC_CMP_ECDSA_SECP256K1"]);
532- const ALGORITHMS = new Set < TMPCAlgorithm > ( [ "MPC_ECDSA_SECP256K1" ] ) ;
533+ const ALGORITHMS = new Set < TMPCAlgorithm > ( [ "MPC_ECDSA_SECP256K1" , "MPC_EDDSA_ED25519" ] ) ;
533534 await fireblocksNCW . generateMPCKeys ( ALGORITHMS ) ;
534535 } ,
535536 stopMpcDeviceSetup : async ( ) => {
0 commit comments