feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
15
api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/decodeCredentialPublicKey.js
generated
vendored
Normal file
15
api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/decodeCredentialPublicKey.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._decodeCredentialPublicKeyInternals = void 0;
|
||||
exports.decodeCredentialPublicKey = decodeCredentialPublicKey;
|
||||
const index_js_1 = require("./iso/index.js");
|
||||
function decodeCredentialPublicKey(publicKey) {
|
||||
return exports._decodeCredentialPublicKeyInternals.stubThis(index_js_1.isoCBOR.decodeFirst(publicKey));
|
||||
}
|
||||
/**
|
||||
* Make it possible to stub the return value during testing
|
||||
* @ignore Don't include this in docs output
|
||||
*/
|
||||
exports._decodeCredentialPublicKeyInternals = {
|
||||
stubThis: (value) => value,
|
||||
};
|
||||
Reference in New Issue
Block a user