Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: require native shared components implementation #1349

Merged
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
018d90c
feat: configure indy-vdr optional peer dependencies
Feb 27, 2023
fc8d7bf
feat(indy-vdr): add indyVdr argument to new IndyVdrModule instances
Feb 27, 2023
9394d6e
Merge branch 'main' into shared-component-module
TimoGlastra Feb 27, 2023
e717548
fix: PR review
Feb 28, 2023
ec92db2
Merge branch 'shared-component-module' of https://github.com/Vickysom…
Feb 28, 2023
e8a27da
Merge branch 'main' into shared-component-module
TimoGlastra Feb 28, 2023
198a59a
fix: resolve PR review
Feb 28, 2023
12949ba
Merge branch 'shared-component-module' of https://github.com/Vickysom…
Feb 28, 2023
7b56f68
fix: resolve PR review
Feb 28, 2023
46db7a9
fix: remove required statement from IndyVdrModule
Mar 2, 2023
7014b9b
Merge branch 'main' into shared-component-module
TimoGlastra Mar 2, 2023
c1a06be
feat: add AskerModule Config
Mar 3, 2023
c871440
feat: Anoncreds optional peer dependency setup
Mar 3, 2023
24c8848
chore: add depencies
Mar 3, 2023
5484f71
Merge branch 'shared-component-module' of https://github.com/Vickysom…
Mar 3, 2023
6159278
fix: move anoncreds dependency to anoncred-rs
Mar 7, 2023
2aa5830
feat: askar module configuration
Mar 7, 2023
04a98c3
Merge branch 'main' into shared-component-module
genaris Mar 8, 2023
be8eb1f
fix: resolve PR review
Mar 8, 2023
c85c806
Merge branch 'shared-component-module' of https://github.com/Vickysom…
Mar 8, 2023
4b5431d
fix: eslint error
Mar 8, 2023
afd5923
Merge remote-tracking branch 'upstream/main' into shared-component-mo…
genaris Mar 9, 2023
6894eb7
style: fix lint error
genaris Mar 9, 2023
2e79ea3
fix: missing indyVdr in tests
genaris Mar 9, 2023
4569bf0
Merge remote-tracking branch 'upstream/main' into shared-component-mo…
TimoGlastra Mar 11, 2023
1bc4d8c
mediation timeout
TimoGlastra Mar 11, 2023
2853c2e
style
TimoGlastra Mar 11, 2023
d42668c
pin indy-vdr to 9
TimoGlastra Mar 11, 2023
63c0519
Merge remote-tracking branch 'upstream/main' into shared-component-mo…
TimoGlastra Mar 11, 2023
ce3ce05
Merge branch 'main' into shared-component-module
genaris Mar 11, 2023
ab45a13
Merge remote-tracking branch 'upstream/main' into shared-component-mo…
TimoGlastra Mar 17, 2023
805af9a
chore: update hyperledger deps
TimoGlastra Mar 17, 2023
e4fcc3d
chore: update dependencies
TimoGlastra Mar 18, 2023
fc6c5a1
Merge remote-tracking branch 'upstream/main' into shared-component-mo…
TimoGlastra Mar 18, 2023
4143e27
Merge branch 'main' into shared-component-module
TimoGlastra Mar 18, 2023
35d5609
Merge branch 'main' into shared-component-module
TimoGlastra Mar 18, 2023
07c0430
fix: yarn.lock
TimoGlastra Mar 18, 2023
bfc8b9e
chore: same version askar
TimoGlastra Mar 18, 2023
8eec9eb
fix: askar
TimoGlastra Mar 18, 2023
dad8884
Merge remote-tracking branch 'upstream/main' into shared-component-mo…
TimoGlastra Mar 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions packages/indy-vdr/src/IndyVdrModuleConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
import type { IndyVdrPoolConfig } from './pool'
import type { IndyVdr } from '@hyperledger/indy-vdr-shared'

export interface IndyVdrModuleConfigOptions {

/**
*
* ## Node.JS
*
* ```ts
* import * as indyVdr from '@hyperledger/indy-vdr-nodejs';
Vickysomtee marked this conversation as resolved.
Show resolved Hide resolved
*
* const agent = new Agent({
* config: {},
* dependencies: agentDependencies,
* modules: {
* indyVdr: new IndyVdrModule({
* indyVdr,
* })
* }
* })
* ```
*
* ## React Native
*
* ```ts
* import * as indyVdr from '@hyperledger/indy-vdr-react-native';
*
* const agent = new Agent({
* config: {},
* dependencies: agentDependencies,
* modules: {
* indyVdr: new IndyVdrModule({
* indyVdr,
* })
* }
* })
* ```
Vickysomtee marked this conversation as resolved.
Show resolved Hide resolved
* ```
*/
indyVdr: IndyVdr
Vickysomtee marked this conversation as resolved.
Show resolved Hide resolved

/**
* Array of indy networks to connect to.
*
Expand Down