bump package version to 1.4.2
[squeep-indieauth-helper] / lib / enum.js
index ef5c0ff5411b3637adc2e253d39908a06cc2144e..df3c573bb1af4cd56c2e1c00de8cfe8d05e1eb40 100644 (file)
@@ -1,7 +1,7 @@
 'use strict';
 
 module.exports = {
-  Specification: 'living-standard-20201126',
+  Specification: 'living-standard-20220212',
 
   ContentType: {
     Any: '*/*',
@@ -12,8 +12,20 @@ module.exports = {
 
   Header: {
     Accept: 'Accept',
+    Authorization: 'Authorization',
     ContentType: 'Content-Type',
     Link: 'Link',
     UserAgent: 'User-Agent',
+    WWWAuthenticate: 'WWW-Authenticate',
   },
+
+  Microformat2: {
+    Relation: {
+      AuthorizationEndpoint: 'authorization_endpoint',
+      IndieauthMetadata: 'indieauth-metadata',
+      TicketEndpoint: 'ticket_endpoint',
+      TokenEndpoint: 'token_endpoint',
+    },
+  },
+
 };
\ No newline at end of file