@attocash/commons-js 5.2.1 → 5.3.0
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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1 -0
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -0
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +6 -6
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +7 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +7 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +12 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +92 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +274 -272
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +74 -74
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +28 -28
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +35 -35
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +47 -47
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +21 -21
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +192 -192
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +8 -8
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +187 -187
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +39 -39
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +87 -87
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +23 -23
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +4 -4
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/package.json +1 -1
|
@@ -68,14 +68,15 @@ import { HttpStatement3zxb33q8lku as HttpStatement } from '../../../../../ktor-k
|
|
|
68
68
|
import {
|
|
69
69
|
AccountSearch2mwh4um1wt8t0 as AccountSearch,
|
|
70
70
|
TimeDifferenceResponse10pcc7bvyvb3b as TimeDifferenceResponse,
|
|
71
|
+
receivableStream$default133erogtadptu as receivableStream$default,
|
|
71
72
|
now28b96am1yaqk8 as now,
|
|
72
73
|
AttoNodeOperations2ltve6dru3dak as AttoNodeOperations,
|
|
73
74
|
} from '../../../../../commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs';
|
|
74
75
|
import { Collection1k04j3hzsbod0 as Collection } from '../../../../../kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs';
|
|
75
76
|
import { KotlinLogging_instance177vcamif7bv as KotlinLogging_instance } from '../../../../../kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs';
|
|
76
77
|
import { flow3tazazxj2t7g4 as flow } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs';
|
|
77
|
-
import { firstvh3bah3c9r20 as first } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs';
|
|
78
78
|
import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
79
|
+
import { firstvh3bah3c9r20 as first } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs';
|
|
79
80
|
import { get_ContentNegotiationcp59ye9rorjc as get_ContentNegotiation } from '../../../../../ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs';
|
|
80
81
|
import { jsonu6qnfo3b405p as json } from '../../../../../ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs';
|
|
81
82
|
import { HttpClient3584jcajl7sef as HttpClient } from '../../../../../ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs';
|
|
@@ -127,7 +128,7 @@ function AttoNodeClient$accountStream$slambda$slambda() {
|
|
|
127
128
|
constructor($this_flow, resultContinuation, $box) {
|
|
128
129
|
if ($box === VOID)
|
|
129
130
|
$box = {};
|
|
130
|
-
$box.
|
|
131
|
+
$box.n7f_1 = $this_flow;
|
|
131
132
|
super(resultContinuation, $box);
|
|
132
133
|
}
|
|
133
134
|
d5d(response, $completion) {
|
|
@@ -148,10 +149,10 @@ function AttoNodeClient$accountStream$slambda$slambda() {
|
|
|
148
149
|
case 0:
|
|
149
150
|
this.bc_1 = 7;
|
|
150
151
|
var tmp_0 = this;
|
|
151
|
-
tmp_0.
|
|
152
|
-
this.
|
|
152
|
+
tmp_0.p7f_1 = this.o7f_1;
|
|
153
|
+
this.q7f_1 = this.p7f_1;
|
|
153
154
|
this.ac_1 = 1;
|
|
154
|
-
var tmp_1 = this.
|
|
155
|
+
var tmp_1 = this.q7f_1.l52();
|
|
155
156
|
var tmp_2 = getKClass(ByteReadChannel());
|
|
156
157
|
var tmp_3;
|
|
157
158
|
try {
|
|
@@ -175,33 +176,33 @@ function AttoNodeClient$accountStream$slambda$slambda() {
|
|
|
175
176
|
continue $sm;
|
|
176
177
|
case 1:
|
|
177
178
|
var tmp_5 = this;
|
|
178
|
-
tmp_5.
|
|
179
|
+
tmp_5.r7f_1 = (!(suspendResult == null) ? isInterface(suspendResult, ByteReadChannel()) : false) ? suspendResult : THROW_CCE();
|
|
179
180
|
this.ac_1 = 2;
|
|
180
181
|
continue $sm;
|
|
181
182
|
case 2:
|
|
182
|
-
if (!!this.
|
|
183
|
+
if (!!this.r7f_1.h3b()) {
|
|
183
184
|
this.ac_1 = 6;
|
|
184
185
|
continue $sm;
|
|
185
186
|
}
|
|
186
187
|
|
|
187
188
|
this.ac_1 = 3;
|
|
188
|
-
suspendResult = readUTF8Line(this.
|
|
189
|
+
suspendResult = readUTF8Line(this.r7f_1, VOID, this);
|
|
189
190
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
190
191
|
return suspendResult;
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
continue $sm;
|
|
194
195
|
case 3:
|
|
195
|
-
this.
|
|
196
|
-
if (!(this.
|
|
196
|
+
this.s7f_1 = suspendResult;
|
|
197
|
+
if (!(this.s7f_1 == null)) {
|
|
197
198
|
var tmp_6 = this;
|
|
198
199
|
var tmp0 = Default_getInstance();
|
|
199
|
-
var string = this.
|
|
200
|
+
var string = this.s7f_1;
|
|
200
201
|
var this_0 = tmp0.yx();
|
|
201
202
|
var this_1 = serializer(this_0, createKType(getKClass(AttoAccount()), arrayOf([]), false));
|
|
202
|
-
tmp_6.
|
|
203
|
+
tmp_6.t7f_1 = tmp0.fu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), string);
|
|
203
204
|
this.ac_1 = 4;
|
|
204
|
-
suspendResult = this.
|
|
205
|
+
suspendResult = this.n7f_1.w2k(this.t7f_1, this);
|
|
205
206
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
206
207
|
return suspendResult;
|
|
207
208
|
}
|
|
@@ -234,8 +235,8 @@ function AttoNodeClient$accountStream$slambda$slambda() {
|
|
|
234
235
|
while (true);
|
|
235
236
|
}
|
|
236
237
|
i5b(response, completion) {
|
|
237
|
-
var i = new (AttoNodeClient$accountStream$slambda$slambda())(this.
|
|
238
|
-
i.
|
|
238
|
+
var i = new (AttoNodeClient$accountStream$slambda$slambda())(this.n7f_1, completion);
|
|
239
|
+
i.o7f_1 = response;
|
|
239
240
|
return i;
|
|
240
241
|
}
|
|
241
242
|
}
|
|
@@ -280,7 +281,7 @@ function AttoNodeClient$receivableStream$slambda$slambda() {
|
|
|
280
281
|
constructor($this_flow, resultContinuation, $box) {
|
|
281
282
|
if ($box === VOID)
|
|
282
283
|
$box = {};
|
|
283
|
-
$box.
|
|
284
|
+
$box.c7g_1 = $this_flow;
|
|
284
285
|
super(resultContinuation, $box);
|
|
285
286
|
}
|
|
286
287
|
d5d(response, $completion) {
|
|
@@ -301,10 +302,10 @@ function AttoNodeClient$receivableStream$slambda$slambda() {
|
|
|
301
302
|
case 0:
|
|
302
303
|
this.bc_1 = 7;
|
|
303
304
|
var tmp_0 = this;
|
|
304
|
-
tmp_0.
|
|
305
|
-
this.
|
|
305
|
+
tmp_0.e7g_1 = this.d7g_1;
|
|
306
|
+
this.f7g_1 = this.e7g_1;
|
|
306
307
|
this.ac_1 = 1;
|
|
307
|
-
var tmp_1 = this.
|
|
308
|
+
var tmp_1 = this.f7g_1.l52();
|
|
308
309
|
var tmp_2 = getKClass(ByteReadChannel());
|
|
309
310
|
var tmp_3;
|
|
310
311
|
try {
|
|
@@ -328,33 +329,33 @@ function AttoNodeClient$receivableStream$slambda$slambda() {
|
|
|
328
329
|
continue $sm;
|
|
329
330
|
case 1:
|
|
330
331
|
var tmp_5 = this;
|
|
331
|
-
tmp_5.
|
|
332
|
+
tmp_5.g7g_1 = (!(suspendResult == null) ? isInterface(suspendResult, ByteReadChannel()) : false) ? suspendResult : THROW_CCE();
|
|
332
333
|
this.ac_1 = 2;
|
|
333
334
|
continue $sm;
|
|
334
335
|
case 2:
|
|
335
|
-
if (!!this.
|
|
336
|
+
if (!!this.g7g_1.h3b()) {
|
|
336
337
|
this.ac_1 = 6;
|
|
337
338
|
continue $sm;
|
|
338
339
|
}
|
|
339
340
|
|
|
340
341
|
this.ac_1 = 3;
|
|
341
|
-
suspendResult = readUTF8Line(this.
|
|
342
|
+
suspendResult = readUTF8Line(this.g7g_1, VOID, this);
|
|
342
343
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
343
344
|
return suspendResult;
|
|
344
345
|
}
|
|
345
346
|
|
|
346
347
|
continue $sm;
|
|
347
348
|
case 3:
|
|
348
|
-
this.
|
|
349
|
-
if (!(this.
|
|
349
|
+
this.h7g_1 = suspendResult;
|
|
350
|
+
if (!(this.h7g_1 == null)) {
|
|
350
351
|
var tmp_6 = this;
|
|
351
352
|
var tmp0 = Default_getInstance();
|
|
352
|
-
var string = this.
|
|
353
|
+
var string = this.h7g_1;
|
|
353
354
|
var this_0 = tmp0.yx();
|
|
354
355
|
var this_1 = serializer(this_0, createKType(getKClass(AttoReceivable()), arrayOf([]), false));
|
|
355
|
-
tmp_6.
|
|
356
|
+
tmp_6.i7g_1 = tmp0.fu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), string);
|
|
356
357
|
this.ac_1 = 4;
|
|
357
|
-
suspendResult = this.
|
|
358
|
+
suspendResult = this.c7g_1.w2k(this.i7g_1, this);
|
|
358
359
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
359
360
|
return suspendResult;
|
|
360
361
|
}
|
|
@@ -387,8 +388,8 @@ function AttoNodeClient$receivableStream$slambda$slambda() {
|
|
|
387
388
|
while (true);
|
|
388
389
|
}
|
|
389
390
|
i5b(response, completion) {
|
|
390
|
-
var i = new (AttoNodeClient$receivableStream$slambda$slambda())(this.
|
|
391
|
-
i.
|
|
391
|
+
var i = new (AttoNodeClient$receivableStream$slambda$slambda())(this.c7g_1, completion);
|
|
392
|
+
i.d7g_1 = response;
|
|
392
393
|
return i;
|
|
393
394
|
}
|
|
394
395
|
}
|
|
@@ -433,7 +434,7 @@ function AttoNodeClient$accountEntry$slambda$slambda() {
|
|
|
433
434
|
constructor($this_flow, resultContinuation, $box) {
|
|
434
435
|
if ($box === VOID)
|
|
435
436
|
$box = {};
|
|
436
|
-
$box.
|
|
437
|
+
$box.r7g_1 = $this_flow;
|
|
437
438
|
super(resultContinuation, $box);
|
|
438
439
|
}
|
|
439
440
|
d5d(response, $completion) {
|
|
@@ -454,10 +455,10 @@ function AttoNodeClient$accountEntry$slambda$slambda() {
|
|
|
454
455
|
case 0:
|
|
455
456
|
this.bc_1 = 7;
|
|
456
457
|
var tmp_0 = this;
|
|
457
|
-
tmp_0.
|
|
458
|
-
this.
|
|
458
|
+
tmp_0.t7g_1 = this.s7g_1;
|
|
459
|
+
this.u7g_1 = this.t7g_1;
|
|
459
460
|
this.ac_1 = 1;
|
|
460
|
-
var tmp_1 = this.
|
|
461
|
+
var tmp_1 = this.u7g_1.l52();
|
|
461
462
|
var tmp_2 = getKClass(ByteReadChannel());
|
|
462
463
|
var tmp_3;
|
|
463
464
|
try {
|
|
@@ -481,33 +482,33 @@ function AttoNodeClient$accountEntry$slambda$slambda() {
|
|
|
481
482
|
continue $sm;
|
|
482
483
|
case 1:
|
|
483
484
|
var tmp_5 = this;
|
|
484
|
-
tmp_5.
|
|
485
|
+
tmp_5.v7g_1 = (!(suspendResult == null) ? isInterface(suspendResult, ByteReadChannel()) : false) ? suspendResult : THROW_CCE();
|
|
485
486
|
this.ac_1 = 2;
|
|
486
487
|
continue $sm;
|
|
487
488
|
case 2:
|
|
488
|
-
if (!!this.
|
|
489
|
+
if (!!this.v7g_1.h3b()) {
|
|
489
490
|
this.ac_1 = 6;
|
|
490
491
|
continue $sm;
|
|
491
492
|
}
|
|
492
493
|
|
|
493
494
|
this.ac_1 = 3;
|
|
494
|
-
suspendResult = readUTF8Line(this.
|
|
495
|
+
suspendResult = readUTF8Line(this.v7g_1, VOID, this);
|
|
495
496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
496
497
|
return suspendResult;
|
|
497
498
|
}
|
|
498
499
|
|
|
499
500
|
continue $sm;
|
|
500
501
|
case 3:
|
|
501
|
-
this.
|
|
502
|
-
if (!(this.
|
|
502
|
+
this.w7g_1 = suspendResult;
|
|
503
|
+
if (!(this.w7g_1 == null)) {
|
|
503
504
|
var tmp_6 = this;
|
|
504
505
|
var tmp0 = Default_getInstance();
|
|
505
|
-
var string = this.
|
|
506
|
+
var string = this.w7g_1;
|
|
506
507
|
var this_0 = tmp0.yx();
|
|
507
508
|
var this_1 = serializer(this_0, createKType(getKClass(AttoAccountEntry()), arrayOf([]), false));
|
|
508
|
-
tmp_6.
|
|
509
|
+
tmp_6.x7g_1 = tmp0.fu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), string);
|
|
509
510
|
this.ac_1 = 4;
|
|
510
|
-
suspendResult = this.
|
|
511
|
+
suspendResult = this.r7g_1.w2k(this.x7g_1, this);
|
|
511
512
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
512
513
|
return suspendResult;
|
|
513
514
|
}
|
|
@@ -540,8 +541,8 @@ function AttoNodeClient$accountEntry$slambda$slambda() {
|
|
|
540
541
|
while (true);
|
|
541
542
|
}
|
|
542
543
|
i5b(response, completion) {
|
|
543
|
-
var i = new (AttoNodeClient$accountEntry$slambda$slambda())(this.
|
|
544
|
-
i.
|
|
544
|
+
var i = new (AttoNodeClient$accountEntry$slambda$slambda())(this.r7g_1, completion);
|
|
545
|
+
i.s7g_1 = response;
|
|
545
546
|
return i;
|
|
546
547
|
}
|
|
547
548
|
}
|
|
@@ -586,7 +587,7 @@ function AttoNodeClient$accountEntryStream$slambda$slambda() {
|
|
|
586
587
|
constructor($this_flow, resultContinuation, $box) {
|
|
587
588
|
if ($box === VOID)
|
|
588
589
|
$box = {};
|
|
589
|
-
$box.
|
|
590
|
+
$box.g7h_1 = $this_flow;
|
|
590
591
|
super(resultContinuation, $box);
|
|
591
592
|
}
|
|
592
593
|
d5d(response, $completion) {
|
|
@@ -607,10 +608,10 @@ function AttoNodeClient$accountEntryStream$slambda$slambda() {
|
|
|
607
608
|
case 0:
|
|
608
609
|
this.bc_1 = 7;
|
|
609
610
|
var tmp_0 = this;
|
|
610
|
-
tmp_0.
|
|
611
|
-
this.
|
|
611
|
+
tmp_0.i7h_1 = this.h7h_1;
|
|
612
|
+
this.j7h_1 = this.i7h_1;
|
|
612
613
|
this.ac_1 = 1;
|
|
613
|
-
var tmp_1 = this.
|
|
614
|
+
var tmp_1 = this.j7h_1.l52();
|
|
614
615
|
var tmp_2 = getKClass(ByteReadChannel());
|
|
615
616
|
var tmp_3;
|
|
616
617
|
try {
|
|
@@ -634,33 +635,33 @@ function AttoNodeClient$accountEntryStream$slambda$slambda() {
|
|
|
634
635
|
continue $sm;
|
|
635
636
|
case 1:
|
|
636
637
|
var tmp_5 = this;
|
|
637
|
-
tmp_5.
|
|
638
|
+
tmp_5.k7h_1 = (!(suspendResult == null) ? isInterface(suspendResult, ByteReadChannel()) : false) ? suspendResult : THROW_CCE();
|
|
638
639
|
this.ac_1 = 2;
|
|
639
640
|
continue $sm;
|
|
640
641
|
case 2:
|
|
641
|
-
if (!!this.
|
|
642
|
+
if (!!this.k7h_1.h3b()) {
|
|
642
643
|
this.ac_1 = 6;
|
|
643
644
|
continue $sm;
|
|
644
645
|
}
|
|
645
646
|
|
|
646
647
|
this.ac_1 = 3;
|
|
647
|
-
suspendResult = readUTF8Line(this.
|
|
648
|
+
suspendResult = readUTF8Line(this.k7h_1, VOID, this);
|
|
648
649
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
649
650
|
return suspendResult;
|
|
650
651
|
}
|
|
651
652
|
|
|
652
653
|
continue $sm;
|
|
653
654
|
case 3:
|
|
654
|
-
this.
|
|
655
|
-
if (!(this.
|
|
655
|
+
this.l7h_1 = suspendResult;
|
|
656
|
+
if (!(this.l7h_1 == null)) {
|
|
656
657
|
var tmp_6 = this;
|
|
657
658
|
var tmp0 = Default_getInstance();
|
|
658
|
-
var string = this.
|
|
659
|
+
var string = this.l7h_1;
|
|
659
660
|
var this_0 = tmp0.yx();
|
|
660
661
|
var this_1 = serializer(this_0, createKType(getKClass(AttoAccountEntry()), arrayOf([]), false));
|
|
661
|
-
tmp_6.
|
|
662
|
+
tmp_6.m7h_1 = tmp0.fu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), string);
|
|
662
663
|
this.ac_1 = 4;
|
|
663
|
-
suspendResult = this.
|
|
664
|
+
suspendResult = this.g7h_1.w2k(this.m7h_1, this);
|
|
664
665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
665
666
|
return suspendResult;
|
|
666
667
|
}
|
|
@@ -693,8 +694,8 @@ function AttoNodeClient$accountEntryStream$slambda$slambda() {
|
|
|
693
694
|
while (true);
|
|
694
695
|
}
|
|
695
696
|
i5b(response, completion) {
|
|
696
|
-
var i = new (AttoNodeClient$accountEntryStream$slambda$slambda())(this.
|
|
697
|
-
i.
|
|
697
|
+
var i = new (AttoNodeClient$accountEntryStream$slambda$slambda())(this.g7h_1, completion);
|
|
698
|
+
i.h7h_1 = response;
|
|
698
699
|
return i;
|
|
699
700
|
}
|
|
700
701
|
}
|
|
@@ -739,7 +740,7 @@ function AttoNodeClient$transaction$slambda$slambda() {
|
|
|
739
740
|
constructor($this_flow, resultContinuation, $box) {
|
|
740
741
|
if ($box === VOID)
|
|
741
742
|
$box = {};
|
|
742
|
-
$box.
|
|
743
|
+
$box.v7h_1 = $this_flow;
|
|
743
744
|
super(resultContinuation, $box);
|
|
744
745
|
}
|
|
745
746
|
d5d(response, $completion) {
|
|
@@ -760,10 +761,10 @@ function AttoNodeClient$transaction$slambda$slambda() {
|
|
|
760
761
|
case 0:
|
|
761
762
|
this.bc_1 = 7;
|
|
762
763
|
var tmp_0 = this;
|
|
763
|
-
tmp_0.
|
|
764
|
-
this.
|
|
764
|
+
tmp_0.x7h_1 = this.w7h_1;
|
|
765
|
+
this.y7h_1 = this.x7h_1;
|
|
765
766
|
this.ac_1 = 1;
|
|
766
|
-
var tmp_1 = this.
|
|
767
|
+
var tmp_1 = this.y7h_1.l52();
|
|
767
768
|
var tmp_2 = getKClass(ByteReadChannel());
|
|
768
769
|
var tmp_3;
|
|
769
770
|
try {
|
|
@@ -787,33 +788,33 @@ function AttoNodeClient$transaction$slambda$slambda() {
|
|
|
787
788
|
continue $sm;
|
|
788
789
|
case 1:
|
|
789
790
|
var tmp_5 = this;
|
|
790
|
-
tmp_5.
|
|
791
|
+
tmp_5.z7h_1 = (!(suspendResult == null) ? isInterface(suspendResult, ByteReadChannel()) : false) ? suspendResult : THROW_CCE();
|
|
791
792
|
this.ac_1 = 2;
|
|
792
793
|
continue $sm;
|
|
793
794
|
case 2:
|
|
794
|
-
if (!!this.
|
|
795
|
+
if (!!this.z7h_1.h3b()) {
|
|
795
796
|
this.ac_1 = 6;
|
|
796
797
|
continue $sm;
|
|
797
798
|
}
|
|
798
799
|
|
|
799
800
|
this.ac_1 = 3;
|
|
800
|
-
suspendResult = readUTF8Line(this.
|
|
801
|
+
suspendResult = readUTF8Line(this.z7h_1, VOID, this);
|
|
801
802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
802
803
|
return suspendResult;
|
|
803
804
|
}
|
|
804
805
|
|
|
805
806
|
continue $sm;
|
|
806
807
|
case 3:
|
|
807
|
-
this.
|
|
808
|
-
if (!(this.
|
|
808
|
+
this.a7i_1 = suspendResult;
|
|
809
|
+
if (!(this.a7i_1 == null)) {
|
|
809
810
|
var tmp_6 = this;
|
|
810
811
|
var tmp0 = Default_getInstance();
|
|
811
|
-
var string = this.
|
|
812
|
+
var string = this.a7i_1;
|
|
812
813
|
var this_0 = tmp0.yx();
|
|
813
814
|
var this_1 = serializer(this_0, createKType(getKClass(AttoTransaction()), arrayOf([]), false));
|
|
814
|
-
tmp_6.
|
|
815
|
+
tmp_6.b7i_1 = tmp0.fu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), string);
|
|
815
816
|
this.ac_1 = 4;
|
|
816
|
-
suspendResult = this.
|
|
817
|
+
suspendResult = this.v7h_1.w2k(this.b7i_1, this);
|
|
817
818
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
818
819
|
return suspendResult;
|
|
819
820
|
}
|
|
@@ -846,8 +847,8 @@ function AttoNodeClient$transaction$slambda$slambda() {
|
|
|
846
847
|
while (true);
|
|
847
848
|
}
|
|
848
849
|
i5b(response, completion) {
|
|
849
|
-
var i = new (AttoNodeClient$transaction$slambda$slambda())(this.
|
|
850
|
-
i.
|
|
850
|
+
var i = new (AttoNodeClient$transaction$slambda$slambda())(this.v7h_1, completion);
|
|
851
|
+
i.w7h_1 = response;
|
|
851
852
|
return i;
|
|
852
853
|
}
|
|
853
854
|
}
|
|
@@ -892,7 +893,7 @@ function AttoNodeClient$transactionStream$slambda$slambda() {
|
|
|
892
893
|
constructor($this_flow, resultContinuation, $box) {
|
|
893
894
|
if ($box === VOID)
|
|
894
895
|
$box = {};
|
|
895
|
-
$box.
|
|
896
|
+
$box.k7i_1 = $this_flow;
|
|
896
897
|
super(resultContinuation, $box);
|
|
897
898
|
}
|
|
898
899
|
d5d(response, $completion) {
|
|
@@ -913,10 +914,10 @@ function AttoNodeClient$transactionStream$slambda$slambda() {
|
|
|
913
914
|
case 0:
|
|
914
915
|
this.bc_1 = 7;
|
|
915
916
|
var tmp_0 = this;
|
|
916
|
-
tmp_0.
|
|
917
|
-
this.
|
|
917
|
+
tmp_0.m7i_1 = this.l7i_1;
|
|
918
|
+
this.n7i_1 = this.m7i_1;
|
|
918
919
|
this.ac_1 = 1;
|
|
919
|
-
var tmp_1 = this.
|
|
920
|
+
var tmp_1 = this.n7i_1.l52();
|
|
920
921
|
var tmp_2 = getKClass(ByteReadChannel());
|
|
921
922
|
var tmp_3;
|
|
922
923
|
try {
|
|
@@ -940,33 +941,33 @@ function AttoNodeClient$transactionStream$slambda$slambda() {
|
|
|
940
941
|
continue $sm;
|
|
941
942
|
case 1:
|
|
942
943
|
var tmp_5 = this;
|
|
943
|
-
tmp_5.
|
|
944
|
+
tmp_5.o7i_1 = (!(suspendResult == null) ? isInterface(suspendResult, ByteReadChannel()) : false) ? suspendResult : THROW_CCE();
|
|
944
945
|
this.ac_1 = 2;
|
|
945
946
|
continue $sm;
|
|
946
947
|
case 2:
|
|
947
|
-
if (!!this.
|
|
948
|
+
if (!!this.o7i_1.h3b()) {
|
|
948
949
|
this.ac_1 = 6;
|
|
949
950
|
continue $sm;
|
|
950
951
|
}
|
|
951
952
|
|
|
952
953
|
this.ac_1 = 3;
|
|
953
|
-
suspendResult = readUTF8Line(this.
|
|
954
|
+
suspendResult = readUTF8Line(this.o7i_1, VOID, this);
|
|
954
955
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
955
956
|
return suspendResult;
|
|
956
957
|
}
|
|
957
958
|
|
|
958
959
|
continue $sm;
|
|
959
960
|
case 3:
|
|
960
|
-
this.
|
|
961
|
-
if (!(this.
|
|
961
|
+
this.p7i_1 = suspendResult;
|
|
962
|
+
if (!(this.p7i_1 == null)) {
|
|
962
963
|
var tmp_6 = this;
|
|
963
964
|
var tmp0 = Default_getInstance();
|
|
964
|
-
var string = this.
|
|
965
|
+
var string = this.p7i_1;
|
|
965
966
|
var this_0 = tmp0.yx();
|
|
966
967
|
var this_1 = serializer(this_0, createKType(getKClass(AttoTransaction()), arrayOf([]), false));
|
|
967
|
-
tmp_6.
|
|
968
|
+
tmp_6.q7i_1 = tmp0.fu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), string);
|
|
968
969
|
this.ac_1 = 4;
|
|
969
|
-
suspendResult = this.
|
|
970
|
+
suspendResult = this.k7i_1.w2k(this.q7i_1, this);
|
|
970
971
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
971
972
|
return suspendResult;
|
|
972
973
|
}
|
|
@@ -999,8 +1000,8 @@ function AttoNodeClient$transactionStream$slambda$slambda() {
|
|
|
999
1000
|
while (true);
|
|
1000
1001
|
}
|
|
1001
1002
|
i5b(response, completion) {
|
|
1002
|
-
var i = new (AttoNodeClient$transactionStream$slambda$slambda())(this.
|
|
1003
|
-
i.
|
|
1003
|
+
var i = new (AttoNodeClient$transactionStream$slambda$slambda())(this.k7i_1, completion);
|
|
1004
|
+
i.l7i_1 = response;
|
|
1004
1005
|
return i;
|
|
1005
1006
|
}
|
|
1006
1007
|
}
|
|
@@ -1021,14 +1022,14 @@ var AttoNodeClient$_init_$slambda_j3bskxClass;
|
|
|
1021
1022
|
function AttoNodeClient$_init_$slambda_j3bskx() {
|
|
1022
1023
|
if (AttoNodeClient$_init_$slambda_j3bskxClass === VOID) {
|
|
1023
1024
|
class $ extends CoroutineImpl() {
|
|
1024
|
-
|
|
1025
|
+
z7i($completion) {
|
|
1025
1026
|
var tmp = this.r3m($completion);
|
|
1026
1027
|
tmp.cc_1 = Unit_instance;
|
|
1027
1028
|
tmp.dc_1 = null;
|
|
1028
1029
|
return tmp.ic();
|
|
1029
1030
|
}
|
|
1030
1031
|
pe($completion) {
|
|
1031
|
-
return this.
|
|
1032
|
+
return this.z7i($completion);
|
|
1032
1033
|
}
|
|
1033
1034
|
ic() {
|
|
1034
1035
|
var suspendResult = this.cc_1;
|
|
@@ -1059,7 +1060,7 @@ function AttoNodeClient$_init_$slambda_j3bskx() {
|
|
|
1059
1060
|
function AttoNodeClient$_init_$slambda_j3bskx_0(resultContinuation) {
|
|
1060
1061
|
var i = new (AttoNodeClient$_init_$slambda_j3bskx())(resultContinuation);
|
|
1061
1062
|
var l = function ($completion) {
|
|
1062
|
-
return i.
|
|
1063
|
+
return i.z7i($completion);
|
|
1063
1064
|
};
|
|
1064
1065
|
l.$arity = 0;
|
|
1065
1066
|
return l;
|
|
@@ -1098,19 +1099,19 @@ function AttoNodeClient$accountStream$slambda() {
|
|
|
1098
1099
|
constructor($this, $urlPath, $search, resultContinuation, $box) {
|
|
1099
1100
|
if ($box === VOID)
|
|
1100
1101
|
$box = {};
|
|
1101
|
-
$box.
|
|
1102
|
-
$box.
|
|
1103
|
-
$box.
|
|
1102
|
+
$box.i7j_1 = $this;
|
|
1103
|
+
$box.j7j_1 = $urlPath;
|
|
1104
|
+
$box.k7j_1 = $search;
|
|
1104
1105
|
super(resultContinuation, $box);
|
|
1105
1106
|
}
|
|
1106
|
-
|
|
1107
|
-
var tmp = this.
|
|
1107
|
+
n7j($this$flow, $completion) {
|
|
1108
|
+
var tmp = this.o7j($this$flow, $completion);
|
|
1108
1109
|
tmp.cc_1 = Unit_instance;
|
|
1109
1110
|
tmp.dc_1 = null;
|
|
1110
1111
|
return tmp.ic();
|
|
1111
1112
|
}
|
|
1112
1113
|
kd(p1, $completion) {
|
|
1113
|
-
return this.
|
|
1114
|
+
return this.n7j((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
1114
1115
|
}
|
|
1115
1116
|
ic() {
|
|
1116
1117
|
var suspendResult = this.cc_1;
|
|
@@ -1121,24 +1122,24 @@ function AttoNodeClient$accountStream$slambda() {
|
|
|
1121
1122
|
case 0:
|
|
1122
1123
|
this.bc_1 = 3;
|
|
1123
1124
|
this.ac_1 = 1;
|
|
1124
|
-
suspendResult = this.
|
|
1125
|
+
suspendResult = this.i7j_1.r7j_1(this);
|
|
1125
1126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1126
1127
|
return suspendResult;
|
|
1127
1128
|
}
|
|
1128
1129
|
|
|
1129
1130
|
continue $sm;
|
|
1130
1131
|
case 1:
|
|
1131
|
-
this.
|
|
1132
|
+
this.m7j_1 = suspendResult;
|
|
1132
1133
|
this.ac_1 = 2;
|
|
1133
1134
|
var tmp0 = get_httpClient();
|
|
1134
|
-
var urlString = this.
|
|
1135
|
+
var urlString = this.i7j_1.q7j_1 + '/' + this.j7j_1;
|
|
1135
1136
|
var builder = new (HttpRequestBuilder())();
|
|
1136
1137
|
builder.o50_1 = Companion_getInstance_0().b46_1;
|
|
1137
1138
|
url(builder, urlString);
|
|
1138
1139
|
timeout(builder, AttoNodeClient$accountStream$slambda$lambda);
|
|
1139
|
-
headers(builder, AttoNodeClient$accountStream$slambda$lambda_0(this.
|
|
1140
|
+
headers(builder, AttoNodeClient$accountStream$slambda$lambda_0(this.m7j_1));
|
|
1140
1141
|
contentType(builder, Application_getInstance().i3z_1);
|
|
1141
|
-
var body = this.
|
|
1142
|
+
var body = this.k7j_1;
|
|
1142
1143
|
if (body == null) {
|
|
1143
1144
|
builder.q50_1 = NullBody_instance;
|
|
1144
1145
|
var tmp_0 = PrimitiveClasses_getInstance().wg();
|
|
@@ -1181,7 +1182,7 @@ function AttoNodeClient$accountStream$slambda() {
|
|
|
1181
1182
|
}
|
|
1182
1183
|
|
|
1183
1184
|
var tmp_6 = new (HttpStatement())(builder, tmp0);
|
|
1184
|
-
suspendResult = tmp_6.p61(AttoNodeClient$accountStream$slambda$slambda_0(this.
|
|
1185
|
+
suspendResult = tmp_6.p61(AttoNodeClient$accountStream$slambda$slambda_0(this.l7j_1, null), this);
|
|
1185
1186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1186
1187
|
return suspendResult;
|
|
1187
1188
|
}
|
|
@@ -1203,9 +1204,9 @@ function AttoNodeClient$accountStream$slambda() {
|
|
|
1203
1204
|
}
|
|
1204
1205
|
while (true);
|
|
1205
1206
|
}
|
|
1206
|
-
|
|
1207
|
-
var i = new (AttoNodeClient$accountStream$slambda())(this.
|
|
1208
|
-
i.
|
|
1207
|
+
o7j($this$flow, completion) {
|
|
1208
|
+
var i = new (AttoNodeClient$accountStream$slambda())(this.i7j_1, this.j7j_1, this.k7j_1, completion);
|
|
1209
|
+
i.l7j_1 = $this$flow;
|
|
1209
1210
|
return i;
|
|
1210
1211
|
}
|
|
1211
1212
|
}
|
|
@@ -1217,7 +1218,7 @@ function AttoNodeClient$accountStream$slambda() {
|
|
|
1217
1218
|
function AttoNodeClient$accountStream$slambda_0($this, $urlPath, $search, resultContinuation) {
|
|
1218
1219
|
var i = new (AttoNodeClient$accountStream$slambda())($this, $urlPath, $search, resultContinuation);
|
|
1219
1220
|
var l = function ($this$flow, $completion) {
|
|
1220
|
-
return i.
|
|
1221
|
+
return i.n7j($this$flow, $completion);
|
|
1221
1222
|
};
|
|
1222
1223
|
l.$arity = 1;
|
|
1223
1224
|
return l;
|
|
@@ -1229,19 +1230,19 @@ function AttoNodeClient$receivableStream$slambda() {
|
|
|
1229
1230
|
constructor($this, $urlPath, $search, resultContinuation, $box) {
|
|
1230
1231
|
if ($box === VOID)
|
|
1231
1232
|
$box = {};
|
|
1232
|
-
$box.
|
|
1233
|
-
$box.
|
|
1234
|
-
$box.
|
|
1233
|
+
$box.c7k_1 = $this;
|
|
1234
|
+
$box.d7k_1 = $urlPath;
|
|
1235
|
+
$box.e7k_1 = $search;
|
|
1235
1236
|
super(resultContinuation, $box);
|
|
1236
1237
|
}
|
|
1237
|
-
|
|
1238
|
-
var tmp = this.
|
|
1238
|
+
h7k($this$flow, $completion) {
|
|
1239
|
+
var tmp = this.i7k($this$flow, $completion);
|
|
1239
1240
|
tmp.cc_1 = Unit_instance;
|
|
1240
1241
|
tmp.dc_1 = null;
|
|
1241
1242
|
return tmp.ic();
|
|
1242
1243
|
}
|
|
1243
1244
|
kd(p1, $completion) {
|
|
1244
|
-
return this.
|
|
1245
|
+
return this.h7k((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
1245
1246
|
}
|
|
1246
1247
|
ic() {
|
|
1247
1248
|
var suspendResult = this.cc_1;
|
|
@@ -1252,24 +1253,24 @@ function AttoNodeClient$receivableStream$slambda() {
|
|
|
1252
1253
|
case 0:
|
|
1253
1254
|
this.bc_1 = 3;
|
|
1254
1255
|
this.ac_1 = 1;
|
|
1255
|
-
suspendResult = this.
|
|
1256
|
+
suspendResult = this.c7k_1.r7j_1(this);
|
|
1256
1257
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1257
1258
|
return suspendResult;
|
|
1258
1259
|
}
|
|
1259
1260
|
|
|
1260
1261
|
continue $sm;
|
|
1261
1262
|
case 1:
|
|
1262
|
-
this.
|
|
1263
|
+
this.g7k_1 = suspendResult;
|
|
1263
1264
|
this.ac_1 = 2;
|
|
1264
1265
|
var tmp0 = get_httpClient();
|
|
1265
|
-
var urlString = this.
|
|
1266
|
+
var urlString = this.c7k_1.q7j_1 + '/' + this.d7k_1;
|
|
1266
1267
|
var builder = new (HttpRequestBuilder())();
|
|
1267
1268
|
builder.o50_1 = Companion_getInstance_0().b46_1;
|
|
1268
1269
|
url(builder, urlString);
|
|
1269
1270
|
timeout(builder, AttoNodeClient$receivableStream$slambda$lambda);
|
|
1270
|
-
headers(builder, AttoNodeClient$receivableStream$slambda$lambda_0(this.
|
|
1271
|
+
headers(builder, AttoNodeClient$receivableStream$slambda$lambda_0(this.g7k_1));
|
|
1271
1272
|
contentType(builder, Application_getInstance().i3z_1);
|
|
1272
|
-
var body = this.
|
|
1273
|
+
var body = this.e7k_1;
|
|
1273
1274
|
if (body == null) {
|
|
1274
1275
|
builder.q50_1 = NullBody_instance;
|
|
1275
1276
|
var tmp_0 = PrimitiveClasses_getInstance().wg();
|
|
@@ -1312,7 +1313,7 @@ function AttoNodeClient$receivableStream$slambda() {
|
|
|
1312
1313
|
}
|
|
1313
1314
|
|
|
1314
1315
|
var tmp_6 = new (HttpStatement())(builder, tmp0);
|
|
1315
|
-
suspendResult = tmp_6.p61(AttoNodeClient$receivableStream$slambda$slambda_0(this.
|
|
1316
|
+
suspendResult = tmp_6.p61(AttoNodeClient$receivableStream$slambda$slambda_0(this.f7k_1, null), this);
|
|
1316
1317
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1317
1318
|
return suspendResult;
|
|
1318
1319
|
}
|
|
@@ -1334,9 +1335,9 @@ function AttoNodeClient$receivableStream$slambda() {
|
|
|
1334
1335
|
}
|
|
1335
1336
|
while (true);
|
|
1336
1337
|
}
|
|
1337
|
-
|
|
1338
|
-
var i = new (AttoNodeClient$receivableStream$slambda())(this.
|
|
1339
|
-
i.
|
|
1338
|
+
i7k($this$flow, completion) {
|
|
1339
|
+
var i = new (AttoNodeClient$receivableStream$slambda())(this.c7k_1, this.d7k_1, this.e7k_1, completion);
|
|
1340
|
+
i.f7k_1 = $this$flow;
|
|
1340
1341
|
return i;
|
|
1341
1342
|
}
|
|
1342
1343
|
}
|
|
@@ -1348,7 +1349,7 @@ function AttoNodeClient$receivableStream$slambda() {
|
|
|
1348
1349
|
function AttoNodeClient$receivableStream$slambda_0($this, $urlPath, $search, resultContinuation) {
|
|
1349
1350
|
var i = new (AttoNodeClient$receivableStream$slambda())($this, $urlPath, $search, resultContinuation);
|
|
1350
1351
|
var l = function ($this$flow, $completion) {
|
|
1351
|
-
return i.
|
|
1352
|
+
return i.h7k($this$flow, $completion);
|
|
1352
1353
|
};
|
|
1353
1354
|
l.$arity = 1;
|
|
1354
1355
|
return l;
|
|
@@ -1360,18 +1361,18 @@ function AttoNodeClient$accountEntry$slambda() {
|
|
|
1360
1361
|
constructor($this, $urlPath, resultContinuation, $box) {
|
|
1361
1362
|
if ($box === VOID)
|
|
1362
1363
|
$box = {};
|
|
1363
|
-
$box.
|
|
1364
|
-
$box.
|
|
1364
|
+
$box.r7k_1 = $this;
|
|
1365
|
+
$box.s7k_1 = $urlPath;
|
|
1365
1366
|
super(resultContinuation, $box);
|
|
1366
1367
|
}
|
|
1367
|
-
|
|
1368
|
-
var tmp = this.
|
|
1368
|
+
v7k($this$flow, $completion) {
|
|
1369
|
+
var tmp = this.w7k($this$flow, $completion);
|
|
1369
1370
|
tmp.cc_1 = Unit_instance;
|
|
1370
1371
|
tmp.dc_1 = null;
|
|
1371
1372
|
return tmp.ic();
|
|
1372
1373
|
}
|
|
1373
1374
|
kd(p1, $completion) {
|
|
1374
|
-
return this.
|
|
1375
|
+
return this.v7k((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
1375
1376
|
}
|
|
1376
1377
|
ic() {
|
|
1377
1378
|
var suspendResult = this.cc_1;
|
|
@@ -1382,24 +1383,24 @@ function AttoNodeClient$accountEntry$slambda() {
|
|
|
1382
1383
|
case 0:
|
|
1383
1384
|
this.bc_1 = 3;
|
|
1384
1385
|
this.ac_1 = 1;
|
|
1385
|
-
suspendResult = this.
|
|
1386
|
+
suspendResult = this.r7k_1.r7j_1(this);
|
|
1386
1387
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1387
1388
|
return suspendResult;
|
|
1388
1389
|
}
|
|
1389
1390
|
|
|
1390
1391
|
continue $sm;
|
|
1391
1392
|
case 1:
|
|
1392
|
-
this.
|
|
1393
|
+
this.u7k_1 = suspendResult;
|
|
1393
1394
|
this.ac_1 = 2;
|
|
1394
1395
|
var tmp0 = get_httpClient();
|
|
1395
|
-
var urlString = this.
|
|
1396
|
+
var urlString = this.r7k_1.q7j_1 + '/' + this.s7k_1;
|
|
1396
1397
|
var this_0 = new (HttpRequestBuilder())();
|
|
1397
1398
|
url(this_0, urlString);
|
|
1398
1399
|
timeout(this_0, AttoNodeClient$accountEntry$slambda$lambda);
|
|
1399
|
-
headers(this_0, AttoNodeClient$accountEntry$slambda$lambda_0(this.
|
|
1400
|
+
headers(this_0, AttoNodeClient$accountEntry$slambda$lambda_0(this.u7k_1));
|
|
1400
1401
|
this_0.o50_1 = Companion_getInstance_0().a46_1;
|
|
1401
1402
|
var tmp_0 = new (HttpStatement())(this_0, tmp0);
|
|
1402
|
-
suspendResult = tmp_0.p61(AttoNodeClient$accountEntry$slambda$slambda_0(this.
|
|
1403
|
+
suspendResult = tmp_0.p61(AttoNodeClient$accountEntry$slambda$slambda_0(this.t7k_1, null), this);
|
|
1403
1404
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1404
1405
|
return suspendResult;
|
|
1405
1406
|
}
|
|
@@ -1421,9 +1422,9 @@ function AttoNodeClient$accountEntry$slambda() {
|
|
|
1421
1422
|
}
|
|
1422
1423
|
while (true);
|
|
1423
1424
|
}
|
|
1424
|
-
|
|
1425
|
-
var i = new (AttoNodeClient$accountEntry$slambda())(this.
|
|
1426
|
-
i.
|
|
1425
|
+
w7k($this$flow, completion) {
|
|
1426
|
+
var i = new (AttoNodeClient$accountEntry$slambda())(this.r7k_1, this.s7k_1, completion);
|
|
1427
|
+
i.t7k_1 = $this$flow;
|
|
1427
1428
|
return i;
|
|
1428
1429
|
}
|
|
1429
1430
|
}
|
|
@@ -1435,7 +1436,7 @@ function AttoNodeClient$accountEntry$slambda() {
|
|
|
1435
1436
|
function AttoNodeClient$accountEntry$slambda_0($this, $urlPath, resultContinuation) {
|
|
1436
1437
|
var i = new (AttoNodeClient$accountEntry$slambda())($this, $urlPath, resultContinuation);
|
|
1437
1438
|
var l = function ($this$flow, $completion) {
|
|
1438
|
-
return i.
|
|
1439
|
+
return i.v7k($this$flow, $completion);
|
|
1439
1440
|
};
|
|
1440
1441
|
l.$arity = 1;
|
|
1441
1442
|
return l;
|
|
@@ -1447,19 +1448,19 @@ function AttoNodeClient$accountEntryStream$slambda() {
|
|
|
1447
1448
|
constructor($this, $urlPath, $search, resultContinuation, $box) {
|
|
1448
1449
|
if ($box === VOID)
|
|
1449
1450
|
$box = {};
|
|
1450
|
-
$box.
|
|
1451
|
-
$box.
|
|
1452
|
-
$box.
|
|
1451
|
+
$box.f7l_1 = $this;
|
|
1452
|
+
$box.g7l_1 = $urlPath;
|
|
1453
|
+
$box.h7l_1 = $search;
|
|
1453
1454
|
super(resultContinuation, $box);
|
|
1454
1455
|
}
|
|
1455
|
-
|
|
1456
|
-
var tmp = this.
|
|
1456
|
+
v7k($this$flow, $completion) {
|
|
1457
|
+
var tmp = this.w7k($this$flow, $completion);
|
|
1457
1458
|
tmp.cc_1 = Unit_instance;
|
|
1458
1459
|
tmp.dc_1 = null;
|
|
1459
1460
|
return tmp.ic();
|
|
1460
1461
|
}
|
|
1461
1462
|
kd(p1, $completion) {
|
|
1462
|
-
return this.
|
|
1463
|
+
return this.v7k((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
1463
1464
|
}
|
|
1464
1465
|
ic() {
|
|
1465
1466
|
var suspendResult = this.cc_1;
|
|
@@ -1470,24 +1471,24 @@ function AttoNodeClient$accountEntryStream$slambda() {
|
|
|
1470
1471
|
case 0:
|
|
1471
1472
|
this.bc_1 = 3;
|
|
1472
1473
|
this.ac_1 = 1;
|
|
1473
|
-
suspendResult = this.
|
|
1474
|
+
suspendResult = this.f7l_1.r7j_1(this);
|
|
1474
1475
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1475
1476
|
return suspendResult;
|
|
1476
1477
|
}
|
|
1477
1478
|
|
|
1478
1479
|
continue $sm;
|
|
1479
1480
|
case 1:
|
|
1480
|
-
this.
|
|
1481
|
+
this.j7l_1 = suspendResult;
|
|
1481
1482
|
this.ac_1 = 2;
|
|
1482
1483
|
var tmp0 = get_httpClient();
|
|
1483
|
-
var urlString = this.
|
|
1484
|
+
var urlString = this.f7l_1.q7j_1 + '/' + this.g7l_1;
|
|
1484
1485
|
var builder = new (HttpRequestBuilder())();
|
|
1485
1486
|
builder.o50_1 = Companion_getInstance_0().b46_1;
|
|
1486
1487
|
url(builder, urlString);
|
|
1487
1488
|
timeout(builder, AttoNodeClient$accountEntryStream$slambda$lambda);
|
|
1488
|
-
headers(builder, AttoNodeClient$accountEntryStream$slambda$lambda_0(this.
|
|
1489
|
+
headers(builder, AttoNodeClient$accountEntryStream$slambda$lambda_0(this.j7l_1));
|
|
1489
1490
|
contentType(builder, Application_getInstance().i3z_1);
|
|
1490
|
-
var body = this.
|
|
1491
|
+
var body = this.h7l_1;
|
|
1491
1492
|
if (body == null) {
|
|
1492
1493
|
builder.q50_1 = NullBody_instance;
|
|
1493
1494
|
var tmp_0 = PrimitiveClasses_getInstance().wg();
|
|
@@ -1530,7 +1531,7 @@ function AttoNodeClient$accountEntryStream$slambda() {
|
|
|
1530
1531
|
}
|
|
1531
1532
|
|
|
1532
1533
|
var tmp_6 = new (HttpStatement())(builder, tmp0);
|
|
1533
|
-
suspendResult = tmp_6.p61(AttoNodeClient$accountEntryStream$slambda$slambda_0(this.
|
|
1534
|
+
suspendResult = tmp_6.p61(AttoNodeClient$accountEntryStream$slambda$slambda_0(this.i7l_1, null), this);
|
|
1534
1535
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1535
1536
|
return suspendResult;
|
|
1536
1537
|
}
|
|
@@ -1552,9 +1553,9 @@ function AttoNodeClient$accountEntryStream$slambda() {
|
|
|
1552
1553
|
}
|
|
1553
1554
|
while (true);
|
|
1554
1555
|
}
|
|
1555
|
-
|
|
1556
|
-
var i = new (AttoNodeClient$accountEntryStream$slambda())(this.
|
|
1557
|
-
i.
|
|
1556
|
+
w7k($this$flow, completion) {
|
|
1557
|
+
var i = new (AttoNodeClient$accountEntryStream$slambda())(this.f7l_1, this.g7l_1, this.h7l_1, completion);
|
|
1558
|
+
i.i7l_1 = $this$flow;
|
|
1558
1559
|
return i;
|
|
1559
1560
|
}
|
|
1560
1561
|
}
|
|
@@ -1566,7 +1567,7 @@ function AttoNodeClient$accountEntryStream$slambda() {
|
|
|
1566
1567
|
function AttoNodeClient$accountEntryStream$slambda_0($this, $urlPath, $search, resultContinuation) {
|
|
1567
1568
|
var i = new (AttoNodeClient$accountEntryStream$slambda())($this, $urlPath, $search, resultContinuation);
|
|
1568
1569
|
var l = function ($this$flow, $completion) {
|
|
1569
|
-
return i.
|
|
1570
|
+
return i.v7k($this$flow, $completion);
|
|
1570
1571
|
};
|
|
1571
1572
|
l.$arity = 1;
|
|
1572
1573
|
return l;
|
|
@@ -1578,18 +1579,18 @@ function AttoNodeClient$transaction$slambda() {
|
|
|
1578
1579
|
constructor($this, $urlPath, resultContinuation, $box) {
|
|
1579
1580
|
if ($box === VOID)
|
|
1580
1581
|
$box = {};
|
|
1581
|
-
$box.
|
|
1582
|
-
$box.
|
|
1582
|
+
$box.s7l_1 = $this;
|
|
1583
|
+
$box.t7l_1 = $urlPath;
|
|
1583
1584
|
super(resultContinuation, $box);
|
|
1584
1585
|
}
|
|
1585
|
-
|
|
1586
|
-
var tmp = this.
|
|
1586
|
+
w7l($this$flow, $completion) {
|
|
1587
|
+
var tmp = this.x7l($this$flow, $completion);
|
|
1587
1588
|
tmp.cc_1 = Unit_instance;
|
|
1588
1589
|
tmp.dc_1 = null;
|
|
1589
1590
|
return tmp.ic();
|
|
1590
1591
|
}
|
|
1591
1592
|
kd(p1, $completion) {
|
|
1592
|
-
return this.
|
|
1593
|
+
return this.w7l((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
1593
1594
|
}
|
|
1594
1595
|
ic() {
|
|
1595
1596
|
var suspendResult = this.cc_1;
|
|
@@ -1600,24 +1601,24 @@ function AttoNodeClient$transaction$slambda() {
|
|
|
1600
1601
|
case 0:
|
|
1601
1602
|
this.bc_1 = 3;
|
|
1602
1603
|
this.ac_1 = 1;
|
|
1603
|
-
suspendResult = this.
|
|
1604
|
+
suspendResult = this.s7l_1.r7j_1(this);
|
|
1604
1605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1605
1606
|
return suspendResult;
|
|
1606
1607
|
}
|
|
1607
1608
|
|
|
1608
1609
|
continue $sm;
|
|
1609
1610
|
case 1:
|
|
1610
|
-
this.
|
|
1611
|
+
this.v7l_1 = suspendResult;
|
|
1611
1612
|
this.ac_1 = 2;
|
|
1612
1613
|
var tmp0 = get_httpClient();
|
|
1613
|
-
var urlString = this.
|
|
1614
|
+
var urlString = this.s7l_1.q7j_1 + '/' + this.t7l_1;
|
|
1614
1615
|
var this_0 = new (HttpRequestBuilder())();
|
|
1615
1616
|
url(this_0, urlString);
|
|
1616
1617
|
timeout(this_0, AttoNodeClient$transaction$slambda$lambda);
|
|
1617
|
-
headers(this_0, AttoNodeClient$transaction$slambda$lambda_0(this.
|
|
1618
|
+
headers(this_0, AttoNodeClient$transaction$slambda$lambda_0(this.v7l_1));
|
|
1618
1619
|
this_0.o50_1 = Companion_getInstance_0().a46_1;
|
|
1619
1620
|
var tmp_0 = new (HttpStatement())(this_0, tmp0);
|
|
1620
|
-
suspendResult = tmp_0.p61(AttoNodeClient$transaction$slambda$slambda_0(this.
|
|
1621
|
+
suspendResult = tmp_0.p61(AttoNodeClient$transaction$slambda$slambda_0(this.u7l_1, null), this);
|
|
1621
1622
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1622
1623
|
return suspendResult;
|
|
1623
1624
|
}
|
|
@@ -1639,9 +1640,9 @@ function AttoNodeClient$transaction$slambda() {
|
|
|
1639
1640
|
}
|
|
1640
1641
|
while (true);
|
|
1641
1642
|
}
|
|
1642
|
-
|
|
1643
|
-
var i = new (AttoNodeClient$transaction$slambda())(this.
|
|
1644
|
-
i.
|
|
1643
|
+
x7l($this$flow, completion) {
|
|
1644
|
+
var i = new (AttoNodeClient$transaction$slambda())(this.s7l_1, this.t7l_1, completion);
|
|
1645
|
+
i.u7l_1 = $this$flow;
|
|
1645
1646
|
return i;
|
|
1646
1647
|
}
|
|
1647
1648
|
}
|
|
@@ -1653,7 +1654,7 @@ function AttoNodeClient$transaction$slambda() {
|
|
|
1653
1654
|
function AttoNodeClient$transaction$slambda_0($this, $urlPath, resultContinuation) {
|
|
1654
1655
|
var i = new (AttoNodeClient$transaction$slambda())($this, $urlPath, resultContinuation);
|
|
1655
1656
|
var l = function ($this$flow, $completion) {
|
|
1656
|
-
return i.
|
|
1657
|
+
return i.w7l($this$flow, $completion);
|
|
1657
1658
|
};
|
|
1658
1659
|
l.$arity = 1;
|
|
1659
1660
|
return l;
|
|
@@ -1665,19 +1666,19 @@ function AttoNodeClient$transactionStream$slambda() {
|
|
|
1665
1666
|
constructor($this, $urlPath, $search, resultContinuation, $box) {
|
|
1666
1667
|
if ($box === VOID)
|
|
1667
1668
|
$box = {};
|
|
1668
|
-
$box.
|
|
1669
|
-
$box.
|
|
1670
|
-
$box.
|
|
1669
|
+
$box.g7m_1 = $this;
|
|
1670
|
+
$box.h7m_1 = $urlPath;
|
|
1671
|
+
$box.i7m_1 = $search;
|
|
1671
1672
|
super(resultContinuation, $box);
|
|
1672
1673
|
}
|
|
1673
|
-
|
|
1674
|
-
var tmp = this.
|
|
1674
|
+
w7l($this$flow, $completion) {
|
|
1675
|
+
var tmp = this.x7l($this$flow, $completion);
|
|
1675
1676
|
tmp.cc_1 = Unit_instance;
|
|
1676
1677
|
tmp.dc_1 = null;
|
|
1677
1678
|
return tmp.ic();
|
|
1678
1679
|
}
|
|
1679
1680
|
kd(p1, $completion) {
|
|
1680
|
-
return this.
|
|
1681
|
+
return this.w7l((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
1681
1682
|
}
|
|
1682
1683
|
ic() {
|
|
1683
1684
|
var suspendResult = this.cc_1;
|
|
@@ -1688,24 +1689,24 @@ function AttoNodeClient$transactionStream$slambda() {
|
|
|
1688
1689
|
case 0:
|
|
1689
1690
|
this.bc_1 = 3;
|
|
1690
1691
|
this.ac_1 = 1;
|
|
1691
|
-
suspendResult = this.
|
|
1692
|
+
suspendResult = this.g7m_1.r7j_1(this);
|
|
1692
1693
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1693
1694
|
return suspendResult;
|
|
1694
1695
|
}
|
|
1695
1696
|
|
|
1696
1697
|
continue $sm;
|
|
1697
1698
|
case 1:
|
|
1698
|
-
this.
|
|
1699
|
+
this.k7m_1 = suspendResult;
|
|
1699
1700
|
this.ac_1 = 2;
|
|
1700
1701
|
var tmp0 = get_httpClient();
|
|
1701
|
-
var urlString = this.
|
|
1702
|
+
var urlString = this.g7m_1.q7j_1 + '/' + this.h7m_1;
|
|
1702
1703
|
var builder = new (HttpRequestBuilder())();
|
|
1703
1704
|
builder.o50_1 = Companion_getInstance_0().b46_1;
|
|
1704
1705
|
url(builder, urlString);
|
|
1705
1706
|
timeout(builder, AttoNodeClient$transactionStream$slambda$lambda);
|
|
1706
|
-
headers(builder, AttoNodeClient$transactionStream$slambda$lambda_0(this.
|
|
1707
|
+
headers(builder, AttoNodeClient$transactionStream$slambda$lambda_0(this.k7m_1));
|
|
1707
1708
|
contentType(builder, Application_getInstance().i3z_1);
|
|
1708
|
-
var body = this.
|
|
1709
|
+
var body = this.i7m_1;
|
|
1709
1710
|
if (body == null) {
|
|
1710
1711
|
builder.q50_1 = NullBody_instance;
|
|
1711
1712
|
var tmp_0 = PrimitiveClasses_getInstance().wg();
|
|
@@ -1748,7 +1749,7 @@ function AttoNodeClient$transactionStream$slambda() {
|
|
|
1748
1749
|
}
|
|
1749
1750
|
|
|
1750
1751
|
var tmp_6 = new (HttpStatement())(builder, tmp0);
|
|
1751
|
-
suspendResult = tmp_6.p61(AttoNodeClient$transactionStream$slambda$slambda_0(this.
|
|
1752
|
+
suspendResult = tmp_6.p61(AttoNodeClient$transactionStream$slambda$slambda_0(this.j7m_1, null), this);
|
|
1752
1753
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1753
1754
|
return suspendResult;
|
|
1754
1755
|
}
|
|
@@ -1770,9 +1771,9 @@ function AttoNodeClient$transactionStream$slambda() {
|
|
|
1770
1771
|
}
|
|
1771
1772
|
while (true);
|
|
1772
1773
|
}
|
|
1773
|
-
|
|
1774
|
-
var i = new (AttoNodeClient$transactionStream$slambda())(this.
|
|
1775
|
-
i.
|
|
1774
|
+
x7l($this$flow, completion) {
|
|
1775
|
+
var i = new (AttoNodeClient$transactionStream$slambda())(this.g7m_1, this.h7m_1, this.i7m_1, completion);
|
|
1776
|
+
i.j7m_1 = $this$flow;
|
|
1776
1777
|
return i;
|
|
1777
1778
|
}
|
|
1778
1779
|
}
|
|
@@ -1784,7 +1785,7 @@ function AttoNodeClient$transactionStream$slambda() {
|
|
|
1784
1785
|
function AttoNodeClient$transactionStream$slambda_0($this, $urlPath, $search, resultContinuation) {
|
|
1785
1786
|
var i = new (AttoNodeClient$transactionStream$slambda())($this, $urlPath, $search, resultContinuation);
|
|
1786
1787
|
var l = function ($this$flow, $completion) {
|
|
1787
|
-
return i.
|
|
1788
|
+
return i.w7l($this$flow, $completion);
|
|
1788
1789
|
};
|
|
1789
1790
|
l.$arity = 1;
|
|
1790
1791
|
return l;
|
|
@@ -1843,8 +1844,8 @@ function $accountCOROUTINE$() {
|
|
|
1843
1844
|
class $ extends CoroutineImpl() {
|
|
1844
1845
|
constructor(_this__u8e3s4, addresses, resultContinuation) {
|
|
1845
1846
|
super(resultContinuation);
|
|
1846
|
-
this.
|
|
1847
|
-
this.
|
|
1847
|
+
this.t7m_1 = _this__u8e3s4;
|
|
1848
|
+
this.u7m_1 = addresses;
|
|
1848
1849
|
}
|
|
1849
1850
|
ic() {
|
|
1850
1851
|
var suspendResult = this.cc_1;
|
|
@@ -1854,35 +1855,35 @@ function $accountCOROUTINE$() {
|
|
|
1854
1855
|
switch (tmp) {
|
|
1855
1856
|
case 0:
|
|
1856
1857
|
this.bc_1 = 4;
|
|
1857
|
-
this.
|
|
1858
|
+
this.v7m_1 = this.t7m_1.q7j_1 + '/accounts';
|
|
1858
1859
|
this.ac_1 = 1;
|
|
1859
|
-
suspendResult = this.
|
|
1860
|
+
suspendResult = this.t7m_1.r7j_1(this);
|
|
1860
1861
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1861
1862
|
return suspendResult;
|
|
1862
1863
|
}
|
|
1863
1864
|
|
|
1864
1865
|
continue $sm;
|
|
1865
1866
|
case 1:
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1867
|
+
this.w7m_1 = suspendResult;
|
|
1868
|
+
this.x7m_1 = new (AccountSearch())(this.u7m_1);
|
|
1868
1869
|
var tmp_0 = this;
|
|
1869
|
-
tmp_0.
|
|
1870
|
+
tmp_0.y7m_1 = get_httpClient();
|
|
1870
1871
|
var tmp_1 = this;
|
|
1871
|
-
tmp_1.
|
|
1872
|
-
this.z7m_1 = this.x7m_1;
|
|
1872
|
+
tmp_1.z7m_1 = this.v7m_1;
|
|
1873
1873
|
this.a7n_1 = this.y7m_1;
|
|
1874
|
+
this.b7n_1 = this.z7m_1;
|
|
1874
1875
|
var tmp_2 = this;
|
|
1875
|
-
tmp_2.
|
|
1876
|
-
this.
|
|
1877
|
-
this.
|
|
1878
|
-
this.
|
|
1876
|
+
tmp_2.c7n_1 = this.a7n_1;
|
|
1877
|
+
this.d7n_1 = this.c7n_1;
|
|
1878
|
+
this.e7n_1 = new (HttpRequestBuilder())();
|
|
1879
|
+
this.e7n_1.o50_1 = Companion_getInstance_0().b46_1;
|
|
1879
1880
|
var tmp_3 = this;
|
|
1880
|
-
tmp_3.
|
|
1881
|
+
tmp_3.f7n_1 = this.d7n_1;
|
|
1881
1882
|
var tmp_4 = this;
|
|
1882
|
-
var this_0 = this.
|
|
1883
|
-
url(this_0, this.
|
|
1883
|
+
var this_0 = this.e7n_1;
|
|
1884
|
+
url(this_0, this.b7n_1);
|
|
1884
1885
|
contentType(this_0, Application_getInstance().i3z_1);
|
|
1885
|
-
var body = this.
|
|
1886
|
+
var body = this.x7m_1;
|
|
1886
1887
|
if (body == null) {
|
|
1887
1888
|
this_0.q50_1 = NullBody_instance;
|
|
1888
1889
|
var tmp_5 = getKClass(AccountSearch());
|
|
@@ -1924,23 +1925,23 @@ function $accountCOROUTINE$() {
|
|
|
1924
1925
|
}
|
|
1925
1926
|
}
|
|
1926
1927
|
|
|
1927
|
-
headers(this_0, AttoNodeClient$account$lambda(this.
|
|
1928
|
+
headers(this_0, AttoNodeClient$account$lambda(this.w7m_1));
|
|
1928
1929
|
timeout(this_0, AttoNodeClient$account$lambda_0);
|
|
1929
|
-
tmp_4.
|
|
1930
|
-
this.g7n_1 = this.e7n_1;
|
|
1930
|
+
tmp_4.g7n_1 = this_0;
|
|
1931
1931
|
this.h7n_1 = this.f7n_1;
|
|
1932
|
+
this.i7n_1 = this.g7n_1;
|
|
1932
1933
|
this.ac_1 = 2;
|
|
1933
|
-
suspendResult = (new (HttpStatement())(this.
|
|
1934
|
+
suspendResult = (new (HttpStatement())(this.i7n_1, this.h7n_1)).q61(this);
|
|
1934
1935
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1935
1936
|
return suspendResult;
|
|
1936
1937
|
}
|
|
1937
1938
|
|
|
1938
1939
|
continue $sm;
|
|
1939
1940
|
case 2:
|
|
1940
|
-
this.
|
|
1941
|
-
this.
|
|
1941
|
+
this.j7n_1 = suspendResult;
|
|
1942
|
+
this.k7n_1 = this.j7n_1;
|
|
1942
1943
|
this.ac_1 = 3;
|
|
1943
|
-
var tmp_11 = this.
|
|
1944
|
+
var tmp_11 = this.k7n_1.l52();
|
|
1944
1945
|
var tmp_12 = getKClass(Collection());
|
|
1945
1946
|
var tmp_13;
|
|
1946
1947
|
try {
|
|
@@ -1990,8 +1991,8 @@ function $nowCOROUTINE$() {
|
|
|
1990
1991
|
class $ extends CoroutineImpl() {
|
|
1991
1992
|
constructor(_this__u8e3s4, currentTime, resultContinuation) {
|
|
1992
1993
|
super(resultContinuation);
|
|
1993
|
-
this.
|
|
1994
|
-
this.
|
|
1994
|
+
this.t7n_1 = _this__u8e3s4;
|
|
1995
|
+
this.u7n_1 = currentTime;
|
|
1995
1996
|
}
|
|
1996
1997
|
ic() {
|
|
1997
1998
|
var suspendResult = this.cc_1;
|
|
@@ -2001,55 +2002,55 @@ function $nowCOROUTINE$() {
|
|
|
2001
2002
|
switch (tmp) {
|
|
2002
2003
|
case 0:
|
|
2003
2004
|
this.bc_1 = 4;
|
|
2004
|
-
this.
|
|
2005
|
+
this.v7n_1 = this.t7n_1.q7j_1 + '/instants/' + this.u7n_1.toString();
|
|
2005
2006
|
this.ac_1 = 1;
|
|
2006
|
-
suspendResult = this.
|
|
2007
|
+
suspendResult = this.t7n_1.r7j_1(this);
|
|
2007
2008
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2008
2009
|
return suspendResult;
|
|
2009
2010
|
}
|
|
2010
2011
|
|
|
2011
2012
|
continue $sm;
|
|
2012
2013
|
case 1:
|
|
2013
|
-
this.
|
|
2014
|
+
this.w7n_1 = suspendResult;
|
|
2014
2015
|
var tmp_0 = this;
|
|
2015
|
-
tmp_0.
|
|
2016
|
+
tmp_0.x7n_1 = get_httpClient();
|
|
2016
2017
|
var tmp_1 = this;
|
|
2017
|
-
tmp_1.
|
|
2018
|
-
this.y7n_1 = this.w7n_1;
|
|
2018
|
+
tmp_1.y7n_1 = this.v7n_1;
|
|
2019
2019
|
this.z7n_1 = this.x7n_1;
|
|
2020
|
+
this.a7o_1 = this.y7n_1;
|
|
2020
2021
|
var tmp_2 = this;
|
|
2021
|
-
tmp_2.
|
|
2022
|
-
this.
|
|
2022
|
+
tmp_2.b7o_1 = this.z7n_1;
|
|
2023
|
+
this.c7o_1 = this.b7o_1;
|
|
2023
2024
|
var tmp_3 = this;
|
|
2024
|
-
tmp_3.
|
|
2025
|
+
tmp_3.d7o_1 = this.c7o_1;
|
|
2025
2026
|
var tmp_4 = this;
|
|
2026
2027
|
var this_0 = new (HttpRequestBuilder())();
|
|
2027
|
-
url(this_0, this.
|
|
2028
|
+
url(this_0, this.a7o_1);
|
|
2028
2029
|
contentType(this_0, Application_getInstance().i3z_1);
|
|
2029
|
-
headers(this_0, AttoNodeClient$now$lambda(this.
|
|
2030
|
+
headers(this_0, AttoNodeClient$now$lambda(this.w7n_1));
|
|
2030
2031
|
timeout(this_0, AttoNodeClient$now$lambda_0);
|
|
2031
|
-
tmp_4.
|
|
2032
|
-
this.e7o_1 = this.c7o_1;
|
|
2032
|
+
tmp_4.e7o_1 = this_0;
|
|
2033
2033
|
this.f7o_1 = this.d7o_1;
|
|
2034
|
-
this.
|
|
2034
|
+
this.g7o_1 = this.e7o_1;
|
|
2035
|
+
this.g7o_1.o50_1 = Companion_getInstance_0().a46_1;
|
|
2035
2036
|
var tmp_5 = this;
|
|
2036
|
-
tmp_5.
|
|
2037
|
+
tmp_5.h7o_1 = this.f7o_1;
|
|
2037
2038
|
var tmp_6 = this;
|
|
2038
|
-
tmp_6.
|
|
2039
|
-
this.i7o_1 = this.g7o_1;
|
|
2039
|
+
tmp_6.i7o_1 = this.g7o_1;
|
|
2040
2040
|
this.j7o_1 = this.h7o_1;
|
|
2041
|
+
this.k7o_1 = this.i7o_1;
|
|
2041
2042
|
this.ac_1 = 2;
|
|
2042
|
-
suspendResult = (new (HttpStatement())(this.
|
|
2043
|
+
suspendResult = (new (HttpStatement())(this.k7o_1, this.j7o_1)).q61(this);
|
|
2043
2044
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2044
2045
|
return suspendResult;
|
|
2045
2046
|
}
|
|
2046
2047
|
|
|
2047
2048
|
continue $sm;
|
|
2048
2049
|
case 2:
|
|
2049
|
-
this.
|
|
2050
|
-
this.
|
|
2050
|
+
this.l7o_1 = suspendResult;
|
|
2051
|
+
this.m7o_1 = this.l7o_1;
|
|
2051
2052
|
this.ac_1 = 3;
|
|
2052
|
-
var tmp_7 = this.
|
|
2053
|
+
var tmp_7 = this.m7o_1.l52();
|
|
2053
2054
|
var tmp_8 = getKClass(TimeDifferenceResponse());
|
|
2054
2055
|
var tmp_9;
|
|
2055
2056
|
try {
|
|
@@ -2099,8 +2100,8 @@ function $publishCOROUTINE$() {
|
|
|
2099
2100
|
class $ extends CoroutineImpl() {
|
|
2100
2101
|
constructor(_this__u8e3s4, transaction, resultContinuation) {
|
|
2101
2102
|
super(resultContinuation);
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2103
|
+
this.v7o_1 = _this__u8e3s4;
|
|
2104
|
+
this.w7o_1 = transaction;
|
|
2104
2105
|
}
|
|
2105
2106
|
ic() {
|
|
2106
2107
|
var suspendResult = this.cc_1;
|
|
@@ -2110,40 +2111,40 @@ function $publishCOROUTINE$() {
|
|
|
2110
2111
|
switch (tmp) {
|
|
2111
2112
|
case 0:
|
|
2112
2113
|
this.bc_1 = 5;
|
|
2113
|
-
this.
|
|
2114
|
+
this.x7o_1 = this.v7o_1.q7j_1 + '/transactions/stream';
|
|
2114
2115
|
var tmp_0 = this;
|
|
2115
2116
|
var tmp0 = Default_getInstance();
|
|
2116
|
-
var value = this.
|
|
2117
|
+
var value = this.w7o_1;
|
|
2117
2118
|
var this_0 = tmp0.yx();
|
|
2118
2119
|
var this_1 = serializer(this_0, createKType(getKClass(AttoTransaction()), arrayOf([]), false));
|
|
2119
|
-
tmp_0.
|
|
2120
|
+
tmp_0.y7o_1 = tmp0.eu(isInterface(this_1, KSerializer()) ? this_1 : THROW_CCE(), value);
|
|
2120
2121
|
this.ac_1 = 1;
|
|
2121
|
-
suspendResult = this.
|
|
2122
|
+
suspendResult = this.v7o_1.r7j_1(this);
|
|
2122
2123
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2123
2124
|
return suspendResult;
|
|
2124
2125
|
}
|
|
2125
2126
|
|
|
2126
2127
|
continue $sm;
|
|
2127
2128
|
case 1:
|
|
2128
|
-
this.
|
|
2129
|
+
this.z7o_1 = suspendResult;
|
|
2129
2130
|
var tmp_1 = this;
|
|
2130
|
-
tmp_1.
|
|
2131
|
+
tmp_1.a7p_1 = get_httpClient();
|
|
2131
2132
|
var tmp_2 = this;
|
|
2132
|
-
tmp_2.
|
|
2133
|
-
this.b7p_1 = this.z7o_1;
|
|
2133
|
+
tmp_2.b7p_1 = this.x7o_1;
|
|
2134
2134
|
this.c7p_1 = this.a7p_1;
|
|
2135
|
+
this.d7p_1 = this.b7p_1;
|
|
2135
2136
|
var tmp_3 = this;
|
|
2136
|
-
tmp_3.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2137
|
+
tmp_3.e7p_1 = this.c7p_1;
|
|
2138
|
+
this.f7p_1 = this.e7p_1;
|
|
2139
|
+
this.g7p_1 = new (HttpRequestBuilder())();
|
|
2140
|
+
this.g7p_1.o50_1 = Companion_getInstance_0().b46_1;
|
|
2140
2141
|
var tmp_4 = this;
|
|
2141
|
-
tmp_4.
|
|
2142
|
+
tmp_4.h7p_1 = this.f7p_1;
|
|
2142
2143
|
var tmp_5 = this;
|
|
2143
|
-
var this_2 = this.
|
|
2144
|
-
url(this_2, this.
|
|
2144
|
+
var this_2 = this.g7p_1;
|
|
2145
|
+
url(this_2, this.d7p_1);
|
|
2145
2146
|
contentType(this_2, Application_getInstance().i3z_1);
|
|
2146
|
-
var body = this.
|
|
2147
|
+
var body = this.y7o_1;
|
|
2147
2148
|
if (body == null) {
|
|
2148
2149
|
this_2.q50_1 = NullBody_instance;
|
|
2149
2150
|
var tmp_6 = PrimitiveClasses_getInstance().gh();
|
|
@@ -2185,38 +2186,38 @@ function $publishCOROUTINE$() {
|
|
|
2185
2186
|
}
|
|
2186
2187
|
}
|
|
2187
2188
|
|
|
2188
|
-
headers(this_2, AttoNodeClient$publish$lambda(this.
|
|
2189
|
+
headers(this_2, AttoNodeClient$publish$lambda(this.z7o_1));
|
|
2189
2190
|
timeout(this_2, AttoNodeClient$publish$lambda_0);
|
|
2190
|
-
tmp_5.
|
|
2191
|
-
this.i7p_1 = this.g7p_1;
|
|
2191
|
+
tmp_5.i7p_1 = this_2;
|
|
2192
2192
|
this.j7p_1 = this.h7p_1;
|
|
2193
|
+
this.k7p_1 = this.i7p_1;
|
|
2193
2194
|
this.ac_1 = 2;
|
|
2194
|
-
suspendResult = (new (HttpStatement())(this.
|
|
2195
|
+
suspendResult = (new (HttpStatement())(this.k7p_1, this.j7p_1)).q61(this);
|
|
2195
2196
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2196
2197
|
return suspendResult;
|
|
2197
2198
|
}
|
|
2198
2199
|
|
|
2199
2200
|
continue $sm;
|
|
2200
2201
|
case 2:
|
|
2201
|
-
this.
|
|
2202
|
+
this.l7p_1 = suspendResult;
|
|
2202
2203
|
this.ac_1 = 3;
|
|
2203
|
-
suspendResult = bodyAsChannel(this.
|
|
2204
|
+
suspendResult = bodyAsChannel(this.l7p_1, this);
|
|
2204
2205
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2205
2206
|
return suspendResult;
|
|
2206
2207
|
}
|
|
2207
2208
|
|
|
2208
2209
|
continue $sm;
|
|
2209
2210
|
case 3:
|
|
2210
|
-
this.
|
|
2211
|
+
this.m7p_1 = suspendResult;
|
|
2211
2212
|
this.ac_1 = 4;
|
|
2212
|
-
suspendResult = readUTF8Line(this.
|
|
2213
|
+
suspendResult = readUTF8Line(this.m7p_1, VOID, this);
|
|
2213
2214
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2214
2215
|
return suspendResult;
|
|
2215
2216
|
}
|
|
2216
2217
|
|
|
2217
2218
|
continue $sm;
|
|
2218
2219
|
case 4:
|
|
2219
|
-
cancel(this.
|
|
2220
|
+
cancel(this.m7p_1);
|
|
2220
2221
|
return Unit_instance;
|
|
2221
2222
|
case 5:
|
|
2222
2223
|
throw this.dc_1;
|
|
@@ -2250,19 +2251,19 @@ function AttoNodeClient() {
|
|
|
2250
2251
|
tmp = headerProvider;
|
|
2251
2252
|
}
|
|
2252
2253
|
headerProvider = tmp;
|
|
2253
|
-
this.
|
|
2254
|
-
this.
|
|
2255
|
-
this.
|
|
2254
|
+
this.p7j_1 = network;
|
|
2255
|
+
this.q7j_1 = baseUrl;
|
|
2256
|
+
this.r7j_1 = headerProvider;
|
|
2256
2257
|
var tmp_0 = this;
|
|
2257
2258
|
var tmp_1 = KotlinLogging_instance;
|
|
2258
|
-
tmp_0.
|
|
2259
|
+
tmp_0.s7j_1 = tmp_1.m6s(AttoNodeClient$logger$lambda);
|
|
2259
2260
|
var tmp_2 = this;
|
|
2260
2261
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
2261
2262
|
Companion_getInstance();
|
|
2262
|
-
tmp_2.
|
|
2263
|
+
tmp_2.t7j_1 = toDuration(10, DurationUnit_SECONDS_getInstance());
|
|
2263
2264
|
}
|
|
2264
2265
|
f2w() {
|
|
2265
|
-
return this.
|
|
2266
|
+
return this.p7j_1;
|
|
2266
2267
|
}
|
|
2267
2268
|
a6u(addresses, $completion) {
|
|
2268
2269
|
var tmp = new ($accountCOROUTINE$())(this, addresses, $completion);
|
|
@@ -2276,32 +2277,32 @@ function AttoNodeClient() {
|
|
|
2276
2277
|
var search = new (AccountSearch())(addresses);
|
|
2277
2278
|
return flow(AttoNodeClient$accountStream$slambda_0(this, tmp2, search, null));
|
|
2278
2279
|
}
|
|
2279
|
-
c6u(addresses) {
|
|
2280
|
-
var tmp2 = 'accounts/receivables/stream';
|
|
2280
|
+
c6u(addresses, minAmount) {
|
|
2281
|
+
var tmp2 = 'accounts/receivables/stream?minAmount=' + minAmount.toString();
|
|
2281
2282
|
// Inline function 'cash.atto.commons.node.AttoNodeClient.fetchStream' call
|
|
2282
2283
|
var search = new (AccountSearch())(addresses);
|
|
2283
2284
|
return flow(AttoNodeClient$receivableStream$slambda_0(this, tmp2, search, null));
|
|
2284
2285
|
}
|
|
2285
|
-
|
|
2286
|
+
e6u(hash, $completion) {
|
|
2286
2287
|
// Inline function 'cash.atto.commons.node.AttoNodeClient.fetchStream' call
|
|
2287
2288
|
var urlPath = 'accounts/entries/' + hash.toString() + '/stream';
|
|
2288
2289
|
var tmp$ret$0 = flow(AttoNodeClient$accountEntry$slambda_0(this, urlPath, null));
|
|
2289
2290
|
return first(tmp$ret$0, $completion);
|
|
2290
2291
|
}
|
|
2291
|
-
|
|
2292
|
+
f6u(search) {
|
|
2292
2293
|
// Inline function 'cash.atto.commons.node.AttoNodeClient.fetchStream' call
|
|
2293
2294
|
var urlPath = 'accounts/entries/stream';
|
|
2294
2295
|
return flow(AttoNodeClient$accountEntryStream$slambda_0(this, urlPath, search, null));
|
|
2295
2296
|
}
|
|
2296
|
-
|
|
2297
|
+
g6u(hash, $completion) {
|
|
2297
2298
|
// Inline function 'cash.atto.commons.node.AttoNodeClient.fetchStream' call
|
|
2298
2299
|
var urlPath = 'transactions/' + hash.toString() + '/stream';
|
|
2299
2300
|
var tmp$ret$0 = flow(AttoNodeClient$transaction$slambda_0(this, urlPath, null));
|
|
2300
2301
|
return first(tmp$ret$0, $completion);
|
|
2301
2302
|
}
|
|
2302
|
-
|
|
2303
|
+
h6u(search) {
|
|
2303
2304
|
// Inline function 'cash.atto.commons.node.AttoNodeClient.fetchStream' call
|
|
2304
|
-
var urlPath = 'transactions/stream';
|
|
2305
|
+
var urlPath = 'accounts/transactions/stream';
|
|
2305
2306
|
return flow(AttoNodeClient$transactionStream$slambda_0(this, urlPath, search, null));
|
|
2306
2307
|
}
|
|
2307
2308
|
z6t(currentTime, $completion) {
|
|
@@ -2310,14 +2311,15 @@ function AttoNodeClient() {
|
|
|
2310
2311
|
tmp.dc_1 = null;
|
|
2311
2312
|
return tmp.ic();
|
|
2312
2313
|
}
|
|
2313
|
-
|
|
2314
|
+
j6u(transaction, $completion) {
|
|
2314
2315
|
var tmp = new ($publishCOROUTINE$())(this, transaction, $completion);
|
|
2315
2316
|
tmp.cc_1 = Unit_instance;
|
|
2316
2317
|
tmp.dc_1 = null;
|
|
2317
2318
|
return tmp.ic();
|
|
2318
2319
|
}
|
|
2319
2320
|
}
|
|
2320
|
-
protoOf($).
|
|
2321
|
+
protoOf($).d6u = receivableStream$default;
|
|
2322
|
+
protoOf($).i6u = now;
|
|
2321
2323
|
initMetadataForClass($, 'AttoNodeClient', VOID, VOID, [AttoNodeOperations()], [1, 0]);
|
|
2322
2324
|
AttoNodeClientClass = $;
|
|
2323
2325
|
}
|
|
@@ -2345,14 +2347,14 @@ var custom$slambdaClass;
|
|
|
2345
2347
|
function custom$slambda() {
|
|
2346
2348
|
if (custom$slambdaClass === VOID) {
|
|
2347
2349
|
class $ extends CoroutineImpl() {
|
|
2348
|
-
|
|
2350
|
+
z7i($completion) {
|
|
2349
2351
|
var tmp = this.r3m($completion);
|
|
2350
2352
|
tmp.cc_1 = Unit_instance;
|
|
2351
2353
|
tmp.dc_1 = null;
|
|
2352
2354
|
return tmp.ic();
|
|
2353
2355
|
}
|
|
2354
2356
|
pe($completion) {
|
|
2355
|
-
return this.
|
|
2357
|
+
return this.z7i($completion);
|
|
2356
2358
|
}
|
|
2357
2359
|
ic() {
|
|
2358
2360
|
var suspendResult = this.cc_1;
|
|
@@ -2383,7 +2385,7 @@ function custom$slambda() {
|
|
|
2383
2385
|
function custom$slambda_0(resultContinuation) {
|
|
2384
2386
|
var i = new (custom$slambda())(resultContinuation);
|
|
2385
2387
|
var l = function ($completion) {
|
|
2386
|
-
return i.
|
|
2388
|
+
return i.z7i($completion);
|
|
2387
2389
|
};
|
|
2388
2390
|
l.$arity = 0;
|
|
2389
2391
|
return l;
|