timelock-sdk 0.0.51 → 0.0.52

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/dist/client.cjs CHANGED
@@ -43,7 +43,8 @@ const GetActiveUserOptionsDocument = graphql_tag.default`
43
43
  entryPrice
44
44
  expiresAt
45
45
  createdAt
46
- premiumPaid
46
+ premium
47
+ protocolFee
47
48
  realizedPayout
48
49
  marketAddr
49
50
  liquiditiesAtOpen
@@ -77,7 +78,8 @@ const GetClosedUserOptionsDocument = graphql_tag.default`
77
78
  entryPrice
78
79
  expiresAt
79
80
  createdAt
80
- premiumPaid
81
+ premium
82
+ protocolFee
81
83
  realizedPayout
82
84
  marketAddr
83
85
  liquiditiesAtOpen
@@ -494,7 +496,8 @@ const useUserOptions = (user, active = false) => {
494
496
  optionType: option.optionType,
495
497
  createdAt: /* @__PURE__ */ new Date(Number(option.createdAt) * 1e3),
496
498
  expiresAt: /* @__PURE__ */ new Date(Number(option.expiresAt) * 1e3),
497
- premiumPaid: BigInt(option.premiumPaid),
499
+ premium: BigInt(option.premium),
500
+ protocolFee: BigInt(option.protocolFee),
498
501
  realizedPayout: BigInt(option.realizedPayout),
499
502
  liquiditiesAtOpen: option.liquiditiesAtOpen.map((l) => BigInt(l)),
500
503
  liquiditiesCurrent: option.liquiditiesCurrent.map((l) => BigInt(l)),