@attocash/commons-js 5.1.1 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,19 +32,19 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
32
32
  constructor(this$0, $threshold, $target, resultContinuation, $box) {
33
33
  if ($box === VOID)
34
34
  $box = {};
35
- $box.u7v_1 = this$0;
36
- $box.v7v_1 = $threshold;
37
- $box.w7v_1 = $target;
35
+ $box.c7w_1 = this$0;
36
+ $box.d7w_1 = $threshold;
37
+ $box.e7w_1 = $target;
38
38
  super(resultContinuation, $box);
39
39
  }
40
- y7v($this$promise, $completion) {
40
+ g7w($this$promise, $completion) {
41
41
  var tmp = this.d36($this$promise, $completion);
42
42
  tmp.cc_1 = Unit_instance;
43
43
  tmp.dc_1 = null;
44
44
  return tmp.ic();
45
45
  }
46
46
  kd(p1, $completion) {
47
- return this.y7v((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
47
+ return this.g7w((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
48
48
  }
49
49
  ic() {
50
50
  var suspendResult = this.cc_1;
@@ -55,7 +55,7 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
55
55
  case 0:
56
56
  this.bc_1 = 2;
57
57
  this.ac_1 = 1;
58
- suspendResult = this.u7v_1.z7v_1.t7s(toULong(this.v7v_1), this.w7v_1, this);
58
+ suspendResult = this.c7w_1.h7w_1.b7t(toULong(this.d7w_1), this.e7w_1, this);
59
59
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
60
60
  return suspendResult;
61
61
  }
@@ -78,8 +78,8 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
78
78
  while (true);
79
79
  }
80
80
  d36($this$promise, completion) {
81
- var i = new (AttoWorkerJsPromiseImpl$workThreshold$slambda())(this.u7v_1, this.v7v_1, this.w7v_1, completion);
82
- i.x7v_1 = $this$promise;
81
+ var i = new (AttoWorkerJsPromiseImpl$workThreshold$slambda())(this.c7w_1, this.d7w_1, this.e7w_1, completion);
82
+ i.f7w_1 = $this$promise;
83
83
  return i;
84
84
  }
85
85
  }
@@ -91,7 +91,7 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
91
91
  function AttoWorkerJsPromiseImpl$workThreshold$slambda_0(this$0, $threshold, $target, resultContinuation) {
92
92
  var i = new (AttoWorkerJsPromiseImpl$workThreshold$slambda())(this$0, $threshold, $target, resultContinuation);
93
93
  var l = function ($this$promise, $completion) {
94
- return i.y7v($this$promise, $completion);
94
+ return i.g7w($this$promise, $completion);
95
95
  };
96
96
  l.$arity = 1;
97
97
  return l;
@@ -103,20 +103,20 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
103
103
  constructor(this$0, $network, $timestamp, $target, resultContinuation, $box) {
104
104
  if ($box === VOID)
105
105
  $box = {};
106
- $box.i7w_1 = this$0;
107
- $box.j7w_1 = $network;
108
- $box.k7w_1 = $timestamp;
109
- $box.l7w_1 = $target;
106
+ $box.q7w_1 = this$0;
107
+ $box.r7w_1 = $network;
108
+ $box.s7w_1 = $timestamp;
109
+ $box.t7w_1 = $target;
110
110
  super(resultContinuation, $box);
111
111
  }
112
- y7v($this$promise, $completion) {
112
+ g7w($this$promise, $completion) {
113
113
  var tmp = this.d36($this$promise, $completion);
114
114
  tmp.cc_1 = Unit_instance;
115
115
  tmp.dc_1 = null;
116
116
  return tmp.ic();
117
117
  }
118
118
  kd(p1, $completion) {
119
- return this.y7v((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
119
+ return this.g7w((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
120
120
  }
121
121
  ic() {
122
122
  var suspendResult = this.cc_1;
@@ -127,7 +127,7 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
127
127
  case 0:
128
128
  this.bc_1 = 2;
129
129
  this.ac_1 = 1;
130
- suspendResult = this.i7w_1.z7v_1.u7s(this.j7w_1, Companion_getInstance().h1v(this.k7w_1), this.l7w_1, this);
130
+ suspendResult = this.q7w_1.h7w_1.c7t(this.r7w_1, Companion_getInstance().h1v(this.s7w_1), this.t7w_1, this);
131
131
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
132
132
  return suspendResult;
133
133
  }
@@ -150,8 +150,8 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
150
150
  while (true);
151
151
  }
152
152
  d36($this$promise, completion) {
153
- var i = new (AttoWorkerJsPromiseImpl$workNetwork$slambda())(this.i7w_1, this.j7w_1, this.k7w_1, this.l7w_1, completion);
154
- i.m7w_1 = $this$promise;
153
+ var i = new (AttoWorkerJsPromiseImpl$workNetwork$slambda())(this.q7w_1, this.r7w_1, this.s7w_1, this.t7w_1, completion);
154
+ i.u7w_1 = $this$promise;
155
155
  return i;
156
156
  }
157
157
  }
@@ -163,7 +163,7 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
163
163
  function AttoWorkerJsPromiseImpl$workNetwork$slambda_0(this$0, $network, $timestamp, $target, resultContinuation) {
164
164
  var i = new (AttoWorkerJsPromiseImpl$workNetwork$slambda())(this$0, $network, $timestamp, $target, resultContinuation);
165
165
  var l = function ($this$promise, $completion) {
166
- return i.y7v($this$promise, $completion);
166
+ return i.g7w($this$promise, $completion);
167
167
  };
168
168
  l.$arity = 1;
169
169
  return l;
@@ -175,18 +175,18 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
175
175
  constructor(this$0, $block, resultContinuation, $box) {
176
176
  if ($box === VOID)
177
177
  $box = {};
178
- $box.v7w_1 = this$0;
179
- $box.w7w_1 = $block;
178
+ $box.d7x_1 = this$0;
179
+ $box.e7x_1 = $block;
180
180
  super(resultContinuation, $box);
181
181
  }
182
- y7v($this$promise, $completion) {
182
+ g7w($this$promise, $completion) {
183
183
  var tmp = this.d36($this$promise, $completion);
184
184
  tmp.cc_1 = Unit_instance;
185
185
  tmp.dc_1 = null;
186
186
  return tmp.ic();
187
187
  }
188
188
  kd(p1, $completion) {
189
- return this.y7v((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
189
+ return this.g7w((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
190
190
  }
191
191
  ic() {
192
192
  var suspendResult = this.cc_1;
@@ -197,7 +197,7 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
197
197
  case 0:
198
198
  this.bc_1 = 2;
199
199
  this.ac_1 = 1;
200
- suspendResult = this.v7w_1.z7v_1.v7s(this.w7w_1, this);
200
+ suspendResult = this.d7x_1.h7w_1.d7t(this.e7x_1, this);
201
201
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
202
202
  return suspendResult;
203
203
  }
@@ -220,8 +220,8 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
220
220
  while (true);
221
221
  }
222
222
  d36($this$promise, completion) {
223
- var i = new (AttoWorkerJsPromiseImpl$workBlock$slambda())(this.v7w_1, this.w7w_1, completion);
224
- i.x7w_1 = $this$promise;
223
+ var i = new (AttoWorkerJsPromiseImpl$workBlock$slambda())(this.d7x_1, this.e7x_1, completion);
224
+ i.f7x_1 = $this$promise;
225
225
  return i;
226
226
  }
227
227
  }
@@ -233,7 +233,7 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
233
233
  function AttoWorkerJsPromiseImpl$workBlock$slambda_0(this$0, $block, resultContinuation) {
234
234
  var i = new (AttoWorkerJsPromiseImpl$workBlock$slambda())(this$0, $block, resultContinuation);
235
235
  var l = function ($this$promise, $completion) {
236
- return i.y7v($this$promise, $completion);
236
+ return i.g7w($this$promise, $completion);
237
237
  };
238
238
  l.$arity = 1;
239
239
  return l;
@@ -243,7 +243,7 @@ function AttoWorkerJsPromiseImpl() {
243
243
  if (AttoWorkerJsPromiseImplClass === VOID) {
244
244
  class $ {
245
245
  constructor(worker) {
246
- this.z7v_1 = worker;
246
+ this.h7w_1 = worker;
247
247
  }
248
248
  workThreshold(threshold, target) {
249
249
  var tmp = GlobalScope_instance;
@@ -146,8 +146,8 @@ function $workCOROUTINE$() {
146
146
  class $ extends CoroutineImpl() {
147
147
  constructor(_this__u8e3s4, request, resultContinuation) {
148
148
  super(resultContinuation);
149
- this.l7u_1 = _this__u8e3s4;
150
- this.m7u_1 = request;
149
+ this.t7u_1 = _this__u8e3s4;
150
+ this.u7u_1 = request;
151
151
  }
152
152
  ic() {
153
153
  var suspendResult = this.cc_1;
@@ -158,34 +158,34 @@ function $workCOROUTINE$() {
158
158
  case 0:
159
159
  this.bc_1 = 4;
160
160
  this.ac_1 = 1;
161
- suspendResult = this.l7u_1.d7v_1(this);
161
+ suspendResult = this.t7u_1.l7v_1(this);
162
162
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
163
163
  return suspendResult;
164
164
  }
165
165
 
166
166
  continue $sm;
167
167
  case 1:
168
- this.n7u_1 = suspendResult;
169
- this.o7u_1 = this.l7u_1.c7v_1 + '/works';
168
+ this.v7u_1 = suspendResult;
169
+ this.w7u_1 = this.t7u_1.k7v_1 + '/works';
170
170
  var tmp_0 = this;
171
- tmp_0.p7u_1 = get_httpClient();
171
+ tmp_0.x7u_1 = get_httpClient();
172
172
  var tmp_1 = this;
173
- tmp_1.q7u_1 = this.o7u_1;
174
- this.r7u_1 = this.p7u_1;
175
- this.s7u_1 = this.q7u_1;
173
+ tmp_1.y7u_1 = this.w7u_1;
174
+ this.z7u_1 = this.x7u_1;
175
+ this.a7v_1 = this.y7u_1;
176
176
  var tmp_2 = this;
177
- tmp_2.t7u_1 = this.r7u_1;
178
- this.u7u_1 = this.t7u_1;
179
- this.v7u_1 = new (HttpRequestBuilder())();
180
- this.v7u_1.o50_1 = Companion_getInstance_0().b46_1;
177
+ tmp_2.b7v_1 = this.z7u_1;
178
+ this.c7v_1 = this.b7v_1;
179
+ this.d7v_1 = new (HttpRequestBuilder())();
180
+ this.d7v_1.o50_1 = Companion_getInstance_0().b46_1;
181
181
  var tmp_3 = this;
182
- tmp_3.w7u_1 = this.u7u_1;
182
+ tmp_3.e7v_1 = this.c7v_1;
183
183
  var tmp_4 = this;
184
- var this_0 = this.v7u_1;
185
- url(this_0, this.s7u_1);
184
+ var this_0 = this.d7v_1;
185
+ url(this_0, this.a7v_1);
186
186
  contentType(this_0, Application_getInstance().i3z_1);
187
187
  accept(this_0, Application_getInstance().i3z_1);
188
- var body = this.m7u_1;
188
+ var body = this.u7u_1;
189
189
  if (body == null) {
190
190
  this_0.q50_1 = NullBody_instance;
191
191
  var tmp_5 = getKClass(Request());
@@ -227,23 +227,23 @@ function $workCOROUTINE$() {
227
227
  }
228
228
  }
229
229
 
230
- headers(this_0, WorkerRemote$work$lambda(this.n7u_1));
230
+ headers(this_0, WorkerRemote$work$lambda(this.v7u_1));
231
231
  timeout(this_0, WorkerRemote$work$lambda_0);
232
- tmp_4.x7u_1 = this_0;
233
- this.y7u_1 = this.w7u_1;
234
- this.z7u_1 = this.x7u_1;
232
+ tmp_4.f7v_1 = this_0;
233
+ this.g7v_1 = this.e7v_1;
234
+ this.h7v_1 = this.f7v_1;
235
235
  this.ac_1 = 2;
236
- suspendResult = (new (HttpStatement())(this.z7u_1, this.y7u_1)).q61(this);
236
+ suspendResult = (new (HttpStatement())(this.h7v_1, this.g7v_1)).q61(this);
237
237
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
238
238
  return suspendResult;
239
239
  }
240
240
 
241
241
  continue $sm;
242
242
  case 2:
243
- this.a7v_1 = suspendResult;
244
- this.b7v_1 = this.a7v_1;
243
+ this.i7v_1 = suspendResult;
244
+ this.j7v_1 = this.i7v_1;
245
245
  this.ac_1 = 3;
246
- var tmp_11 = this.b7v_1.l52();
246
+ var tmp_11 = this.j7v_1.l52();
247
247
  var tmp_12 = getKClass(Response());
248
248
  var tmp_13;
249
249
  try {
@@ -299,13 +299,13 @@ function WorkerRemote() {
299
299
  tmp = headerProvider;
300
300
  }
301
301
  headerProvider = tmp;
302
- this.c7v_1 = url;
303
- this.d7v_1 = headerProvider;
302
+ this.k7v_1 = url;
303
+ this.l7v_1 = headerProvider;
304
304
  }
305
- t7s(threshold, target, $completion) {
305
+ b7t(threshold, target, $completion) {
306
306
  throw NotImplementedError().jd();
307
307
  }
308
- u7t(request, $completion) {
308
+ c7u(request, $completion) {
309
309
  var tmp = new ($workCOROUTINE$())(this, request, $completion);
310
310
  tmp.cc_1 = Unit_instance;
311
311
  tmp.dc_1 = null;
@@ -314,8 +314,8 @@ function WorkerRemote() {
314
314
  v5() {
315
315
  }
316
316
  }
317
- protoOf($).u7s = work;
318
- protoOf($).v7s = work_0;
317
+ protoOf($).c7t = work;
318
+ protoOf($).d7t = work_0;
319
319
  initMetadataForClass($, 'WorkerRemote', VOID, VOID, [AttoWorkerOperations()], [2, 1, 3]);
320
320
  WorkerRemoteClass = $;
321
321
  }
@@ -1,4 +1,10 @@
1
1
  //region block: polyfills
2
+ if (typeof String.prototype.startsWith === 'undefined') {
3
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
4
+ position = position || 0;
5
+ return this.lastIndexOf(searchString, position) === position;
6
+ }});
7
+ }
2
8
  if (typeof String.prototype.endsWith === 'undefined') {
3
9
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
4
10
  var subjectString = this.toString();
@@ -10,12 +16,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
10
16
  return lastIndex !== -1 && lastIndex === position;
11
17
  }});
12
18
  }
13
- if (typeof String.prototype.startsWith === 'undefined') {
14
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
15
- position = position || 0;
16
- return this.lastIndexOf(searchString, position) === position;
17
- }});
18
- }
19
19
  //endregion
20
20
  import { VOID3gxj6tk5isa35 as VOID } from '../js/void.mjs';
21
21
  import { compareTo3ankvs086tmwq as compareTo } from '../js/compareTo.mjs';
@@ -1 +1 @@
1
- {"version":3,"sources":["js/src/kotlin/text/stringJs.kt","js/src/generated/_ComparisonsJs.kt","js/src/kotlin/text/charJs.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["searchString","position","subjectString","lastIndex","substring","<this>","startIndex","endIndex","compareTo","other","ignoreCase","n1","n2","min","index","thisChar","otherChar","concatToString","result","char","encodeToByteArray","decodeToString","throwOnInvalidSequence","toCharArray","destination","destinationOffset","destIndex","i","compare","a","b","equals","hashCode","STRING_CASE_INSENSITIVE_ORDER$lambda","<init properties stringJs.kt>"],"mappings":";AA4PA,IAAI,OAAO,MAAP,CAAc,SAAd,CAAwB,QAAS,KAAI,WAAzC,C,CAAsD;A,EAClD,MAAqB,CAAd,cAAc,CAAC,MAAD,CAAQ,SAAR,EAAmB,UAAnB,EAA+B,CAChD,KADgD,WAChC,CAACA,Y,EAAcC,QAAf,E;IACZ,IAAIC,gBAAgB,IAAa,CAAR,QAAQ,E;IACjC,IAAI,QAAS,KAAI,SAAU,IAAG,QAAS,GAAE,aAAF,CAAgB,MAAvD,C,CAA+D;A,MAC3D,QAAS,GAAE,aAAF,CAAgB,M;;IAE7B,QAAS,IAAG,YAAH,CAAgB,M;IACzB,IAAIC,YAAY,aAAqB,CAAP,OAAO,CAAC,YAAD,EAAe,QAAf,C;IACrC,OAAO,SAAU,KAAI,EAAG,IAAG,SAAU,KAAI,Q;GARG,CAA/B,C;;AAdzB,IAAI,OAAO,MAAP,CAAc,SAAd,CAAwB,UAAW,KAAI,WAA3C,C,CAAwD;A,EACpD,MAAqB,CAAd,cAAc,CAAC,MAAD,CAAQ,SAAR,EAAmB,YAAnB,EAAiC,CAClD,KADkD,WAClC,CAACH,Y,EAAcC,QAAf,E;IACZ,QAAS,GAAE,QAAS,IAAG,C;IACvB,OAAO,IAAgB,CAAX,WAAW,CAAC,YAAD,EAAe,QAAf,CAAyB,KAAI,Q;GAHN,CAAjC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8BzBG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GA,OAAO,W;AACX,C;4BAuDAP,CAEkBf,a,EACdC,U,EACAC,Q,EACAe,sBALJF,EAMa;A,qCAHS,C;iCACF,a,CAAK,M;6DACa,K;;EAErB,sBAAmB,UAAnB,EAA+B,QAA/B,EAAyC,aAAzC,CAAyC,MAAzC,C;EACb,OAAO,WAAW,aAAX,EAAiB,UAAjB,EAA6B,QAA7B,EAAuC,sBAAvC,C;AACX,C;sBAhHAG,CACkBlB,aADlBkB,EACkD;A;MACvC,O;MAAU,4B;MAAV,wB;SAAA,W,EAAA;A,QAAA,W;IAAA,eAAoB,0BAAI,KAAJ,C;IAApB,iB;EAA4B,C;EAAnC,OAAO,K;AACX,C;;;;;;QA8Q4C,sB;;QAAAK,CAjVnCC,C,EAAMC,CAiV6BF,E;;O;cAjVnCC,C,EAAMC,C;;;;;;YAbfC,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;6CA8V+DC,CAAE,C,EAAG,CAALA,EAAA;A;EAA2C,OAA/B,YAAF,CAAE,EAAU,CAAV,EAA0B,IAA1B,C;AAAgC,C;;6CA9V3GC,CAAAA,E;;;QA8V+D,0C;oEAAA,G;;C;;;;;"}
1
+ {"version":3,"sources":["js/src/kotlin/text/stringJs.kt","js/src/generated/_ComparisonsJs.kt","js/src/kotlin/text/charJs.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["searchString","position","subjectString","lastIndex","substring","<this>","startIndex","endIndex","compareTo","other","ignoreCase","n1","n2","min","index","thisChar","otherChar","concatToString","result","char","encodeToByteArray","decodeToString","throwOnInvalidSequence","toCharArray","destination","destinationOffset","destIndex","i","compare","a","b","equals","hashCode","STRING_CASE_INSENSITIVE_ORDER$lambda","<init properties stringJs.kt>"],"mappings":";AA+OA,IAAI,OAAO,MAAP,CAAc,SAAd,CAAwB,UAAW,KAAI,WAA3C,C,CAAwD;A,EACpD,MAAqB,CAAd,cAAc,CAAC,MAAD,CAAQ,SAAR,EAAm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nCC,C,EAAMC,C;;;;;;YAbfC,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;6CA8V+DC,CAAE,C,EAAG,CAALA,EAAA;A;EAA2C,OAA/B,YAAF,CAAE,EAAU,CAAV,EAA0B,IAA1B,C;AAAgC,C;;6CA9V3GC,CAAAA,E;;;QA8V+D,0C;oEAAA,G;;C;;;;;"}
@@ -62,8 +62,8 @@ import {
62
62
  ClosedSendChannelException29m33prpq9jaw as ClosedSendChannelException,
63
63
  close$default3plsfhsdbsvbv as close$default,
64
64
  cancel$default2g4arzbcb5isa as cancel$default,
65
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
66
65
  SendChannel38sllbxw662ws as SendChannel,
66
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
67
67
  } from './Channel.mjs';
68
68
  import {
69
69
  SelectInstance2isepgzfsd8ur as SelectInstance,
@@ -3240,7 +3240,7 @@ function BufferedChannel() {
3240
3240
  }
3241
3241
  protoOf($).s2i = close$default;
3242
3242
  protoOf($).u2i = cancel$default;
3243
- initMetadataForClass($, 'BufferedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
3243
+ initMetadataForClass($, 'BufferedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
3244
3244
  BufferedChannelClass = $;
3245
3245
  }
3246
3246
  return BufferedChannelClass;
@@ -4,8 +4,8 @@ import { JobCancellationException2g3wpni5v5fkt as JobCancellationException } fro
4
4
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
5
5
  import {
6
6
  close$default3plsfhsdbsvbv as close$default,
7
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
8
7
  SendChannel38sllbxw662ws as SendChannel,
8
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
9
9
  } from './Channel.mjs';
10
10
  import { protoOf180f3jzyo7rfj as protoOf } from '../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
11
11
  import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
@@ -62,7 +62,7 @@ function ChannelCoroutine() {
62
62
  }
63
63
  }
64
64
  protoOf($).s2i = close$default;
65
- initMetadataForClass($, 'ChannelCoroutine', VOID, VOID, [AbstractCoroutine(), ReceiveChannel(), SendChannel()], [1, 0]);
65
+ initMetadataForClass($, 'ChannelCoroutine', VOID, VOID, [AbstractCoroutine(), SendChannel(), ReceiveChannel()], [1, 0]);
66
66
  ChannelCoroutineClass = $;
67
67
  }
68
68
  return ChannelCoroutineClass;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attocash/commons-js",
3
- "version": "5.1.1",
3
+ "version": "5.2.1",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "devDependencies": {