Skip to content

Commit

Permalink
feat: upload all docs (#211)
Browse files Browse the repository at this point in the history
* feat: upload all docs

* feat: upload docs
  • Loading branch information
simonas-notcat authored Nov 3, 2023
1 parent 0685d2a commit ce80205
Show file tree
Hide file tree
Showing 10 changed files with 458 additions and 258 deletions.
8 changes: 7 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
CYPRESS_RECORD_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
CYPRESS_RECORD_KEY=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AGENT_URL=
AGENT_API_KEY=
AUTHOR_DID=
DOCS_PATH=./docs
4 changes: 2 additions & 2 deletions docs/bs-home.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ did:web:staging.community.veramo.io/QmaDcyNu6gXFuUGxKzR6fyitXKdPABr1ECFv8dGR6N5L

Just as Veramo agents themselves are modular and support many combinations of different plugins to bring new functionality, the Agent Explorer also has the concept of "plugins". There are many "standard" plugins for managing DIDs, issuing credentials, and sending messages. Of course, it's also possible to create custom plugins to give the UI new functionality. A few examples are listed below:

* Gitcoin Passport Plugin (available on [https://github.com/veramolabs/agent-explorer-plugin-gitcoin-passport](github)): This plugin allows you to easily import Gitcoin Passport stamps associated with an Ethereum address and displays them alongside Verifiable Credentials to add contextual reputation.
* BrainShare Plugin (available on [https://github.com/veramolabs/agent-explorer-plugin-brainshare/](github)): This plugin allows you to compose, post, and view posts associated with the [[did:web:staging.community.veramo.io/QmRHKDAHsFyVEUBhkSFYTZVjfDnzocUwLwcqgkG2q3YBRB|BrainShare]] protocol.
* Gitcoin Passport Plugin (available on [https://github.com/veramolabs/agent-explorer-plugin-gitcoin-passport](https://github.com/veramolabs/agent-explorer-plugin-gitcoin-passport)): This plugin allows you to easily import Gitcoin Passport stamps associated with an Ethereum address and displays them alongside Verifiable Credentials to add contextual reputation.
* BrainShare Plugin (available on [https://github.com/veramolabs/agent-explorer-plugin-brainshare/](https://github.com/veramolabs/agent-explorer-plugin-brainshare/)): This plugin allows you to compose, post, and view posts associated with the [[did:web:staging.community.veramo.io/QmRHKDAHsFyVEUBhkSFYTZVjfDnzocUwLwcqgkG2q3YBRB|BrainShare]] protocol.
3 changes: 3 additions & 0 deletions docs/bs-sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Lorem ipsum

- [Agent explorer](./Agent%20explorer.md)
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/veramolabs/agent-explorer.git"
Expand All @@ -10,13 +11,18 @@
"record": "pnpm cypress-record && pnpm upload-docs",
"cypress-record": "pnpm -r test:cypress:record",
"update-community-plugins": "node ./scripts/update-community-plugins.js",
"upload-videos": "node ./scripts/upload-videos.js",
"upload-docs": "node ./scripts/upload-docs.js",
"upgrade-veramo:next": "pnpm -r upgrade-veramo:next",
"upgrade-veramo:next": "pnpm add -D -w @veramo/core@next @veramo/core-types@next @veramo/remote-client@next && pnpm -r upgrade-veramo:next",
"publish:latest": "lerna publish --conventional-commits --include-merged-tags --create-release github --yes --dist-tag latest",
"publish:next": "lerna publish --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid next --pre-dist-tag next --yes"
},
"devDependencies": {
"@veramo/core": "5.5.4-next.22",
"@veramo/core-types": "5.5.4-next.22",
"@veramo/remote-client": "5.5.4-next.22",
"aws-sdk": "^2.1476.0",
"dotenv": "^16.3.1",
"lerna": "7.3.0",
"lerna-changelog": "2.2.0"
}
Expand Down
48 changes: 24 additions & 24 deletions packages/agent-explore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,30 +108,30 @@
"@typescript-eslint/parser": "^6.4.0",
"@veramo-community/agent-explorer-plugin": "workspace:*",
"@veramo-community/veramo-react": "1.6.1",
"@veramo/core": "5.5.4-next.20",
"@veramo/core-types": "5.5.4-next.20",
"@veramo/credential-eip712": "5.5.4-next.20",
"@veramo/credential-ld": "5.5.4-next.20",
"@veramo/credential-w3c": "5.5.4-next.20",
"@veramo/data-store": "5.5.4-next.20",
"@veramo/data-store-json": "5.5.4-next.20",
"@veramo/did-comm": "5.5.4-next.20",
"@veramo/did-discovery": "5.5.4-next.20",
"@veramo/did-jwt": "5.5.4-next.20",
"@veramo/did-manager": "5.5.4-next.20",
"@veramo/did-provider-ethr": "5.5.4-next.20",
"@veramo/did-provider-jwk": "5.5.4-next.20",
"@veramo/did-provider-key": "5.5.4-next.20",
"@veramo/did-provider-peer": "5.5.4-next.20",
"@veramo/did-provider-pkh": "5.5.4-next.20",
"@veramo/did-resolver": "5.5.4-next.20",
"@veramo/key-manager": "5.5.4-next.20",
"@veramo/kms-local": "5.5.4-next.20",
"@veramo/kms-web3": "5.5.4-next.20",
"@veramo/message-handler": "5.5.4-next.20",
"@veramo/remote-client": "5.5.4-next.20",
"@veramo/selective-disclosure": "5.5.4-next.20",
"@veramo/utils": "5.5.4-next.20",
"@veramo/core": "5.5.4-next.22",
"@veramo/core-types": "5.5.4-next.22",
"@veramo/credential-eip712": "5.5.4-next.22",
"@veramo/credential-ld": "5.5.4-next.22",
"@veramo/credential-w3c": "5.5.4-next.22",
"@veramo/data-store": "5.5.4-next.22",
"@veramo/data-store-json": "5.5.4-next.22",
"@veramo/did-comm": "5.5.4-next.22",
"@veramo/did-discovery": "5.5.4-next.22",
"@veramo/did-jwt": "5.5.4-next.22",
"@veramo/did-manager": "5.5.4-next.22",
"@veramo/did-provider-ethr": "5.5.4-next.22",
"@veramo/did-provider-jwk": "5.5.4-next.22",
"@veramo/did-provider-key": "5.5.4-next.22",
"@veramo/did-provider-peer": "5.5.4-next.22",
"@veramo/did-provider-pkh": "5.5.4-next.22",
"@veramo/did-resolver": "5.5.4-next.22",
"@veramo/key-manager": "5.5.4-next.22",
"@veramo/kms-local": "5.5.4-next.22",
"@veramo/kms-web3": "5.5.4-next.22",
"@veramo/message-handler": "5.5.4-next.22",
"@veramo/remote-client": "5.5.4-next.22",
"@veramo/selective-disclosure": "5.5.4-next.22",
"@veramo/utils": "5.5.4-next.22",
"@web3modal/wagmi": "^3.0.2",
"@yudiel/react-qr-scanner": "^1.1.8",
"antd": "~5.8.4",
Expand Down
7 changes: 2 additions & 5 deletions packages/agent-explore/src/context/web3/saveMessageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ export class SaveMessageHandler extends AbstractMessageHandler {
// console.log('message received: ', message)
if (message.type === 'veramo.io-chat-v1') {
await context.agent.dataStoreSaveMessage({ message })
} else if (message.type === 'https://veramo.io/didcomm/brainshare/1.0/return-credential') {
await context.agent.dataStoreSaveVerifiableCredential({ verifiableCredential: message.data.credential })
} else if (message.type === 'https://veramo.io/didcomm/brainshare/1.0/return-index') {
await context.agent.dataStoreSaveVerifiableCredential({ verifiableCredential: message.data.index })
}
}

return super.handle(message, context)
}
}
10 changes: 5 additions & 5 deletions packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"@ant-design/icons": "^5.1.4",
"@ant-design/pro-components": "^2.6.13",
"@veramo-community/veramo-react": "1.6.1",
"@veramo/core": "5.5.4-next.20",
"@veramo/core-types": "5.5.4-next.20",
"@veramo/data-store": "5.5.4-next.20",
"@veramo/did-discovery": "5.5.4-next.20",
"@veramo/utils": "5.5.4-next.20",
"@veramo/core": "5.5.4-next.22",
"@veramo/core-types": "5.5.4-next.22",
"@veramo/data-store": "5.5.4-next.22",
"@veramo/did-discovery": "5.5.4-next.22",
"@veramo/utils": "5.5.4-next.22",
"antd": "~5.8.4",
"date-fns": "^2.30.0",
"did-jwt-vc": "^3.2.10",
Expand Down
Loading

0 comments on commit ce80205

Please sign in to comment.