Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
12 lines
389 B
Plaintext
12 lines
389 B
Plaintext
import { isoCBOR } from './iso/index.js';
|
|
export function decodeCredentialPublicKey(publicKey) {
|
|
return _decodeCredentialPublicKeyInternals.stubThis(isoCBOR.decodeFirst(publicKey));
|
|
}
|
|
/**
|
|
* Make it possible to stub the return value during testing
|
|
* @ignore Don't include this in docs output
|
|
*/
|
|
export const _decodeCredentialPublicKeyInternals = {
|
|
stubThis: (value) => value,
|
|
};
|