@komune-io/im-space-domain 0.16.3 → 0.17.0-alpha.3bfaea3

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;
@@ -456,6 +456,11 @@ if (typeof Math.imul === 'undefined') {
456
456
  setMetadataFor($hasNextCOROUTINE$5, '$hasNextCOROUTINE$5', classMeta, CoroutineImpl);
457
457
  setMetadataFor(SendBroadcast, 'SendBroadcast', classMeta, VOID, [Waiter]);
458
458
  setMetadataFor(BufferedChannelIterator, 'BufferedChannelIterator', classMeta, VOID, [Waiter], VOID, VOID, VOID, [0, 3]);
459
+ function close$default(cause, $super) {
460
+ cause = cause === VOID ? null : cause;
461
+ return $super === VOID ? this.dx(cause) : $super.dx.call(this, cause);
462
+ }
463
+ setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
459
464
  function cancel$default_0(cause, $super) {
460
465
  cause = cause === VOID ? null : cause;
461
466
  var tmp;
@@ -468,12 +473,7 @@ if (typeof Math.imul === 'undefined') {
468
473
  return tmp;
469
474
  }
470
475
  setMetadataFor(ReceiveChannel, 'ReceiveChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0]);
471
- function close$default(cause, $super) {
472
- cause = cause === VOID ? null : cause;
473
- return $super === VOID ? this.dx(cause) : $super.dx.call(this, cause);
474
- }
475
- setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
476
- setMetadataFor(BufferedChannel, 'BufferedChannel', classMeta, VOID, [ReceiveChannel, SendChannel], VOID, VOID, VOID, [1, 4, 0, 3]);
476
+ setMetadataFor(BufferedChannel, 'BufferedChannel', classMeta, VOID, [SendChannel, ReceiveChannel], VOID, VOID, VOID, [1, 4, 0, 3]);
477
477
  setMetadataFor(WaiterEB, 'WaiterEB', classMeta);
478
478
  setMetadataFor(ReceiveCatching, 'ReceiveCatching', classMeta, VOID, [Waiter]);
479
479
  setMetadataFor(Factory, 'Factory', objectMeta);
@@ -501,7 +501,7 @@ if (typeof Math.imul === 'undefined') {
501
501
  setMetadataFor(Symbol_0, 'Symbol', classMeta);
502
502
  setMetadataFor(SelectInstance, 'SelectInstance', interfaceMeta);
503
503
  setMetadataFor(ClauseData, 'ClauseData', classMeta, VOID, VOID, VOID, VOID, VOID, [1]);
504
- setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, CancelHandler, [CancelHandler, SelectInstance, Waiter], VOID, VOID, VOID, [0, 2]);
504
+ setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, CancelHandler, [CancelHandler, Waiter, SelectInstance], VOID, VOID, VOID, [0, 2]);
505
505
  setMetadataFor(TrySelectDetailedResult, 'TrySelectDetailedResult', classMeta, Enum);
506
506
  setMetadataFor(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', classMeta, CoroutineDispatcher, [CoroutineDispatcher, Delay], VOID, VOID, VOID, [1]);
507
507
  setMetadataFor(NodeDispatcher, 'NodeDispatcher', objectMeta, SetTimeoutBasedDispatcher, VOID, VOID, VOID, VOID, [1]);