@resolveio/server-lib 22.2.50 → 22.2.52

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.
@@ -1512,6 +1512,12 @@ var SubscriptionManager = /** @class */ (function () {
1512
1512
  if (message.includes('change stream') && message.includes('not supported')) {
1513
1513
  return true;
1514
1514
  }
1515
+ if (code === 13 && message.includes('allchangesforcluster')) {
1516
+ return true;
1517
+ }
1518
+ if (code === 13 && message.includes('not authorized') && message.includes('$db: "admin"')) {
1519
+ return true;
1520
+ }
1515
1521
  return false;
1516
1522
  };
1517
1523
  SubscriptionManager.prototype.isResumeTokenInvalid = function (error) {