@dxos/cli 0.3.11-main.d56f337 → 0.3.11-main.d8b8a39
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitations.d.ts","sourceRoot":"","sources":["../../../src/util/invitations.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,UAAU,EACX,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"invitations.d.ts","sourceRoot":"","sources":["../../../src/util/invitations.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,UAAU,EACX,MAAM,0BAA0B,CAAC;AAIlC,eAAO,MAAM,cAAc;gBAKb,+BAA+B;;qCAEb,UAAU,KAAK,QAAQ,IAAI,CAAC;kCAC/B,UAAU,KAAK,QAAQ,IAAI,CAAC;;;MAGrD,QAAQ,UAAU,CA2BrB,CAAC;AAEF,eAAO,MAAM,gBAAgB;gBAIf,kCAAkC;;qCAEhB,UAAU,KAAK,QAAQ,IAAI,CAAC;uCAC1B,UAAU,KAAK,QAAQ,MAAM,GAAG,IAAI,CAAC;kCAC1C,UAAU,KAAK,QAAQ,IAAI,CAAC;;MAErD,QAAQ,UAAU,CAwCrB,CAAC"}
|
|
@@ -7,6 +7,7 @@ exports.acceptInvitation = exports.hostInvitation = void 0;
|
|
|
7
7
|
const async_1 = require("@dxos/async");
|
|
8
8
|
const invitations_1 = require("@dxos/client/invitations");
|
|
9
9
|
const invariant_1 = require("@dxos/invariant");
|
|
10
|
+
const protocols_1 = require("@dxos/protocols");
|
|
10
11
|
const hostInvitation = async ({ observable, callbacks, peersNumber = 1, }) => {
|
|
11
12
|
const invitationEvent = new async_1.Event();
|
|
12
13
|
const done = invitationEvent.waitForCount(peersNumber);
|
|
@@ -56,6 +57,10 @@ const acceptInvitation = async ({ observable, callbacks, }) => {
|
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
}, (err) => {
|
|
60
|
+
if (err instanceof protocols_1.AlreadyJoinedError) {
|
|
61
|
+
done.wake(observable.get());
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
59
64
|
throw err;
|
|
60
65
|
});
|
|
61
66
|
const invitation = await done.wait();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitations.js","sourceRoot":"","sources":["../../../src/util/invitations.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uCAA6C;AAC7C,0DAIkC;AAClC,+CAA4C;
|
|
1
|
+
{"version":3,"file":"invitations.js","sourceRoot":"","sources":["../../../src/util/invitations.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uCAA6C;AAC7C,0DAIkC;AAClC,+CAA4C;AAC5C,+CAAqD;AAE9C,MAAM,cAAc,GAAG,KAAK,EAAE,EACnC,UAAU,EACV,SAAS,EACT,WAAW,GAAG,CAAC,GAQhB,EAAuB,EAAE;IACxB,MAAM,eAAe,GAAG,IAAI,aAAK,EAAc,CAAC;IAEhD,MAAM,IAAI,GAAG,eAAe,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvD,MAAM,iBAAiB,GAAG,UAAU,CAAC,SAAS,CAC5C,KAAK,EAAE,UAAU,EAAE,EAAE;;QACnB,QAAQ,UAAU,CAAC,KAAK,EAAE;YACxB,KAAK,wBAAU,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;gBAChC,MAAM,CAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,0DAAG,UAAU,CAAC,CAAA,CAAC;gBAC5C,MAAM;aACP;YAED,KAAK,wBAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,MAAM,CAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,SAAS,0DAAG,UA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CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,MAAM,CAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,SAAS,0DAAG,UAAU,CAAC,CAAA,CAAC;gBACzC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBACtB,MAAM;aACP;SACF;IACH,CAAC,EACD,CAAC,GAAG,EAAE,EAAE;QACN,IAAI,GAAG,YAAY,8BAAkB,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;YAC5B,OAAO;SACR;QAED,MAAM,GAAG,CAAC;IACZ,CAAC,CACF,CAAC;IAEF,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;IACrC,iBAAiB,CAAC,WAAW,EAAE,CAAC;IAChC,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAlDW,QAAA,gBAAgB,oBAkD3B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"DX_ENVIRONMENT": "dev",
|
|
3
|
-
"DX_RELEASE": "cli@0.3.11-main.
|
|
3
|
+
"DX_RELEASE": "cli@0.3.11-main.d8b8a39",
|
|
4
4
|
"SENTRY_DESTINATION": "https://2647916221e643869965e78469479aa4@o4504012000067584.ingest.sentry.io/4504012027265029",
|
|
5
5
|
"TELEMETRY_API_KEY": "B00QG6PtJJrJ0VVFe0H5a6bcUUShKyZM",
|
|
6
6
|
"IPDATA_API_KEY": "73dfdecdf979c18f07d50cf841bbdd9e589f237256326ac8cca23786"
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.3.11-main.
|
|
2
|
+
"version": "0.3.11-main.d8b8a39",
|
|
3
3
|
"commands": {
|
|
4
4
|
"agent:list": {
|
|
5
5
|
"id": "agent:list",
|
|
@@ -3524,7 +3524,7 @@
|
|
|
3524
3524
|
"type": "option",
|
|
3525
3525
|
"description": "Tunnel name",
|
|
3526
3526
|
"multiple": false,
|
|
3527
|
-
"default": "
|
|
3527
|
+
"default": "lithium-mississippi-blossom-minnesota"
|
|
3528
3528
|
}
|
|
3529
3529
|
},
|
|
3530
3530
|
"args": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/cli",
|
|
3
|
-
"version": "0.3.11-main.
|
|
3
|
+
"version": "0.3.11-main.d8b8a39",
|
|
4
4
|
"description": "DXOS CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dxos",
|
|
@@ -45,26 +45,26 @@
|
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"uuid": "^8.3.2",
|
|
47
47
|
"ws": "^8.14.2",
|
|
48
|
-
"@dxos/agent": "0.3.11-main.
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/client": "0.3.11-main.
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/functions": "0.3.11-main.
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/plate": "0.3.11-main.
|
|
61
|
-
"@dxos/process": "0.3.11-main.
|
|
62
|
-
"@dxos/protocols": "0.3.11-main.
|
|
63
|
-
"@dxos/rpc": "0.3.11-main.
|
|
64
|
-
"@dxos/sentry": "0.3.11-main.
|
|
65
|
-
"@dxos/tasks-template": "0.3.11-main.
|
|
66
|
-
"@dxos/telemetry": "0.3.11-main.
|
|
67
|
-
"@dxos/util": "0.3.11-main.
|
|
48
|
+
"@dxos/agent": "0.3.11-main.d8b8a39",
|
|
49
|
+
"@dxos/async": "0.3.11-main.d8b8a39",
|
|
50
|
+
"@dxos/bare-template": "0.3.11-main.d8b8a39",
|
|
51
|
+
"@dxos/client": "0.3.11-main.d8b8a39",
|
|
52
|
+
"@dxos/config": "0.3.11-main.d8b8a39",
|
|
53
|
+
"@dxos/context": "0.3.11-main.d8b8a39",
|
|
54
|
+
"@dxos/debug": "0.3.11-main.d8b8a39",
|
|
55
|
+
"@dxos/client-protocol": "0.3.11-main.d8b8a39",
|
|
56
|
+
"@dxos/functions": "0.3.11-main.d8b8a39",
|
|
57
|
+
"@dxos/invariant": "0.3.11-main.d8b8a39",
|
|
58
|
+
"@dxos/log": "0.3.11-main.d8b8a39",
|
|
59
|
+
"@dxos/hello-template": "0.3.11-main.d8b8a39",
|
|
60
|
+
"@dxos/plate": "0.3.11-main.d8b8a39",
|
|
61
|
+
"@dxos/process": "0.3.11-main.d8b8a39",
|
|
62
|
+
"@dxos/protocols": "0.3.11-main.d8b8a39",
|
|
63
|
+
"@dxos/rpc": "0.3.11-main.d8b8a39",
|
|
64
|
+
"@dxos/sentry": "0.3.11-main.d8b8a39",
|
|
65
|
+
"@dxos/tasks-template": "0.3.11-main.d8b8a39",
|
|
66
|
+
"@dxos/telemetry": "0.3.11-main.d8b8a39",
|
|
67
|
+
"@dxos/util": "0.3.11-main.d8b8a39"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@oclif/test": "^2.3.31",
|