@typus/typus-sdk 1.4.76 → 1.4.77
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.
|
@@ -20,13 +20,13 @@ export declare function getFund(config: TypusConfig, input: {
|
|
|
20
20
|
indexes: string[];
|
|
21
21
|
user: string;
|
|
22
22
|
}): Promise<{
|
|
23
|
-
[key: string]:
|
|
23
|
+
[key: string]: Fund[];
|
|
24
24
|
}>;
|
|
25
25
|
export declare function getRefund(config: TypusConfig, input: {
|
|
26
26
|
indexes: string[];
|
|
27
27
|
user: string;
|
|
28
28
|
}): Promise<{
|
|
29
|
-
[key: string]:
|
|
29
|
+
[key: string]: Fund[];
|
|
30
30
|
}>;
|
|
31
31
|
export declare function getAllFunds(config: TypusConfig, input: {
|
|
32
32
|
index: string;
|
|
@@ -129,7 +129,7 @@ function getFund(config, input) {
|
|
|
129
129
|
tsMs: reader.read64(),
|
|
130
130
|
};
|
|
131
131
|
});
|
|
132
|
-
funds[input.indexes[i]] =
|
|
132
|
+
funds[input.indexes[i]] = fund;
|
|
133
133
|
});
|
|
134
134
|
return [2 /*return*/, funds];
|
|
135
135
|
}
|
|
@@ -169,7 +169,7 @@ function getRefund(config, input) {
|
|
|
169
169
|
tsMs: reader.read64(),
|
|
170
170
|
};
|
|
171
171
|
});
|
|
172
|
-
funds[input.indexes[i]] =
|
|
172
|
+
funds[input.indexes[i]] = fund;
|
|
173
173
|
});
|
|
174
174
|
return [2 /*return*/, funds];
|
|
175
175
|
}
|