@komune-io/im-user-domain 0.15.0 → 0.16.0-alpha.b854003
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.
|
@@ -43,6 +43,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
43
43
|
};
|
|
44
44
|
}(Math.log, Math.LN2);
|
|
45
45
|
}
|
|
46
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
47
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
48
|
+
position = position || 0;
|
|
49
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
50
|
+
}});
|
|
51
|
+
}
|
|
46
52
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
47
53
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
48
54
|
var subjectString = this.toString();
|
|
@@ -54,12 +60,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
54
60
|
return lastIndex !== -1 && lastIndex === position;
|
|
55
61
|
}});
|
|
56
62
|
}
|
|
57
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
58
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
59
|
-
position = position || 0;
|
|
60
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
61
|
-
}});
|
|
62
|
-
}
|
|
63
63
|
if (typeof Math.imul === 'undefined') {
|
|
64
64
|
Math.imul = function imul(a, b) {
|
|
65
65
|
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
|
|
@@ -455,6 +455,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
455
455
|
setMetadataFor($hasNextCOROUTINE$5, '$hasNextCOROUTINE$5', classMeta, CoroutineImpl);
|
|
456
456
|
setMetadataFor(SendBroadcast, 'SendBroadcast', classMeta, VOID, [Waiter]);
|
|
457
457
|
setMetadataFor(BufferedChannelIterator, 'BufferedChannelIterator', classMeta, VOID, [Waiter], VOID, VOID, VOID, [0, 3]);
|
|
458
|
+
function close$default(cause, $super) {
|
|
459
|
+
cause = cause === VOID ? null : cause;
|
|
460
|
+
return $super === VOID ? this.hx(cause) : $super.hx.call(this, cause);
|
|
461
|
+
}
|
|
462
|
+
setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
458
463
|
function cancel$default_0(cause, $super) {
|
|
459
464
|
cause = cause === VOID ? null : cause;
|
|
460
465
|
var tmp;
|
|
@@ -467,12 +472,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
467
472
|
return tmp;
|
|
468
473
|
}
|
|
469
474
|
setMetadataFor(ReceiveChannel, 'ReceiveChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0]);
|
|
470
|
-
|
|
471
|
-
cause = cause === VOID ? null : cause;
|
|
472
|
-
return $super === VOID ? this.hx(cause) : $super.hx.call(this, cause);
|
|
473
|
-
}
|
|
474
|
-
setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
475
|
-
setMetadataFor(BufferedChannel, 'BufferedChannel', classMeta, VOID, [ReceiveChannel, SendChannel], VOID, VOID, VOID, [1, 4, 0, 3]);
|
|
475
|
+
setMetadataFor(BufferedChannel, 'BufferedChannel', classMeta, VOID, [SendChannel, ReceiveChannel], VOID, VOID, VOID, [1, 4, 0, 3]);
|
|
476
476
|
setMetadataFor(WaiterEB, 'WaiterEB', classMeta);
|
|
477
477
|
setMetadataFor(ReceiveCatching, 'ReceiveCatching', classMeta, VOID, [Waiter]);
|
|
478
478
|
setMetadataFor(Factory, 'Factory', objectMeta);
|
|
@@ -500,7 +500,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
500
500
|
setMetadataFor(Symbol_0, 'Symbol', classMeta);
|
|
501
501
|
setMetadataFor(SelectInstance, 'SelectInstance', interfaceMeta);
|
|
502
502
|
setMetadataFor(ClauseData, 'ClauseData', classMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
503
|
-
setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, VOID, [CancelHandler,
|
|
503
|
+
setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, VOID, [CancelHandler, Waiter, SelectInstance], VOID, VOID, VOID, [0, 2]);
|
|
504
504
|
setMetadataFor(TrySelectDetailedResult, 'TrySelectDetailedResult', classMeta, Enum);
|
|
505
505
|
setMetadataFor(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', classMeta, CoroutineDispatcher, [CoroutineDispatcher, Delay], VOID, VOID, VOID, [1]);
|
|
506
506
|
setMetadataFor(NodeDispatcher, 'NodeDispatcher', objectMeta, SetTimeoutBasedDispatcher, VOID, VOID, VOID, VOID, [1]);
|