Skip to content

Commit add231e

Browse files
authored
Merge pull request #8 from includenull/asset-tbo-optional
template_buyoffers optional on market_asset_object
2 parents 3545c60 + 248cbe0 commit add231e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@wharfkit/atomicassets",
33
"description": "AtomicAsset library for Wharf",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"homepage": "https://github.com/wharfkit/atomicassets",
66
"main": "lib/atomicassets.js",
77
"module": "lib/atomicassets.m.js",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export class MarketAssetObject extends AssetObject {
280280
@Struct.field(SaleBrief, {array: true}) declare sales: SaleBrief[]
281281
@Struct.field(AuctionBrief, {array: true}) declare auctions: AuctionBrief[]
282282
@Struct.field(AssetPriceV2, {array: true, optional: true}) declare prices: AssetPriceV2[]
283-
@Struct.field(TemplateBuyofferBrief, {array: true})
283+
@Struct.field(TemplateBuyofferBrief, {array: true, optional: true})
284284
declare template_buyoffers: TemplateBuyofferBrief[]
285285
}
286286

0 commit comments

Comments
 (0)