@crypticdot/defituna-api 1.1.28 → 1.1.29
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/index.d.mts +27 -9
- package/dist/index.d.ts +27 -9
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1068,7 +1068,17 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
1068
1068
|
fillRatio: z.ZodNumber;
|
|
1069
1069
|
openTxSignature: z.ZodString;
|
|
1070
1070
|
closeTxSignature: z.ZodNullable<z.ZodString>;
|
|
1071
|
-
|
|
1071
|
+
amountIn: z.ZodObject<{
|
|
1072
|
+
amount: z.ZodBigInt;
|
|
1073
|
+
usd: z.ZodNumber;
|
|
1074
|
+
}, "strip", z.ZodTypeAny, {
|
|
1075
|
+
amount: bigint;
|
|
1076
|
+
usd: number;
|
|
1077
|
+
}, {
|
|
1078
|
+
amount: bigint;
|
|
1079
|
+
usd: number;
|
|
1080
|
+
}>;
|
|
1081
|
+
amountOut: z.ZodObject<{
|
|
1072
1082
|
amount: z.ZodBigInt;
|
|
1073
1083
|
usd: z.ZodNumber;
|
|
1074
1084
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1081,15 +1091,19 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
1081
1091
|
openedAt: z.ZodDate;
|
|
1082
1092
|
closedAt: z.ZodNullable<z.ZodDate>;
|
|
1083
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1084
|
-
amount: {
|
|
1085
|
-
amount: bigint;
|
|
1086
|
-
usd: number;
|
|
1087
|
-
};
|
|
1088
1094
|
mint: string;
|
|
1089
1095
|
address: string;
|
|
1090
1096
|
state: "open" | "partially_filled" | "filled" | "complete" | "cancelled";
|
|
1091
1097
|
pool: string;
|
|
1092
1098
|
openedAt: Date;
|
|
1099
|
+
amountIn: {
|
|
1100
|
+
amount: bigint;
|
|
1101
|
+
usd: number;
|
|
1102
|
+
};
|
|
1103
|
+
amountOut: {
|
|
1104
|
+
amount: bigint;
|
|
1105
|
+
usd: number;
|
|
1106
|
+
};
|
|
1093
1107
|
aToB: boolean;
|
|
1094
1108
|
tickIndex: number;
|
|
1095
1109
|
fillRatio: number;
|
|
@@ -1097,15 +1111,19 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
1097
1111
|
closeTxSignature: string | null;
|
|
1098
1112
|
closedAt: Date | null;
|
|
1099
1113
|
}, {
|
|
1100
|
-
amount: {
|
|
1101
|
-
amount: bigint;
|
|
1102
|
-
usd: number;
|
|
1103
|
-
};
|
|
1104
1114
|
mint: string;
|
|
1105
1115
|
address: string;
|
|
1106
1116
|
state: "open" | "partially_filled" | "filled" | "complete" | "cancelled";
|
|
1107
1117
|
pool: string;
|
|
1108
1118
|
openedAt: Date;
|
|
1119
|
+
amountIn: {
|
|
1120
|
+
amount: bigint;
|
|
1121
|
+
usd: number;
|
|
1122
|
+
};
|
|
1123
|
+
amountOut: {
|
|
1124
|
+
amount: bigint;
|
|
1125
|
+
usd: number;
|
|
1126
|
+
};
|
|
1109
1127
|
aToB: boolean;
|
|
1110
1128
|
tickIndex: number;
|
|
1111
1129
|
fillRatio: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1068,7 +1068,17 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
1068
1068
|
fillRatio: z.ZodNumber;
|
|
1069
1069
|
openTxSignature: z.ZodString;
|
|
1070
1070
|
closeTxSignature: z.ZodNullable<z.ZodString>;
|
|
1071
|
-
|
|
1071
|
+
amountIn: z.ZodObject<{
|
|
1072
|
+
amount: z.ZodBigInt;
|
|
1073
|
+
usd: z.ZodNumber;
|
|
1074
|
+
}, "strip", z.ZodTypeAny, {
|
|
1075
|
+
amount: bigint;
|
|
1076
|
+
usd: number;
|
|
1077
|
+
}, {
|
|
1078
|
+
amount: bigint;
|
|
1079
|
+
usd: number;
|
|
1080
|
+
}>;
|
|
1081
|
+
amountOut: z.ZodObject<{
|
|
1072
1082
|
amount: z.ZodBigInt;
|
|
1073
1083
|
usd: z.ZodNumber;
|
|
1074
1084
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1081,15 +1091,19 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
1081
1091
|
openedAt: z.ZodDate;
|
|
1082
1092
|
closedAt: z.ZodNullable<z.ZodDate>;
|
|
1083
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1084
|
-
amount: {
|
|
1085
|
-
amount: bigint;
|
|
1086
|
-
usd: number;
|
|
1087
|
-
};
|
|
1088
1094
|
mint: string;
|
|
1089
1095
|
address: string;
|
|
1090
1096
|
state: "open" | "partially_filled" | "filled" | "complete" | "cancelled";
|
|
1091
1097
|
pool: string;
|
|
1092
1098
|
openedAt: Date;
|
|
1099
|
+
amountIn: {
|
|
1100
|
+
amount: bigint;
|
|
1101
|
+
usd: number;
|
|
1102
|
+
};
|
|
1103
|
+
amountOut: {
|
|
1104
|
+
amount: bigint;
|
|
1105
|
+
usd: number;
|
|
1106
|
+
};
|
|
1093
1107
|
aToB: boolean;
|
|
1094
1108
|
tickIndex: number;
|
|
1095
1109
|
fillRatio: number;
|
|
@@ -1097,15 +1111,19 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
1097
1111
|
closeTxSignature: string | null;
|
|
1098
1112
|
closedAt: Date | null;
|
|
1099
1113
|
}, {
|
|
1100
|
-
amount: {
|
|
1101
|
-
amount: bigint;
|
|
1102
|
-
usd: number;
|
|
1103
|
-
};
|
|
1104
1114
|
mint: string;
|
|
1105
1115
|
address: string;
|
|
1106
1116
|
state: "open" | "partially_filled" | "filled" | "complete" | "cancelled";
|
|
1107
1117
|
pool: string;
|
|
1108
1118
|
openedAt: Date;
|
|
1119
|
+
amountIn: {
|
|
1120
|
+
amount: bigint;
|
|
1121
|
+
usd: number;
|
|
1122
|
+
};
|
|
1123
|
+
amountOut: {
|
|
1124
|
+
amount: bigint;
|
|
1125
|
+
usd: number;
|
|
1126
|
+
};
|
|
1109
1127
|
aToB: boolean;
|
|
1110
1128
|
tickIndex: number;
|
|
1111
1129
|
fillRatio: number;
|
package/dist/index.js
CHANGED
|
@@ -299,7 +299,8 @@ var LimitOrder = import_zod.z.object({
|
|
|
299
299
|
fillRatio: import_zod.z.number(),
|
|
300
300
|
openTxSignature: import_zod.z.string(),
|
|
301
301
|
closeTxSignature: import_zod.z.string().nullable(),
|
|
302
|
-
|
|
302
|
+
amountIn: amountWithUsd,
|
|
303
|
+
amountOut: amountWithUsd,
|
|
303
304
|
openedAt: import_zod.z.coerce.date(),
|
|
304
305
|
closedAt: import_zod.z.coerce.date().nullable()
|
|
305
306
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -264,7 +264,8 @@ var LimitOrder = z.object({
|
|
|
264
264
|
fillRatio: z.number(),
|
|
265
265
|
openTxSignature: z.string(),
|
|
266
266
|
closeTxSignature: z.string().nullable(),
|
|
267
|
-
|
|
267
|
+
amountIn: amountWithUsd,
|
|
268
|
+
amountOut: amountWithUsd,
|
|
268
269
|
openedAt: z.coerce.date(),
|
|
269
270
|
closedAt: z.coerce.date().nullable()
|
|
270
271
|
});
|