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

chore: next major release #1284

Merged
merged 62 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
3e5b728
chore(ci): merge main into next
uport-automation-bot Sep 21, 2023
acc47e6
feat(data-store): use IPFS CID instead of hex blake2 hashes for crede…
simonas-notcat Sep 21, 2023
41553f4
chore(ci): merge main into next
uport-automation-bot Sep 21, 2023
e2e794f
fix(deps): Update did-vc-libraries
renovate[bot] Sep 21, 2023
2e3972c
fix(utils): use synchronous version of sha256 digest for CID (#1253)
simonas-notcat Sep 22, 2023
e674c58
fix(deps): Update devDeps
renovate[bot] Sep 24, 2023
306a398
feat(core-types): add hash to TCredentialColumns (#1259)
nickreynolds Sep 27, 2023
80272ca
fix(deps): Update dependency did-jwt-vc to v3.2.9
renovate[bot] Sep 27, 2023
5b198ec
fix: regenerate schema (#1260)
nickreynolds Sep 27, 2023
fb192e7
fix(utils): bump did-jwt to 7.4.1 and reuse key conversion code from …
mirceanis Sep 27, 2023
533a9e6
fix(deps): Update dependency ethr-did-resolver to v9
renovate[bot] Sep 28, 2023
93198bc
chore(deps): update devdeps
renovate[bot] Oct 2, 2023
01c01d5
fix(deps): Update did-vc-libraries
renovate[bot] Oct 4, 2023
fbf5c69
chore(deps): bump ethers (#1242)
fermentfan Oct 5, 2023
bfdfc4c
feat(did-manager): matching DIDs by alias should not depend on the pr…
mirceanis Oct 5, 2023
42db383
test: fix ganache setup (#1267)
mirceanis Oct 5, 2023
e94aaf2
feat(credential-w3c): list usable proof formats for an `IIdentifier` …
mirceanis Oct 5, 2023
c1d6032
Merge remote-tracking branch 'origin/main' into next
mirceanis Oct 6, 2023
a324b30
Merge remote-tracking branch 'origin/main' into next
mirceanis Oct 9, 2023
28c65f7
fix(data-store-json): order credentials with weird issuanceDate (#1273)
mirceanis Oct 13, 2023
ba88d6b
fix(deps): update dependency @metamask/eth-sig-util to v7 (#1258)
renovate[bot] Oct 13, 2023
f7a3851
feat(did-comm): returnMessage from sendDIDCommMessage() when availabl…
simonas-notcat Nov 1, 2023
cf44eae
docs: update AWESOME list (#1287)
mirceanis Nov 1, 2023
17a2991
docs: update did:pkh provider name in README.md (#1289)
shoito Nov 7, 2023
d89a4dd
docs: fix the markdown table syntax in did-comm readme (#1292)
shoito Nov 13, 2023
462735d
feat(coordinate-mediation): implement did-comm coordinate-mediation v…
radleylewis Dec 3, 2023
fc94764
feat(utils): move JWK converter to utils package (#1298)
cre8 Dec 8, 2023
ea2d99a
refactor(did-comm): improve Coordinate Mediation V3 API (#1297)
radleylewis Dec 8, 2023
5aa97a2
fix(data-store): return unique credentials for `dataStoreORMGetVerifi…
cre8 Dec 8, 2023
99c53e5
fix(deps): update dependency ethr-did-resolver to v10 (#1291)
renovate[bot] Dec 8, 2023
572e08d
chore(deps): update actions/setup-node action to v4 (#1286)
renovate[bot] Dec 8, 2023
2157e70
fix(deps): add missing ethers dependency to each relevant modules (#1…
hylim-tech-lover Dec 12, 2023
ac1b620
fix(deps): upgrade ethers and did-provider-ethr for sepolia support (…
strumswell Dec 13, 2023
c050588
Merge remote-tracking branch 'origin/main' into next
mirceanis Jan 16, 2024
ade95c7
[proposal] make path output from generate schema dynamic (#1318)
cre8 Jan 19, 2024
165de35
feat: add Multikey support (#1316)
mirceanis Jan 19, 2024
3ac343e
feat(cli): add support for did:jwk and did:peer to CLI (#1320)
mirceanis Jan 22, 2024
610ee66
feat(utils): export createJWK (#1325)
cre8 Jan 24, 2024
65c2d4b
refactor: generate plugin schemas as TS instead of JSON (#1315)
cre8 Jan 24, 2024
b6c54cd
fix(deps): bump ethr-did-resolver (#1278)
renovate[bot] Jan 24, 2024
65869c1
chore: fix typo in plugin schemas (#1326)
mirceanis Jan 25, 2024
71e313f
fix(selective-disclosure): deprecate the uPort SelectiveDisclosure pl…
mirceanis Jan 25, 2024
7896cea
fix: export const plugin schemas instead of defaults (#1327)
mirceanis Jan 25, 2024
aa95af0
fix(credential-ld): let verifiers use all supported verification meth…
mirceanis Jan 26, 2024
8e3b94c
fix(did-provider-key): align did:key resolver to spec (#1332)
mirceanis Jan 26, 2024
d5375bd
fix(utils): get chainId for any did method (#1334)
simonas-notcat Jan 31, 2024
b2a63b4
chore(deps): update codecov/codecov-action action to v4
renovate[bot] Feb 19, 2024
ff87855
chore(deps): update actions/cache action to v4
renovate[bot] Feb 22, 2024
07c982f
fix(deps): Update dependency ethr-did-resolver to v10.1.5
renovate[bot] Feb 22, 2024
6df704c
feat(did-comm): Improve DIDComm Service compatibility (#1340)
mirceanis Feb 22, 2024
0c22cc6
fix(credential-w3c): forward DID resolution options to the resolver (…
mirceanis Feb 22, 2024
e1beeaf
fix(cli): remove `revocable` and `send` options from credential creat…
mirceanis Feb 22, 2024
5accc6b
fix(cli): remove interactive prompting on CLI execute command (#1347)
mirceanis Feb 22, 2024
49027de
chore(deps): bump dependencies (#1348)
mirceanis Feb 22, 2024
d3daa4a
chore(deps): update devdeps
renovate[bot] Feb 22, 2024
ba966d5
fix(deps): Update did-vc-libraries
renovate[bot] Feb 23, 2024
c384fb9
fix(deps): update dependency multiformats to v13
renovate[bot] Feb 23, 2024
4696b5b
docs: update AWESOME.md (#1350)
umutyorulmaz Feb 29, 2024
5c858be
docs: updates 'packages/core-types/src/types/ICredentialIssuer.ts' co…
hylim-tech-lover Mar 7, 2024
ab16cbd
test: add a test as an example of using did-comm mediation (#1355)
mirceanis Mar 7, 2024
1694de1
fix: address edge case when getting DIDDoc component (#1365)
nickreynolds Mar 28, 2024
1c6627c
chore: update plugin schema (#1367)
nickreynolds Mar 28, 2024
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
18 changes: 9 additions & 9 deletions .github/workflows/build-and-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
Expand All @@ -20,7 +20,7 @@ jobs:
- run: pnpm install
- run: pnpm build
- name: 'Save build output'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand All @@ -41,12 +41,12 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
path: coverage
- name: Merge Code Coverage
run: npx nyc merge coverage/ coverage/coverage-final.json
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos but sometimes fails without :|
fail_ci_if_error: true
Expand All @@ -93,12 +93,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand All @@ -118,12 +118,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
Expand All @@ -28,7 +28,7 @@ jobs:
- run: pnpm install
- run: pnpm build
- name: 'Save build output'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand All @@ -49,12 +49,12 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
path: coverage
- name: Merge Code Coverage
run: npx nyc merge coverage/ coverage/coverage-final.json
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos but sometimes fails without :|
fail_ci_if_error: false
Expand All @@ -102,12 +102,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand All @@ -127,12 +127,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
with:
fetch-depth: 0
token: ${{secrets.GH_TOKEN}}
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add -g pnpm
Expand All @@ -176,7 +176,7 @@ jobs:
cache: 'pnpm'

- name: 'Restore build output'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
Expand Down
1 change: 1 addition & 0 deletions AWESOME.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Please help us improve the contents or format of this list by creating a pull re
* [BBS+ issuer](https://github.com/pcibraro/veramo-bls-issuer/tree/main)
* [RN app with credential signing](https://github.com/symfoni/identity-wallet)
* [ID Pocket digital identity wallet](https://rktechworks.com/idpocket)
* [Spherity Aries RFCs Veramo Plugin](https://github.com/spherity/aries-rfcs-veramo-plugin)
* add your own project here!

## Disclaimer
Expand Down
15 changes: 11 additions & 4 deletions __tests__/localAgent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
LdDefaultContexts,
VeramoEcdsaSecp256k1RecoverySignature2020,
VeramoEd25519Signature2018,
VeramoEd25519Signature2020,
VeramoJsonWebSignature2020,
} from '../packages/credential-ld/src'
import { EthrDIDProvider } from '../packages/did-provider-ethr/src'
import { WebDIDProvider } from '../packages/did-provider-web/src'
Expand Down Expand Up @@ -157,7 +159,7 @@ const setup = async (options?: IAgentOptions): Promise<boolean> => {
kms: {
local: new KeyManagementSystem(new PrivateKeyStore(dbConnection, new SecretBox(secretKey))),
web3: new Web3KeyManagementSystem({
ethers: ethersProvider,
ethers: ethersProvider as any, // different versions of ethers complain about a type mismatch here
}),
},
}),
Expand Down Expand Up @@ -193,7 +195,7 @@ const setup = async (options?: IAgentOptions): Promise<boolean> => {
{
chainId: 1337,
name: 'ganache',
provider,
provider: provider as any, // different versions of ethers complain about a type mismatch here
registry,
},
],
Expand Down Expand Up @@ -245,12 +247,17 @@ const setup = async (options?: IAgentOptions): Promise<boolean> => {
new SdrMessageHandler(),
],
}),
new DIDComm({ transports: [new DIDCommHttpTransport()]}),
new DIDComm({ transports: [new DIDCommHttpTransport()] }),
new CredentialPlugin(),
new CredentialIssuerEIP712(),
new CredentialIssuerLD({
contextMaps: [LdDefaultContexts, credential_contexts as any],
suites: [new VeramoEcdsaSecp256k1RecoverySignature2020(), new VeramoEd25519Signature2018()],
suites: [
new VeramoEcdsaSecp256k1RecoverySignature2020(),
new VeramoEd25519Signature2018(),
new VeramoJsonWebSignature2020(),
new VeramoEd25519Signature2020(),
],
}),
new SelectiveDisclosure(),
new DIDDiscovery({
Expand Down
13 changes: 10 additions & 3 deletions __tests__/localJsonStoreAgent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import {
LdDefaultContexts,
VeramoEcdsaSecp256k1RecoverySignature2020,
VeramoEd25519Signature2018,
VeramoEd25519Signature2020,
VeramoJsonWebSignature2020,
} from '../packages/credential-ld/src'
import { EthrDIDProvider } from '../packages/did-provider-ethr/src'
import { WebDIDProvider } from '../packages/did-provider-web/src'
Expand All @@ -51,7 +53,7 @@ import {
PrivateKeyStoreJson,
} from '../packages/data-store-json/src'
import { FakeDidProvider, FakeDidResolver } from '../packages/test-utils/src'
import { PeerDIDProvider, getResolver as getDidPeerResolver } from '../packages/did-provider-peer/src'
import { getResolver as getDidPeerResolver, PeerDIDProvider } from '../packages/did-provider-peer/src'

import { Resolver } from 'did-resolver'
import { getResolver as ethrDidResolver } from 'ethr-did-resolver'
Expand All @@ -77,7 +79,7 @@ import utils from './shared/utils'
import { JsonFileStore } from './utils/json-file-store'
import credentialStatus from './shared/credentialStatus'
import credentialPluginTests from './shared/credentialPluginTests'
import dbInitOptions from "./shared/dbInitOptions";
import dbInitOptions from './shared/dbInitOptions'

jest.setTimeout(120000)

Expand Down Expand Up @@ -205,7 +207,12 @@ const setup = async (options?: IAgentOptions): Promise<boolean> => {
new CredentialIssuerEIP712(),
new CredentialIssuerLD({
contextMaps: [LdDefaultContexts, credential_contexts as any],
suites: [new VeramoEcdsaSecp256k1RecoverySignature2020(), new VeramoEd25519Signature2018()],
suites: [
new VeramoEcdsaSecp256k1RecoverySignature2020(),
new VeramoEd25519Signature2018(),
new VeramoEd25519Signature2020(),
new VeramoJsonWebSignature2020(),
],
}),
new SelectiveDisclosure(),
...(options?.plugins || []),
Expand Down
Loading
Loading