Skip to content

Commit

Permalink
chore: use remote json-rpc-api-proxy lib
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Nov 14, 2023
1 parent 755e9ef commit 0da6379
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 430 deletions.
11 changes: 10 additions & 1 deletion oid4vci/int/afj/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion oid4vci/int/afj/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@aries-framework/node": "^0.4.2",
"@aries-framework/openid4vc-client": "^0.4.2",
"@hyperledger/aries-askar-nodejs": "^0.1.1",
"json-rpc-2.0": "^1.7.0"
"json-rpc-api-proxy": "github:Indicio-tech/json-rpc-api-proxy#cced6a17455c4d3e249604b10acd7530e04466d7"
},
"overrides": {
"ref-napi": "npm:@2060.io/ref-napi"
Expand Down
3 changes: 1 addition & 2 deletions oid4vci/int/afj/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ import {
import { agentDependencies } from '@aries-framework/node';
import { AskarModule } from '@aries-framework/askar';
import { ariesAskar } from '@hyperledger/aries-askar-nodejs';
import { TCPSocketServer } from './server';
import {
OpenId4VcClientApi,
OpenId4VcClientModule,
} from '@aries-framework/openid4vc-client';
import { JsonRpcApiProxy } from './proxy';
import { TCPSocketServer, JsonRpcApiProxy } from 'json-rpc-api-proxy';

let agent: Agent | null;
const server = new TCPSocketServer({
Expand Down
183 changes: 0 additions & 183 deletions oid4vci/int/afj/src/proxy.ts

This file was deleted.

Loading

0 comments on commit 0da6379

Please sign in to comment.