Skip to content

Commit

Permalink
refactor: upgrade credo-ts (#25)
Browse files Browse the repository at this point in the history
* refactor: upgrade credo-ts

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* chore: release v0.0.1-alpha.23 [skip ci]

Signed-off-by: Amit Padmani <[email protected]>

* refactor: add imports

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* chore: release v0.0.1-alpha.24 [skip ci]

Signed-off-by: Amit Padmani <[email protected]>

* feat: upgrade credo-ts to 0.5.1

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* chore: release v0.0.1-alpha.25 [skip ci]

Signed-off-by: Amit Padmani <[email protected]>

* add w3c signedCredentail & storedCredential

Signed-off-by: Poonam Ghewande <[email protected]>

* feat: upgrade to 0.5.2

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: fix node version

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* ci: fix node version

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

* bump: credo-ts

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>

---------

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
Signed-off-by: Amit Padmani <[email protected]>
Signed-off-by: Poonam Ghewande <[email protected]>
Co-authored-by: Amit Padmani <[email protected]>
Co-authored-by: Poonam Ghewande <[email protected]>
  • Loading branch information
3 people authored May 8, 2024
1 parent 63288d1 commit 9e37dd7
Show file tree
Hide file tree
Showing 5 changed files with 7,615 additions and 5,839 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8.6.0
version: 9.0.6

- name: Install dependencies
run: pnpm install
Expand All @@ -60,13 +60,13 @@ jobs:
needs: ['continuous-integration']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8.6.0
version: 9.0.6

- name: Install dependencies
run: pnpm install
Expand Down
18 changes: 9 additions & 9 deletions packages/ssi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
"release": "release-it"
},
"dependencies": {
"@credo-ts/anoncreds": "0.5.1",
"@credo-ts/askar": "0.5.1",
"@credo-ts/core": "0.5.1",
"@credo-ts/indy-vdr": "0.5.1",
"@credo-ts/anoncreds": "0.5.3",
"@credo-ts/askar": "0.5.3",
"@credo-ts/core": "0.5.3",
"@credo-ts/indy-vdr": "0.5.3",
"@credo-ts/push-notifications": "0.7.0",
"@credo-ts/question-answer": "0.5.1",
"@credo-ts/question-answer": "0.5.3",
"@credo-ts/react-hooks": "0.6.0",
"@credo-ts/react-native": "0.5.1"
"@credo-ts/react-native": "0.5.3"
},
"peerDependencies": {
"@hyperledger/anoncreds-react-native": "0.2.1",
"@hyperledger/aries-askar-react-native": "0.2.0",
"@hyperledger/indy-vdr-react-native": "0.2.0"
"@hyperledger/anoncreds-react-native": "0.2.2",
"@hyperledger/aries-askar-react-native": "0.2.1",
"@hyperledger/indy-vdr-react-native": "0.2.2"
},
"devDependencies": {
"@types/node": "^18.18.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/ssi/src/agent/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const getAgentModules = (
anoncreds
}),
mediationRecipient: new MediationRecipientModule({
mediatorPickupStrategy: MediatorPickupStrategy.PickUpV2,
mediatorPickupStrategy: MediatorPickupStrategy.Implicit,
mediatorInvitationUrl: mediatorInvitationUrl
}),
dids: new DidsModule({
Expand Down
16 changes: 14 additions & 2 deletions packages/ssi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ import {
JsonTransformer,
ClaimFormat,
CacheModule,
SingleContextStorageLruCache
SingleContextStorageLruCache,
DidRepository,
KeyType,
DidRecord,
W3cJsonLdVerifiableCredential,
DifPexCredentialsForRequest,
DidDocument
} from '@credo-ts/core'
import {
GetCredentialsForRequestReturn,
Expand Down Expand Up @@ -174,7 +180,13 @@ export {
JsonTransformer,
ClaimFormat,
CacheModule,
SingleContextStorageLruCache
SingleContextStorageLruCache,
DidRepository,
KeyType,
DidRecord,
W3cJsonLdVerifiableCredential,
DifPexCredentialsForRequest,
DidDocument
}
// Anoncreds
export {
Expand Down
Loading

0 comments on commit 9e37dd7

Please sign in to comment.