Skip to content

Commit

Permalink
Bump dwn-sdk-js version
Browse files Browse the repository at this point in the history
  • Loading branch information
Diane Huxley committed Nov 8, 2023
1 parent 3f5b3c5 commit af02c81
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 21 deletions.
41 changes: 27 additions & 14 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"url": "https://github.com/TBD54566975/dwn-server/issues"
},
"dependencies": {
"@tbd54566975/dwn-sdk-js": "0.2.4",
"@tbd54566975/dwn-sql-store": "0.2.1",
"@tbd54566975/dwn-sdk-js": "0.2.6",
"@tbd54566975/dwn-sql-store": "0.2.2",
"better-sqlite3": "^8.5.0",
"bytes": "3.1.2",
"cors": "2.8.5",
Expand Down
4 changes: 2 additions & 2 deletions tests/cors/http-api.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ describe('http-api', () => {
data,
dataFormat: 'text/plalin',
published: true,
authorizationSigner: Jws.createSigner(alice),
signer: Jws.createSigner(alice),
})
).toJSON();
const recordsRead = (
await RecordsRead.create({
filter: {
recordId: recordsWrite.recordId,
},
authorizationSigner: Jws.createSigner(alice),
signer: Jws.createSigner(alice),
})
).toJSON();

Expand Down
4 changes: 2 additions & 2 deletions tests/http-api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe('http api', function () {
filter: {
schema: 'woosa',
},
authorizationSigner: alice.signer,
signer: alice.signer,
});

const requestId = uuidv4();
Expand Down Expand Up @@ -336,7 +336,7 @@ describe('http api', function () {
expect(reply.status.code).to.equal(202);

const recordsRead = await RecordsRead.create({
authorizationSigner: alice.signer,
signer: alice.signer,
filter: {
recordId: recordsWrite.message.recordId,
},
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function createRecordsWriteMessage(
const recordsWrite = await RecordsWrite.create({
...overrides,
dataFormat: 'application/json',
authorizationSigner: signer.signer,
signer: signer.signer,
});

let dataStream: Readable | undefined;
Expand Down

0 comments on commit af02c81

Please sign in to comment.