Skip to content

Commit

Permalink
chore(deps): bump transmute dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Jun 12, 2023
1 parent 599dbba commit 49a0671
Show file tree
Hide file tree
Showing 25 changed files with 13,028 additions and 6,627 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/build-and-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,50 +136,3 @@ jobs:
cache: 'pnpm'
- run: pnpm run lint
- run: pnpm run docs

test-browser:
needs: build
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build-${{ github.sha }}
fail-on-cache-miss: true
- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install --force
- name: 'Run browser tests'
run: pnpm test:browser

lint-and-docs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v3
with:
path: ${{ github.workspace }}
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build-${{ github.sha }}
fail-on-cache-miss: true
- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- run: pnpm run lint
- run: pnpm run docs
4 changes: 2 additions & 2 deletions __tests__/shared/verifiableDataJWT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default (testContext: {
},
proofFormat: 'jwt',
})
const verifyResult = await agent.verifyCredential({credential: verifiableCredential})
const verifyResult = await agent.verifyCredential({ credential: verifiableCredential })

expect(verifyResult.verified).toBe(true)
expect(verifiableCredential).toHaveProperty('proof.jwt')
Expand Down Expand Up @@ -403,7 +403,7 @@ export default (testContext: {
hello: 'world',
},
credentialStatus: {
id: 'override me',
id: 'override:me',
type: 'ThisMethodDoesNotExist2022',
},
},
Expand Down
13 changes: 8 additions & 5 deletions __tests__/shared/verifiableDataLD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ export default (testContext: {
challenge = 'TEST_CHALLENGE_STRING'
didEthrIdentifier = await agent.didManagerCreate({ kms: 'local', provider: 'did:ethr' })
didKeyIdentifier = await agent.didManagerCreate({ kms: 'local', provider: 'did:key' })
pkhIdentifier = await agent.didManagerCreate({ kms: 'local', provider: "did:pkh", options: { chainId: "1"} })
pkhIdentifier = await agent.didManagerCreate({
kms: 'local',
provider: 'did:pkh',
options: { chainId: '1' },
})
})
afterAll(testContext.tearDown)

Expand Down Expand Up @@ -295,7 +299,7 @@ export default (testContext: {
issuer: { id: pkhIdentifier.did },
'@context': [
'https://www.w3.org/2018/credentials/v1',
'https://veramo.io/contexts/discord-kudos/v1'
'https://veramo.io/contexts/discord-kudos/v1',
],
type: ['VerifiableCredential', 'DiscordKudos'],
issuanceDate: new Date().toISOString(),
Expand All @@ -315,10 +319,9 @@ export default (testContext: {

const result = await agent.verifyCredential({
credential,
fetchRemoteContexts: true
fetchRemoteContexts: true,
})
expect(result.verified).toBe(true)

})

describe('credential verification policies', () => {
Expand Down Expand Up @@ -363,7 +366,7 @@ export default (testContext: {
name: 'hello',
},
credentialStatus: {
id: 'override me',
id: 'override:me',
type: 'ThisMethodDoesNotExist2022',
},
},
Expand Down
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"gitRemote": "origin",
"message": "chore(release): %s [skip ci]"
}
},
"useWorkspaces": true
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@
"@microsoft/api-extractor": "7.35.2",
"@microsoft/api-extractor-model": "7.27.2",
"@microsoft/tsdoc": "0.14.2",
"@noble/hashes": "1.3.0",
"@noble/hashes": "1.3.1",
"@stablelib/ed25519": "1.0.3",
"@transmute/credentials-context": "0.7.0-unstable.80",
"@transmute/credentials-context": "0.7.0-unstable.81",
"@types/express": "4.17.17",
"@types/fs-extra": "11.0.1",
"@types/jest": "29.5.2",
"@types/node": "20.3.0",
"@types/uuid": "9.0.1",
"@types/uuid": "9.0.2",
"caip": "1.1.0",
"credential-status": "2.0.5",
"cross-env": "7.0.3",
"did-jwt": "7.2.2",
"did-jwt-vc": "3.2.2",
"did-jwt-vc": "3.2.3",
"did-resolver": "4.1.0",
"ethr-did-resolver": "8.0.0",
"express": "4.18.2",
Expand All @@ -72,7 +72,7 @@
"ts-node": "10.9.1",
"typeorm": "0.3.16",
"typescript": "5.1.3",
"uint8arrays": "4.0.3",
"uint8arrays": "4.0.4",
"uuid": "9.0.0",
"web-did-resolver": "2.0.24"
},
Expand Down
46 changes: 23 additions & 23 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"update-veramo-latest": "pnpm add @veramo/core@latest @veramo/discovery@latest @veramo/remote-client@latest @veramo/remote-server@latest @veramo/did-provider-key@latest @veramo/did-resolver@latest @veramo/did-jwt@latest @veramo/credential-w3c@latest @veramo/did-provider-ethr@latest @veramo/did-provider-web@latest @veramo/did-comm@latest @veramo/kms-local@latest @veramo/selective-disclosure@latest @veramo/data-store@latest @veramo/key-manager@latest @veramo/message-handler@latest @veramo/did-manager@latest @veramo/url-handler@latest @veramo/credential-eip712@latest @veramo/utils@latest"
},
"dependencies": {
"@microsoft/api-extractor": "^7.35.1",
"@microsoft/api-extractor-model": "^7.27.1",
"@transmute/credentials-context": "^0.7.0-unstable.79",
"@types/blessed": "^0.1.19",
"@microsoft/api-extractor": "^7.35.2",
"@microsoft/api-extractor-model": "^7.27.2",
"@transmute/credentials-context": "^0.7.0-unstable.81",
"@types/blessed": "^0.1.22",
"@types/swagger-ui-express": "^4.1.3",
"@veramo/core": "workspace:^",
"@veramo/core-types": "workspace:^",
Expand All @@ -63,38 +63,38 @@
"@veramo/url-handler": "workspace:^",
"@veramo/utils": "workspace:^",
"blessed": "^0.1.81",
"commander": "^10.0.0",
"console-table-printer": "^2.10.0",
"commander": "^10.0.1",
"console-table-printer": "^2.11.1",
"cors": "^2.8.5",
"cross-fetch": "^3.1.6",
"date-fns": "^2.28.0",
"debug": "^4.3.3",
"date-fns": "^2.30.0",
"debug": "^4.3.4",
"did-resolver": "^4.1.0",
"dotenv": "^16.0.0",
"dotenv": "^16.1.4",
"ethr-did-resolver": "^8.0.0",
"express": "^4.18.2",
"express-handlebars": "^7.0.0",
"express-handlebars": "^7.0.7",
"fuzzy": "^0.1.3",
"handlebars": "^4.7.6",
"inquirer": "^9.1.4",
"handlebars": "^4.7.7",
"inquirer": "^9.2.7",
"inquirer-autocomplete-prompt": "^3.0.0",
"json-schema": "^0.4.0",
"json5": "^2.2.0",
"jsonpointer": "^5.0.0",
"oas-resolver": "^2.5.3",
"openapi-types": "^12.0.2",
"json5": "^2.2.3",
"jsonpointer": "^5.0.1",
"oas-resolver": "^2.5.6",
"openapi-types": "^12.1.3",
"passport": "^0.6.0",
"passport-http-bearer": "^1.0.1",
"pg": "^8.7.1",
"pg": "^8.11.0",
"qrcode-terminal": "^0.12.0",
"sqlite3": "^5.0.8",
"swagger-ui-express": "^4.6.0",
"sqlite3": "^5.1.6",
"swagger-ui-express": "^4.6.3",
"ts-json-schema-generator": "^1.2.0",
"typeorm": "^0.3.10",
"url-parse": "^1.5.4",
"url-parse": "^1.5.10",
"web-did-resolver": "^2.0.24",
"ws": "^8.11.0",
"yaml": "^2.1.3"
"ws": "^8.13.0",
"yaml": "^2.3.1"
},
"devDependencies": {
"@types/debug": "4.1.8",
Expand All @@ -105,7 +105,7 @@
"@types/passport-http-bearer": "1.0.37",
"@types/qrcode-terminal": "0.12.0",
"@types/url-parse": "1.4.8",
"@types/ws": "8.5.4",
"@types/ws": "8.5.5",
"typescript": "5.1.3"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/core-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"credential-status": "^2.0.5",
"debug": "^4.3.3",
"did-jwt-vc": "^3.2.1",
"did-jwt-vc": "^3.2.3",
"did-resolver": "^4.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@veramo/core-types": "workspace:^",
"debug": "^4.3.4",
"events": "^3.2.0",
"z-schema": "^6.0.0"
"z-schema": "^6.0.1"
},
"devDependencies": {
"@types/debug": "4.1.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/credential-ld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"@digitalcredentials/jsonld": "^5.2.1",
"@digitalcredentials/jsonld-signatures": "^9.3.1",
"@digitalcredentials/vc": "^5.0.0",
"@transmute/credentials-context": "^0.7.0-unstable.79",
"@transmute/ed25519-signature-2018": "^0.7.0-unstable.79",
"@transmute/json-web-signature": "^0.7.0-unstable.79",
"@transmute/credentials-context": "^0.7.0-unstable.81",
"@transmute/ed25519-signature-2018": "^0.7.0-unstable.81",
"@transmute/json-web-signature": "^0.7.0-unstable.81",
"@veramo-community/lds-ecdsa-secp256k1-recovery2020": "uport-project/EcdsaSecp256k1RecoverySignature2020",
"@veramo/core-types": "workspace:^",
"@veramo/utils": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/credential-w3c/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"canonicalize": "^2.0.0",
"debug": "^4.3.3",
"did-jwt": "^7.2.0",
"did-jwt-vc": "^3.2.1",
"did-jwt-vc": "^3.2.3",
"did-resolver": "^4.1.0",
"uuid": "^9.0.0"
},
Expand All @@ -28,7 +28,7 @@
},
"devDependencies": {
"@types/debug": "4.1.8",
"@types/uuid": "9.0.1",
"@types/uuid": "9.0.2",
"typescript": "5.1.3"
},
"files": [
Expand Down
6 changes: 3 additions & 3 deletions packages/data-store-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"extract-api": "node ../cli/bin/veramo.js dev extract-api"
},
"dependencies": {
"@ungap/structured-clone": "^1.0.0",
"@ungap/structured-clone": "^1.2.0",
"@veramo/core-types": "workspace:^",
"@veramo/did-manager": "workspace:^",
"@veramo/key-manager": "workspace:^",
"@veramo/utils": "workspace:^",
"debug": "^4.3.3",
"did-jwt-vc": "^3.2.1",
"did-jwt-vc": "^3.2.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/debug": "4.1.8",
"@types/ungap__structured-clone": "0.3.0",
"@types/uuid": "9.0.1",
"@types/uuid": "9.0.2",
"typescript": "5.1.3"
},
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/data-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"@veramo/key-manager": "workspace:^",
"@veramo/utils": "workspace:^",
"debug": "^4.3.3",
"did-jwt-vc": "^3.2.1",
"did-jwt-vc": "^3.2.3",
"typeorm": "^0.3.10",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/debug": "4.1.8",
"@types/uuid": "9.0.1",
"@types/uuid": "9.0.2",
"sqlite3": "5.1.6",
"typescript": "5.1.3"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/did-comm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@ethersproject/signing-key": "^5.7.0",
"@noble/curves": "^1.0.0",
"@noble/curves": "^1.1.0",
"@stablelib/aes": "^1.0.1",
"@stablelib/aes-kw": "^1.0.1",
"@stablelib/gcm": "^1.0.2",
Expand All @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/debug": "4.1.8",
"@types/uuid": "9.0.1",
"@types/uuid": "9.0.2",
"typescript": "5.1.3"
},
"files": [
Expand Down
20 changes: 17 additions & 3 deletions packages/did-comm/src/didcomm.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {
import type {
IAgentContext,
IAgentPlugin,
IDIDManager,
Expand All @@ -8,8 +8,22 @@ import {
IMessageHandler,
IResolver,
} from '@veramo/core-types'
import { createJWE, Decrypter, decryptJWE, ECDH, Encrypter, JWE, verifyJWS } from 'did-jwt'
import { DIDDocument, parse as parseDidUrl, Service, VerificationMethod } from 'did-resolver'
import {
createJWE,
type Decrypter,
decryptJWE,
type ECDH,
type Encrypter,
type JWE,
verifyJWS,
} from 'did-jwt'
import {
type DIDDocument,
parse as parseDidUrl,
type Service,
type ServiceEndpoint,
type VerificationMethod,
} from 'did-resolver'
import {
a256cbcHs512AnonDecrypterX25519WithA256KW,
a256cbcHs512AnonEncrypterX25519WithA256KW,
Expand Down
2 changes: 1 addition & 1 deletion packages/did-provider-ethr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@veramo/core-types": "workspace:^",
"@veramo/did-manager": "workspace:^",
"debug": "^4.3.3",
"ethr-did": "^2.3.12"
"ethr-did": "^2.3.14"
},
"devDependencies": {
"@types/debug": "4.1.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/did-provider-ion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@decentralized-identity/ion-sdk": "^0.6.0",
"@ethersproject/random": "^5.7.0",
"@ethersproject/signing-key": "^5.7.0",
"@noble/curves": "^1.0.0",
"@noble/hashes": "^1.3.0",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"@sphereon/ion-pow": "^0.2.0",
"@sphereon/isomorphic-argon2": "^1.0.1",
"@trust/keyto": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/did-provider-jwk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"extract-api": "node ../cli/bin/veramo.js dev extract-api"
},
"dependencies": {
"@noble/curves": "^1.0.0",
"@noble/curves": "^1.1.0",
"@veramo/core-types": "workspace:^",
"@veramo/did-manager": "workspace:^",
"@veramo/utils": "workspace:^",
Expand Down
Loading

0 comments on commit 49a0671

Please sign in to comment.