diff options
author | Matthew Miller <matthew@millerti.me> | 2020-07-04 23:51:03 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-07-04 23:51:03 -0700 |
commit | 7b73ae533cd48393b185441ffc0bde90302af2c7 (patch) | |
tree | 3fea98c3d38aa0e6947884bd1485ec0ea580ff41 /example/index.js | |
parent | baca293ae6bc3562af933e7b1d5da27eaedaeb8e (diff) |
Get rid of “clean” MetadataService state
getStatement() is already capable of returning `undefined` when a statement doesn’t exist for a given aaguid. This means there’s nothing preventing us from using the service without initializing it. By making the service always ready to query for statements by aaguid, it becomes possible to use this library without initializing MetadataService at all if there’s no interest in the additional level of security.
Diffstat (limited to 'example/index.js')
0 files changed, 0 insertions, 0 deletions