Skip to content

Commit

Permalink
Don't define order status enums (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-lew authored Sep 14, 2023
1 parent 43a6f62 commit c6e9a1b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 19 deletions.
12 changes: 6 additions & 6 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 packages/http-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbdex/http-client",
"version": "0.6.0",
"version": "0.7.0",
"type": "module",
"description": "Http client that can be used to send tbdex messages",
"license": "Apache-2.0",
Expand Down Expand Up @@ -49,7 +49,7 @@
}
},
"dependencies": {
"@tbdex/protocol": "0.13.0",
"@tbdex/protocol": "0.14.0",
"@web5/dids": "0.2.0",
"query-string": "8.1.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/http-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"license": "Apache-2.0",
"type": "module",
"version": "0.0.11",
"version": "0.0.12",
"module": "./dist/main.js",
"types": "./dist/types/main.d.ts",
"files": ["./dist", "./src"],
Expand All @@ -18,8 +18,8 @@
"import": "./dist/main.js"
},
"dependencies": {
"@tbdex/protocol": "0.13.0",
"@tbdex/http-client": "0.6.0",
"@tbdex/protocol": "0.14.0",
"@tbdex/http-client": "0.7.0",
"@web5/dids": "0.2.0",
"cors": "2.8.5",
"express": "4.18.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/build/compile-validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import message from './../json-schemas/message.schema.json' assert { type: 'json
import rfq from './../json-schemas/rfq.schema.json' assert { type: 'json' }
import quote from './../json-schemas/quote.schema.json' assert { type: 'json' }
import order from './../json-schemas/order.schema.json' assert { type: 'json' }
import orderStatus from './../json-schemas/order-status.schema.json' assert { type: 'json' }
import orderstatus from './../json-schemas/order-status.schema.json' assert { type: 'json' }
import close from './../json-schemas/close.schema.json' assert { type: 'json' }

const schemas = {
Expand All @@ -36,7 +36,7 @@ const schemas = {
rfq,
quote,
order,
orderStatus,
orderstatus,
close,
}

Expand Down
6 changes: 1 addition & 5 deletions packages/protocol/json-schemas/order-status.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"additionalProperties": false,
"properties": {
"orderStatus": {
"enum": [
"PENDING",
"COMPLETED",
"FAILED"
]
"type":"string"
}
}
}
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbdex/protocol",
"version": "0.13.0",
"version": "0.14.0",
"type": "module",
"description": "Library that includes type definitions for tbdex messages",
"license": "Apache-2.0",
Expand Down

0 comments on commit c6e9a1b

Please sign in to comment.