Skip to content

Commit

Permalink
Hotfix/fulfill req param (#20)
Browse files Browse the repository at this point in the history
* fix fulfill request params

* update version

* remove extraArgs

* add back x2y2 related params for cancel
  • Loading branch information
Anorth1997 authored Sep 7, 2023
1 parent 030c186 commit fcb2f1e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 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.6",
"version": "1.0.7",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions src/types/aggregator/cancel.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { Order } from '../order';
import { ExtraArgs } from './extra-args';

/**
* cancel orders
*/
export interface CancelOrdersReq {
callerAddress: string;
extraArgs?: ExtraArgs;
extraArgs?: {
blurAuth?: string;
sign?: string;
signMessage?: string;
};
orders: Order[];
}
5 changes: 0 additions & 5 deletions src/types/aggregator/extra-args.ts

This file was deleted.

10 changes: 6 additions & 4 deletions src/types/aggregator/fulfill.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
import { ExtraArgs } from './extra-args';

/**
* AggregateAcceptListingRequest
*/
export interface FulfillListingsReq {
authToken?: string;
buyer: string;
noDirect?: boolean;
orderIds: string[];
safeMode: boolean;
extraArgs?: {
blurAuth?: string;
}
}

/**
* fulfill offers
*/
export interface FulfillOffersReq {
extraArgs?: ExtraArgs;
offerFulfillmentIntentions: OfferFulfillmentIntention[];
sellerAddress: string;
extraArgs?: {
blurAuth?: string;
}
}

export interface OfferFulfillmentIntention {
Expand Down

0 comments on commit fcb2f1e

Please sign in to comment.