Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes #111

Merged
merged 5 commits into from
Jul 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
185 changes: 70 additions & 115 deletions js/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 js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/tbdex",
"version": "0.0.11",
"version": "0.0.12",
"type": "module",
"description": "Library that includes type definitions for tbdex messages",
"license": "Apache-2.0",
Expand Down Expand Up @@ -46,8 +46,8 @@
},
"dependencies": {
"ajv": "8.12.0",
"ajv-formats": "2.1.1",
"ulidx": "2.0.0"
"ulidx": "2.0.0",
"@sphereon/pex-models": "2.0.2"
},
"devDependencies": {
"@playwright/test": "1.34.3",
Expand Down
12 changes: 6 additions & 6 deletions js/src/protocol-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export const aliceProtocolDefinition = {
}
],
// Alice _or_ the PFI can Close/End the thread here.
Close: CloseRules,
Close : CloseRules,
// OrderStatus can be written to Alice's DWN by someone who wrote RFQ/QuoteResponse (i.e. PFI)
OrderStatus: {
OrderStatus : {
$actions: [
{
who : 'author',
Expand Down Expand Up @@ -112,13 +112,13 @@ export const pfiProtocolDefinition = {
}
],
// Alice _or_ the PFI can Close/End the thread here.
Close: CloseRules,
Close : CloseRules,
// PFI is sending OUT quote responses. no one should be writing QuoteResponse to PFIs.
Quote: {
Quote : {
// PFI is sending OUT OrderStatus. no one should be writing OrderStatus to PFIs.
OrderStatus: { },
OrderStatus : { },
// Alice _or_ the PFI can Close/End the thread here.
Close: CloseRules
Close : CloseRules
}
}
}
Expand Down
Loading