diff --git a/apps/shared/package.json b/apps/shared/package.json index f319f66153a3c11fa82d315748d0d44cbb627407..435dbf27e0e2164c361ab8e474bdc1501717b2d0 100644 --- a/apps/shared/package.json +++ b/apps/shared/package.json @@ -15,9 +15,9 @@ "test": "jest" }, "dependencies": { - "@credo-ts/anoncreds": "0.5.0-alpha.138", - "@credo-ts/core": "0.5.0-alpha.138", - "@credo-ts/tenants": "0.5.0-alpha.138", + "@credo-ts/anoncreds": "0.5.0-alpha.149", + "@credo-ts/core": "0.5.0-alpha.149", + "@credo-ts/tenants": "0.5.0-alpha.149", "@elastic/ecs-winston-format": "1.5.2", "@nestjs/axios": "3.0.2", "@nestjs/swagger": "7.3.0", diff --git a/apps/ssi-abstraction/README.md b/apps/ssi-abstraction/README.md index b7faf251422a3b2413f598d6186984e4d3af19c2..7e3e4d4fabd46e0b0aadcfdd771c06a6cc994063 100644 --- a/apps/ssi-abstraction/README.md +++ b/apps/ssi-abstraction/README.md @@ -53,7 +53,7 @@ $ pnpm install - PORT is the port for the signing and verification interface - AGENT_AUTO_ACCEPT_CONNECTION can be either true or false - AGENT_AUTO_ACCEPT_CREDENTIAL can be either: always, contentApproved, never -- AGENT_PUBLIC_DID_SEED will generate the did and verkey (32 symbols) +- AGENT_INDY_DID_SEED will generate the did and verkey (32 symbols) - for security reasons AGENT_WALLET_KEY and AGENT_WALLET_ID should be different - AGENT_LEDGER_ID can be: ID_UNION,BCOVRIN_TEST,GREEN_LIGHT diff --git a/apps/ssi-abstraction/package.json b/apps/ssi-abstraction/package.json index 80980536789bd4dd6ddf5a33e3841df82002eae5..2844e984dd26dd86bef47edb481768b0412fea58 100644 --- a/apps/ssi-abstraction/package.json +++ b/apps/ssi-abstraction/package.json @@ -15,16 +15,16 @@ "test:e2e": "pnpm test -- -c=test/jest.config.js --runInBand" }, "dependencies": { - "@credo-ts/anoncreds": "0.5.0-alpha.138", - "@credo-ts/askar": "0.5.0-alpha.138", - "@credo-ts/core": "0.5.0-alpha.138", - "@credo-ts/indy-vdr": "0.5.0-alpha.138", - "@credo-ts/node": "0.5.0-alpha.138", - "@credo-ts/tenants": "0.5.0-alpha.138", + "@credo-ts/anoncreds": "0.5.0-alpha.149", + "@credo-ts/askar": "0.5.0-alpha.149", + "@credo-ts/core": "0.5.0-alpha.149", + "@credo-ts/indy-vdr": "0.5.0-alpha.149", + "@credo-ts/node": "0.5.0-alpha.149", + "@credo-ts/tenants": "0.5.0-alpha.149", "@elastic/ecs-winston-format": "1.5.2", - "@hyperledger/anoncreds-nodejs": "0.2.0", - "@hyperledger/aries-askar-nodejs": "0.2.0", - "@hyperledger/indy-vdr-nodejs": "0.2.0", + "@hyperledger/anoncreds-nodejs": "^0.2.1", + "@hyperledger/aries-askar-nodejs": "^0.2.0", + "@hyperledger/indy-vdr-nodejs": "^0.2.0", "@nestjs/axios": "3.0.2", "@nestjs/common": "10.3.3", "@nestjs/config": "3.2.0", diff --git a/apps/ssi-abstraction/src/agent/dids/dids.service.ts b/apps/ssi-abstraction/src/agent/dids/dids.service.ts index ed1fb32976f7dc6926d4d9b8872a3ae881e2c981..873054efbd4e9c495c72a7ff6b109489b8e1a7dc 100644 --- a/apps/ssi-abstraction/src/agent/dids/dids.service.ts +++ b/apps/ssi-abstraction/src/agent/dids/dids.service.ts @@ -29,7 +29,7 @@ import { ConfigService } from '@nestjs/config'; import { LEDGERS } from '../../config/ledger.js'; import { AgentService } from '../agent.service.js'; -import { registerPublicDids } from '../ledger/register.js'; +import { registerPublicDids as registerIndyDids } from '../ledger/register.js'; import { WithTenantService } from '../withTenantService.js'; @Injectable() @@ -125,25 +125,23 @@ export class DidsService { keyof typeof LEDGERS >; - const publicDidSeed = this.configService.get( - 'agent.publicDidSeed', - ) as string; + const indyDidSeed = this.configService.get('agent.indyDidSeed') as string; - const publicDids = await registerPublicDids({ + const indyDids = await registerIndyDids({ ledgerIds, - seed: publicDidSeed, + seed: indyDidSeed, }); const privKey = { - privateKey: TypedArrayEncoder.fromString(publicDidSeed), + privateKey: TypedArrayEncoder.fromString(indyDidSeed), keyType: KeyType.Ed25519, }; await this.agentService.agent.wallet.createKey(privKey); - for (const publicDid of publicDids) { + for (const indyDid of indyDids) { await this.agentService.agent.dids.import({ - did: publicDid.did, + did: indyDid.did, privateKeys: [privKey], }); } diff --git a/apps/ssi-abstraction/src/agent/revocation/revocation.service.ts b/apps/ssi-abstraction/src/agent/revocation/revocation.service.ts index 9387f74c50dff1446de9d1f1ce5962ebfd53c15a..fc33f32248359a7fb8b8642e4cfd12171b007914 100644 --- a/apps/ssi-abstraction/src/agent/revocation/revocation.service.ts +++ b/apps/ssi-abstraction/src/agent/revocation/revocation.service.ts @@ -124,36 +124,6 @@ export class RevocationService { endorserDid, ); - // const revocationRegisryDefinitionSubmitResult = - // await t.modules.anoncreds.registerRevocationRegistryDefinition({ - // options: { - // endorsedTransaction: signedRevocationRegistryDefinitionRequest, - // endorserMode: 'external', - // }, - // revocationRegistryDefinition: { - // maximumCredentialNumber: - // revocationRegistryDefinitionState.revocationRegistryDefinition - // .value.maxCredNum, - // credentialDefinitionId: - // revocationRegistryDefinitionState.revocationRegistryDefinition - // .credDefId, - // tag: revocationRegistryDefinitionState.revocationRegistryDefinition - // .tag, - // issuerId: - // revocationRegistryDefinitionState.revocationRegistryDefinition - // .issuerId, - // }, - // }); - - // if ( - // revocationRegisryDefinitionSubmitResult - // .revocationRegistryDefinitionState.state !== 'finished' - // ) { - // throw Error( - // `Error while registering revocation registry definition Cause: ${JSON.stringify(revocationRegisryDefinitionSubmitResult)}`, - // ); - // } - await t.modules.indyVdr.submitTransaction( signedRevocationRegistryDefinitionRequest, issuerDid, diff --git a/apps/ssi-abstraction/src/config/__tests__/mockConfig.ts b/apps/ssi-abstraction/src/config/__tests__/mockConfig.ts index 631cdd5e462b211cddcaf317cee99b20672c9f00..bed48fbb186f1ff9942315e3d361befb7c90ac3d 100644 --- a/apps/ssi-abstraction/src/config/__tests__/mockConfig.ts +++ b/apps/ssi-abstraction/src/config/__tests__/mockConfig.ts @@ -19,7 +19,7 @@ export const mockConfigModule = (port = 3000, withLedger = false) => { if (withLedger) { process.env.AGENT_LEDGER_ID = 'BCOVRIN_TEST'; - process.env.AGENT_PUBLIC_DID_SEED = '12312367897123300000000000000000'; + process.env.AGENT_INDY_DID_SEED = '12312367897123300000000000000000'; } return ConfigModule.forRoot({ diff --git a/apps/ssi-abstraction/src/config/agent.config.ts b/apps/ssi-abstraction/src/config/agent.config.ts index 2a947177a1bda36283faa1ef66050e946b708a5e..c69046384fc24eaea1a66584a54d3ad6f3a7ba69 100644 --- a/apps/ssi-abstraction/src/config/agent.config.ts +++ b/apps/ssi-abstraction/src/config/agent.config.ts @@ -9,7 +9,7 @@ export const agentConfig = registerAs('agent', () => ({ host: process.env.AGENT_HOST || '', inboundPort: Number(process.env.AGENT_INBOUND_PORT || '3001'), path: process.env.AGENT_URL_PATH || '', - publicDidSeed: process.env.AGENT_PUBLIC_DID_SEED || '', + indyDidSeed: process.env.AGENT_INDY_DID_SEED || '', autoAcceptConnection: process.env.AGENT_AUTO_ACCEPT_CONNECTION === 'true', autoAcceptCredential: (process.env.AGENT_AUTO_ACCEPT_CREDENTIAL as AutoAcceptCredential) || diff --git a/apps/ssi-abstraction/src/config/config.ts b/apps/ssi-abstraction/src/config/config.ts index 8506741b83713348f3f3eb6e4fbc62bc95193b6e..f63126ccfaac6549514676c4bad208462d6003c3 100644 --- a/apps/ssi-abstraction/src/config/config.ts +++ b/apps/ssi-abstraction/src/config/config.ts @@ -29,7 +29,7 @@ // host: string; // inboundPort: number; // path: string; -// publicDidSeed: string; +// indyDidSeed: string; // autoAcceptConnection: boolean; // autoAcceptCredential: AutoAcceptCredential; // }; @@ -64,7 +64,7 @@ // host: process.env.AGENT_HOST || '', // inboundPort: Number(process.env.AGENT_INBOUND_PORT || '3001'), // path: process.env.AGENT_URL_PATH || '', -// publicDidSeed: process.env.AGENT_PUBLIC_DID_SEED || '', +// indyDidSeed: process.env.AGENT_INDY_DID_SEED || '', // autoAcceptConnection: process.env.AGENT_AUTO_ACCEPT_CONNECTION === 'true', // autoAcceptCredential: // (process.env.AGENT_AUTO_ACCEPT_CREDENTIAL as AutoAcceptCredential) || diff --git a/apps/ssi-abstraction/src/config/validation.ts b/apps/ssi-abstraction/src/config/validation.ts index 9fb9589333c03312360917ec234a6062323a706b..3eac1f0b59668b9c589594aa71a74658670b05da 100644 --- a/apps/ssi-abstraction/src/config/validation.ts +++ b/apps/ssi-abstraction/src/config/validation.ts @@ -1,3 +1,4 @@ +import { AutoAcceptCredential } from '@credo-ts/core'; import Joi from 'joi'; export const validationSchema = Joi.object({ @@ -21,8 +22,10 @@ export const validationSchema = Joi.object({ AGENT_HOST: Joi.string().required(), AGENT_INBOUND_PORT: Joi.string(), AGENT_URL_PATH: Joi.string(), - AGENT_PUBLIC_DID_SEED: Joi.string().required(), - AGENT_AUTO_ACCEPT_CONNECTION: Joi.boolean().required(), - AGENT_AUTO_ACCEPT_CREDENTIAL: Joi.string().required(), + AGENT_INDY_DID_SEED: Joi.string().optional(), + AGENT_AUTO_ACCEPT_CONNECTION: Joi.boolean().default(true), + AGENT_AUTO_ACCEPT_CREDENTIAL: Joi.string().default( + AutoAcceptCredential.ContentApproved, + ), AGENT_ID_UNION_KEY: Joi.string(), }); diff --git a/apps/ssi-abstraction/test/anoncredsCredentials.e2e-spec.ts b/apps/ssi-abstraction/test/anoncredsCredentials.e2e-spec.ts index 506d439e29e1b36e9a87cc505f43031d4575345c..e87583b335e314da0cff9c0b977a6b60d71a265c 100644 --- a/apps/ssi-abstraction/test/anoncredsCredentials.e2e-spec.ts +++ b/apps/ssi-abstraction/test/anoncredsCredentials.e2e-spec.ts @@ -37,7 +37,6 @@ import { import { randomBytes } from 'crypto'; import { firstValueFrom } from 'rxjs'; -import { natsConfig } from '../dist/config/nats.config.js'; import { AgentModule } from '../src/agent/agent.module.js'; import { AnonCredsCredentialsModule } from '../src/agent/anoncredsCredentials/anoncredsCredentials.module.js'; import { ConnectionsModule } from '../src/agent/connections/connections.module.js'; @@ -51,8 +50,9 @@ import { SchemasService } from '../src/agent/schemas/schemas.service.js'; import { TenantsModule } from '../src/agent/tenants/tenants.module.js'; import { TenantsService } from '../src/agent/tenants/tenants.service.js'; import { mockConfigModule } from '../src/config/__tests__/mockConfig.js'; +import { natsConfig } from '../src/config/nats.config.js'; -describe.skip('Credentials', () => { +describe('Credentials', () => { const TOKEN = 'CREDENTIALS_CLIENT_SERVICE'; let app: INestApplication; let client: ClientProxy; @@ -166,7 +166,7 @@ describe.skip('Credentials', () => { client.close(); }); - it(EventAnonCredsCredentialsGetAll.token, async () => { + xit(EventAnonCredsCredentialsGetAll.token, async () => { const response$ = client.send< EventAnonCredsCredentialsGetAll, EventAnonCredsCredentialsGetAllInput @@ -177,7 +177,7 @@ describe.skip('Credentials', () => { expect(eventInstance.instance).toEqual(expect.arrayContaining([])); }); - it(EventAnonCredsCredentialOfferGetAll.token, async () => { + xit(EventAnonCredsCredentialOfferGetAll.token, async () => { const response$ = client.send< EventAnonCredsCredentialOfferGetAll, EventAnonCredsCredentialOfferGetAllInput @@ -189,7 +189,7 @@ describe.skip('Credentials', () => { expect(eventInstance.instance).toEqual(expect.arrayContaining([])); }); - it(EventAnonCredsCredentialOfferGetById.token, async () => { + xit(EventAnonCredsCredentialOfferGetById.token, async () => { const response$ = client.send< EventAnonCredsCredentialOfferGetById, EventAnonCredsCredentialOfferGetByIdInput @@ -204,7 +204,7 @@ describe.skip('Credentials', () => { expect(eventInstance.instance).toBeNull(); }); - it(EventAnonCredsCredentialRequestGetAll.token, async () => { + xit(EventAnonCredsCredentialRequestGetAll.token, async () => { const response$ = client.send< EventAnonCredsCredentialRequestGetAll, EventAnonCredsCredentialRequestGetAllInput @@ -216,7 +216,7 @@ describe.skip('Credentials', () => { expect(eventInstance.instance).toEqual(expect.arrayContaining([])); }); - it(EventAnonCredsCredentialRequestGetById.token, async () => { + xit(EventAnonCredsCredentialRequestGetById.token, async () => { const response$ = client.send< EventAnonCredsCredentialRequestGetById, EventAnonCredsCredentialRequestGetByIdInput @@ -231,7 +231,7 @@ describe.skip('Credentials', () => { expect(eventInstance.instance).toBeNull(); }); - it(EventAnonCredsCredentialsGetById.token, async () => { + xit(EventAnonCredsCredentialsGetById.token, async () => { const response$ = client.send< EventAnonCredsCredentialsGetById, EventAnonCredsCredentialsGetByIdInput @@ -245,7 +245,7 @@ describe.skip('Credentials', () => { expect(eventInstance.instance).toEqual(null); }); - it(EventDidcommAnonCredsCredentialsOffer.token, async () => { + xit(EventDidcommAnonCredsCredentialsOffer.token, async () => { const attributes = [ { name: 'Name', value: 'Berend' }, { name: 'Age', value: '25' }, @@ -308,7 +308,7 @@ describe.skip('Credentials', () => { }); }); - it(EventAnonCredsProofsDeleteById.token, async () => { + xit(EventAnonCredsProofsDeleteById.token, async () => { let credentialExchangeRecord: CredentialExchangeRecord | undefined = undefined; diff --git a/apps/ssi-abstraction/test/connections.e2e-spec.ts b/apps/ssi-abstraction/test/connections.e2e-spec.ts index 00cfc2355ba8872f254705b209bbab8ab1452b9a..80c32fe8707ec75ba98c75631ba509ea093fc1aa 100644 --- a/apps/ssi-abstraction/test/connections.e2e-spec.ts +++ b/apps/ssi-abstraction/test/connections.e2e-spec.ts @@ -30,13 +30,13 @@ import { import assert from 'node:assert'; import { firstValueFrom } from 'rxjs'; -import { natsConfig } from '../dist/config/nats.config.js'; import { AgentModule } from '../src/agent/agent.module.js'; import { ConnectionsModule } from '../src/agent/connections/connections.module.js'; import { TenantsModule } from '../src/agent/tenants/tenants.module.js'; import { TenantsService } from '../src/agent/tenants/tenants.service.js'; import { MetadataTokens } from '../src/common/constants.js'; import { mockConfigModule } from '../src/config/__tests__/mockConfig.js'; +import { natsConfig } from '../src/config/nats.config.js'; describe('Connections', () => { const TOKEN = 'CONNECTIONS_CLIENT_SERVICE'; diff --git a/package.json b/package.json index 4d8c7dfd0d549d96cbb01ce22345d701684b7e06..e51c046681ed9ff82296ac01460406a90e72c8af 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ }, "pnpm": { "patchedDependencies": { - "@credo-ts/indy-vdr@0.5.0-alpha.138": "patches/@credo-ts__indy-vdr@0.5.0-alpha.138.patch", - "@credo-ts/anoncreds@0.5.0-alpha.138": "patches/@credo-ts__anoncreds@0.5.0-alpha.138.patch" + "@credo-ts/indy-vdr@0.5.0-alpha.149": "patches/@credo-ts__indy-vdr@0.5.0-alpha.149.patch", + "@credo-ts/anoncreds@0.5.0-alpha.149": "patches/@credo-ts__anoncreds@0.5.0-alpha.149.patch" } } } diff --git a/patches/@credo-ts__anoncreds@0.5.0-alpha.138.patch b/patches/@credo-ts__anoncreds@0.5.0-alpha.149.patch similarity index 100% rename from patches/@credo-ts__anoncreds@0.5.0-alpha.138.patch rename to patches/@credo-ts__anoncreds@0.5.0-alpha.149.patch diff --git a/patches/@credo-ts__indy-vdr@0.5.0-alpha.138.patch b/patches/@credo-ts__indy-vdr@0.5.0-alpha.149.patch similarity index 100% rename from patches/@credo-ts__indy-vdr@0.5.0-alpha.138.patch rename to patches/@credo-ts__indy-vdr@0.5.0-alpha.149.patch diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 026b264e95219c3090476e689e05cc98c814c877..b8cd75ecc4a7e86cb157db9cf13804ba59e69df4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,12 +5,12 @@ settings: excludeLinksFromLockfile: false patchedDependencies: - '@credo-ts/anoncreds@0.5.0-alpha.138': + '@credo-ts/anoncreds@0.5.0-alpha.149': hash: j426fc3a5cnwxikpued4ld6mqi - path: patches/@credo-ts__anoncreds@0.5.0-alpha.138.patch - '@credo-ts/indy-vdr@0.5.0-alpha.138': + path: patches/@credo-ts__anoncreds@0.5.0-alpha.149.patch + '@credo-ts/indy-vdr@0.5.0-alpha.149': hash: rx3uz4zmmaugcgt7ujdip54kgy - path: patches/@credo-ts__indy-vdr@0.5.0-alpha.138.patch + path: patches/@credo-ts__indy-vdr@0.5.0-alpha.149.patch importers: @@ -520,14 +520,14 @@ importers: apps/shared: dependencies: '@credo-ts/anoncreds': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.1)(expo@49.0.21)(react-native@0.73.2) '@credo-ts/core': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@credo-ts/tenants': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@elastic/ecs-winston-format': specifier: 1.5.2 version: 1.5.2 @@ -611,34 +611,34 @@ importers: apps/ssi-abstraction: dependencies: '@credo-ts/anoncreds': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.1)(expo@49.0.21)(react-native@0.73.2) '@credo-ts/askar': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(@hyperledger/aries-askar-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(@hyperledger/aries-askar-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) '@credo-ts/core': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@credo-ts/indy-vdr': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(patch_hash=rx3uz4zmmaugcgt7ujdip54kgy)(@hyperledger/anoncreds-shared@0.2.0)(@hyperledger/indy-vdr-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(patch_hash=rx3uz4zmmaugcgt7ujdip54kgy)(@hyperledger/anoncreds-shared@0.2.1)(@hyperledger/indy-vdr-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) '@credo-ts/node': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@credo-ts/tenants': - specifier: 0.5.0-alpha.138 - version: 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + specifier: 0.5.0-alpha.149 + version: 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@elastic/ecs-winston-format': specifier: 1.5.2 version: 1.5.2 '@hyperledger/anoncreds-nodejs': - specifier: 0.2.0 - version: 0.2.0 + specifier: ^0.2.1 + version: 0.2.1 '@hyperledger/aries-askar-nodejs': - specifier: 0.2.0 + specifier: ^0.2.0 version: 0.2.0 '@hyperledger/indy-vdr-nodejs': - specifier: 0.2.0 + specifier: ^0.2.0 version: 0.2.0 '@nestjs/axios': specifier: 3.0.2 @@ -2605,13 +2605,15 @@ packages: chalk: 4.1.2 dev: true - /@credo-ts/anoncreds@0.5.0-alpha.138(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2): - resolution: {integrity: sha512-AJLQXquMO2g/3w9YvC1/NtU963HWC1y5Ikp8pgGntKhpGTKcwBAbtG6BM7PynWsExYd/DOjNsy0BM5H9gtVTAw==} + /@credo-ts/anoncreds@0.5.0-alpha.149(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.1)(expo@49.0.21)(react-native@0.73.2): + resolution: {integrity: sha512-j91h8uZZ4gGIdDQXyST0IM0NgvVO6UOxNkmoOxiwH74a0qh3rIR1+nhrVdgD1U9bbEfy8ZU262XttRfzao7JgQ==} peerDependencies: - '@hyperledger/anoncreds-shared': ^0.2.0 + '@hyperledger/anoncreds-shared': ^0.2.1 dependencies: - '@credo-ts/core': 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) - '@hyperledger/anoncreds-shared': 0.2.0 + '@astronautlabs/jsonpath': 1.1.2 + '@credo-ts/core': 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) + '@hyperledger/anoncreds-shared': 0.2.1 + big-integer: 1.6.52 bn.js: 5.2.1 class-transformer: 0.5.1 class-validator: 0.14.1 @@ -2626,12 +2628,12 @@ packages: dev: false patched: true - /@credo-ts/askar@0.5.0-alpha.138(@hyperledger/aries-askar-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2): - resolution: {integrity: sha512-rD5u9/eIZhkoNpDQM/6N6PYn5mEt83t90DEtB+arTSE1LJ3FZIakZeI3G/ilDLTo2Pzkk8Xq2Zk1Kfh1uqyBMg==} + /@credo-ts/askar@0.5.0-alpha.149(@hyperledger/aries-askar-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2): + resolution: {integrity: sha512-srsC2TNt8sneFZUUDy479g3KPkT0WPAz7XN7Dr2BQ9E65moMEg2uPUGDpEkLHDX+s7XMirCEfN6inNWdQW9RLw==} peerDependencies: '@hyperledger/aries-askar-shared': ^0.2.0 dependencies: - '@credo-ts/core': 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + '@credo-ts/core': 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@hyperledger/aries-askar-shared': 0.2.0 bn.js: 5.2.1 class-transformer: 0.5.1 @@ -2647,8 +2649,8 @@ packages: - web-streams-polyfill dev: false - /@credo-ts/core@0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2): - resolution: {integrity: sha512-IeGX/FGL+IjsDFA0V3zjln78XyqEoKe4xx6gSlG2DpExv3ua6t1GdVV0sD4Fu1fmyir5YTbmi1YjDKXlqYLvow==} + /@credo-ts/core@0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2): + resolution: {integrity: sha512-zmY92C8ZVS2SUIJH/BoQun6IxI0dD/JeAAQLDJeiIejLGzUTyHcM1rP2E1cV2HnHLdbK1YW9//Ub0ep9C7S6MQ==} dependencies: '@digitalcredentials/jsonld': 6.0.0(expo@49.0.21)(react-native@0.73.2) '@digitalcredentials/jsonld-signatures': 9.4.0(expo@49.0.21)(react-native@0.73.2) @@ -2656,7 +2658,7 @@ packages: '@multiformats/base-x': 4.0.1 '@sd-jwt/core': 0.2.1 '@sd-jwt/decode': 0.2.1 - '@sphereon/pex': 3.2.0 + '@sphereon/pex': 3.2.1-unstable.7 '@sphereon/pex-models': 2.2.0 '@sphereon/ssi-types': 0.18.1 '@stablelib/ed25519': 1.0.3 @@ -2690,13 +2692,13 @@ packages: - web-streams-polyfill dev: false - /@credo-ts/indy-vdr@0.5.0-alpha.138(patch_hash=rx3uz4zmmaugcgt7ujdip54kgy)(@hyperledger/anoncreds-shared@0.2.0)(@hyperledger/indy-vdr-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2): - resolution: {integrity: sha512-1opj8vL95xctnD4oI+apZNwG+8SUJAF/2nFXrT0ifk99Mb7H2ZYgcG/P0JUIx/R9Vuu76mJIdI6Rz//x1siuXg==} + /@credo-ts/indy-vdr@0.5.0-alpha.149(patch_hash=rx3uz4zmmaugcgt7ujdip54kgy)(@hyperledger/anoncreds-shared@0.2.1)(@hyperledger/indy-vdr-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2): + resolution: {integrity: sha512-dWW+TPitnWr352g/1dDULf4sIyILVJgQomq8WKbCO0mNffq3zAWQpBrClTo8uWW/D8LgmDwci8zxuBh/4aQl2A==} peerDependencies: '@hyperledger/indy-vdr-shared': ^0.2.0 dependencies: - '@credo-ts/anoncreds': 0.5.0-alpha.138(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.0)(expo@49.0.21)(react-native@0.73.2) - '@credo-ts/core': 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + '@credo-ts/anoncreds': 0.5.0-alpha.149(patch_hash=j426fc3a5cnwxikpued4ld6mqi)(@hyperledger/anoncreds-shared@0.2.1)(expo@49.0.21)(react-native@0.73.2) + '@credo-ts/core': 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@hyperledger/indy-vdr-shared': 0.2.0 transitivePeerDependencies: - '@hyperledger/anoncreds-shared' @@ -2709,12 +2711,12 @@ packages: dev: false patched: true - /@credo-ts/node@0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2): - resolution: {integrity: sha512-e3y10v0ROKe2/sKMbEIDIr1StnvQ9eMcxPPdNDAAgjzLIK9mr0ieV42dt7EKaQc0iRLDpcmxETUHgkxgllaYvw==} + /@credo-ts/node@0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2): + resolution: {integrity: sha512-SjgfzRbwzKQV/HOB0BUERAKVwmJdZTMeMiV5vGeO5WtvGBOrMLnSVHnKIu5WseA219yOx4RMLfdwSY8g+7H46Q==} dependencies: '@2060.io/ffi-napi': 4.0.8 '@2060.io/ref-napi': 3.0.6 - '@credo-ts/core': 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + '@credo-ts/core': 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) '@types/express': 4.17.21 express: 4.18.2 ws: 8.16.0 @@ -2729,10 +2731,10 @@ packages: - web-streams-polyfill dev: false - /@credo-ts/tenants@0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2): - resolution: {integrity: sha512-kB7CdW3eyGVVgmRC1ljsAdXClXGU8ds+yv3LBZ4YH2HjOoGP4dyg9W+/WMq5WnRdas9/HO3try/iULfTJSa8pQ==} + /@credo-ts/tenants@0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2): + resolution: {integrity: sha512-XCHvgWSBMSmbGCw5RnDDtK3gYjK1GY25c/9iatuLxH8/+I1B2AK4IOyWTwQtNVwboHyMe28hQxlABFGhicBx7Q==} dependencies: - '@credo-ts/core': 0.5.0-alpha.138(expo@49.0.21)(react-native@0.73.2) + '@credo-ts/core': 0.5.0-alpha.149(expo@49.0.21)(react-native@0.73.2) async-mutex: 0.4.0 transitivePeerDependencies: - domexception @@ -3652,13 +3654,13 @@ packages: resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} dev: true - /@hyperledger/anoncreds-nodejs@0.2.0: - resolution: {integrity: sha512-OAjzdAZv+nzTGfDyQi/pR3ztfYzbvCbALx8RbibAOe2y2Zja7kWcIpwmnDc/PyYI/B3xrgl5jiLslOPrZo35hA==} + /@hyperledger/anoncreds-nodejs@0.2.1: + resolution: {integrity: sha512-wfQEVSqYHq6mQFTLRMVayyi8kbHlz3RGEIe10JOQSHCw4ZCTifQ1XuVajSwOj8ykNYwxuckcfNikJtJScs7l+w==} requiresBuild: true dependencies: '@2060.io/ffi-napi': 4.0.8 '@2060.io/ref-napi': 3.0.6 - '@hyperledger/anoncreds-shared': 0.2.0 + '@hyperledger/anoncreds-shared': 0.2.1 '@mapbox/node-pre-gyp': 1.0.11 ref-array-di: 1.2.2 ref-struct-di: 1.1.1 @@ -3667,8 +3669,8 @@ packages: - supports-color dev: false - /@hyperledger/anoncreds-shared@0.2.0: - resolution: {integrity: sha512-ZVSivQgCisao/5vsuSb0KmvwJ227pGm3Wpb6KjPgFlea+F7e7cKAxwtrDBIReKe6E14OqysGte8TMozHUFldAA==} + /@hyperledger/anoncreds-shared@0.2.1: + resolution: {integrity: sha512-QpkmsiDBto4B3MS7+tJKn8DHCuhaZuzPKy+SoSAIH8wrjBmQ4NQqzMBZXs0z0JnNr1egkIFR3HIFsIu9ayK20g==} dev: false /@hyperledger/aries-askar-nodejs@0.2.0: @@ -4034,7 +4036,7 @@ packages: nopt: 5.0.0 npmlog: 5.0.1 rimraf: 3.0.2 - semver: 7.5.4 + semver: 7.6.0 tar: 6.2.0 transitivePeerDependencies: - encoding @@ -5014,13 +5016,6 @@ packages: '@sd-jwt/utils': 0.2.1 dev: false - /@sd-jwt/present@0.2.0: - resolution: {integrity: sha512-6xDBiB+UqCwW8k7O7OUJ7BgC/8zcO+AD5ZX1k4I6yjDM9vscgPulSVxT/yUH+Aov3cZ/BKvfKC0qDEZkHmP/kg==} - dependencies: - '@sd-jwt/types': 0.2.0 - '@sd-jwt/utils': 0.2.0 - dev: false - /@sd-jwt/present@0.2.1: resolution: {integrity: sha512-yWIAR2C/q1jNUwzAeUlUcf3WCTEcSSGo9pltHW5AXptELjyaWGSmC5p6o9ucDXHvBnicfPONhe5OdUCSpiCntw==} dependencies: @@ -5028,21 +5023,10 @@ packages: '@sd-jwt/utils': 0.2.1 dev: false - /@sd-jwt/types@0.2.0: - resolution: {integrity: sha512-16WFRcL/maG0/JxN9UCSx07/vJ2SDbGscv9gDLmFLgJzhJcGPer41XfI6aDfVARYP430wHFixChfY/n7qC1L/Q==} - dev: false - /@sd-jwt/types@0.2.1: resolution: {integrity: sha512-nbNik/cq6UIMsN144FcgPZQzaqIsjEEj307j3ZSFORkQBR4Tsmcj54aswTuNh0Z0z/4aSbfw14vOKBZvRWyVLQ==} dev: false - /@sd-jwt/utils@0.2.0: - resolution: {integrity: sha512-oHCfRYVHCb5RNwdq3eHAt7P9d7TsEaSM1TTux+xl1I9PeQGLtZETnto9Gchtzn8FlTrMdVsLlcuAcK6Viwj1Qw==} - dependencies: - '@sd-jwt/types': 0.2.0 - buffer: 6.0.3 - dev: false - /@sd-jwt/utils@0.2.1: resolution: {integrity: sha512-9eRrge44dhE3fenawR/RZGxP5iuW9DtgdOVANu/JK5PEl80r0fDsMwm/gDjuv8OgLDCmQ6uSaVte1lYaTG71bQ==} dependencies: @@ -5099,14 +5083,14 @@ packages: resolution: {integrity: sha512-dGDRdoxJj+P0TRqu0R8R0/IdIzrCya1MsnxIFbcmSW3rjPsbwXbV0EojEfxXGD5LhqsUJiuAffMtyE2dtVI/XQ==} dev: false - /@sphereon/pex@3.2.0: - resolution: {integrity: sha512-6qk4L7PaxFsHSVjG0w5SbffwuwI0sbnwyoaNBNku17u2WOThBcnH22sgCdNRRbzacXs0e4iAw7Cb1cd730LQaQ==} + /@sphereon/pex@3.2.1-unstable.7: + resolution: {integrity: sha512-X55PUfZL5gZ/mJinNS+eQ/iUKuFmNA6PP8NU14p4SemZbt/8kn67XYM6Nl/hYSFDysx64daPMRfPTkopKAfT+Q==} engines: {node: '>=18'} dependencies: '@astronautlabs/jsonpath': 1.1.2 '@sd-jwt/decode': 0.2.1 - '@sd-jwt/present': 0.2.0 - '@sd-jwt/utils': 0.2.0 + '@sd-jwt/present': 0.2.1 + '@sd-jwt/utils': 0.2.1 '@sphereon/pex-models': 2.2.0 '@sphereon/ssi-types': 0.18.1 ajv: 8.12.0 @@ -5189,7 +5173,7 @@ packages: commander: 7.2.0 fast-glob: 3.3.2 minimatch: 9.0.3 - piscina: 4.3.2 + piscina: 4.4.0 semver: 7.5.4 slash: 3.0.0 source-map: 0.7.4 @@ -5408,8 +5392,8 @@ packages: '@types/ssh2': 1.11.19 dev: true - /@types/dockerode@3.3.23: - resolution: {integrity: sha512-Lz5J+NFgZS4cEVhquwjIGH4oQwlVn2h7LXD3boitujBnzOE5o7s9H8hchEjoDK2SlRsJTogdKnQeiJgPPKLIEw==} + /@types/dockerode@3.3.24: + resolution: {integrity: sha512-679y69OYusf7Fr2HtdjXPUF6hnHxSA9K4EsuagsMuPno/XpJHjXxCOy2I5YL8POnWbzjsQAi0pyKIYM9HSpQog==} dependencies: '@types/docker-modem': 3.0.6 '@types/node': 20.11.19 @@ -5523,8 +5507,8 @@ packages: resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} dev: true - /@types/node@18.19.17: - resolution: {integrity: sha512-SzyGKgwPzuWp2SHhlpXKzCX0pIOfcI4V2eF37nNBJOhwlegQ83omtVQ1XxZpDE06V/d6AQvfQdPfnw0tRC//Ng==} + /@types/node@18.19.21: + resolution: {integrity: sha512-2Q2NeB6BmiTFQi4DHBzncSoq/cJMLDdhPaAoJFnFCyD9a8VPZRf7a1GAwp1Edb7ROaZc5Jz/tnZyL6EsWMRaqw==} dependencies: undici-types: 5.26.5 dev: true @@ -5583,7 +5567,7 @@ packages: /@types/ssh2@1.11.19: resolution: {integrity: sha512-ydbQAqEcdNVy2t1w7dMh6eWMr+iOgtEkqM/3K9RMijMaok/ER7L8GW6PwsOypHCN++M+c8S/UR9SgMqNIFstbA==} dependencies: - '@types/node': 18.19.17 + '@types/node': 18.19.21 dev: true /@types/stack-utils@2.0.3: @@ -6553,17 +6537,17 @@ packages: /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - /bare-events@2.2.0: - resolution: {integrity: sha512-Yyyqff4PIFfSuthCZqLlPISTWHmnQxoPuAvkmgzsJEmG3CesdIv6Xweayl0JkCZJSB2yYIdJyEz97tpxNhgjbg==} + /bare-events@2.2.1: + resolution: {integrity: sha512-9GYPpsPFvrWBkelIhOhTWtkeZxVxZOdb3VnFTCzlOo3OjvmTvzLoZFUT8kNFACx0vJej6QPney1Cf9BvzCNE/A==} requiresBuild: true dev: true optional: true - /bare-fs@2.1.5: - resolution: {integrity: sha512-5t0nlecX+N2uJqdxe9d18A98cp2u9BETelbjKpiVgQqzzmVNFYWEAjQHqS+2Khgto1vcwhik9cXucaj5ve2WWA==} + /bare-fs@2.2.1: + resolution: {integrity: sha512-+CjmZANQDFZWy4PGbVdmALIwmt33aJg8qTkVjClU6X4WmZkTPBDxRHiBn7fpqEWEfF3AC2io++erpViAIQbSjg==} requiresBuild: true dependencies: - bare-events: 2.2.0 + bare-events: 2.2.1 bare-os: 2.2.0 bare-path: 2.1.0 streamx: 2.16.1 @@ -12586,8 +12570,8 @@ packages: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} - /piscina@4.3.2: - resolution: {integrity: sha512-aXPak3A1LgbfDFrsmgYhQS4J7ElHRFL7iUkUqaiLNDRE69YQSFGqIZiHaXOH4NyC6EdD+awZVeE7MG0zVm9L4Q==} + /piscina@4.4.0: + resolution: {integrity: sha512-+AQduEJefrOApE4bV7KRmp3N2JnnyErlVqq4P/jmko4FPz9Z877BCccl/iB3FdrWSUkvbGV9Kan/KllJgat3Vg==} optionalDependencies: nice-napi: 1.0.2 dev: true @@ -13913,7 +13897,7 @@ packages: fast-fifo: 1.3.2 queue-tick: 1.0.1 optionalDependencies: - bare-events: 2.2.0 + bare-events: 2.2.1 dev: true /strict-uri-encode@2.0.0: @@ -14211,7 +14195,7 @@ packages: pump: 3.0.0 tar-stream: 3.1.7 optionalDependencies: - bare-fs: 2.1.5 + bare-fs: 2.2.1 bare-path: 2.1.0 dev: true @@ -14367,7 +14351,7 @@ packages: resolution: {integrity: sha512-JarbT6o7fv1siUts4tGv3wBoYrWKxjla69+5QWG9+bcd4l+ECJ3ikfGD/hpXRmRBsnjzeWyV+tL9oWOBRzk+lA==} dependencies: '@balena/dockerignore': 1.0.2 - '@types/dockerode': 3.3.23 + '@types/dockerode': 3.3.24 archiver: 5.3.2 async-lock: 1.4.1 byline: 5.0.0 @@ -14380,7 +14364,7 @@ packages: properties-reader: 2.3.0 ssh-remote-port-forward: 1.0.4 tar-fs: 3.0.5 - tmp: 0.2.1 + tmp: 0.2.3 transitivePeerDependencies: - encoding - supports-color @@ -14440,11 +14424,9 @@ packages: dependencies: os-tmpdir: 1.0.2 - /tmp@0.2.1: - resolution: {integrity: sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==} - engines: {node: '>=8.17.0'} - dependencies: - rimraf: 3.0.2 + /tmp@0.2.3: + resolution: {integrity: sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==} + engines: {node: '>=14.14'} dev: true /tmpl@1.0.5: