}
seed = data.seed.slice()
}
- new Uint8Array(data.seed).fill(0)
+ new Uint8Array(data.seed ?? []).fill(0)
delete data.seed
// Mnemonic phrase to load
}
encrypted = data.encrypted.slice()
}
- new Uint8Array(data.encrypted).fill(0)
+ new Uint8Array(data.encrypted ?? []).fill(0)
delete data.encrypted
// Index for child account to derive or sign
}
message = data.message.slice()
}
- new Uint8Array(data.message).fill(0)
+ new Uint8Array(data.message ?? []).fill(0)
delete data.message
// Vault configuration