Skip to content

Commit

Permalink
revert: Remove BBS support.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Remove BBS support. Upstream support for Windows and RN is missing. Needs to be revisited at a later point in time
  • Loading branch information
nklomp committed Mar 19, 2024
1 parent 8f22ebd commit 205e0db
Show file tree
Hide file tree
Showing 165 changed files with 1,216 additions and 1,527 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
"@babel/plugin-transform-runtime": "^7.22.2",
"@babel/preset-env": "^7.22.2",
"@babel/preset-typescript": "^7.21.5",
"@types/debug": "^4.1.7",
"@types/debug": "^4.1.12",
"@types/jest": "^27.5.2",
"@types/node": "^18.15.11",
"@types/node": "^18.19.26",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"codecov": "^3.8.3",
"cross-fetch": "^3.1.8",
"did-jwt": "6.11.6",
"eslint": "^8.35.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.27.5",
Expand All @@ -67,17 +67,17 @@
"lerna-changelog": "^2.2.0",
"oas-resolver": "^2.5.6",
"openapi-types": "^12.1.0",
"patch-package": "^6.5.1",
"prettier": "^2.8.8",
"patch-package": "^8.0.0",
"prettier": "^3.2.5",
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.0",
"semantic-release": "^19.0.5",
"ts-jest": "^27.1.5",
"ts-node": "^10.9.1",
"typescript": "4.9.5"
"ts-node": "^10.9.2",
"typescript": "5.4.2"
},
"engines": {
"node": ">= 16.0.0"
"node": ">= 18.0.0"
},
"prettier": {
"endOfLine": "auto",
Expand Down Expand Up @@ -116,7 +116,7 @@
"did-jwt-vc": "3.1.3",
"ethr-did": "2.3.9",
"typeorm": "^0.3.20",
"@mattrglobal/jsonld-signatures-bbs@1.1.0>jsonld": "4.0.1",
"@transmute/jsonld": "^0.0.4",
"jsonld": "link:./node_modules/.pnpm/@digitalcredentials+jsonld@6.0.0/node_modules/@digitalcredentials/jsonld",
"isomorphic-webcrypto": "link:./node_modules/@sphereon/isomorphic-webcrypto"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"@types/debug": "^4.1.8",
"@types/url-parse": "^1.4.8",
"typescript": "4.9.5"
"typescript": "5.4.2"
},
"files": [
"dist/**/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-config/src/agentCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function createAgentFromConfig<T extends IPluginMethodMap>(config:
* @public
*/
export async function createAgent<T extends IPluginMethodMap, C = Record<string, any>>(
options: IAgentOptions & { context?: C }
options: IAgentOptions & { context?: C },
): Promise<TAgent<T> & { context?: C }> {
//@ts-ignore
return new Agent(options) as TAgent<T>
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-config/src/dataSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class DataSources {
debug(`WARNING: Automatic migrations need to be disabled in this app! Adjust the database configuration and set synchronize to false`)
} else if (config.migrationsRun) {
debug(
`Migrations are currently managed from config. Please set migrationsRun and synchronize to false to get consistent behaviour. We run migrations from code explicitly`
`Migrations are currently managed from config. Please set migrationsRun and synchronize to false to get consistent behaviour. We run migrations from code explicitly`,
)
} else {
debug(`Running ${dataSource.migrations.length} migration(s) from code if needed...`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default (testContext: { getAgent: () => ConfiguredAgent; setup: () => Pro
await expect(
agent.cmGetIdentity({
identityId,
})
}),
).rejects.toThrow(`No identity found for id: ${identityId}`)
})

Expand Down Expand Up @@ -269,7 +269,7 @@ export default (testContext: { getAgent: () => ConfiguredAgent; setup: () => Pro
}

await expect(agent.cmAddIdentity({ contactId: defaultContact.id, identity })).rejects.toThrow(
`Identity with correlation type url should contain a connection`
`Identity with correlation type url should contain a connection`,
)
})

Expand Down
Loading

0 comments on commit 205e0db

Please sign in to comment.