@cheqd/did-provider-cheqd 1.6.1 → 1.6.2
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/build/agent/ICheqd.js +16 -16
- package/package.json +1 -1
- package/plugin.schema.json +42 -1
- package/src/agent/ICheqd.ts +16 -16
package/build/agent/ICheqd.js
CHANGED
|
@@ -49,26 +49,26 @@ class Cheqd {
|
|
|
49
49
|
"type": "object"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
52
|
+
"cheqdGenerateDidDoc": {
|
|
53
|
+
"description": "Generate a new DID document to use with `createIdentifier`",
|
|
54
|
+
"arguments": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"args": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"description": "A cheqdGenerateDidDocArgs object as any for extensibility"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
"cheqdGenerateKeyPair": {
|
|
65
|
+
"description": "Generate a new key pair in hex to use with `createIdentifier`",
|
|
66
|
+
"arguments": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"args": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"description": "A cheqdGenerateKeyPairArgs object as any for extensibility"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
}
|
package/package.json
CHANGED
package/plugin.schema.json
CHANGED
|
@@ -21,7 +21,48 @@
|
|
|
21
21
|
"type": "object"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"cheqdUpdateIdentifier": {
|
|
24
|
+
"cheqdUpdateIdentifier": {
|
|
25
|
+
"description": "Update an identifier",
|
|
26
|
+
"arguments": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"args": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"description": "A cheqdUpdateIdentifierArgs object as any for extensibility"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"args"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"returnType": {
|
|
39
|
+
"type": "object"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"cheqdGenerateDidDoc": {
|
|
43
|
+
"description": "Generate a new DID document to use with `createIdentifier`",
|
|
44
|
+
"arguments": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"args": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"description": "A cheqdGenerateDidDocArgs object as any for extensibility"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"cheqdGenerateKeyPair": {
|
|
55
|
+
"description": "Generate a new key pair in hex to use with `createIdentifier`",
|
|
56
|
+
"arguments": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"args": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"description": "A cheqdGenerateKeyPairArgs object as any for extensibility"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
25
66
|
}
|
|
26
67
|
}
|
|
27
68
|
}
|
package/src/agent/ICheqd.ts
CHANGED
|
@@ -68,26 +68,26 @@ export class Cheqd implements IAgentPlugin {
|
|
|
68
68
|
"type": "object"
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
"cheqdGenerateDidDoc": {
|
|
72
|
+
"description": "Generate a new DID document to use with `createIdentifier`",
|
|
73
|
+
"arguments": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"args": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"description": "A cheqdGenerateDidDocArgs object as any for extensibility"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
83
|
+
"cheqdGenerateKeyPair": {
|
|
84
|
+
"description": "Generate a new key pair in hex to use with `createIdentifier`",
|
|
85
|
+
"arguments": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"args": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"description": "A cheqdGenerateKeyPairArgs object as any for extensibility"
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|