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 +6 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +172 -116
- package/dist/client.d.ts +172 -116
- package/dist/client.js +6 -3
- package/dist/client.js.map +1 -1
- package/dist/{index-BPKijlT_.d.cts → index-D_lnxPOC.d.ts} +2 -2
- package/dist/{index-Dt4gerGl.d.ts → index-HQTA4ETi.d.cts} +2 -2
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -43,7 +43,8 @@ const GetActiveUserOptionsDocument = graphql_tag.default`
|
|
|
43
43
|
entryPrice
|
|
44
44
|
expiresAt
|
|
45
45
|
createdAt
|
|
46
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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)),
|