@attocash/commons-js 5.1.0 → 5.2.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-node/cash/atto/commons/node/AttoNodeOperations.mjs +7 -2
- 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 +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +55 -1
- 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 +67 -67
- package/commons-commons-node.mjs +1 -0
- package/commons-commons-node.mjs.map +1 -1
- 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 +31 -31
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -55,14 +55,14 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$ref()
|
|
|
55
55
|
if (AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$refClass === VOID) {
|
|
56
56
|
class $ {
|
|
57
57
|
constructor(p0) {
|
|
58
|
-
this.
|
|
58
|
+
this.u7p_1 = p0;
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
this.
|
|
60
|
+
v7p($callee, $completion) {
|
|
61
|
+
this.u7p_1($callee);
|
|
62
62
|
return Unit_instance;
|
|
63
63
|
}
|
|
64
64
|
kd(p1, $completion) {
|
|
65
|
-
return this.
|
|
65
|
+
return this.v7p((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
initMetadataForFunctionReference($, VOID, VOID, [1]);
|
|
@@ -73,7 +73,7 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$ref()
|
|
|
73
73
|
function AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$ref_0(p0) {
|
|
74
74
|
var i = new (AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$ref())(p0);
|
|
75
75
|
var l = function ($callee, $completion) {
|
|
76
|
-
return i.
|
|
76
|
+
return i.v7p($callee, $completion);
|
|
77
77
|
};
|
|
78
78
|
l.$arity = 1;
|
|
79
79
|
return l;
|
|
@@ -89,13 +89,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
89
89
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
90
90
|
class $ {
|
|
91
91
|
constructor(function_0) {
|
|
92
|
-
this.
|
|
92
|
+
this.w7p_1 = function_0;
|
|
93
93
|
}
|
|
94
94
|
w2k(value, $completion) {
|
|
95
|
-
return this.
|
|
95
|
+
return this.w7p_1(value, $completion);
|
|
96
96
|
}
|
|
97
97
|
i4() {
|
|
98
|
-
return this.
|
|
98
|
+
return this.w7p_1;
|
|
99
99
|
}
|
|
100
100
|
equals(other) {
|
|
101
101
|
var tmp;
|
|
@@ -128,18 +128,18 @@ function AttoNodeOperationsJsImpl$account$slambda() {
|
|
|
128
128
|
constructor(this$0, $addresses, resultContinuation, $box) {
|
|
129
129
|
if ($box === VOID)
|
|
130
130
|
$box = {};
|
|
131
|
-
$box.
|
|
132
|
-
$box.
|
|
131
|
+
$box.f7q_1 = this$0;
|
|
132
|
+
$box.g7q_1 = $addresses;
|
|
133
133
|
super(resultContinuation, $box);
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
i7q($this$promise, $completion) {
|
|
136
136
|
var tmp = this.d36($this$promise, $completion);
|
|
137
137
|
tmp.cc_1 = Unit_instance;
|
|
138
138
|
tmp.dc_1 = null;
|
|
139
139
|
return tmp.ic();
|
|
140
140
|
}
|
|
141
141
|
kd(p1, $completion) {
|
|
142
|
-
return this.
|
|
142
|
+
return this.i7q((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
143
143
|
}
|
|
144
144
|
ic() {
|
|
145
145
|
var suspendResult = this.cc_1;
|
|
@@ -150,7 +150,7 @@ function AttoNodeOperationsJsImpl$account$slambda() {
|
|
|
150
150
|
case 0:
|
|
151
151
|
this.bc_1 = 2;
|
|
152
152
|
this.ac_1 = 1;
|
|
153
|
-
suspendResult = this.
|
|
153
|
+
suspendResult = this.f7q_1.j7q_1.a6u(toList(this.g7q_1), this);
|
|
154
154
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
155
155
|
return suspendResult;
|
|
156
156
|
}
|
|
@@ -174,8 +174,8 @@ function AttoNodeOperationsJsImpl$account$slambda() {
|
|
|
174
174
|
while (true);
|
|
175
175
|
}
|
|
176
176
|
d36($this$promise, completion) {
|
|
177
|
-
var i = new (AttoNodeOperationsJsImpl$account$slambda())(this.
|
|
178
|
-
i.
|
|
177
|
+
var i = new (AttoNodeOperationsJsImpl$account$slambda())(this.f7q_1, this.g7q_1, completion);
|
|
178
|
+
i.h7q_1 = $this$promise;
|
|
179
179
|
return i;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -187,7 +187,7 @@ function AttoNodeOperationsJsImpl$account$slambda() {
|
|
|
187
187
|
function AttoNodeOperationsJsImpl$account$slambda_0(this$0, $addresses, resultContinuation) {
|
|
188
188
|
var i = new (AttoNodeOperationsJsImpl$account$slambda())(this$0, $addresses, resultContinuation);
|
|
189
189
|
var l = function ($this$promise, $completion) {
|
|
190
|
-
return i.
|
|
190
|
+
return i.i7q($this$promise, $completion);
|
|
191
191
|
};
|
|
192
192
|
l.$arity = 1;
|
|
193
193
|
return l;
|
|
@@ -199,18 +199,18 @@ function AttoNodeOperationsJsImpl$accountEntry$slambda() {
|
|
|
199
199
|
constructor(this$0, $hash, resultContinuation, $box) {
|
|
200
200
|
if ($box === VOID)
|
|
201
201
|
$box = {};
|
|
202
|
-
$box.
|
|
203
|
-
$box.
|
|
202
|
+
$box.t7q_1 = this$0;
|
|
203
|
+
$box.u7q_1 = $hash;
|
|
204
204
|
super(resultContinuation, $box);
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
w7q($this$promise, $completion) {
|
|
207
207
|
var tmp = this.d36($this$promise, $completion);
|
|
208
208
|
tmp.cc_1 = Unit_instance;
|
|
209
209
|
tmp.dc_1 = null;
|
|
210
210
|
return tmp.ic();
|
|
211
211
|
}
|
|
212
212
|
kd(p1, $completion) {
|
|
213
|
-
return this.
|
|
213
|
+
return this.w7q((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
214
214
|
}
|
|
215
215
|
ic() {
|
|
216
216
|
var suspendResult = this.cc_1;
|
|
@@ -221,7 +221,7 @@ function AttoNodeOperationsJsImpl$accountEntry$slambda() {
|
|
|
221
221
|
case 0:
|
|
222
222
|
this.bc_1 = 2;
|
|
223
223
|
this.ac_1 = 1;
|
|
224
|
-
suspendResult = this.
|
|
224
|
+
suspendResult = this.t7q_1.j7q_1.d6u(this.u7q_1, this);
|
|
225
225
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
226
226
|
return suspendResult;
|
|
227
227
|
}
|
|
@@ -244,8 +244,8 @@ function AttoNodeOperationsJsImpl$accountEntry$slambda() {
|
|
|
244
244
|
while (true);
|
|
245
245
|
}
|
|
246
246
|
d36($this$promise, completion) {
|
|
247
|
-
var i = new (AttoNodeOperationsJsImpl$accountEntry$slambda())(this.
|
|
248
|
-
i.
|
|
247
|
+
var i = new (AttoNodeOperationsJsImpl$accountEntry$slambda())(this.t7q_1, this.u7q_1, completion);
|
|
248
|
+
i.v7q_1 = $this$promise;
|
|
249
249
|
return i;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
@@ -257,7 +257,7 @@ function AttoNodeOperationsJsImpl$accountEntry$slambda() {
|
|
|
257
257
|
function AttoNodeOperationsJsImpl$accountEntry$slambda_0(this$0, $hash, resultContinuation) {
|
|
258
258
|
var i = new (AttoNodeOperationsJsImpl$accountEntry$slambda())(this$0, $hash, resultContinuation);
|
|
259
259
|
var l = function ($this$promise, $completion) {
|
|
260
|
-
return i.
|
|
260
|
+
return i.w7q($this$promise, $completion);
|
|
261
261
|
};
|
|
262
262
|
l.$arity = 1;
|
|
263
263
|
return l;
|
|
@@ -269,18 +269,18 @@ function AttoNodeOperationsJsImpl$transaction$slambda() {
|
|
|
269
269
|
constructor(this$0, $hash, resultContinuation, $box) {
|
|
270
270
|
if ($box === VOID)
|
|
271
271
|
$box = {};
|
|
272
|
-
$box.
|
|
273
|
-
$box.
|
|
272
|
+
$box.f7r_1 = this$0;
|
|
273
|
+
$box.g7r_1 = $hash;
|
|
274
274
|
super(resultContinuation, $box);
|
|
275
275
|
}
|
|
276
|
-
|
|
276
|
+
i7r($this$promise, $completion) {
|
|
277
277
|
var tmp = this.d36($this$promise, $completion);
|
|
278
278
|
tmp.cc_1 = Unit_instance;
|
|
279
279
|
tmp.dc_1 = null;
|
|
280
280
|
return tmp.ic();
|
|
281
281
|
}
|
|
282
282
|
kd(p1, $completion) {
|
|
283
|
-
return this.
|
|
283
|
+
return this.i7r((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
284
284
|
}
|
|
285
285
|
ic() {
|
|
286
286
|
var suspendResult = this.cc_1;
|
|
@@ -291,7 +291,7 @@ function AttoNodeOperationsJsImpl$transaction$slambda() {
|
|
|
291
291
|
case 0:
|
|
292
292
|
this.bc_1 = 2;
|
|
293
293
|
this.ac_1 = 1;
|
|
294
|
-
suspendResult = this.
|
|
294
|
+
suspendResult = this.f7r_1.j7q_1.f6u(this.g7r_1, this);
|
|
295
295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
296
296
|
return suspendResult;
|
|
297
297
|
}
|
|
@@ -314,8 +314,8 @@ function AttoNodeOperationsJsImpl$transaction$slambda() {
|
|
|
314
314
|
while (true);
|
|
315
315
|
}
|
|
316
316
|
d36($this$promise, completion) {
|
|
317
|
-
var i = new (AttoNodeOperationsJsImpl$transaction$slambda())(this.
|
|
318
|
-
i.
|
|
317
|
+
var i = new (AttoNodeOperationsJsImpl$transaction$slambda())(this.f7r_1, this.g7r_1, completion);
|
|
318
|
+
i.h7r_1 = $this$promise;
|
|
319
319
|
return i;
|
|
320
320
|
}
|
|
321
321
|
}
|
|
@@ -327,7 +327,7 @@ function AttoNodeOperationsJsImpl$transaction$slambda() {
|
|
|
327
327
|
function AttoNodeOperationsJsImpl$transaction$slambda_0(this$0, $hash, resultContinuation) {
|
|
328
328
|
var i = new (AttoNodeOperationsJsImpl$transaction$slambda())(this$0, $hash, resultContinuation);
|
|
329
329
|
var l = function ($this$promise, $completion) {
|
|
330
|
-
return i.
|
|
330
|
+
return i.i7r($this$promise, $completion);
|
|
331
331
|
};
|
|
332
332
|
l.$arity = 1;
|
|
333
333
|
return l;
|
|
@@ -339,17 +339,17 @@ function AttoNodeOperationsJsImpl$now$slambda() {
|
|
|
339
339
|
constructor(this$0, resultContinuation, $box) {
|
|
340
340
|
if ($box === VOID)
|
|
341
341
|
$box = {};
|
|
342
|
-
$box.
|
|
342
|
+
$box.r7r_1 = this$0;
|
|
343
343
|
super(resultContinuation, $box);
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
t7r($this$promise, $completion) {
|
|
346
346
|
var tmp = this.d36($this$promise, $completion);
|
|
347
347
|
tmp.cc_1 = Unit_instance;
|
|
348
348
|
tmp.dc_1 = null;
|
|
349
349
|
return tmp.ic();
|
|
350
350
|
}
|
|
351
351
|
kd(p1, $completion) {
|
|
352
|
-
return this.
|
|
352
|
+
return this.t7r((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
353
353
|
}
|
|
354
354
|
ic() {
|
|
355
355
|
var suspendResult = this.cc_1;
|
|
@@ -360,7 +360,7 @@ function AttoNodeOperationsJsImpl$now$slambda() {
|
|
|
360
360
|
case 0:
|
|
361
361
|
this.bc_1 = 2;
|
|
362
362
|
this.ac_1 = 1;
|
|
363
|
-
suspendResult = this.
|
|
363
|
+
suspendResult = this.r7r_1.j7q_1.h6u(this);
|
|
364
364
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
365
365
|
return suspendResult;
|
|
366
366
|
}
|
|
@@ -384,8 +384,8 @@ function AttoNodeOperationsJsImpl$now$slambda() {
|
|
|
384
384
|
while (true);
|
|
385
385
|
}
|
|
386
386
|
d36($this$promise, completion) {
|
|
387
|
-
var i = new (AttoNodeOperationsJsImpl$now$slambda())(this.
|
|
388
|
-
i.
|
|
387
|
+
var i = new (AttoNodeOperationsJsImpl$now$slambda())(this.r7r_1, completion);
|
|
388
|
+
i.s7r_1 = $this$promise;
|
|
389
389
|
return i;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
@@ -397,7 +397,7 @@ function AttoNodeOperationsJsImpl$now$slambda() {
|
|
|
397
397
|
function AttoNodeOperationsJsImpl$now$slambda_0(this$0, resultContinuation) {
|
|
398
398
|
var i = new (AttoNodeOperationsJsImpl$now$slambda())(this$0, resultContinuation);
|
|
399
399
|
var l = function ($this$promise, $completion) {
|
|
400
|
-
return i.
|
|
400
|
+
return i.t7r($this$promise, $completion);
|
|
401
401
|
};
|
|
402
402
|
l.$arity = 1;
|
|
403
403
|
return l;
|
|
@@ -409,8 +409,8 @@ function AttoNodeOperationsJsImpl$publish$slambda() {
|
|
|
409
409
|
constructor(this$0, $transaction, resultContinuation, $box) {
|
|
410
410
|
if ($box === VOID)
|
|
411
411
|
$box = {};
|
|
412
|
-
$box.
|
|
413
|
-
$box.
|
|
412
|
+
$box.c7s_1 = this$0;
|
|
413
|
+
$box.d7s_1 = $transaction;
|
|
414
414
|
super(resultContinuation, $box);
|
|
415
415
|
}
|
|
416
416
|
z37($this$promise, $completion) {
|
|
@@ -431,7 +431,7 @@ function AttoNodeOperationsJsImpl$publish$slambda() {
|
|
|
431
431
|
case 0:
|
|
432
432
|
this.bc_1 = 2;
|
|
433
433
|
this.ac_1 = 1;
|
|
434
|
-
suspendResult = this.
|
|
434
|
+
suspendResult = this.c7s_1.j7q_1.i6u(this.d7s_1, this);
|
|
435
435
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
436
436
|
return suspendResult;
|
|
437
437
|
}
|
|
@@ -454,8 +454,8 @@ function AttoNodeOperationsJsImpl$publish$slambda() {
|
|
|
454
454
|
while (true);
|
|
455
455
|
}
|
|
456
456
|
d36($this$promise, completion) {
|
|
457
|
-
var i = new (AttoNodeOperationsJsImpl$publish$slambda())(this.
|
|
458
|
-
i.
|
|
457
|
+
var i = new (AttoNodeOperationsJsImpl$publish$slambda())(this.c7s_1, this.d7s_1, completion);
|
|
458
|
+
i.e7s_1 = $this$promise;
|
|
459
459
|
return i;
|
|
460
460
|
}
|
|
461
461
|
}
|
|
@@ -479,9 +479,9 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
479
479
|
constructor($flowProvider, $onUpdate, $onDisconnect, resultContinuation, $box) {
|
|
480
480
|
if ($box === VOID)
|
|
481
481
|
$box = {};
|
|
482
|
-
$box.
|
|
483
|
-
$box.
|
|
484
|
-
$box.
|
|
482
|
+
$box.n7s_1 = $flowProvider;
|
|
483
|
+
$box.o7s_1 = $onUpdate;
|
|
484
|
+
$box.p7s_1 = $onDisconnect;
|
|
485
485
|
super(resultContinuation, $box);
|
|
486
486
|
}
|
|
487
487
|
z37($this$launch, $completion) {
|
|
@@ -501,15 +501,15 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
501
501
|
switch (tmp) {
|
|
502
502
|
case 0:
|
|
503
503
|
this.bc_1 = 5;
|
|
504
|
-
this.
|
|
504
|
+
this.r7s_1 = null;
|
|
505
505
|
this.ac_1 = 1;
|
|
506
506
|
continue $sm;
|
|
507
507
|
case 1:
|
|
508
508
|
this.bc_1 = 4;
|
|
509
509
|
this.bc_1 = 3;
|
|
510
510
|
this.ac_1 = 2;
|
|
511
|
-
var tmp_0 = this.
|
|
512
|
-
var tmp_1 = AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$ref_0(this.
|
|
511
|
+
var tmp_0 = this.n7s_1();
|
|
512
|
+
var tmp_1 = AttoNodeOperationsJsImpl$subscribeOnce$slambda$suspendConversion0$ref_0(this.o7s_1);
|
|
513
513
|
suspendResult = tmp_0.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp_1), this);
|
|
514
514
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
515
515
|
return suspendResult;
|
|
@@ -518,8 +518,8 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
518
518
|
continue $sm;
|
|
519
519
|
case 2:
|
|
520
520
|
var tmp_2 = this;
|
|
521
|
-
this.
|
|
522
|
-
tmp_2.
|
|
521
|
+
this.r7s_1 = 'Stream completed';
|
|
522
|
+
tmp_2.s7s_1 = Unit_instance;
|
|
523
523
|
this.bc_1 = 5;
|
|
524
524
|
this.ac_1 = 6;
|
|
525
525
|
continue $sm;
|
|
@@ -531,8 +531,8 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
531
531
|
var tmp_4 = this;
|
|
532
532
|
var tmp_5 = this;
|
|
533
533
|
var tmp1_elvis_lhs = c.message;
|
|
534
|
-
tmp_5.
|
|
535
|
-
tmp_4.
|
|
534
|
+
tmp_5.r7s_1 = tmp1_elvis_lhs == null ? 'Cancelled' : tmp1_elvis_lhs;
|
|
535
|
+
tmp_4.s7s_1 = Unit_instance;
|
|
536
536
|
this.bc_1 = 5;
|
|
537
537
|
this.ac_1 = 6;
|
|
538
538
|
continue $sm;
|
|
@@ -543,8 +543,8 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
543
543
|
var tmp_7 = this;
|
|
544
544
|
var tmp_8 = this;
|
|
545
545
|
var tmp2_elvis_lhs = t.message;
|
|
546
|
-
tmp_8.
|
|
547
|
-
tmp_7.
|
|
546
|
+
tmp_8.r7s_1 = tmp2_elvis_lhs == null ? 'Error: ' + getKClassFromExpression(t).ag() : tmp2_elvis_lhs;
|
|
547
|
+
tmp_7.s7s_1 = Unit_instance;
|
|
548
548
|
this.bc_1 = 5;
|
|
549
549
|
this.ac_1 = 6;
|
|
550
550
|
continue $sm;
|
|
@@ -556,13 +556,13 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
556
556
|
case 4:
|
|
557
557
|
this.bc_1 = 5;
|
|
558
558
|
var t_0 = this.dc_1;
|
|
559
|
-
this.
|
|
559
|
+
this.p7s_1(ensureNotNull(this.r7s_1));
|
|
560
560
|
throw t_0;
|
|
561
561
|
case 5:
|
|
562
562
|
throw this.dc_1;
|
|
563
563
|
case 6:
|
|
564
564
|
this.bc_1 = 5;
|
|
565
|
-
this.
|
|
565
|
+
this.p7s_1(ensureNotNull(this.r7s_1));
|
|
566
566
|
return Unit_instance;
|
|
567
567
|
}
|
|
568
568
|
} catch ($p) {
|
|
@@ -577,8 +577,8 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda() {
|
|
|
577
577
|
while (true);
|
|
578
578
|
}
|
|
579
579
|
d36($this$launch, completion) {
|
|
580
|
-
var i = new (AttoNodeOperationsJsImpl$subscribeOnce$slambda())(this.
|
|
581
|
-
i.
|
|
580
|
+
var i = new (AttoNodeOperationsJsImpl$subscribeOnce$slambda())(this.n7s_1, this.o7s_1, this.p7s_1, completion);
|
|
581
|
+
i.q7s_1 = $this$launch;
|
|
582
582
|
return i;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
@@ -597,22 +597,22 @@ function AttoNodeOperationsJsImpl$subscribeOnce$slambda_0($flowProvider, $onUpda
|
|
|
597
597
|
}
|
|
598
598
|
function AttoNodeOperationsJsImpl$onAccount$lambda(this$0, $addresses) {
|
|
599
599
|
return function () {
|
|
600
|
-
return this$0.
|
|
600
|
+
return this$0.j7q_1.b6u(toList($addresses));
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function AttoNodeOperationsJsImpl$onReceivable$lambda(this$0, $addresses) {
|
|
604
604
|
return function () {
|
|
605
|
-
return this$0.
|
|
605
|
+
return this$0.j7q_1.c6u(toList($addresses));
|
|
606
606
|
};
|
|
607
607
|
}
|
|
608
608
|
function AttoNodeOperationsJsImpl$onTransaction$lambda(this$0, $heightSearch) {
|
|
609
609
|
return function () {
|
|
610
|
-
return this$0.
|
|
610
|
+
return this$0.j7q_1.g6u($heightSearch);
|
|
611
611
|
};
|
|
612
612
|
}
|
|
613
613
|
function AttoNodeOperationsJsImpl$onAccountEntry$lambda(this$0, $heightSearch) {
|
|
614
614
|
return function () {
|
|
615
|
-
return this$0.
|
|
615
|
+
return this$0.j7q_1.e6u($heightSearch);
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
var AttoNodeOperationsJsImplClass;
|
|
@@ -620,11 +620,11 @@ function AttoNodeOperationsJsImpl() {
|
|
|
620
620
|
if (AttoNodeOperationsJsImplClass === VOID) {
|
|
621
621
|
class $ {
|
|
622
622
|
constructor(operations) {
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
623
|
+
this.j7q_1 = operations;
|
|
624
|
+
this.k7q_1 = this.j7q_1.f2w();
|
|
625
625
|
}
|
|
626
626
|
f2w() {
|
|
627
|
-
return this.
|
|
627
|
+
return this.k7q_1;
|
|
628
628
|
}
|
|
629
629
|
account(addresses) {
|
|
630
630
|
var tmp = GlobalScope_instance;
|
package/commons-commons-node.mjs
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
//endregion
|
|
3
3
|
//region block: exports
|
|
4
4
|
export * from './commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs';
|
|
5
|
+
export * from './commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs';
|
|
5
6
|
//endregion
|
|
6
7
|
|
|
7
8
|
//# sourceMappingURL=commons-commons-node.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -34,7 +34,7 @@ function Companion_getInstance() {
|
|
|
34
34
|
}
|
|
35
35
|
function work(network, timestamp, target, $completion) {
|
|
36
36
|
var threshold = getThreshold(Companion_instance, network, timestamp);
|
|
37
|
-
return this.
|
|
37
|
+
return this.b7t(threshold, target, $completion);
|
|
38
38
|
}
|
|
39
39
|
function work_0(block, $completion) {
|
|
40
40
|
var tmp;
|
|
@@ -48,7 +48,7 @@ function work_0(block, $completion) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
var target = tmp;
|
|
51
|
-
return this.
|
|
51
|
+
return this.c7t(block.network, block.timestamp, target, $completion);
|
|
52
52
|
}
|
|
53
53
|
var AttoWorkerClass;
|
|
54
54
|
function AttoWorker() {
|
|
@@ -50,7 +50,7 @@ function Companion() {
|
|
|
50
50
|
// Inline function 'kotlin.arrayOf' call
|
|
51
51
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
52
52
|
// Inline function 'kotlin.js.asDynamic' call
|
|
53
|
-
tmp.
|
|
53
|
+
tmp.e7t_1 = [lazy(tmp_0, AttoWorkerOperations$Request$Companion$$childSerializers$_anonymous__k0cb7d), null, null];
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
initMetadataForCompanion($);
|
|
@@ -74,22 +74,22 @@ function $serializer() {
|
|
|
74
74
|
tmp0_serialDesc.w14('network', false);
|
|
75
75
|
tmp0_serialDesc.w14('timestamp', false);
|
|
76
76
|
tmp0_serialDesc.w14('target', false);
|
|
77
|
-
this.
|
|
77
|
+
this.f7t_1 = tmp0_serialDesc;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
var tmp0_desc = this.
|
|
79
|
+
g7t(encoder, value) {
|
|
80
|
+
var tmp0_desc = this.f7t_1;
|
|
81
81
|
var tmp1_output = encoder.kx(tmp0_desc);
|
|
82
|
-
var tmp2_cached = Companion_getInstance().
|
|
83
|
-
tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.
|
|
84
|
-
tmp1_output.bz(tmp0_desc, 1, InstantMillisSerializer_getInstance(), value.
|
|
85
|
-
tmp1_output.zy(tmp0_desc, 2, value.
|
|
82
|
+
var tmp2_cached = Companion_getInstance().e7t_1;
|
|
83
|
+
tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.h7t_1);
|
|
84
|
+
tmp1_output.bz(tmp0_desc, 1, InstantMillisSerializer_getInstance(), value.i7t_1);
|
|
85
|
+
tmp1_output.zy(tmp0_desc, 2, value.j7t_1);
|
|
86
86
|
tmp1_output.lx(tmp0_desc);
|
|
87
87
|
}
|
|
88
88
|
ys(encoder, value) {
|
|
89
|
-
return this.
|
|
89
|
+
return this.g7t(encoder, value instanceof Request() ? value : THROW_CCE());
|
|
90
90
|
}
|
|
91
91
|
zs(decoder) {
|
|
92
|
-
var tmp0_desc = this.
|
|
92
|
+
var tmp0_desc = this.f7t_1;
|
|
93
93
|
var tmp1_flag = true;
|
|
94
94
|
var tmp2_index = 0;
|
|
95
95
|
var tmp3_bitMask0 = 0;
|
|
@@ -97,7 +97,7 @@ function $serializer() {
|
|
|
97
97
|
var tmp5_local1 = null;
|
|
98
98
|
var tmp6_local2 = null;
|
|
99
99
|
var tmp7_input = decoder.kx(tmp0_desc);
|
|
100
|
-
var tmp8_cached = Companion_getInstance().
|
|
100
|
+
var tmp8_cached = Companion_getInstance().e7t_1;
|
|
101
101
|
if (tmp7_input.zx()) {
|
|
102
102
|
tmp4_local0 = tmp7_input.wx(tmp0_desc, 0, tmp8_cached[0].s1(), tmp4_local0);
|
|
103
103
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -129,16 +129,16 @@ function $serializer() {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
tmp7_input.lx(tmp0_desc);
|
|
132
|
-
return Request().
|
|
132
|
+
return Request().k7t(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
133
133
|
}
|
|
134
134
|
xs() {
|
|
135
|
-
return this.
|
|
135
|
+
return this.f7t_1;
|
|
136
136
|
}
|
|
137
137
|
l15() {
|
|
138
138
|
// Inline function 'kotlin.arrayOf' call
|
|
139
139
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
140
140
|
// Inline function 'kotlin.js.asDynamic' call
|
|
141
|
-
return [Companion_getInstance().
|
|
141
|
+
return [Companion_getInstance().e7t_1[0].s1(), InstantMillisSerializer_getInstance(), StringSerializer_getInstance()];
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
protoOf($).m15 = typeParametersSerializers;
|
|
@@ -174,19 +174,19 @@ function $serializer_0() {
|
|
|
174
174
|
$serializer_instance_0 = this;
|
|
175
175
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.worker.AttoWorkerOperations.Response', this, 1);
|
|
176
176
|
tmp0_serialDesc.w14('work', false);
|
|
177
|
-
this.
|
|
177
|
+
this.l7t_1 = tmp0_serialDesc;
|
|
178
178
|
}
|
|
179
|
-
|
|
180
|
-
var tmp0_desc = this.
|
|
179
|
+
m7t(encoder, value) {
|
|
180
|
+
var tmp0_desc = this.l7t_1;
|
|
181
181
|
var tmp1_output = encoder.kx(tmp0_desc);
|
|
182
|
-
tmp1_output.bz(tmp0_desc, 0, AttoWorkSerializer_getInstance(), value.
|
|
182
|
+
tmp1_output.bz(tmp0_desc, 0, AttoWorkSerializer_getInstance(), value.n7t_1);
|
|
183
183
|
tmp1_output.lx(tmp0_desc);
|
|
184
184
|
}
|
|
185
185
|
ys(encoder, value) {
|
|
186
|
-
return this.
|
|
186
|
+
return this.m7t(encoder, value instanceof Response() ? value : THROW_CCE());
|
|
187
187
|
}
|
|
188
188
|
zs(decoder) {
|
|
189
|
-
var tmp0_desc = this.
|
|
189
|
+
var tmp0_desc = this.l7t_1;
|
|
190
190
|
var tmp1_flag = true;
|
|
191
191
|
var tmp2_index = 0;
|
|
192
192
|
var tmp3_bitMask0 = 0;
|
|
@@ -211,10 +211,10 @@ function $serializer_0() {
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
tmp5_input.lx(tmp0_desc);
|
|
214
|
-
return Response().
|
|
214
|
+
return Response().o7t(tmp3_bitMask0, tmp4_local0, null);
|
|
215
215
|
}
|
|
216
216
|
xs() {
|
|
217
|
-
return this.
|
|
217
|
+
return this.l7t_1;
|
|
218
218
|
}
|
|
219
219
|
l15() {
|
|
220
220
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -241,17 +241,17 @@ function Request() {
|
|
|
241
241
|
class $ {
|
|
242
242
|
constructor(network, timestamp, target) {
|
|
243
243
|
Companion_getInstance();
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
244
|
+
this.h7t_1 = network;
|
|
245
|
+
this.i7t_1 = timestamp;
|
|
246
|
+
this.j7t_1 = target;
|
|
247
247
|
}
|
|
248
248
|
toString() {
|
|
249
|
-
return 'Request(network=' + this.
|
|
249
|
+
return 'Request(network=' + this.h7t_1.toString() + ', timestamp=' + this.i7t_1.toString() + ', target=' + this.j7t_1 + ')';
|
|
250
250
|
}
|
|
251
251
|
hashCode() {
|
|
252
|
-
var result = this.
|
|
253
|
-
result = imul(result, 31) + this.
|
|
254
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
252
|
+
var result = this.h7t_1.hashCode();
|
|
253
|
+
result = imul(result, 31) + this.i7t_1.hashCode() | 0;
|
|
254
|
+
result = imul(result, 31) + getStringHashCode(this.j7t_1) | 0;
|
|
255
255
|
return result;
|
|
256
256
|
}
|
|
257
257
|
equals(other) {
|
|
@@ -260,23 +260,23 @@ function Request() {
|
|
|
260
260
|
if (!(other instanceof Request()))
|
|
261
261
|
return false;
|
|
262
262
|
var tmp0_other_with_cast = other instanceof Request() ? other : THROW_CCE();
|
|
263
|
-
if (!this.
|
|
263
|
+
if (!this.h7t_1.equals(tmp0_other_with_cast.h7t_1))
|
|
264
264
|
return false;
|
|
265
|
-
if (!this.
|
|
265
|
+
if (!this.i7t_1.equals(tmp0_other_with_cast.i7t_1))
|
|
266
266
|
return false;
|
|
267
|
-
if (!(this.
|
|
267
|
+
if (!(this.j7t_1 === tmp0_other_with_cast.j7t_1))
|
|
268
268
|
return false;
|
|
269
269
|
return true;
|
|
270
270
|
}
|
|
271
|
-
static
|
|
271
|
+
static k7t(seen0, network, timestamp, target, serializationConstructorMarker) {
|
|
272
272
|
Companion_getInstance();
|
|
273
273
|
if (!(7 === (7 & seen0))) {
|
|
274
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
274
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().f7t_1);
|
|
275
275
|
}
|
|
276
276
|
var $this = createThis(this);
|
|
277
|
-
$this.
|
|
278
|
-
$this.
|
|
279
|
-
$this.
|
|
277
|
+
$this.h7t_1 = network;
|
|
278
|
+
$this.i7t_1 = timestamp;
|
|
279
|
+
$this.j7t_1 = target;
|
|
280
280
|
return $this;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
@@ -290,10 +290,10 @@ function Response() {
|
|
|
290
290
|
if (ResponseClass === VOID) {
|
|
291
291
|
class $ {
|
|
292
292
|
toString() {
|
|
293
|
-
return 'Response(work=' + this.
|
|
293
|
+
return 'Response(work=' + this.n7t_1.toString() + ')';
|
|
294
294
|
}
|
|
295
295
|
hashCode() {
|
|
296
|
-
return this.
|
|
296
|
+
return this.n7t_1.hashCode();
|
|
297
297
|
}
|
|
298
298
|
equals(other) {
|
|
299
299
|
if (this === other)
|
|
@@ -301,16 +301,16 @@ function Response() {
|
|
|
301
301
|
if (!(other instanceof Response()))
|
|
302
302
|
return false;
|
|
303
303
|
var tmp0_other_with_cast = other instanceof Response() ? other : THROW_CCE();
|
|
304
|
-
if (!this.
|
|
304
|
+
if (!this.n7t_1.equals(tmp0_other_with_cast.n7t_1))
|
|
305
305
|
return false;
|
|
306
306
|
return true;
|
|
307
307
|
}
|
|
308
|
-
static
|
|
308
|
+
static o7t(seen0, work, serializationConstructorMarker) {
|
|
309
309
|
if (!(1 === (1 & seen0))) {
|
|
310
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
310
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().l7t_1);
|
|
311
311
|
}
|
|
312
312
|
var $this = createThis(this);
|
|
313
|
-
$this.
|
|
313
|
+
$this.n7t_1 = work;
|
|
314
314
|
return $this;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -325,10 +325,10 @@ function $workCOROUTINE$() {
|
|
|
325
325
|
class $ extends CoroutineImpl() {
|
|
326
326
|
constructor(_this__u8e3s4, network, timestamp, target, resultContinuation) {
|
|
327
327
|
super(resultContinuation);
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
328
|
+
this.x7t_1 = _this__u8e3s4;
|
|
329
|
+
this.y7t_1 = network;
|
|
330
|
+
this.z7t_1 = timestamp;
|
|
331
|
+
this.a7u_1 = target;
|
|
332
332
|
}
|
|
333
333
|
ic() {
|
|
334
334
|
var suspendResult = this.cc_1;
|
|
@@ -338,9 +338,9 @@ function $workCOROUTINE$() {
|
|
|
338
338
|
switch (tmp) {
|
|
339
339
|
case 0:
|
|
340
340
|
this.bc_1 = 2;
|
|
341
|
-
this.
|
|
341
|
+
this.b7u_1 = new (Request())(this.y7t_1, this.z7t_1, toHex(this.a7u_1));
|
|
342
342
|
this.ac_1 = 1;
|
|
343
|
-
suspendResult = this.
|
|
343
|
+
suspendResult = this.x7t_1.c7u(this.b7u_1, this);
|
|
344
344
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
345
345
|
return suspendResult;
|
|
346
346
|
}
|
|
@@ -348,7 +348,7 @@ function $workCOROUTINE$() {
|
|
|
348
348
|
continue $sm;
|
|
349
349
|
case 1:
|
|
350
350
|
var response = suspendResult;
|
|
351
|
-
return response.
|
|
351
|
+
return response.n7t_1;
|
|
352
352
|
case 2:
|
|
353
353
|
throw this.dc_1;
|
|
354
354
|
}
|