@komune-io/im-user-domain 0.15.0-beta.1 → 0.15.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.
@@ -43,12 +43,6 @@ 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
- }
52
46
  if (typeof String.prototype.endsWith === 'undefined') {
53
47
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
54
48
  var subjectString = this.toString();
@@ -60,6 +54,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
60
54
  return lastIndex !== -1 && lastIndex === position;
61
55
  }});
62
56
  }
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,11 +455,6 @@ 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]);
463
458
  function cancel$default_0(cause, $super) {
464
459
  cause = cause === VOID ? null : cause;
465
460
  var tmp;
@@ -472,7 +467,12 @@ if (typeof Math.imul === 'undefined') {
472
467
  return tmp;
473
468
  }
474
469
  setMetadataFor(ReceiveChannel, 'ReceiveChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0]);
475
- setMetadataFor(BufferedChannel, 'BufferedChannel', classMeta, VOID, [SendChannel, ReceiveChannel], VOID, VOID, VOID, [1, 4, 0, 3]);
470
+ function close$default(cause, $super) {
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]);
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, Waiter, SelectInstance], VOID, VOID, VOID, [0, 2]);
503
+ setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, VOID, [CancelHandler, SelectInstance, Waiter], 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]);