@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.
- package/dist/lib/browser/{chunk-QZX72KJE.mjs → chunk-HBVO7V6N.mjs} +20 -14
- package/dist/lib/browser/chunk-HBVO7V6N.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +1 -1
- package/dist/lib/node/index.cjs +13 -7
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +13 -7
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/invitations/invitations-service.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +35 -35
- package/src/packlets/invitations/invitations-service.ts +6 -0
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-QZX72KJE.mjs.map +0 -7
|
@@ -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.
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
2099
|
+
L: 132,
|
|
2094
2100
|
S: this,
|
|
2095
2101
|
C: (f, a) => f(...a)
|
|
2096
2102
|
});
|