Skip to content

Commit

Permalink
feat(cactus-api-client): add support for plain socketio validators in…
Browse files Browse the repository at this point in the history
… api-server and api-client

Full description of changes and planning log available in hyperledger-cacti#1602. In
general, this commit adds two new components - one for communicating
with plain socketio validators using socketio interface, and verifier
that implements similar features as socketio-server verifier.

Closes: hyperledger-cacti#1602
Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
  • Loading branch information
outSH committed Dec 29, 2021
1 parent c186c65 commit 2e2c169
Show file tree
Hide file tree
Showing 15 changed files with 1,777 additions and 6 deletions.
6 changes: 5 additions & 1 deletion packages/cactus-api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
"@hyperledger/cactus-common": "1.0.0-rc.3",
"@hyperledger/cactus-core": "1.0.0-rc.3",
"@hyperledger/cactus-core-api": "1.0.0-rc.3",
"@hyperledger/cactus-plugin-consortium-manual": "1.0.0-rc.3"
"@hyperledger/cactus-plugin-consortium-manual": "1.0.0-rc.3",
"rxjs": "7.3.0"
},
"devDependencies": {
"@hyperledger/cactus-test-tooling": "1.0.0-rc.3"
}
}
3 changes: 2 additions & 1 deletion packages/cactus-api-client/src/main/typescript/index.web.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from "./public-api";
export { ApiClient } from "./api-client";
export { DefaultConsortiumProvider } from "./default-consortium-provider";
6 changes: 6 additions & 0 deletions packages/cactus-api-client/src/main/typescript/public-api.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
export { ApiClient } from "./api-client";
export { DefaultConsortiumProvider } from "./default-consortium-provider";
export {
SocketIOApiClient,
SocketLedgerEvent,
SocketIOApiClientOptions,
} from "./socketio-api-client";
export { Verifier, VerifierEventListener } from "./verifier";
Loading

0 comments on commit 2e2c169

Please sign in to comment.