Skip to content

Commit

Permalink
upgrade dwn-sdk-js to v0.3.10 (#137)
Browse files Browse the repository at this point in the history
- upgrade `dwn-sdk-js` to `v0.3.10`
- upgrade `dwn-sql-store` to `v0.5.2`
- release `v0.3.1` of this package
  • Loading branch information
LiranCohen authored Jun 24, 2024
1 parent 4fada7d commit 22886cb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@web5/dwn-server",
"type": "module",
"version": "0.3.0",
"version": "0.3.1",
"files": [
"dist",
"src"
Expand All @@ -26,8 +26,8 @@
"url": "https://github.com/TBD54566975/dwn-server/issues"
},
"dependencies": {
"@tbd54566975/dwn-sdk-js": "0.3.7",
"@tbd54566975/dwn-sql-store": "0.5.1",
"@tbd54566975/dwn-sdk-js": "0.3.10",
"@tbd54566975/dwn-sql-store": "0.5.2",
"better-sqlite3": "^8.5.0",
"body-parser": "^1.20.2",
"bytes": "3.1.2",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/json-rpc-router.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Dwn, EventSubscriptionHandler } from '@tbd54566975/dwn-sdk-js';
import type { Dwn, MessageSubscriptionHandler } from '@tbd54566975/dwn-sdk-js';

import type { Readable } from 'node:stream';

Expand All @@ -14,7 +14,7 @@ export type RequestContext = {
/** The JsonRpcId of the subscription handler */
id: JsonRpcId;
/** The `MessageEvent` handler associated with a subscription request, only used in `ws` requests */
subscriptionHandler: EventSubscriptionHandler;
subscriptionHandler: MessageSubscriptionHandler;
}
/** The `Readable` stream associated with a `RecordsWrite` request only used in `http` requests */
dataStream?: Readable;
Expand Down

0 comments on commit 22886cb

Please sign in to comment.