Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
303c9cf
fix: changes for types
GHkrishna Dec 4, 2025
534d7ea
fix: version update and types update
GHkrishna Dec 8, 2025
d36b26a
fix: for now we'll delete all the patch and apply as required
GHkrishna Dec 8, 2025
d42dae4
fix!: controller types (credo version updates) (#335)
GHkrishna Dec 11, 2025
18c8ad1
fix: agent initialization
GHkrishna Dec 11, 2025
148aa9c
fix: remove unwanted agent backup config
GHkrishna Dec 11, 2025
a6d2181
fix: oob invitation
GHkrishna Dec 11, 2025
78f6065
fix: some package version update
GHkrishna Dec 15, 2025
925a147
fix: some type changes
GHkrishna Dec 15, 2025
ee543c9
fix: comment controller for agent to start
GHkrishna Dec 15, 2025
32e1ab0
fix: oidc4vc agent changes for building agent
GHkrishna Dec 15, 2025
b47de32
fix: auto generated file changes
GHkrishna Dec 15, 2025
6a53e4b
fix: cliagent issues
GHkrishna Dec 15, 2025
a5e1a31
fix: x509 controller (#338)
GHkrishna Dec 23, 2025
b6e3043
WIP: bug fixing from issuer and verifier session
shitrerohit Dec 16, 2025
9573fca
fix:changes on cli agent file
shitrerohit Dec 16, 2025
232943b
WIP:changes in create issuer work flow
shitrerohit Dec 16, 2025
0816425
WIP:Resolving the issues from issue credential workflow.
shitrerohit Dec 19, 2025
768ba54
fix:sd-jwt store credential
shitrerohit Dec 23, 2025
bbf02c6
WIP: store mDoc credential
shitrerohit Dec 31, 2025
6c572c8
fix:sonar cloud issue
shitrerohit Dec 31, 2025
21f66e0
fix:completed flow changes for mdoc
shitrerohit Jan 5, 2026
57f71c5
fix:resolved code rabit related issues
shitrerohit Jan 5, 2026
586ba2c
fix:removed commented code
shitrerohit Jan 5, 2026
5851bd6
fix: resolved PR comments
shitrerohit Jan 5, 2026
44b1c6a
feat/oidv4vc issuance and verification changes
shitrerohit Jan 9, 2026
368bf50
fix: resolved code rabbit ai issues
shitrerohit Jan 12, 2026
20ca52e
fix: resolved code rabbit issues
shitrerohit Jan 13, 2026
fe5cfa2
fix: added comment for image check in verification session
shitrerohit Jan 14, 2026
ea7f3b2
fix/removed commented code
shitrerohit Jan 14, 2026
34cab32
fix:resolved sd-jwt issuance related issues
shitrerohit Jan 27, 2026
9e0c531
fix:Removed commented code
shitrerohit Jan 27, 2026
1786598
fix:changes in create proof request
shitrerohit Jan 28, 2026
f194bb3
feat:API for delete credential
shitrerohit Jan 31, 2026
34d8586
node verison changes
shitrerohit Jan 31, 2026
00b8680
update node version
shitrerohit Jan 31, 2026
ca9a16b
sample x5c certificate added
shitrerohit Jan 31, 2026
3861761
fix: resolved PR comments
shitrerohit Feb 2, 2026
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Builder stage
FROM node:18.19.0 AS builder
FROM node:22.22.0 AS builder

WORKDIR /app

Expand All @@ -19,7 +19,7 @@ RUN yarn global add patch-package
RUN yarn build

# Stage 2: Production stage
FROM node:18.19.0-slim
FROM node:22.22.0-slim

WORKDIR /app

Expand Down
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
},
"dependencies": {
"@ayanworks/credo-polygon-w3c-module": "1.0.1-alpha.1",
"@credo-ts/anoncreds": "0.6.0-alpha-20250325224513",
"@credo-ts/askar": "0.6.0-alpha-20250325224513",
"@credo-ts/core": "0.6.0-alpha-20250325224513",
"@credo-ts/indy-vdr": "0.6.0-alpha-20250325224513",
"@credo-ts/node": "^0.6.0-alpha-20250325224513",
"@credo-ts/openid4vc": "0.6.0-alpha-20250325224513",
"@credo-ts/anoncreds": "0.6.1",
"@credo-ts/askar": "0.6.1",
"@credo-ts/core": "0.6.1",
"@credo-ts/didcomm": "0.6.1",
"@credo-ts/indy-vdr": "0.6.1",
"@credo-ts/node": "0.6.1",
"@credo-ts/openid4vc": "0.6.1",
"@credo-ts/push-notifications": "^0.7.1",
"@credo-ts/question-answer": "0.6.0-alpha-20250325224513",
"@credo-ts/tenants": "0.6.0-alpha-20250325224513",
"@credo-ts/question-answer": "0.6.1",
"@credo-ts/tenants": "0.6.1",
"@hyperledger/anoncreds-nodejs": "0.3.1",
"@openwallet-foundation/askar-nodejs": "^0.3.2",
"@hyperledger/indy-vdr-nodejs": "0.2.2",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-logs-otlp-http": "^0.202.0",
Expand All @@ -62,6 +62,7 @@
"@opentelemetry/sdk-logs": "^0.202.0",
"@opentelemetry/sdk-node": "^0.202.0",
"@opentelemetry/semantic-conventions": "^1.34.0",
"@openwallet-foundation/askar-nodejs": "^0.4.3",
"@tsoa/runtime": "^6.6.0",
"@types/node-fetch": "^2.6.4",
"@types/ref-struct-di": "^1.1.12",
Expand All @@ -81,7 +82,8 @@
"swagger-ui-express": "^4.4.0",
"tslog": "^3.3.3",
"tsoa": "^6.0.1",
"tsyringe": "^4.8.0",
"tsyringe": "^4.10.0",
"uuid": "^13.0.0",
"ws": "^8.18.2",
"yargs": "^17.7.2"
},
Expand Down Expand Up @@ -116,7 +118,7 @@
"typescript": "^5.8.3"
},
"resolutions": {
"@credo-ts/core": "0.6.0-alpha-20250325224513",
"@credo-ts/askar": "0.6.0-alpha-20250325224513"
"@credo-ts/core": "0.6.1",
"@credo-ts/askar": "0.6.1"
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/node_modules/@credo-ts/core/build/utils/version.d.mts b/node_modules/@credo-ts/core/build/utils/version.d.mts
index a71659d..8ed88e2 100644
--- a/node_modules/@credo-ts/core/build/utils/version.d.mts
+++ b/node_modules/@credo-ts/core/build/utils/version.d.mts
@@ -1,5 +1,5 @@
//#region src/utils/version.d.ts
-type VersionString = `${number}.${number}` | `${number}.${number}.${number}`;
+type VersionString = string;
//#endregion
export { VersionString };
//# sourceMappingURL=version.d.mts.map
\ No newline at end of file
diff --git a/node_modules/@credo-ts/core/build/utils/version.mjs.map b/node_modules/@credo-ts/core/build/utils/version.mjs.map
index 19457ed..5fb595f 100644
--- a/node_modules/@credo-ts/core/build/utils/version.mjs.map
+++ b/node_modules/@credo-ts/core/build/utils/version.mjs.map
@@ -1 +1 @@
-{"version":3,"file":"version.mjs","names":[],"sources":["../../src/utils/version.ts"],"sourcesContent":["export function parseVersionString(version: VersionString): Version {\n const [major, minor, patch] = version.split('.')\n\n return [Number(major), Number(minor), Number(patch ?? '0')]\n}\n\nexport function isFirstVersionHigherThanSecond(first: Version, second: Version) {\n return (\n first[0] > second[0] ||\n (first[0] === second[0] && first[1] > second[1]) ||\n (first[0] === second[0] && first[1] === second[1] && first[2] > second[2])\n )\n}\n\nexport function isFirstVersionEqualToSecond(first: Version, second: Version) {\n return first[0] === second[0] && first[1] === second[1] && first[2] === second[2]\n}\n\nexport type VersionString = `${number}.${number}` | `${number}.${number}.${number}`\nexport type MajorVersion = number\nexport type MinorVersion = number\nexport type PatchVersion = number\nexport type Version = [MajorVersion, MinorVersion, PatchVersion]\n"],"mappings":";;;AAAA,SAAgB,mBAAmB,SAAiC;CAClE,MAAM,CAAC,OAAO,OAAO,SAAS,QAAQ,MAAM,IAAI;AAEhD,QAAO;EAAC,OAAO,MAAM;EAAE,OAAO,MAAM;EAAE,OAAO,SAAS,IAAI;EAAC;;AAG7D,SAAgB,+BAA+B,OAAgB,QAAiB;AAC9E,QACE,MAAM,KAAK,OAAO,MACjB,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO,MAC5C,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO;;AAI3E,SAAgB,4BAA4B,OAAgB,QAAiB;AAC3E,QAAO,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO"}
\ No newline at end of file
+{"version":3,"file":"version.mjs","names":[],"sources":["../../src/utils/version.ts"],"sourcesContent":["export function parseVersionString(version: VersionString): Version {\n const [major, minor, patch] = version.split('.')\n\n return [Number(major), Number(minor), Number(patch ?? '0')]\n}\n\nexport function isFirstVersionHigherThanSecond(first: Version, second: Version) {\n return (\n first[0] > second[0] ||\n (first[0] === second[0] && first[1] > second[1]) ||\n (first[0] === second[0] && first[1] === second[1] && first[2] > second[2])\n )\n}\n\nexport function isFirstVersionEqualToSecond(first: Version, second: Version) {\n return first[0] === second[0] && first[1] === second[1] && first[2] === second[2]\n}\n\nexport type VersionString = string\nexport type MajorVersion = number\nexport type MinorVersion = number\nexport type PatchVersion = number\nexport type Version = [MajorVersion, MinorVersion, PatchVersion]\n"],"mappings":";;;AAAA,SAAgB,mBAAmB,SAAiC;CAClE,MAAM,CAAC,OAAO,OAAO,SAAS,QAAQ,MAAM,IAAI;AAEhD,QAAO;EAAC,OAAO,MAAM;EAAE,OAAO,MAAM;EAAE,OAAO,SAAS,IAAI;EAAC;;AAG7D,SAAgB,+BAA+B,OAAgB,QAAiB;AAC9E,QACE,MAAM,KAAK,OAAO,MACjB,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO,MAC5C,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,KAAK,OAAO;;AAI3E,SAAgB,4BAA4B,OAAgB,QAAiB;AAC3E,QAAO,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO,MAAM,MAAM,OAAO,OAAO"}
\ No newline at end of file

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 2 additions & 1 deletion samples/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const run = async () => {
const agent = await setupAgent({
port: 3001,
endpoints: [endpoint],
name: 'Aries Test Agent',
id: 'Sample',
key: 'Sample',
})

const conf: ServerConfig = {
Expand Down
5 changes: 3 additions & 2 deletions samples/sampleWithApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const run = async () => {
const agent = await setupAgent({
port: 3001,
endpoints: [endpoint],
name: 'Aries Test Agent',
id: 'Sample',
key: 'Sample',
})

const app = express()
Expand All @@ -23,7 +24,7 @@ const run = async () => {
app.post('/greeting', jsonParser, (req, res) => {
const config = agent.dependencyManager.resolve(AgentConfig)

res.send(`Hello, ${config.label}!`)
res.send(`Hello, agent initialized: , ${agent.isInitialized}!`)
})

const conf: ServerConfig = {
Expand Down
4 changes: 2 additions & 2 deletions src/authentication.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { RestAgentModules, RestMultiTenantAgentModules } from './cliAgent'
import type { TenantAgent } from '@credo-ts/tenants/build/TenantAgent'
import type { Request } from 'express'

import { Agent, LogLevel } from '@credo-ts/core'
import { uuid } from '@credo-ts/core/build/utils/uuid'
import jwt, { decode } from 'jsonwebtoken'
import { container } from 'tsyringe'

import { AgentRole, ErrorMessages, SCOPES } from './enums'
import { StatusException } from './errors'
import { TsLogger } from './utils/logger'
import { TenantAgent } from '@credo-ts/tenants'
import { randomUUID as uuid } from 'node:crypto'

// export type AgentType = Agent<RestAgentModules> | Agent<RestMultiTenantAgentModules> | TenantAgent<RestAgentModules>

Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export async function runCliServer() {
walletConfig: {
id: parsed['wallet-id'],
key: parsed['wallet-key'],
storage: {
database: {
type: parsed['wallet-type'],
config: {
host: parsed['wallet-url'],
Expand Down
Loading