-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.js
51 lines (40 loc) · 1.2 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
const constants = require("./constants");
const contexts = new Map();
contexts.set(constants.DID_CONTEXT_V1_URL, require("./contexts/did-v1.json"));
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_V1_URL,
require("./contexts/did-v1-transmute.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_PGP_2021_V1_URL,
require("./contexts/pgp-2021-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_JWS_2020_V1_URL,
require("./contexts/jws-2020-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_SECP256K1_2020_V1_URL,
require("./contexts/secp256k1-2020-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_ED25519_2020_V1_URL,
require("./contexts/ed25519-2020-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_X25519_2020_V1_URL,
require("./contexts/x25519-2020-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_SECP256K1_2019_V1_URL,
require("./contexts/secp256k1-2019-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_ED25519_2018_V1_URL,
require("./contexts/ed25519-2018-v1.json")
);
contexts.set(
constants.DID_CONTEXT_TRANSMUTE_X25519_2018_V1_URL,
require("./contexts/x25519-2018-v1.json")
);
module.exports = { constants, contexts };