@dxos/client-services 0.3.5-main.927500d → 0.3.5-main.9577658
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-6AGELHRC.mjs → chunk-HWDKPRDQ.mjs} +28 -32
- package/dist/lib/browser/chunk-HWDKPRDQ.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 +27 -31
- 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 +27 -31
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/invitations/invitation-extension.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitations-handler.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +35 -35
- package/src/packlets/invitations/invitation-extension.ts +0 -1
- package/src/packlets/invitations/invitations-handler.ts +0 -3
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-6AGELHRC.mjs.map +0 -7
|
@@ -1285,7 +1285,6 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1285
1285
|
C: (f, a) => f(...a)
|
|
1286
1286
|
});
|
|
1287
1287
|
return {
|
|
1288
|
-
spaceKey: this.invitation.authMethod === Invitation2.AuthMethod.NONE ? this.invitation.spaceKey : void 0,
|
|
1289
1288
|
authMethod: this.invitation.authMethod
|
|
1290
1289
|
};
|
|
1291
1290
|
},
|
|
@@ -1295,7 +1294,7 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1295
1294
|
id: traceId
|
|
1296
1295
|
}), {
|
|
1297
1296
|
F: __dxlog_file6,
|
|
1298
|
-
L:
|
|
1297
|
+
L: 124,
|
|
1299
1298
|
S: this,
|
|
1300
1299
|
C: (f, a) => f(...a)
|
|
1301
1300
|
});
|
|
@@ -1303,14 +1302,14 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1303
1302
|
authCode: code
|
|
1304
1303
|
}, {
|
|
1305
1304
|
F: __dxlog_file6,
|
|
1306
|
-
L:
|
|
1305
|
+
L: 125,
|
|
1307
1306
|
S: this,
|
|
1308
1307
|
C: (f, a) => f(...a)
|
|
1309
1308
|
});
|
|
1310
1309
|
let status = AuthenticationResponse.Status.OK;
|
|
1311
1310
|
invariant5(this.invitation, "Invitation is not set.", {
|
|
1312
1311
|
F: __dxlog_file6,
|
|
1313
|
-
L:
|
|
1312
|
+
L: 128,
|
|
1314
1313
|
S: this,
|
|
1315
1314
|
A: [
|
|
1316
1315
|
"this.invitation",
|
|
@@ -1321,7 +1320,7 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1321
1320
|
case Invitation2.AuthMethod.NONE: {
|
|
1322
1321
|
log4("authentication not required", void 0, {
|
|
1323
1322
|
F: __dxlog_file6,
|
|
1324
|
-
L:
|
|
1323
|
+
L: 131,
|
|
1325
1324
|
S: this,
|
|
1326
1325
|
C: (f, a) => f(...a)
|
|
1327
1326
|
});
|
|
@@ -1346,7 +1345,7 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1346
1345
|
authMethod: this.invitation.authMethod
|
|
1347
1346
|
}, {
|
|
1348
1347
|
F: __dxlog_file6,
|
|
1349
|
-
L:
|
|
1348
|
+
L: 149,
|
|
1350
1349
|
S: this,
|
|
1351
1350
|
C: (f, a) => f(...a)
|
|
1352
1351
|
});
|
|
@@ -1361,7 +1360,7 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1361
1360
|
}
|
|
1362
1361
|
}), {
|
|
1363
1362
|
F: __dxlog_file6,
|
|
1364
|
-
L:
|
|
1363
|
+
L: 155,
|
|
1365
1364
|
S: this,
|
|
1366
1365
|
C: (f, a) => f(...a)
|
|
1367
1366
|
});
|
|
@@ -1375,14 +1374,14 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1375
1374
|
id: traceId
|
|
1376
1375
|
}), {
|
|
1377
1376
|
F: __dxlog_file6,
|
|
1378
|
-
L:
|
|
1377
|
+
L: 161,
|
|
1379
1378
|
S: this,
|
|
1380
1379
|
C: (f, a) => f(...a)
|
|
1381
1380
|
});
|
|
1382
1381
|
try {
|
|
1383
1382
|
invariant5(this.invitation, "Invitation is not set.", {
|
|
1384
1383
|
F: __dxlog_file6,
|
|
1385
|
-
L:
|
|
1384
|
+
L: 164,
|
|
1386
1385
|
S: this,
|
|
1387
1386
|
A: [
|
|
1388
1387
|
"this.invitation",
|
|
@@ -1397,7 +1396,7 @@ var InvitationHostExtension = class extends RpcExtension {
|
|
|
1397
1396
|
id: traceId
|
|
1398
1397
|
}), {
|
|
1399
1398
|
F: __dxlog_file6,
|
|
1400
|
-
L:
|
|
1399
|
+
L: 172,
|
|
1401
1400
|
S: this,
|
|
1402
1401
|
C: (f, a) => f(...a)
|
|
1403
1402
|
});
|
|
@@ -1454,7 +1453,7 @@ var InvitationGuestExtension = class extends RpcExtension {
|
|
|
1454
1453
|
options: async (options) => {
|
|
1455
1454
|
invariant5(!this._remoteOptions, "Remote options already set.", {
|
|
1456
1455
|
F: __dxlog_file6,
|
|
1457
|
-
L:
|
|
1456
|
+
L: 239,
|
|
1458
1457
|
S: this,
|
|
1459
1458
|
A: [
|
|
1460
1459
|
"!this._remoteOptions",
|
|
@@ -1481,7 +1480,7 @@ var InvitationGuestExtension = class extends RpcExtension {
|
|
|
1481
1480
|
try {
|
|
1482
1481
|
log4("begin options", void 0, {
|
|
1483
1482
|
F: __dxlog_file6,
|
|
1484
|
-
L:
|
|
1483
|
+
L: 260,
|
|
1485
1484
|
S: this,
|
|
1486
1485
|
C: (f, a) => f(...a)
|
|
1487
1486
|
});
|
|
@@ -1493,7 +1492,7 @@ var InvitationGuestExtension = class extends RpcExtension {
|
|
|
1493
1492
|
}));
|
|
1494
1493
|
log4("end options", void 0, {
|
|
1495
1494
|
F: __dxlog_file6,
|
|
1496
|
-
L:
|
|
1495
|
+
L: 263,
|
|
1497
1496
|
S: this,
|
|
1498
1497
|
C: (f, a) => f(...a)
|
|
1499
1498
|
});
|
|
@@ -1507,7 +1506,7 @@ var InvitationGuestExtension = class extends RpcExtension {
|
|
|
1507
1506
|
} catch (err) {
|
|
1508
1507
|
log4("openError", err, {
|
|
1509
1508
|
F: __dxlog_file6,
|
|
1510
|
-
L:
|
|
1509
|
+
L: 273,
|
|
1511
1510
|
S: this,
|
|
1512
1511
|
C: (f, a) => f(...a)
|
|
1513
1512
|
});
|
|
@@ -1517,7 +1516,7 @@ var InvitationGuestExtension = class extends RpcExtension {
|
|
|
1517
1516
|
async onClose() {
|
|
1518
1517
|
log4("onClose", void 0, {
|
|
1519
1518
|
F: __dxlog_file6,
|
|
1520
|
-
L:
|
|
1519
|
+
L: 279,
|
|
1521
1520
|
S: this,
|
|
1522
1521
|
C: (f, a) => f(...a)
|
|
1523
1522
|
});
|
|
@@ -1888,14 +1887,11 @@ var InvitationsHandler = class {
|
|
|
1888
1887
|
C: (f, a) => f(...a)
|
|
1889
1888
|
});
|
|
1890
1889
|
invitation.authMethod = introductionResponse.authMethod;
|
|
1891
|
-
if (introductionResponse.spaceKey) {
|
|
1892
|
-
invitation.spaceKey = introductionResponse.spaceKey;
|
|
1893
|
-
}
|
|
1894
1890
|
if (isAuthenticationRequired(invitation)) {
|
|
1895
1891
|
for (let attempt = 1; attempt <= MAX_OTP_ATTEMPTS; attempt++) {
|
|
1896
1892
|
log5("guest waiting for authentication code...", void 0, {
|
|
1897
1893
|
F: __dxlog_file7,
|
|
1898
|
-
L:
|
|
1894
|
+
L: 286,
|
|
1899
1895
|
S: this,
|
|
1900
1896
|
C: (f, a) => f(...a)
|
|
1901
1897
|
});
|
|
@@ -1907,7 +1903,7 @@ var InvitationsHandler = class {
|
|
|
1907
1903
|
});
|
|
1908
1904
|
log5("sending authentication request", void 0, {
|
|
1909
1905
|
F: __dxlog_file7,
|
|
1910
|
-
L:
|
|
1906
|
+
L: 290,
|
|
1911
1907
|
S: this,
|
|
1912
1908
|
C: (f, a) => f(...a)
|
|
1913
1909
|
});
|
|
@@ -1928,7 +1924,7 @@ var InvitationsHandler = class {
|
|
|
1928
1924
|
attempt
|
|
1929
1925
|
}, {
|
|
1930
1926
|
F: __dxlog_file7,
|
|
1931
|
-
L:
|
|
1927
|
+
L: 301,
|
|
1932
1928
|
S: this,
|
|
1933
1929
|
C: (f, a) => f(...a)
|
|
1934
1930
|
});
|
|
@@ -1945,7 +1941,7 @@ var InvitationsHandler = class {
|
|
|
1945
1941
|
...protocol.toJSON()
|
|
1946
1942
|
}, {
|
|
1947
1943
|
F: __dxlog_file7,
|
|
1948
|
-
L:
|
|
1944
|
+
L: 312,
|
|
1949
1945
|
S: this,
|
|
1950
1946
|
C: (f, a) => f(...a)
|
|
1951
1947
|
});
|
|
@@ -1957,7 +1953,7 @@ var InvitationsHandler = class {
|
|
|
1957
1953
|
...protocol.toJSON()
|
|
1958
1954
|
}, {
|
|
1959
1955
|
F: __dxlog_file7,
|
|
1960
|
-
L:
|
|
1956
|
+
L: 323,
|
|
1961
1957
|
S: this,
|
|
1962
1958
|
C: (f, a) => f(...a)
|
|
1963
1959
|
});
|
|
@@ -1969,7 +1965,7 @@ var InvitationsHandler = class {
|
|
|
1969
1965
|
id: traceId
|
|
1970
1966
|
}), {
|
|
1971
1967
|
F: __dxlog_file7,
|
|
1972
|
-
L:
|
|
1968
|
+
L: 325,
|
|
1973
1969
|
S: this,
|
|
1974
1970
|
C: (f, a) => f(...a)
|
|
1975
1971
|
});
|
|
@@ -1979,7 +1975,7 @@ var InvitationsHandler = class {
|
|
|
1979
1975
|
...protocol.toJSON()
|
|
1980
1976
|
}, {
|
|
1981
1977
|
F: __dxlog_file7,
|
|
1982
|
-
L:
|
|
1978
|
+
L: 328,
|
|
1983
1979
|
S: this,
|
|
1984
1980
|
C: (f, a) => f(...a)
|
|
1985
1981
|
});
|
|
@@ -1989,7 +1985,7 @@ var InvitationsHandler = class {
|
|
|
1989
1985
|
} else {
|
|
1990
1986
|
log5("auth failed", err, {
|
|
1991
1987
|
F: __dxlog_file7,
|
|
1992
|
-
L:
|
|
1988
|
+
L: 331,
|
|
1993
1989
|
S: this,
|
|
1994
1990
|
C: (f, a) => f(...a)
|
|
1995
1991
|
});
|
|
@@ -2000,7 +1996,7 @@ var InvitationsHandler = class {
|
|
|
2000
1996
|
error: err
|
|
2001
1997
|
}), {
|
|
2002
1998
|
F: __dxlog_file7,
|
|
2003
|
-
L:
|
|
1999
|
+
L: 334,
|
|
2004
2000
|
S: this,
|
|
2005
2001
|
C: (f, a) => f(...a)
|
|
2006
2002
|
});
|
|
@@ -2018,7 +2014,7 @@ var InvitationsHandler = class {
|
|
|
2018
2014
|
...protocol.toJSON()
|
|
2019
2015
|
}, {
|
|
2020
2016
|
F: __dxlog_file7,
|
|
2021
|
-
L:
|
|
2017
|
+
L: 345,
|
|
2022
2018
|
S: this,
|
|
2023
2019
|
C: (f, a) => f(...a)
|
|
2024
2020
|
});
|
|
@@ -2028,7 +2024,7 @@ var InvitationsHandler = class {
|
|
|
2028
2024
|
} else {
|
|
2029
2025
|
log5("auth failed", err, {
|
|
2030
2026
|
F: __dxlog_file7,
|
|
2031
|
-
L:
|
|
2027
|
+
L: 348,
|
|
2032
2028
|
S: this,
|
|
2033
2029
|
C: (f, a) => f(...a)
|
|
2034
2030
|
});
|
|
@@ -2041,7 +2037,7 @@ var InvitationsHandler = class {
|
|
|
2041
2037
|
scheduleTask2(ctx, async () => {
|
|
2042
2038
|
invariant6(invitation.swarmKey, void 0, {
|
|
2043
2039
|
F: __dxlog_file7,
|
|
2044
|
-
L:
|
|
2040
|
+
L: 358,
|
|
2045
2041
|
S: this,
|
|
2046
2042
|
A: [
|
|
2047
2043
|
"invitation.swarmKey",
|
|
@@ -2536,7 +2532,7 @@ var getPlatform = () => {
|
|
|
2536
2532
|
};
|
|
2537
2533
|
|
|
2538
2534
|
// packages/sdk/client-services/src/version.ts
|
|
2539
|
-
var DXOS_VERSION = "0.3.5-main.
|
|
2535
|
+
var DXOS_VERSION = "0.3.5-main.9577658";
|
|
2540
2536
|
|
|
2541
2537
|
// packages/sdk/client-services/src/packlets/services/diagnostics.ts
|
|
2542
2538
|
var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
|
|
@@ -5079,4 +5075,4 @@ export {
|
|
|
5079
5075
|
createDefaultModelFactory,
|
|
5080
5076
|
ClientServicesHost
|
|
5081
5077
|
};
|
|
5082
|
-
//# sourceMappingURL=chunk-
|
|
5078
|
+
//# sourceMappingURL=chunk-HWDKPRDQ.mjs.map
|