From 09486a161863725f16aacc3c1328076b720c5fde Mon Sep 17 00:00:00 2001 From: Alex Wormuth Date: Fri, 5 Apr 2024 11:42:44 -0500 Subject: [PATCH] add mpl_core type for trait bids --- package.json | 2 +- src/tensor/lambdas/trait_bid_cosigner_serde.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 17d0596..81029b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tensor-hq/tensor-common", - "version": "8.0.4", + "version": "8.0.5", "description": "Common utility methods used by Tensor.", "sideEffects": false, "module": "./dist/esm/index.js", diff --git a/src/tensor/lambdas/trait_bid_cosigner_serde.ts b/src/tensor/lambdas/trait_bid_cosigner_serde.ts index 4f03006..39d115e 100644 --- a/src/tensor/lambdas/trait_bid_cosigner_serde.ts +++ b/src/tensor/lambdas/trait_bid_cosigner_serde.ts @@ -552,12 +552,15 @@ export enum TraitBidRequestType { TakeLegacy = 'TAKE_LEGACY', TakeT22 = 'TAKE_T22', TakeWns = 'TAKE_WNS', + TakeMplCore = 'TAKE_MPL_CORE', PlaceBid = 'PLACE_BID', } export type TraitBidsRequest = | { - type: TraitBidRequestType.TakeCompressed; + type: + | TraitBidRequestType.TakeCompressed + | TraitBidRequestType.TakeMplCore; args: TakeCompressedArgsSerialized; } | {