-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,361 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "SSI-SDK-workspace", | ||
"private": true, | ||
"version": "0.0.1", | ||
"version": "0.1.1", | ||
"description": "Sphereon SSI Typescript SDK (Workspace)", | ||
"repository": "[email protected]:Sphereon-Opensource/SSI-SDK.git", | ||
"author": "Sphereon <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
{ | ||
"files": [], | ||
"references": [{ "path": "ssi-sdk-core" }, { "path": "factom-did-provider" }, { "path": "lto-did-provider" }, {"path": "vc-api-issuer"}, {"path": "vc-api-verifier-plugin"}] | ||
"references": [ | ||
{ "path": "ssi-sdk-core" }, | ||
{ "path": "factom-did-provider" }, | ||
{ "path": "lto-did-provider" }, | ||
{ "path": "vc-api-issuer" }, | ||
{ "path": "vc-api-verifier" }, | ||
{ "path": "vc-handler-ld-local" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
import { getConfig } from '@veramo/cli/build/setup'; | ||
import { createObjects } from '@veramo/cli/build/lib/objectCreator'; | ||
import { getConfig } from '@veramo/cli/build/setup' | ||
import { createObjects } from '@veramo/cli/build/lib/objectCreator' | ||
|
||
jest.setTimeout(30000); | ||
jest.setTimeout(30000) | ||
|
||
import vcApiIssuerAgentLogic from './shared/vcApiIssuerAgentLogic'; | ||
import vcApiIssuerAgentLogic from './shared/vcApiIssuerAgentLogic' | ||
|
||
let agent: any; | ||
let agent: any | ||
|
||
const setup = async (): Promise<boolean> => { | ||
const config = getConfig('packages/vc-api-issuer/agent.yml'); | ||
config.agent.$args[0].plugins[0].$args[0].authorizationToken = process.env.VC_HTTP_API_AUTH_TOKEN; | ||
const { localAgent } = createObjects(config, { localAgent: '/agent' }); | ||
agent = localAgent; | ||
const config = getConfig('packages/vc-api-issuer/agent.yml') | ||
config.agent.$args[0].plugins[0].$args[0].authorizationToken = process.env.VC_HTTP_API_AUTH_TOKEN | ||
const { localAgent } = createObjects(config, { localAgent: '/agent' }) | ||
agent = localAgent | ||
|
||
return true; | ||
}; | ||
return true | ||
} | ||
|
||
const tearDown = async (): Promise<boolean> => { | ||
return true; | ||
}; | ||
return true | ||
} | ||
|
||
const getAgent = () => agent; | ||
const testContext = { getAgent, setup, tearDown }; | ||
const getAgent = () => agent | ||
const testContext = { getAgent, setup, tearDown } | ||
|
||
describe('Local integration tests', () => { | ||
vcApiIssuerAgentLogic(testContext); | ||
}); | ||
vcApiIssuerAgentLogic(testContext) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
"generate-plugin-schema": "yarn veramo dev generate-plugin-schema" | ||
}, | ||
"dependencies": { | ||
"@veramo/core": "^3.1.0", | ||
"@veramo/core": "^3.1.1-next.12", | ||
"cross-fetch": "^3.1.4" | ||
}, | ||
"devDependencies": { | ||
|
@@ -38,5 +38,13 @@ | |
"repository": "[email protected]:Sphereon-Opensource/SSI-SDK.git", | ||
"author": "Sphereon <[email protected]>", | ||
"license": "Apache-2.0", | ||
"keywords": ["Sphereon", "SSI", "Veramo", "W3C", "VC", "API", "Issuer"] | ||
"keywords": [ | ||
"Sphereon", | ||
"SSI", | ||
"Veramo", | ||
"W3C", | ||
"VC", | ||
"API", | ||
"Issuer" | ||
] | ||
} |
Oops, something went wrong.