@dxos/client-services 0.1.58-main.b605d47 → 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-GRLE5OOK.mjs → chunk-HBVO7V6N.mjs} +20 -16
- 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 -9
- 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 -9
- 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 -2
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-GRLE5OOK.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,7 +2004,9 @@ var InvitationsServiceImpl = class {
|
|
|
2004
2004
|
}, () => {
|
|
2005
2005
|
close();
|
|
2006
2006
|
this._createInvitations.delete(invitation.get().invitationId);
|
|
2007
|
-
|
|
2007
|
+
if (invitation.get().type !== import_services5.Invitation.Type.MULTIUSE) {
|
|
2008
|
+
this._removedCreated.emit(invitation.get());
|
|
2009
|
+
}
|
|
2008
2010
|
});
|
|
2009
2011
|
});
|
|
2010
2012
|
}
|
|
@@ -2027,20 +2029,22 @@ var InvitationsServiceImpl = class {
|
|
|
2027
2029
|
}, () => {
|
|
2028
2030
|
close();
|
|
2029
2031
|
this._acceptInvitations.delete(invitation.get().invitationId);
|
|
2030
|
-
|
|
2032
|
+
if (invitation.get().type !== import_services5.Invitation.Type.MULTIUSE) {
|
|
2033
|
+
this._removedAccepted.emit(invitation.get());
|
|
2034
|
+
}
|
|
2031
2035
|
});
|
|
2032
2036
|
});
|
|
2033
2037
|
}
|
|
2034
2038
|
async authenticate({ invitationId, authCode }) {
|
|
2035
2039
|
(0, import_log7.log)("authenticating...", void 0, {
|
|
2036
2040
|
F: __dxlog_file9,
|
|
2037
|
-
L:
|
|
2041
|
+
L: 108,
|
|
2038
2042
|
S: this,
|
|
2039
2043
|
C: (f, a) => f(...a)
|
|
2040
2044
|
});
|
|
2041
2045
|
(0, import_invariant8.invariant)(invitationId, void 0, {
|
|
2042
2046
|
F: __dxlog_file9,
|
|
2043
|
-
L:
|
|
2047
|
+
L: 109,
|
|
2044
2048
|
S: this,
|
|
2045
2049
|
A: [
|
|
2046
2050
|
"invitationId",
|
|
@@ -2053,7 +2057,7 @@ var InvitationsServiceImpl = class {
|
|
|
2053
2057
|
invitationId
|
|
2054
2058
|
}, {
|
|
2055
2059
|
F: __dxlog_file9,
|
|
2056
|
-
L:
|
|
2060
|
+
L: 112,
|
|
2057
2061
|
S: this,
|
|
2058
2062
|
C: (f, a) => f(...a)
|
|
2059
2063
|
});
|
|
@@ -2064,13 +2068,13 @@ var InvitationsServiceImpl = class {
|
|
|
2064
2068
|
async cancelInvitation({ invitationId }) {
|
|
2065
2069
|
(0, import_log7.log)("deleting...", void 0, {
|
|
2066
2070
|
F: __dxlog_file9,
|
|
2067
|
-
L:
|
|
2071
|
+
L: 119,
|
|
2068
2072
|
S: this,
|
|
2069
2073
|
C: (f, a) => f(...a)
|
|
2070
2074
|
});
|
|
2071
2075
|
(0, import_invariant8.invariant)(invitationId, void 0, {
|
|
2072
2076
|
F: __dxlog_file9,
|
|
2073
|
-
L:
|
|
2077
|
+
L: 120,
|
|
2074
2078
|
S: this,
|
|
2075
2079
|
A: [
|
|
2076
2080
|
"invitationId",
|
|
@@ -2092,7 +2096,7 @@ var InvitationsServiceImpl = class {
|
|
|
2092
2096
|
invitationId
|
|
2093
2097
|
}, {
|
|
2094
2098
|
F: __dxlog_file9,
|
|
2095
|
-
L:
|
|
2099
|
+
L: 132,
|
|
2096
2100
|
S: this,
|
|
2097
2101
|
C: (f, a) => f(...a)
|
|
2098
2102
|
});
|