@credo-ts/webvh 0.7.2-pr-2704-20260925144545 → 0.7.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/README.md +4 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -39,8 +39,10 @@ In order for this module to work, we have to inject it into the agent to access
|
|
|
39
39
|
To use the WebVh module, register it with your agent instance. Below is an example of how to configure the agent with the WebVh AnonCreds registry, DID resolver, and DID registrar:
|
|
40
40
|
|
|
41
41
|
```typescript
|
|
42
|
-
import { Agent, DidsModule
|
|
43
|
-
import {
|
|
42
|
+
import { Agent, DidsModule } from '@credo-ts/core'
|
|
43
|
+
import { AnonCredsModule } from '@credo-ts/anoncreds'
|
|
44
|
+
import { WebVhAnonCredsRegistry } from '@credo-ts/webvh/anoncreds'
|
|
45
|
+
import { WebVhModule, WebVhDidResolver, WebVhDidRegistrar } from '@credo-ts/webvh'
|
|
44
46
|
|
|
45
47
|
const agent = new Agent({
|
|
46
48
|
config: options.config,
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"types": "./build/resources/index.d.mts"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
"version": "0.7.2
|
|
22
|
+
"version": "0.7.2",
|
|
23
23
|
"description": "Credo WebVH DID method implementation",
|
|
24
24
|
"files": [
|
|
25
25
|
"build"
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"didwebvh-ts": "^2.8.0",
|
|
40
40
|
"json-canonicalize": "^3.0.0",
|
|
41
41
|
"tsyringe": "^4.10.0",
|
|
42
|
-
"@credo-ts/anoncreds": "0.7.2
|
|
43
|
-
"@credo-ts/core": "0.7.2
|
|
42
|
+
"@credo-ts/anoncreds": "0.7.2",
|
|
43
|
+
"@credo-ts/core": "0.7.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "~5.9.3"
|