@dxos/client-services 0.1.58-main.b53b126 → 0.1.58-main.cbf3753

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.
@@ -71,7 +71,7 @@ var import_protocols = require("@dxos/protocols");
71
71
  var import_services = require("@dxos/protocols/proto/dxos/client/services");
72
72
 
73
73
  // packages/sdk/client-services/src/version.ts
74
- var DXOS_VERSION = "0.1.58-main.b53b126";
74
+ var DXOS_VERSION = "0.1.58-main.cbf3753";
75
75
 
76
76
  // packages/sdk/client-services/src/packlets/services/platform.ts
77
77
  var getPlatform = () => {
@@ -2004,6 +2004,9 @@ var InvitationsServiceImpl = class {
2004
2004
  }, () => {
2005
2005
  close();
2006
2006
  this._createInvitations.delete(invitation.get().invitationId);
2007
+ if (invitation.get().type !== import_services5.Invitation.Type.MULTIUSE) {
2008
+ this._removedCreated.emit(invitation.get());
2009
+ }
2007
2010
  });
2008
2011
  });
2009
2012
  }
@@ -2026,19 +2029,22 @@ var InvitationsServiceImpl = class {
2026
2029
  }, () => {
2027
2030
  close();
2028
2031
  this._acceptInvitations.delete(invitation.get().invitationId);
2032
+ if (invitation.get().type !== import_services5.Invitation.Type.MULTIUSE) {
2033
+ this._removedAccepted.emit(invitation.get());
2034
+ }
2029
2035
  });
2030
2036
  });
2031
2037
  }
2032
2038
  async authenticate({ invitationId, authCode }) {
2033
2039
  (0, import_log7.log)("authenticating...", void 0, {
2034
2040
  F: __dxlog_file9,
2035
- L: 102,
2041
+ L: 108,
2036
2042
  S: this,
2037
2043
  C: (f, a) => f(...a)
2038
2044
  });
2039
2045
  (0, import_invariant8.invariant)(invitationId, void 0, {
2040
2046
  F: __dxlog_file9,
2041
- L: 103,
2047
+ L: 109,
2042
2048
  S: this,
2043
2049
  A: [
2044
2050
  "invitationId",
@@ -2051,7 +2057,7 @@ var InvitationsServiceImpl = class {
2051
2057
  invitationId
2052
2058
  }, {
2053
2059
  F: __dxlog_file9,
2054
- L: 106,
2060
+ L: 112,
2055
2061
  S: this,
2056
2062
  C: (f, a) => f(...a)
2057
2063
  });
@@ -2062,13 +2068,13 @@ var InvitationsServiceImpl = class {
2062
2068
  async cancelInvitation({ invitationId }) {
2063
2069
  (0, import_log7.log)("deleting...", void 0, {
2064
2070
  F: __dxlog_file9,
2065
- L: 113,
2071
+ L: 119,
2066
2072
  S: this,
2067
2073
  C: (f, a) => f(...a)
2068
2074
  });
2069
2075
  (0, import_invariant8.invariant)(invitationId, void 0, {
2070
2076
  F: __dxlog_file9,
2071
- L: 114,
2077
+ L: 120,
2072
2078
  S: this,
2073
2079
  A: [
2074
2080
  "invitationId",
@@ -2090,7 +2096,7 @@ var InvitationsServiceImpl = class {
2090
2096
  invitationId
2091
2097
  }, {
2092
2098
  F: __dxlog_file9,
2093
- L: 126,
2099
+ L: 132,
2094
2100
  S: this,
2095
2101
  C: (f, a) => f(...a)
2096
2102
  });