@carrot-protocol/boost-http-client 0.2.1-data-fixes-dev-ec9782e → 0.2.1
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.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -132,7 +132,7 @@ class Client {
|
|
|
132
132
|
};
|
|
133
133
|
// get events for account
|
|
134
134
|
const events = [];
|
|
135
|
-
for (const event of jsonRawResponse.
|
|
135
|
+
for (const event of jsonRawResponse.events) {
|
|
136
136
|
let closeBalance = null;
|
|
137
137
|
if (event.closeBalance !== null) {
|
|
138
138
|
closeBalance = Boolean(event.closeBalance);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -163,7 +163,7 @@ export class Client {
|
|
|
163
163
|
|
|
164
164
|
// get events for account
|
|
165
165
|
const events: ClendAccountEvent[] = [];
|
|
166
|
-
for (const event of jsonRawResponse.
|
|
166
|
+
for (const event of jsonRawResponse.events) {
|
|
167
167
|
let closeBalance: boolean | null = null;
|
|
168
168
|
if (event.closeBalance !== null) {
|
|
169
169
|
closeBalance = Boolean(event.closeBalance);
|