@super-protocol/sdk-js 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/models/Offer.d.ts +2 -2
- package/package.json +1 -1
package/build/models/Offer.d.ts
CHANGED
|
@@ -121,11 +121,11 @@ declare class Offer {
|
|
|
121
121
|
* Checks if passed offer match restrictions in this offer
|
|
122
122
|
* @param offerId - id of offer what needs to be checked
|
|
123
123
|
*/
|
|
124
|
-
isRestrictionsPermitThatOffer(offerId: string): Promise<
|
|
124
|
+
isRestrictionsPermitThatOffer(offerId: string): Promise<boolean>;
|
|
125
125
|
/**
|
|
126
126
|
* Checks if this offer contains restrictions of a certain type
|
|
127
127
|
* @param type - type of offer which needs to be checked
|
|
128
128
|
*/
|
|
129
|
-
isRestrictedByOfferType(type: OfferType): Promise<
|
|
129
|
+
isRestrictedByOfferType(type: OfferType): Promise<boolean>;
|
|
130
130
|
}
|
|
131
131
|
export default Offer;
|