feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
11
api.hyungi.net/node_modules/@simplewebauthn/server/esm/helpers/decodeCredentialPublicKey.js
generated
vendored
Normal file
11
api.hyungi.net/node_modules/@simplewebauthn/server/esm/helpers/decodeCredentialPublicKey.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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,
|
||||
};
|
||||
Reference in New Issue
Block a user