summaryrefslogtreecommitdiffhomepage
path: root/example/index.js
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-07-04 23:51:03 -0700
committerMatthew Miller <matthew@millerti.me>2020-07-04 23:51:03 -0700
commit7b73ae533cd48393b185441ffc0bde90302af2c7 (patch)
tree3fea98c3d38aa0e6947884bd1485ec0ea580ff41 /example/index.js
parentbaca293ae6bc3562af933e7b1d5da27eaedaeb8e (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