@docknetwork/wallet-sdk-dids 1.7.0 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -3
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const didKeyDriver = (0, _didMethodKey.driver)({
|
|
|
11
11
|
verificationSuite: _ed25519VerificationKey.Ed25519VerificationKey2020
|
|
12
12
|
});
|
|
13
13
|
const DID_DEFAULT_CONTEXT = ['https://w3id.org/wallet/v1', 'https://w3id.org/did-resolution/v1'];
|
|
14
|
-
const DIDKeyManager = function () {
|
|
14
|
+
const DIDKeyManager = exports.DIDKeyManager = function () {
|
|
15
15
|
const keypairToDIDKeyDocument = async keyDoc => {
|
|
16
16
|
const {
|
|
17
17
|
didDocument
|
|
@@ -47,5 +47,4 @@ const DIDKeyManager = function () {
|
|
|
47
47
|
keypairToDIDKeyDocument,
|
|
48
48
|
getDIDResolution
|
|
49
49
|
};
|
|
50
|
-
}();
|
|
51
|
-
exports.DIDKeyManager = DIDKeyManager;
|
|
50
|
+
}();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docknetwork/wallet-sdk-dids",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
4
4
|
"license": "https://github.com/docknetwork/wallet-sdk/LICENSE",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@babel/cli": "^7.17.10",
|
|
21
21
|
"@babel/core": "^7.17.12",
|
|
22
|
-
"@babel/preset-env": "^7.17.12",
|
|
23
22
|
"@babel/polyfill": "^7.12.1",
|
|
23
|
+
"@babel/preset-env": "^7.17.12",
|
|
24
24
|
"@babel/preset-react": "^7.17.12"
|
|
25
25
|
}
|
|
26
26
|
}
|