Skip to content

Commit

Permalink
Fix/nftgo orderbook (#35)
Browse files Browse the repository at this point in the history
* fix:filter nftgo order

* update:package version

---------

Co-authored-by: night-scholar <[email protected]>
  • Loading branch information
Anorth1997 and night-scholar authored Mar 26, 2024
1 parent 74f7763 commit 65d7e5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nftgo/gotrading",
"version": "1.0.14",
"version": "1.0.15",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/utils/post-order/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class PostOrderHandler {

async handle(params: PostOrderReq, signature: string, endpoint: string): Promise<SafeAny> {
// given the orderKind, invoke NFTGo developer API or directly post order to marketplace
if (params.order.kind === OrderKind.Blur || params.orderbook === Orderbook.SELF) {
if (params.order.kind === OrderKind.Blur || params.orderbook === Orderbook.SELF || params.orderbook === Orderbook.NftGo) {
const res = await this.post<AggregatorApiResponse, PostOrderReq & { signature: string }>(endpoint, {
...params,
signature,
Expand Down

0 comments on commit 65d7e5d

Please sign in to comment.