feat(model): ♻️ change from Uint8Array
to dtring representation
This commit is contained in:
parent
fa0b692b62
commit
dda72bf67d
|
@ -77,9 +77,9 @@ export interface Credential extends Ressource {
|
||||||
type CredentialCategory<T extends 'password' | 'ssh' | 'passkey'> = T extends
|
type CredentialCategory<T extends 'password' | 'ssh' | 'passkey'> = T extends
|
||||||
'password' ? {
|
'password' ? {
|
||||||
store: {
|
store: {
|
||||||
hash: Uint8Array
|
hash: string //hex or b64 of Uint8Array
|
||||||
alg: string
|
alg: string
|
||||||
salt: Uint8Array
|
salt: string //hex or b64 of Uint8Array
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
: T extends 'ssh' ? {
|
: T extends 'ssh' ? {
|
||||||
|
@ -101,3 +101,5 @@ PassKey store:
|
||||||
counter: number
|
counter: number
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//new Uint8Array(Object.values(JSON.parse(JSON.stringify(new Uint8Array([1, 2, 3])))))
|
||||||
|
|
Loading…
Reference in a new issue