@dxos/credentials 2.27.6-dev.74e914a7 → 2.27.6-dev.fa056bba
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/.rush/temp/package-deps_build.json +10 -10
- package/.rush/temp/package-deps_build:test.json +10 -10
- package/.rush/temp/package-deps_prerelease.json +10 -10
- package/.rush/temp/shrinkwrap-deps.json +1 -1
- package/dist/src/auth/auth-plugin.d.ts +1 -1
- package/dist/src/auth/auth-plugin.d.ts.map +1 -1
- package/dist/src/auth/auth-plugin.js +6 -6
- package/dist/src/auth/auth-plugin.js.map +1 -1
- package/dist/src/auth/auth-plugin.test.js +2 -2
- package/dist/src/auth/auth-plugin.test.js.map +1 -1
- package/dist/src/greet/greeter-plugin.test.js +3 -3
- package/dist/src/greet/greeter-plugin.test.js.map +1 -1
- package/dist/src/greet/greeter.js +14 -14
- package/dist/src/greet/greeter.js.map +1 -1
- package/dist/src/greet/greeter.test.js +4 -4
- package/dist/src/greet/greeter.test.js.map +1 -1
- package/dist/src/greet/greeting-command-plugin.d.ts +1 -1
- package/dist/src/greet/greeting-command-plugin.d.ts.map +1 -1
- package/dist/src/greet/greeting-command-plugin.js +3 -3
- package/dist/src/greet/greeting-command-plugin.js.map +1 -1
- package/dist/src/greet/party-invitation-claim-handler.js +4 -4
- package/dist/src/greet/party-invitation-claim-handler.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/src/auth/auth-plugin.test.ts +1 -1
- package/src/auth/auth-plugin.ts +1 -1
- package/src/greet/greeter-plugin.test.ts +1 -1
- package/src/greet/greeter.test.js +1 -1
- package/src/greet/greeter.ts +1 -1
- package/src/greet/greeting-command-plugin.ts +1 -1
- package/src/greet/party-invitation-claim-handler.ts +1 -1
- package/src/proto/defs/import.proto +6 -6
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "
|
|
3
|
+
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "08c9fb66eb5252e262eaea98617d4a248ab4d3bf",
|
|
4
4
|
"packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
|
|
5
|
-
"packages/halo/credentials/package.json": "
|
|
5
|
+
"packages/halo/credentials/package.json": "7e96a0c0836d1592f15323802acef2da9fdd8c13",
|
|
6
6
|
"packages/halo/credentials/src/auth/auth-message.ts": "c90d8b73215d20b59f922f97b52973dec69c0f40",
|
|
7
|
-
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "
|
|
8
|
-
"packages/halo/credentials/src/auth/auth-plugin.ts": "
|
|
7
|
+
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "dfeb00a287b33d0d78c6e8ed566d61771dafbb62",
|
|
8
|
+
"packages/halo/credentials/src/auth/auth-plugin.ts": "b812e5f9f5600c0cc783b4217a965cdd9b61f8a5",
|
|
9
9
|
"packages/halo/credentials/src/auth/auth.test.js": "3dc456deb45608bcc2db19a481d8e8cddf0a0bed",
|
|
10
10
|
"packages/halo/credentials/src/auth/authenticator.ts": "fb21df5d13bb9c751d7c00b07ff255a572d8b5e8",
|
|
11
11
|
"packages/halo/credentials/src/auth/error-codes.ts": "6949e70399430cc44a5cc7d4a24ee7cace599ffe",
|
|
12
12
|
"packages/halo/credentials/src/auth/index.ts": "c4a66cb0a4bb9f8f1e0abf6d429296617b11633b",
|
|
13
13
|
"packages/halo/credentials/src/greet/constants.ts": "195d88c13f436c94d499bd8ee3d62481e35e502f",
|
|
14
14
|
"packages/halo/credentials/src/greet/error-codes.ts": "93f2d4ddbf4f93507855529d7a5091ed4de8c90e",
|
|
15
|
-
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "
|
|
16
|
-
"packages/halo/credentials/src/greet/greeter.test.js": "
|
|
17
|
-
"packages/halo/credentials/src/greet/greeter.ts": "
|
|
18
|
-
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "
|
|
15
|
+
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "d51e4d24d1f9893a15fbdc3d2f39d81cf1f2fc4a",
|
|
16
|
+
"packages/halo/credentials/src/greet/greeter.test.js": "021f6891b6a6f06d57649adcee23bf102784b4ff",
|
|
17
|
+
"packages/halo/credentials/src/greet/greeter.ts": "c5e68ed430541a744f983134f6c49dbf106f07bd",
|
|
18
|
+
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "844ec968deff468af8f9d33d26370851091a7ffe",
|
|
19
19
|
"packages/halo/credentials/src/greet/greeting-message.ts": "a8666874bbdc9f42889383a78f82324f176ef0d0",
|
|
20
20
|
"packages/halo/credentials/src/greet/index.ts": "27c8d16082512564760dd56a7e0a33bbb47143e7",
|
|
21
21
|
"packages/halo/credentials/src/greet/invitation.ts": "dab95c70482bba53c6292068bfd73306efcf0e64",
|
|
22
|
-
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "
|
|
22
|
+
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "0e2be5d55f8178925ec0ab85799472fa5f774d16",
|
|
23
23
|
"packages/halo/credentials/src/greet/passcode.ts": "8e1dbcc8bf471b9e71a4928b32cd8f78262d748a",
|
|
24
24
|
"packages/halo/credentials/src/identity/events.ts": "e246b3c0d36466d5bcd376f715debdcd625546c5",
|
|
25
25
|
"packages/halo/credentials/src/identity/identity-message-processor.ts": "905368fc571dc4d9b89e2efabc2b719c10cc0bc1",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"packages/halo/credentials/src/proto/any.ts": "054dac40972e2095666f9c65286b1b6714202640",
|
|
50
50
|
"packages/halo/credentials/src/proto/codec.ts": "8abef0896530ddfe71aa382c1906528b3bc00926",
|
|
51
51
|
"packages/halo/credentials/src/proto/datetime.ts": "3ef4b73a5f1c8389f17b0f8599413db451a1fd76",
|
|
52
|
-
"packages/halo/credentials/src/proto/defs/import.proto": "
|
|
52
|
+
"packages/halo/credentials/src/proto/defs/import.proto": "29ac34f377bdd4793015f60e6249873587fb6478",
|
|
53
53
|
"packages/halo/credentials/src/proto/index.ts": "d7b2823fd389cbce0684ad7f964e1db02f4df05d",
|
|
54
54
|
"packages/halo/credentials/src/proto/substitutions.ts": "49d9803118d88734b3610d1633b72bce5d28f9f4",
|
|
55
55
|
"packages/halo/credentials/src/shims.d.ts": "8c9f4db12f5c348bdb0651be9592edcc488e1cfc",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "
|
|
3
|
+
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "08c9fb66eb5252e262eaea98617d4a248ab4d3bf",
|
|
4
4
|
"packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
|
|
5
|
-
"packages/halo/credentials/package.json": "
|
|
5
|
+
"packages/halo/credentials/package.json": "faaf370427228b395a011801bf567713e59c5dd3",
|
|
6
6
|
"packages/halo/credentials/src/auth/auth-message.ts": "c90d8b73215d20b59f922f97b52973dec69c0f40",
|
|
7
|
-
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "
|
|
8
|
-
"packages/halo/credentials/src/auth/auth-plugin.ts": "
|
|
7
|
+
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "dfeb00a287b33d0d78c6e8ed566d61771dafbb62",
|
|
8
|
+
"packages/halo/credentials/src/auth/auth-plugin.ts": "b812e5f9f5600c0cc783b4217a965cdd9b61f8a5",
|
|
9
9
|
"packages/halo/credentials/src/auth/auth.test.js": "3dc456deb45608bcc2db19a481d8e8cddf0a0bed",
|
|
10
10
|
"packages/halo/credentials/src/auth/authenticator.ts": "fb21df5d13bb9c751d7c00b07ff255a572d8b5e8",
|
|
11
11
|
"packages/halo/credentials/src/auth/error-codes.ts": "6949e70399430cc44a5cc7d4a24ee7cace599ffe",
|
|
12
12
|
"packages/halo/credentials/src/auth/index.ts": "c4a66cb0a4bb9f8f1e0abf6d429296617b11633b",
|
|
13
13
|
"packages/halo/credentials/src/greet/constants.ts": "195d88c13f436c94d499bd8ee3d62481e35e502f",
|
|
14
14
|
"packages/halo/credentials/src/greet/error-codes.ts": "93f2d4ddbf4f93507855529d7a5091ed4de8c90e",
|
|
15
|
-
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "
|
|
16
|
-
"packages/halo/credentials/src/greet/greeter.test.js": "
|
|
17
|
-
"packages/halo/credentials/src/greet/greeter.ts": "
|
|
18
|
-
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "
|
|
15
|
+
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "d51e4d24d1f9893a15fbdc3d2f39d81cf1f2fc4a",
|
|
16
|
+
"packages/halo/credentials/src/greet/greeter.test.js": "021f6891b6a6f06d57649adcee23bf102784b4ff",
|
|
17
|
+
"packages/halo/credentials/src/greet/greeter.ts": "c5e68ed430541a744f983134f6c49dbf106f07bd",
|
|
18
|
+
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "844ec968deff468af8f9d33d26370851091a7ffe",
|
|
19
19
|
"packages/halo/credentials/src/greet/greeting-message.ts": "a8666874bbdc9f42889383a78f82324f176ef0d0",
|
|
20
20
|
"packages/halo/credentials/src/greet/index.ts": "27c8d16082512564760dd56a7e0a33bbb47143e7",
|
|
21
21
|
"packages/halo/credentials/src/greet/invitation.ts": "dab95c70482bba53c6292068bfd73306efcf0e64",
|
|
22
|
-
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "
|
|
22
|
+
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "0e2be5d55f8178925ec0ab85799472fa5f774d16",
|
|
23
23
|
"packages/halo/credentials/src/greet/passcode.ts": "8e1dbcc8bf471b9e71a4928b32cd8f78262d748a",
|
|
24
24
|
"packages/halo/credentials/src/identity/events.ts": "e246b3c0d36466d5bcd376f715debdcd625546c5",
|
|
25
25
|
"packages/halo/credentials/src/identity/identity-message-processor.ts": "905368fc571dc4d9b89e2efabc2b719c10cc0bc1",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"packages/halo/credentials/src/proto/any.ts": "054dac40972e2095666f9c65286b1b6714202640",
|
|
50
50
|
"packages/halo/credentials/src/proto/codec.ts": "8abef0896530ddfe71aa382c1906528b3bc00926",
|
|
51
51
|
"packages/halo/credentials/src/proto/datetime.ts": "3ef4b73a5f1c8389f17b0f8599413db451a1fd76",
|
|
52
|
-
"packages/halo/credentials/src/proto/defs/import.proto": "
|
|
52
|
+
"packages/halo/credentials/src/proto/defs/import.proto": "29ac34f377bdd4793015f60e6249873587fb6478",
|
|
53
53
|
"packages/halo/credentials/src/proto/index.ts": "d7b2823fd389cbce0684ad7f964e1db02f4df05d",
|
|
54
54
|
"packages/halo/credentials/src/proto/substitutions.ts": "49d9803118d88734b3610d1633b72bce5d28f9f4",
|
|
55
55
|
"packages/halo/credentials/src/shims.d.ts": "8c9f4db12f5c348bdb0651be9592edcc488e1cfc",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "
|
|
3
|
+
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "08c9fb66eb5252e262eaea98617d4a248ab4d3bf",
|
|
4
4
|
"packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
|
|
5
|
-
"packages/halo/credentials/package.json": "
|
|
5
|
+
"packages/halo/credentials/package.json": "faaf370427228b395a011801bf567713e59c5dd3",
|
|
6
6
|
"packages/halo/credentials/src/auth/auth-message.ts": "c90d8b73215d20b59f922f97b52973dec69c0f40",
|
|
7
|
-
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "
|
|
8
|
-
"packages/halo/credentials/src/auth/auth-plugin.ts": "
|
|
7
|
+
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "dfeb00a287b33d0d78c6e8ed566d61771dafbb62",
|
|
8
|
+
"packages/halo/credentials/src/auth/auth-plugin.ts": "b812e5f9f5600c0cc783b4217a965cdd9b61f8a5",
|
|
9
9
|
"packages/halo/credentials/src/auth/auth.test.js": "3dc456deb45608bcc2db19a481d8e8cddf0a0bed",
|
|
10
10
|
"packages/halo/credentials/src/auth/authenticator.ts": "fb21df5d13bb9c751d7c00b07ff255a572d8b5e8",
|
|
11
11
|
"packages/halo/credentials/src/auth/error-codes.ts": "6949e70399430cc44a5cc7d4a24ee7cace599ffe",
|
|
12
12
|
"packages/halo/credentials/src/auth/index.ts": "c4a66cb0a4bb9f8f1e0abf6d429296617b11633b",
|
|
13
13
|
"packages/halo/credentials/src/greet/constants.ts": "195d88c13f436c94d499bd8ee3d62481e35e502f",
|
|
14
14
|
"packages/halo/credentials/src/greet/error-codes.ts": "93f2d4ddbf4f93507855529d7a5091ed4de8c90e",
|
|
15
|
-
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "
|
|
16
|
-
"packages/halo/credentials/src/greet/greeter.test.js": "
|
|
17
|
-
"packages/halo/credentials/src/greet/greeter.ts": "
|
|
18
|
-
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "
|
|
15
|
+
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "d51e4d24d1f9893a15fbdc3d2f39d81cf1f2fc4a",
|
|
16
|
+
"packages/halo/credentials/src/greet/greeter.test.js": "021f6891b6a6f06d57649adcee23bf102784b4ff",
|
|
17
|
+
"packages/halo/credentials/src/greet/greeter.ts": "c5e68ed430541a744f983134f6c49dbf106f07bd",
|
|
18
|
+
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "844ec968deff468af8f9d33d26370851091a7ffe",
|
|
19
19
|
"packages/halo/credentials/src/greet/greeting-message.ts": "a8666874bbdc9f42889383a78f82324f176ef0d0",
|
|
20
20
|
"packages/halo/credentials/src/greet/index.ts": "27c8d16082512564760dd56a7e0a33bbb47143e7",
|
|
21
21
|
"packages/halo/credentials/src/greet/invitation.ts": "dab95c70482bba53c6292068bfd73306efcf0e64",
|
|
22
|
-
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "
|
|
22
|
+
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "0e2be5d55f8178925ec0ab85799472fa5f774d16",
|
|
23
23
|
"packages/halo/credentials/src/greet/passcode.ts": "8e1dbcc8bf471b9e71a4928b32cd8f78262d748a",
|
|
24
24
|
"packages/halo/credentials/src/identity/events.ts": "e246b3c0d36466d5bcd376f715debdcd625546c5",
|
|
25
25
|
"packages/halo/credentials/src/identity/identity-message-processor.ts": "905368fc571dc4d9b89e2efabc2b719c10cc0bc1",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"packages/halo/credentials/src/proto/any.ts": "054dac40972e2095666f9c65286b1b6714202640",
|
|
50
50
|
"packages/halo/credentials/src/proto/codec.ts": "8abef0896530ddfe71aa382c1906528b3bc00926",
|
|
51
51
|
"packages/halo/credentials/src/proto/datetime.ts": "3ef4b73a5f1c8389f17b0f8599413db451a1fd76",
|
|
52
|
-
"packages/halo/credentials/src/proto/defs/import.proto": "
|
|
52
|
+
"packages/halo/credentials/src/proto/defs/import.proto": "29ac34f377bdd4793015f60e6249873587fb6478",
|
|
53
53
|
"packages/halo/credentials/src/proto/index.ts": "d7b2823fd389cbce0684ad7f964e1db02f4df05d",
|
|
54
54
|
"packages/halo/credentials/src/proto/substitutions.ts": "49d9803118d88734b3610d1633b72bce5d28f9f4",
|
|
55
55
|
"packages/halo/credentials/src/shims.d.ts": "8c9f4db12f5c348bdb0651be9592edcc488e1cfc",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"../../packages/halo/credentials": "../../packages/halo/credentials:
|
|
2
|
+
"../../packages/halo/credentials": "../../packages/halo/credentials:agfpI0Ioh5zjsS+cQ+CWlciG9FXRLk+cpVfq+gjTeNE=:",
|
|
3
3
|
"/@babel/code-frame/7.16.0": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
|
|
4
4
|
"/@babel/helper-validator-identifier/7.15.7": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==",
|
|
5
5
|
"/@babel/highlight/7.16.0": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import { Extension } from '@dxos/protocol';
|
|
3
|
+
import { Extension } from '@dxos/mesh-protocol';
|
|
4
4
|
import { Authenticator } from './authenticator';
|
|
5
5
|
/**
|
|
6
6
|
* A Protocol extension to require nodes to be authenticated during handshake before being allowed to replicate.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-plugin.d.ts","sourceRoot":"","sources":["../../../src/auth/auth-plugin.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,EAAE,SAAS,EAA2C,MAAM,
|
|
1
|
+
{"version":3,"file":"auth-plugin.d.ts","sourceRoot":"","sources":["../../../src/auth/auth-plugin.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,EAAE,SAAS,EAA2C,MAAM,qBAAqB,CAAC;AAGzF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD;;;;;;GAMG;AACH,qBAAa,UAAW,SAAQ,YAAY;IAIxC,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,cAAc;IAJxB,sBAAsB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;gBAG1B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,aAAa;IACrC,0BAA0B,CAAC,wBAAwB,GAAE,MAAM,EAAO;IAUpE,IAAI,aAAa,kBAEhB;IAED;;;OAGG;IACH,eAAe;IAIf;;;;OAIG;YAQW,YAAY;CA0E3B"}
|
|
@@ -10,7 +10,7 @@ exports.AuthPlugin = void 0;
|
|
|
10
10
|
const assert_1 = __importDefault(require("assert"));
|
|
11
11
|
const debug_1 = __importDefault(require("debug"));
|
|
12
12
|
const events_1 = require("events");
|
|
13
|
-
const
|
|
13
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
14
14
|
const proto_1 = require("../proto");
|
|
15
15
|
const error_codes_1 = require("./error-codes");
|
|
16
16
|
const log = (0, debug_1.default)('dxos:creds:auth');
|
|
@@ -41,7 +41,7 @@ class AuthPlugin extends events_1.EventEmitter {
|
|
|
41
41
|
* @return {Extension}
|
|
42
42
|
*/
|
|
43
43
|
createExtension() {
|
|
44
|
-
return new
|
|
44
|
+
return new mesh_protocol_1.Extension(EXTENSION_NAME, { binary: true }).setHandshakeHandler(this._onHandshake.bind(this));
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Handler to be called when the 'handshake' event is emitted.
|
|
@@ -83,7 +83,7 @@ class AuthPlugin extends events_1.EventEmitter {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
protocol.stream.destroy();
|
|
86
|
-
throw new
|
|
86
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(EXTENSION_NAME, error_codes_1.ERR_AUTH_REJECTED, 'Authentication rejected: no credentials.');
|
|
87
87
|
}
|
|
88
88
|
let wrappedCredentials;
|
|
89
89
|
try {
|
|
@@ -93,7 +93,7 @@ class AuthPlugin extends events_1.EventEmitter {
|
|
|
93
93
|
}
|
|
94
94
|
catch (err) {
|
|
95
95
|
protocol.stream.destroy();
|
|
96
|
-
throw new
|
|
96
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(EXTENSION_NAME, error_codes_1.ERR_AUTH_GENERAL, err);
|
|
97
97
|
}
|
|
98
98
|
// Unwrap from root message.
|
|
99
99
|
const { payload } = wrappedCredentials;
|
|
@@ -101,7 +101,7 @@ class AuthPlugin extends events_1.EventEmitter {
|
|
|
101
101
|
const { payload: { deviceKey: credsPeerId } } = (payload === null || payload === void 0 ? void 0 : payload.signed) || {};
|
|
102
102
|
if (!sessionPeerId || !credsPeerId || !credsPeerId.equals(sessionPeerId)) {
|
|
103
103
|
protocol.stream.destroy();
|
|
104
|
-
throw new
|
|
104
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(EXTENSION_NAME, error_codes_1.ERR_AUTH_REJECTED, 'Authentication rejected: bad peerId.');
|
|
105
105
|
}
|
|
106
106
|
/* TODO(telackey): The signed credentials ought to contain verifiable information for both ends, eg,
|
|
107
107
|
* the ID of both source and target, and a nonce or challenge provided by the target to the source
|
|
@@ -112,7 +112,7 @@ class AuthPlugin extends events_1.EventEmitter {
|
|
|
112
112
|
const authenticated = await this._authenticator.authenticate(payload);
|
|
113
113
|
if (!authenticated) {
|
|
114
114
|
protocol.stream.destroy();
|
|
115
|
-
throw new
|
|
115
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(EXTENSION_NAME, error_codes_1.ERR_AUTH_REJECTED, 'Authentication rejected: bad credentials.');
|
|
116
116
|
}
|
|
117
117
|
// Success!
|
|
118
118
|
log(`Authenticated peer: ${credsPeerId.toHex()}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-plugin.js","sourceRoot":"","sources":["../../../src/auth/auth-plugin.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAC1B,mCAAsC;AAEtC,
|
|
1
|
+
{"version":3,"file":"auth-plugin.js","sourceRoot":"","sources":["../../../src/auth/auth-plugin.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;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CAAE,MAAM,KAAI,EAAE,CAAC;QACtE,IAAI,CAAC,aAAa,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE;YACxE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YAC1B,MAAM,IAAI,6CAA6B,CAAC,cAAc,EAAE,+BAAiB,EAAE,sCAAsC,CAAC,CAAC;SACpH;QAED;;;;WAIG;QAEH,4CAA4C;QAC5C,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QACtE,IAAI,CAAC,aAAa,EAAE;YAClB,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YAC1B,MAAM,IAAI,6CAA6B,CAAC,cAAc,EAAE,+BAAiB,EAAE,2CAA2C,CAAC,CAAC;SACzH;QAED,WAAW;QACX,GAAG,CAAC,uBAAuB,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAClD;;WAEG;QACH,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrD,CAAC;CACF;AAlHD,gCAkHC"}
|
|
@@ -16,7 +16,7 @@ const pump_1 = __importDefault(require("pump"));
|
|
|
16
16
|
const wait_for_expect_1 = __importDefault(require("wait-for-expect"));
|
|
17
17
|
const crypto_1 = require("@dxos/crypto");
|
|
18
18
|
const feed_store_1 = require("@dxos/feed-store");
|
|
19
|
-
const
|
|
19
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
20
20
|
const protocol_plugin_replicator_1 = require("@dxos/protocol-plugin-replicator");
|
|
21
21
|
const random_access_multi_storage_1 = require("@dxos/random-access-multi-storage");
|
|
22
22
|
const keys_1 = require("../keys");
|
|
@@ -96,7 +96,7 @@ const createProtocol = async (partyKey, authenticator, keyring, protocolOptions)
|
|
|
96
96
|
return replicatedFeeds;
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
|
-
const proto = new
|
|
99
|
+
const proto = new mesh_protocol_1.Protocol({
|
|
100
100
|
streamOptions: { live: true },
|
|
101
101
|
discoveryKey: partyKey.asBuffer(),
|
|
102
102
|
userSession: { peerId: (0, crypto_1.keyToString)(peerId), credentials },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-plugin.test.js","sourceRoot":"","sources":["../../../src/auth/auth-plugin.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,wBAAwB;AAExB,oDAA4B;AAC5B,kDAA0B;AAC1B,kEAAgC;AAChC,oDAA4B;AAC5B,gDAAwB;AACxB,gDAAwB;AACxB,sEAA4C;AAE5C,yCAAkF;AAClF,iDAA+E;AAC/E,
|
|
1
|
+
{"version":3,"file":"auth-plugin.test.js","sourceRoot":"","sources":["../../../src/auth/auth-plugin.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,wBAAwB;AAExB,oDAA4B;AAC5B,kDAA0B;AAC1B,kEAAgC;AAChC,oDAA4B;AAC5B,gDAAwB;AACxB,gDAAwB;AACxB,sEAA4C;AAE5C,yCAAkF;AAClF,iDAA+E;AAC/E,uDAAgE;AAChE,iFAA8D;AAC9D,mFAA+E;AAE/E,kCAAkC;AAClC,oCAAqD;AACrD,iDAAmD;AACnD,+CAA2C;AAC3C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sBAAsB,CAAC,CAAC;AAE1C,MAAM,iBAAiB,GAAG,KAAK,IAAI,EAAE;IACnC,MAAM,OAAO,GAAG,IAAI,cAAO,EAAE,CAAC;IAC9B,MAAM,OAAO,CAAC,IAAI,EAAE,CAAC;IAErB,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,eAAO,CAAC,EAAE;QACzC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;YAC5B,MAAM,OAAO,CAAC,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AC,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ const expect_1 = __importDefault(require("expect"));
|
|
|
11
11
|
const pump_1 = __importDefault(require("pump"));
|
|
12
12
|
const async_1 = require("@dxos/async");
|
|
13
13
|
const crypto_1 = require("@dxos/crypto");
|
|
14
|
-
const
|
|
14
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
15
15
|
const util_1 = require("@dxos/util");
|
|
16
16
|
const keys_1 = require("../keys");
|
|
17
17
|
const party_1 = require("../party");
|
|
@@ -36,7 +36,7 @@ const createGreeter = async (targetPartyKey) => {
|
|
|
36
36
|
}, async () => hints);
|
|
37
37
|
const peerId = (0, crypto_1.randomBytes)(32);
|
|
38
38
|
const plugin = new greeting_command_plugin_1.GreetingCommandPlugin(peerId, greeter.createMessageHandler());
|
|
39
|
-
const protocol = new
|
|
39
|
+
const protocol = new mesh_protocol_1.Protocol({
|
|
40
40
|
streamOptions: {
|
|
41
41
|
live: true
|
|
42
42
|
},
|
|
@@ -63,7 +63,7 @@ const createInvitee = async (rendezvousKey, invitationId) => {
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
|
-
const protocol = new
|
|
66
|
+
const protocol = new mesh_protocol_1.Protocol({
|
|
67
67
|
streamOptions: {
|
|
68
68
|
live: true
|
|
69
69
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeter-plugin.test.js","sourceRoot":"","sources":["../../../src/greet/greeter-plugin.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,kDAA0B;AAC1B,oDAA4B;AAC5B,gDAAwB;AAExB,uCAAsC;AACtC,yCAAkF;AAClF,
|
|
1
|
+
{"version":3,"file":"greeter-plugin.test.js","sourceRoot":"","sources":["../../../src/greet/greeter-plugin.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,kDAA0B;AAC1B,oDAA4B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EAC3B,QAAQ,EACR,WAAW,EACX,CAAC,WAAW,CAAC,EACb,KAAK,CAAC;aACT;SACF,CAAC;QAEF,4BAA4B;QAC5B,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACnE,IAAA,gBAAM,EAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAE9C,qHAAqH;QACrH,MAAM,OAAO,GAAG,MAAM,YAAY,CAAC;QACnC,IAAA,gBAAM,EAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC/B,IAAA,gBAAM,EAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;KACrF;IAED,MAAM,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE;QAC/B,UAAU,EAAE,gCAAgC;QAC5C,OAAO,EAAE,eAAO,CAAC,IAAI,CAAC,MAAM;QAC5B,MAAM,EAAE,MAAM,cAAc,EAAE;QAC9B,MAAM,EAAE,EAAE;KACX,EACD,MAAM,CAAC,CAAC;AACV,CAAC,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ exports.Greeter = void 0;
|
|
|
10
10
|
const assert_1 = __importDefault(require("assert"));
|
|
11
11
|
const debug_1 = __importDefault(require("debug"));
|
|
12
12
|
const crypto_1 = require("@dxos/crypto");
|
|
13
|
-
const
|
|
13
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
14
14
|
const util_1 = require("@dxos/util");
|
|
15
15
|
const keys_1 = require("../keys");
|
|
16
16
|
const party_1 = require("../party");
|
|
@@ -54,7 +54,7 @@ class Greeter {
|
|
|
54
54
|
*/
|
|
55
55
|
createInvitation(partyKey, secretValidator, secretProvider, onFinish, expiration) {
|
|
56
56
|
if (!this._partyKey.equals(partyKey)) {
|
|
57
|
-
throw new
|
|
57
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_PARTY, `Invalid partyKey: ${partyKey}`);
|
|
58
58
|
}
|
|
59
59
|
const invitation = new invitation_1.Invitation(partyKey, secretValidator, secretProvider, onFinish, expiration);
|
|
60
60
|
this._invitations.set(invitation.id.toString('hex'), invitation);
|
|
@@ -91,7 +91,7 @@ class Greeter {
|
|
|
91
91
|
(0, assert_1.default)(secret, 'Secret is missing.');
|
|
92
92
|
const invitation = await this._getInvitation(invitationId, Buffer.isBuffer(secret) ? secret : Buffer.from(secret));
|
|
93
93
|
if (!invitation) {
|
|
94
|
-
throw new
|
|
94
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_INVITATION, 'Invalid invitation');
|
|
95
95
|
}
|
|
96
96
|
switch (command) {
|
|
97
97
|
case proto_1.Command.Type.HANDSHAKE: {
|
|
@@ -105,7 +105,7 @@ class Greeter {
|
|
|
105
105
|
return this._handleFinish(invitation);
|
|
106
106
|
}
|
|
107
107
|
default:
|
|
108
|
-
throw new
|
|
108
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_COMMAND, `Invalid command: ${command}`);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
@@ -118,17 +118,17 @@ class Greeter {
|
|
|
118
118
|
async _getInvitation(invitationId, secret) {
|
|
119
119
|
const invitation = this._invitations.get(invitationId.toString('hex'));
|
|
120
120
|
if (!invitation) {
|
|
121
|
-
throw new
|
|
121
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_INVITATION, `${invitationId} not found`);
|
|
122
122
|
}
|
|
123
123
|
if (!invitation.live) {
|
|
124
|
-
throw new
|
|
124
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_STATE, `${invitationId} dead`);
|
|
125
125
|
}
|
|
126
126
|
if (!invitation.began) {
|
|
127
|
-
throw new
|
|
127
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_STATE, `${invitationId} not begun`);
|
|
128
128
|
}
|
|
129
129
|
const valid = await invitation.validate(secret);
|
|
130
130
|
if (!valid) {
|
|
131
|
-
throw new
|
|
131
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_INVITATION, `${invitationId} invalid`);
|
|
132
132
|
}
|
|
133
133
|
log('Auth valid for:', invitationId);
|
|
134
134
|
return invitation;
|
|
@@ -145,7 +145,7 @@ class Greeter {
|
|
|
145
145
|
async _handleBegin(invitationId) {
|
|
146
146
|
const invitation = this._invitations.get(invitationId.toString('hex'));
|
|
147
147
|
if (!invitation || !invitation.live || invitation.began || invitation.secret) {
|
|
148
|
-
throw new
|
|
148
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_STATE, 'Invalid invitation or out-of-order command sequence.');
|
|
149
149
|
}
|
|
150
150
|
/* Mark it as having been presented and do any actions required
|
|
151
151
|
* by specific Invitation type such as generate or gather the secret info.
|
|
@@ -167,7 +167,7 @@ class Greeter {
|
|
|
167
167
|
}
|
|
168
168
|
async _handleHandshake(invitation) {
|
|
169
169
|
if (!invitation.began || invitation.handshook) {
|
|
170
|
-
throw new
|
|
170
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_STATE, 'Out-of-order command sequence.');
|
|
171
171
|
}
|
|
172
172
|
await invitation.handshake();
|
|
173
173
|
return {
|
|
@@ -178,24 +178,24 @@ class Greeter {
|
|
|
178
178
|
}
|
|
179
179
|
async _handleNotarize(invitation, params) {
|
|
180
180
|
if (!invitation.handshook || invitation.notarized) {
|
|
181
|
-
throw new
|
|
181
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_STATE, 'Out-of-order command sequence.');
|
|
182
182
|
}
|
|
183
183
|
for await (const message of params) {
|
|
184
184
|
// Every message needs to have our nonce inside it.
|
|
185
185
|
if (!(0, util_1.arraysEqual)(message.payload.signed.nonce, invitation.nonce)) {
|
|
186
|
-
throw new
|
|
186
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_NONCE, `Invalid nonce: ${message.payload.signed.nonce.toString('hex')}`);
|
|
187
187
|
}
|
|
188
188
|
// Only FEED_ADMIT and KEY_ADMIT messages are valid.
|
|
189
189
|
const messageType = (0, party_1.getPartyCredentialMessageType)(message);
|
|
190
190
|
if (messageType !== proto_1.PartyCredential.Type.KEY_ADMIT && messageType !== proto_1.PartyCredential.Type.FEED_ADMIT) {
|
|
191
|
-
throw new
|
|
191
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_MSG_TYPE, `Invalid type: ${messageType}`);
|
|
192
192
|
}
|
|
193
193
|
/* The signature needs to check out, but we cannot check for an already trusted key, since these messages
|
|
194
194
|
* will all be self-signed.
|
|
195
195
|
*/
|
|
196
196
|
const verified = keys_1.Keyring.validateSignatures(message.payload);
|
|
197
197
|
if (!verified) {
|
|
198
|
-
throw new
|
|
198
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_SIGNATURE, 'Invalid signature');
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
// TODO(dboreham): Add useful data here (peer id, key?)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeter.js","sourceRoot":"","sources":["../../../src/greet/greeter.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAE1B,yCAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"greeter.js","sourceRoot":"","sources":["../../../src/greet/greeter.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAE1B,yCAAwD;AACxD,uDAAoE;AACpE,qCAAyC;AAEzC,kCAAkC;AAClC,oCAAyD;AACzD,oCAAsE;AAEtE,+CAQuB;AACvB,uEAAkE;AAClE,6CAA+F;AAE/F,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,kBAAkB,CAAC,CAAC;AAKtC;;GAEG;AACH,MAAa,OAAO;IAMlB;;;;;;OAMG;IACH,YAAa,QAAwB,EAAE,WAAyB,EAAE,YAA2B;QAT7F,iBAAY,GAAG,IAAI,GAAG,EAAsB,CAAC;QAU3C,IAAI,QAAQ,IAAI,WAAW,IAAI,YAAY,EAAE;YAC3C,IAAA,gBAAM,EAAC,QAAQ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,KAAK,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAE/C,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC;QAC5B,OAAO;YACL,UAAU,EAAE,yCAAyC;YACrD,MAAM;YACN,KAAK;SACN,CAAC;IACJ,CAAC;CACF;AAxOD,0BAwOC"}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
// DXOS testing browser.
|
|
10
10
|
const expect_1 = __importDefault(require("expect"));
|
|
11
11
|
const crypto_1 = require("@dxos/crypto");
|
|
12
|
-
const
|
|
12
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
13
13
|
const util_1 = require("@dxos/util");
|
|
14
14
|
const keys_1 = require("../keys");
|
|
15
15
|
const party_1 = require("../party");
|
|
@@ -123,7 +123,7 @@ it('Bad invitation secret', async () => {
|
|
|
123
123
|
secret: Buffer.from('wrong')
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
|
-
await (0, expect_1.default)(() => greeter.handleMessage(message.payload, invitation.id, (0, crypto_1.randomBytes)())).rejects.toThrow(
|
|
126
|
+
await (0, expect_1.default)(() => greeter.handleMessage(message.payload, invitation.id, (0, crypto_1.randomBytes)())).rejects.toThrow(mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED);
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
it('Attempt to re-use invitation', async () => {
|
|
@@ -167,7 +167,7 @@ it('Attempt to re-use invitation', async () => {
|
|
|
167
167
|
};
|
|
168
168
|
await greeter.handleMessage(message.payload, invitation.id, (0, crypto_1.randomBytes)());
|
|
169
169
|
// Now it is all used up, try submitting another command. It should fail.
|
|
170
|
-
await (0, expect_1.default)(() => greeter.handleMessage(message.payload, invitation.id, (0, crypto_1.randomBytes)())).rejects.toThrow(
|
|
170
|
+
await (0, expect_1.default)(() => greeter.handleMessage(message.payload, invitation.id, (0, crypto_1.randomBytes)())).rejects.toThrow(mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED);
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
it('Wrong partyKey', async () => {
|
|
@@ -178,7 +178,7 @@ it('Wrong partyKey', async () => {
|
|
|
178
178
|
greeter.createInvitation(wrongParty, () => {
|
|
179
179
|
}, () => {
|
|
180
180
|
});
|
|
181
|
-
}).toThrow(
|
|
181
|
+
}).toThrow(mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED);
|
|
182
182
|
});
|
|
183
183
|
it('Create Invitation message', async () => {
|
|
184
184
|
const keyring = await createKeyring();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeter.test.js","sourceRoot":"","sources":["../../../src/greet/greeter.test.js"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,wBAAwB;AAExB,oDAA4B;AAE5B,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"greeter.test.js","sourceRoot":"","sources":["../../../src/greet/greeter.test.js"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,wBAAwB;AAExB,oDAA4B;AAE5B,yCAA2C;AAC3C,uDAAoE;AACpE,qCAAyC;AAEzC,kCAAyE;AACzE,oCAA+E;AAC/E,oCAA8C;AAC9C,2CAAsC;AACtC,uCAAoC;AAEpC,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;IAC/B,MAAM,OAAO,GAAG,IAAI,cAAO,EAAE,CAAC;IAC9B,MAAM,OAAO,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,eAAO,CAAC,KAAK,EAAE,CAAC,CAAC;IACvD,MAAM,OAAO,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,eAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC1D,MAAM,OAAO,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,eAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IACxD,OAAO,OAAO,CA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AO,CAAC,IAAI,CAAC,KAAK;YAC3B,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;YAC1B,MAAM,EAAE;gBACN;oBACE,UAAU,EAAE,4BAA4B;oBACxC,KAAK;iBACN;aACF;SACF;KACF,CAAC,CAAC;IAEH,IAAA,gBAAM,EAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AACzD,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import { WithTypeUrl } from '@dxos/codec-protobuf';
|
|
4
|
-
import { Extension, Protocol } from '@dxos/protocol';
|
|
4
|
+
import { Extension, Protocol } from '@dxos/mesh-protocol';
|
|
5
5
|
import { Command } from '../proto';
|
|
6
6
|
import { PeerId } from '../typedefs';
|
|
7
7
|
export declare type GreetingCommandMessageHandler = (message: any, remotePeerId: Buffer, peerId: Buffer) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeting-command-plugin.d.ts","sourceRoot":"","sources":["../../../src/greet/greeting-command-plugin.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAiC,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"greeting-command-plugin.d.ts","sourceRoot":"","sources":["../../../src/greet/greeting-command-plugin.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAiC,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGzF,OAAO,EAAS,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAOrC,oBAAY,6BAA6B,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAOjH;;;;;;;;;;;;;GAaG;AAEH,qBAAa,qBAAsB,SAAQ,YAAY;IACrD,OAAc,cAAc,SAA+B;IAE3D,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,EAAE,6BAA6B,CAAC;IACnD,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBAEZ,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,6BAA6B;IAgB9E,IAAI,MAAM,WAET;IAED,IAAI,KAAK,UAER;IAED;;;OAGG;IACH,eAAe,CAAE,OAAO,SAAkB;IAO1C;;;;;OAKG;IACG,IAAI,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,UAAQ;IAMzE;;;;;;;;;OASG;IACG,KAAK,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO;IA2C9D;;;;;;OAMG;IACG,QAAQ,CAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG;IAoBlC,QAAQ,CAAE,QAAQ,EAAE,QAAQ;IAa5B,WAAW,CAAE,QAAQ,EAAE,QAAQ;CAatC"}
|
|
@@ -15,7 +15,7 @@ const assert_1 = __importDefault(require("assert"));
|
|
|
15
15
|
const debug_1 = __importDefault(require("debug"));
|
|
16
16
|
const events_1 = require("events");
|
|
17
17
|
const crypto_1 = require("@dxos/crypto");
|
|
18
|
-
const
|
|
18
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
19
19
|
const party_1 = require("../party");
|
|
20
20
|
const proto_1 = require("../proto");
|
|
21
21
|
const error_codes_1 = require("./error-codes");
|
|
@@ -66,7 +66,7 @@ class GreetingCommandPlugin extends events_1.EventEmitter {
|
|
|
66
66
|
* @return {Extension}
|
|
67
67
|
*/
|
|
68
68
|
createExtension(timeout = DEFAULT_TIMEOUT) {
|
|
69
|
-
return new
|
|
69
|
+
return new mesh_protocol_1.Extension(GreetingCommandPlugin.EXTENSION_NAME, { binary: true, timeout })
|
|
70
70
|
.setMessageHandler(this._receive.bind(this))
|
|
71
71
|
.setHandshakeHandler(this._addPeer.bind(this))
|
|
72
72
|
.setCloseHandler(this._removePeer.bind(this));
|
|
@@ -139,7 +139,7 @@ class GreetingCommandPlugin extends events_1.EventEmitter {
|
|
|
139
139
|
*/
|
|
140
140
|
async _receive(protocol, data) {
|
|
141
141
|
if (!this._peerMessageHandler) {
|
|
142
|
-
throw new
|
|
142
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_GENERAL, 'Missing message handler.');
|
|
143
143
|
}
|
|
144
144
|
const peerId = getPeerId(protocol);
|
|
145
145
|
(0, assert_1.default)(Buffer.isBuffer(peerId), 'peerId missing');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeting-command-plugin.js","sourceRoot":"","sources":["../../../src/greet/greeting-command-plugin.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,sCAAsC;AACtC;;GAEG;AAEH,oDAA4B;AAC5B,kDAA0B;AAC1B,mCAAsC;AAGtC,yCAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"greeting-command-plugin.js","sourceRoot":"","sources":["../../../src/greet/greeting-command-plugin.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,sCAAsC;AACtC;;GAEG;AAEH,oDAA4B;AAC5B,kDAA0B;AAC1B,mCAAsC;AAGtC,yCAAwD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AAC;IAED,KAAK,CAAC,WAAW,CAAE,QAAkB;QACnC,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;QAEnC,IAAI,MAAM,EAAE;YACV,IAAA,gBAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,wBAAwB,CAAC,CAAC;YAC1D,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YACzC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAC9B,GAAG,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;YAC9B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;SAClC;aAAM;YACL,GAAG,CAAC,6CAA6C,EAAE,QAAQ,CAAC,CAAC;SAC9D;IACH,CAAC;;AA/JH,sDAgKC;AA/Je,oCAAc,GAAG,2BAA2B,CAAC"}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.PartyInvitationClaimHandler = void 0;
|
|
10
10
|
const assert_1 = __importDefault(require("assert"));
|
|
11
11
|
const debug_1 = __importDefault(require("debug"));
|
|
12
|
-
const
|
|
12
|
+
const mesh_protocol_1 = require("@dxos/mesh-protocol");
|
|
13
13
|
const proto_1 = require("../proto");
|
|
14
14
|
const error_codes_1 = require("./error-codes");
|
|
15
15
|
const greeting_command_plugin_1 = require("./greeting-command-plugin");
|
|
@@ -38,11 +38,11 @@ class PartyInvitationClaimHandler {
|
|
|
38
38
|
(0, assert_1.default)(peerId);
|
|
39
39
|
const { command, params = [] } = message;
|
|
40
40
|
if (command !== proto_1.Command.Type.CLAIM || params.length !== 1) {
|
|
41
|
-
throw new
|
|
41
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_COMMAND, 'Invalid command');
|
|
42
42
|
}
|
|
43
43
|
const { value: invitationID } = params[0];
|
|
44
44
|
if (!Buffer.isBuffer(invitationID)) {
|
|
45
|
-
throw new
|
|
45
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_INVALID_INVITATION, 'Invalid invitation');
|
|
46
46
|
}
|
|
47
47
|
try {
|
|
48
48
|
const invitationDescriptor = await this._greetingHandler(invitationID, remotePeerId, peerId);
|
|
@@ -51,7 +51,7 @@ class PartyInvitationClaimHandler {
|
|
|
51
51
|
}
|
|
52
52
|
catch (err) {
|
|
53
53
|
log(err);
|
|
54
|
-
throw new
|
|
54
|
+
throw new mesh_protocol_1.ERR_EXTENSION_RESPONSE_FAILED(greeting_command_plugin_1.GreetingCommandPlugin.EXTENSION_NAME, error_codes_1.ERR_GREET_GENERAL, 'Error handing off Invitation for Greeting.');
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"party-invitation-claim-handler.js","sourceRoot":"","sources":["../../../src/greet/party-invitation-claim-handler.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAE1B,
|
|
1
|
+
{"version":3,"file":"party-invitation-claim-handler.js","sourceRoot":"","sources":["../../../src/greet/party-invitation-claim-handler.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAE1B,uDAAoE;AAEpE,oCAAmC;AACnC,+CAA2G;AAC3G,uEAAkE;AAClE,yDAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wBAAwB,CAAC,CAAC;AAI5C,MAAa,2BAA2B;IAGtC;;;OAGG;IACH,YAAa,eAA+C;QAC1D,IAAA,gBAAM,EAAC,eAA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AAO,GAAQ,EAAE;YACjB,GAAG,CAAC,GAAG,CAAC,CAAC;YACT,MAAM,IAAI,6CAA6B,CAAC,+CAAqB,CAAC,cAAc,EAAE,+BAAiB,EAAE,4CAA4C,CAAC,CAAC;SAChJ;IACH,CAAC;CACF;AA/CD,kEA+CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../common/crypto/dist/src/human-hash.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/index.d.ts","../../../common/crypto/dist/src/public-key.d.ts","../../../common/crypto/dist/src/keys.d.ts","../../../common/crypto/dist/src/seedphrase.d.ts","../../../common/crypto/dist/src/validator.d.ts","../../../common/crypto/dist/src/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/common.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/array.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/collection.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/date.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/function.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/lang.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/math.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/number.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/object.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/seq.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/string.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash.matches@4.6.6/node_modules/@types/lodash.matches/index.d.ts","../src/keys/filter.ts","../../../../common/temp/node_modules/.pnpm/@types+abstract-leveldown@5.0.2/node_modules/@types/abstract-leveldown/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+memdown@3.0.0/node_modules/@types/memdown/index.d.ts","../../../common/async/dist/src/async.d.ts","../../../common/async/dist/src/event.d.ts","../../../common/async/dist/src/events.d.ts","../../../common/async/dist/src/latch.d.ts","../../../common/async/dist/src/lock.d.ts","../../../common/async/dist/src/sink.d.ts","../../../common/async/dist/src/trigger.d.ts","../../../common/async/dist/src/types.d.ts","../../../common/async/dist/src/callback.d.ts","../../../common/async/dist/src/index.d.ts","../../../common/util/dist/src/complex.d.ts","../../../common/util/dist/src/json.d.ts","../../../common/util/dist/src/map.d.ts","../../../common/util/dist/src/range.d.ts","../../../common/util/dist/src/types.d.ts","../../../common/util/dist/src/randomInt.d.ts","../../../common/util/dist/src/subscription.d.ts","../../../common/util/dist/src/uint8array.d.ts","../../../common/util/dist/src/typeguards.d.ts","../../../common/util/dist/src/isNotNullOrUndefined.d.ts","../../../common/util/dist/src/index.d.ts","../src/party/events.ts","../../../../common/temp/node_modules/.pnpm/protobufjs@6.11.2/node_modules/protobufjs/index.d.ts","../../../common/codec-protobuf/dist/src/interface.d.ts","../../../common/codec-protobuf/dist/src/mapping.d.ts","../../../common/codec-protobuf/dist/src/codec.d.ts","../../../common/codec-protobuf/dist/src/stream.d.ts","../../../common/codec-protobuf/dist/src/service.d.ts","../../../common/codec-protobuf/dist/src/schema.d.ts","../../../common/codec-protobuf/dist/src/common.d.ts","../../../common/codec-protobuf/dist/src/substitutions/any.d.ts","../../../common/codec-protobuf/dist/src/substitutions/timestamp.d.ts","../../../common/codec-protobuf/dist/src/substitutions/index.d.ts","../../../common/codec-protobuf/dist/src/buffer-patch.d.ts","../../../common/codec-protobuf/dist/src/index.d.ts","../src/proto/substitutions.ts","../src/proto/gen/google/protobuf.ts","../src/proto/gen/dxos/halo/keys.ts","../src/proto/gen/dxos/credentials/party.ts","../src/proto/gen/dxos/credentials/identity.ts","../src/proto/gen/dxos/credentials/greet.ts","../src/proto/gen/dxos/credentials/auth.ts","../src/proto/gen/dxos/credentials.ts","../src/proto/gen/index.ts","../src/proto/any.ts","../src/proto/codec.ts","../../../../common/temp/node_modules/.pnpm/moment@2.29.1/node_modules/moment/ts3.1-typings/moment.d.ts","../src/proto/datetime.ts","../src/proto/index.ts","../src/party/party-credential.ts","../../../../common/temp/node_modules/.pnpm/@types+ms@0.7.31/node_modules/@types/ms/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+debug@4.1.7/node_modules/@types/debug/index.d.ts","../src/identity/events.ts","../src/identity/identity-message.ts","../src/identity/identity-message-processor.ts","../src/identity/index.ts","../src/party/party-state.ts","../src/party/party-invitation-manager.ts","../src/party/index.ts","../src/typedefs.ts","../../../../common/temp/node_modules/.pnpm/@types+json-stable-stringify@1.0.33/node_modules/@types/json-stable-stringify/index.d.ts","../src/keys/keytype.ts","../src/keys/keyring-helpers.ts","../../../../common/temp/node_modules/.pnpm/@types+level-codec@9.0.1/node_modules/@types/level-codec/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+encoding-down@5.0.0/node_modules/@types/encoding-down/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+level-errors@3.0.0/node_modules/@types/level-errors/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+levelup@4.3.3/node_modules/@types/levelup/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+stream-to-array@2.3.0/node_modules/@types/stream-to-array/index.d.ts","../src/keys/keystore.ts","../src/keys/signer.ts","../../../../common/temp/node_modules/.pnpm/performance-now@2.1.0/node_modules/performance-now/src/index.d.ts","../src/keys/simple-metrics.ts","../src/keys/keyring.ts","../src/keys/index.ts","../src/auth/auth-message.ts","../../../mesh/protocol/dist/src/extension.d.ts","../../../mesh/protocol/dist/src/protocol.d.ts","../../../mesh/protocol/dist/src/errors.d.ts","../../../mesh/protocol/dist/src/index.d.ts","../src/auth/authenticator.ts","../src/auth/error-codes.ts","../src/auth/auth-plugin.ts","../src/auth/index.ts","../src/greet/error-codes.ts","../src/greet/greeting-command-plugin.ts","../src/greet/invitation.ts","../src/greet/greeter.ts","../src/greet/greeting-message.ts","../src/greet/party-invitation-claim-handler.ts","../src/greet/passcode.ts","../src/greet/index.ts","../src/index.ts","../src/shims.d.ts","../../../../common/temp/node_modules/.pnpm/@types+end-of-stream@1.4.1/node_modules/@types/end-of-stream/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-lib-coverage@2.0.3/node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Global.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Circus.d.ts","../../../../common/temp/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-lib-report@3.0.0/node_modules/@types/istanbul-lib-report/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-reports@3.0.1/node_modules/@types/istanbul-reports/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+yargs-parser@20.2.1/node_modules/@types/yargs-parser/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+yargs@16.0.4/node_modules/@types/yargs/index.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Config.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/TestResult.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Transform.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@27.4.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@27.4.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-matcher-utils@27.4.2/node_modules/jest-matcher-utils/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/jestMatchersObject.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pify@3.0.2/node_modules/@types/pify/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pump@1.1.1/node_modules/@types/pump/index.d.ts","../../../../common/temp/node_modules/.pnpm/wait-for-expect@3.0.2/node_modules/wait-for-expect/lib/index.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IFile.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IStorage.d.ts","../../../common/random-access-multi-storage/dist/src/node.d.ts","../../../common/random-access-multi-storage/dist/src/index.d.ts","../../../echo/feed-store/dist/src/hypercore-types.d.ts","../../../echo/feed-store/dist/src/types.d.ts","../../../echo/feed-store/dist/src/feed-descriptor.d.ts","../../../echo/feed-store/dist/src/feed-store.d.ts","../../../echo/feed-store/dist/src/create-batch-stream.d.ts","../../../echo/feed-store/dist/src/stream.d.ts","../../../echo/feed-store/dist/src/index.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/proto/gen/google/protobuf.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/proto/gen/dxos/protocol/replicator.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/replicator.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/index.d.ts","../src/auth/auth-plugin.test.ts","../src/auth/auth.test.js","../src/greet/constants.ts","../src/greet/greeter-plugin.test.ts","../src/greet/greeter.test.js","../src/identity/seedphrase.test.ts","../src/keys/filter.test.js","../src/keys/keyring.test.ts","../src/keys/keystore.test.js","../src/party/party-invitations.test.js","../../../common/debug/dist/src/assert.d.ts","../../../common/debug/dist/src/console.d.ts","../../../common/debug/dist/src/error-handler.d.ts","../../../common/debug/dist/src/error-stream.d.ts","../../../common/debug/dist/src/errors/dxos-error.d.ts","../../../common/debug/dist/src/errors/errors.d.ts","../../../common/debug/dist/src/errors/index.d.ts","../../../common/debug/dist/src/fail.d.ts","../../../common/debug/dist/src/log-method.d.ts","../../../common/debug/dist/src/logging.d.ts","../../../common/debug/dist/src/raise.d.ts","../../../common/debug/dist/src/stack-trace.d.ts","../../../common/debug/dist/src/strings.d.ts","../../../common/debug/dist/src/throw.d.ts","../../../common/debug/dist/src/throw-unhandled-rejection.d.ts","../../../common/debug/dist/src/timeout-warning.d.ts","../../../common/debug/dist/src/index.d.ts","../src/party/party-state.test.js","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@26.0.24/node_modules/@types/jest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+mocha@8.2.3/node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"a42919e6cb602e7e8ef516c6dd7966994340d429a43f95f88ef92482057b52d4","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd","fccc3ab2eb7278d4597fd8b2ae645ace954f1cb9d523acef67d876ed2b66e728","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"64e2803203b14d7f104f570f2152fde13abb6edc17b2ddb33d81ad86cf43d494","2c8d9e3331aec52d9a6d4040352c00282c3abaf48053ed0944528a4845c9caa3","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","64576aba4ff801004122056ccd049f0597aa471dcfd7670a6a0b877ee8dd97c0","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"cc829932ffaf5c49092f878bec18af1fa5d8591b45a45e2b7f757f793cb3b4ed","47db10fdc4e76c4f4598cf7c91ba6bfde6cf6d8082c51860fe751643bf359739","05d7d95e24bc2897bf20ce041c3dc3cca814e07148a93999145b1a0ad491094c","d1080e49778c0b2ce656042ebfa43f89dffb96ac00f86a34762188a21857ffd4","0ce99c641ea20b0c0c09d093fc28f18f5ab31dc80033707a1ac3154399de2559","f0c33a0b325d3499cc9aded7d32886f998c9a27b465097c6cc136944d0aafdaa","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","03c91e8833eef54dc44db99d7deb469b5e3cec82f23054b4286a2380e0e00996","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","9fef9de633d01cb7f01f68195626a890ededd25cf96a1e785617d08c8668230d","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"bf89ceb26132596b859cd4d129ce3f447134b444dec87966ba65cd7e8e9e0cb0","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","a11d4ba43bf0825d7285d54dec6cb951685cd458a4de3c5c1800f7cbf7799009","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","82e1723b20fa0b15a7da0d1a03fec88348f82f640f7a2f308d6c0fac780cfc7c","e0202c3e09775b86b902f21623e55896cea98750efbdf0691ca7473af06fe551","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","a2666b43d889b4882ac6ede1c48128bac351886854e94f832b20d3730e5062c5","7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"2a7d39ea70e483d3ebcde44031b6552940f295349bee8d486e8bdf6380162302","3c8c1a880d61c6ad2d46d9f63caaa17d94fceee883d5defa5446d083ca37315a","ecfc4878b54ea3d4ee526c371e41f6308abc1f0b80691cc9b51fdfc462ed5ca0","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","031401b9afec14ada845cfd7f16642df9b5ef001c74a6e0fd1f646654406372f","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"bca2ba91171eccd67a30b66c8b6c49b27116370e0823d0a525357642844cdc6e","ab832cf1123fda8c3b8ff0c415b38e26b5b00918375b45c11fc9ebfbc8cd5eab","4148f3fbffe29fe09579f47330f9430c082a06e35fb9050c7110ba4b691f2425","cea476c47305b446b1e455bb8dfc3377df5c7e36d95438beda06e1129995de74","c87085285d6c052f422ab0713098bc72c9f276ccb48337b471f277ab24e134e9","1610f2eadec0c6fc891f89330502bb099b539771a13746807e5d3b40180ec901","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","1d94be71c02681f0640fa6bb08f10378d50b0e38e521ba4624b159d9cb7a4e8c","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","9d347130d3dade8c804698d3f1ed7fa35799098480c0015ae647e5d38da4d424","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","51bf8e51bd28a124f52aea4628556566eb8b1b67cf80c6769eb1269e88a3fd54","e2302ae00a4f260f699ae4b6896b17045e03b9ca10088a99f1163abb0a2b40d3","a20b5a48195999025be24ec88c203ffb5ee22cf76744cf6d5d30ef46fb23d765","90f00153202471120c8b2cd1fc2b19bd7727bdcb8e1c66abe9b67ac87e8474ba","725acc462432407d76398d07c284a80f68aeaab1a01a65eb4805fb4595e7e96b","33709a702cc8e378e68d26d37fa20e576e4d046bc4a6142ba3a870947536208c","a779b16e12d90ada85a0ff039d75a8116464e7d0c4319e677efb409cf6e24720","5e1ebf27dbc316b57c78663bf7f385e380f959ce48e5c6a55fa4795acc41ecc3","94142727c7c6030d654250986c7a1f4e52d9da648359ff54e57ff9719509cd6a","b518da82db039cf3667d49bb7d9a601d93c933a632f4cd21cc3f4b140263f97b","1a290dd6e2f6b4ab13ae5340b81792e46a8902b416b319491ba39287bf727cbd","bae5e91601fe102101a59a6d3f74facb32366932ae5334c848c1b962b92970de","1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da","0b181bbecdeb6becd582512ef095df3010f35da151c6f9b1f4672f37a564138f","216e1d84427fb19177419447edb7aea35482652ff24f4e3f157fca2138c51a0a","5a2c04c696b6f6b15d46a270979cacfa37faf5c0efdf7042f2d2944a917adf07","68c9339d07891f4573b8d91fb186362ae23c7bbc96e7175b5d34368fccf555f7","b835eabf1f7bd5a448c05645ad2b5d91658964486e7e7b597a77277b1cee1f4d","51324e9c9ef658b8516809bc521eadbfcb18ffecfed33bb69ce46d6d5f2c3366","0724b631bcad7be2efbbfee090de5ac9fb49a5180f8c3c106b5ad277764b700b","2e33b620891123f1bf70f4463f52b0d08b94a1a31c4b392f6bbfa882b8855970","773d53f5104b0adebf2b02cd35f567e74d148f003cc5de1b9f9dd58e4247336f","24c477490b4bde0038a611748d56d3c20cecd2ee4f35b8f03e43a98e37e0a668","9bcb66259e0252bafc327cdf187ebe67b3fd74c4440daf8b539ef88a4aebc800","b3c5ee5b6d1154b933eed766fa093760259b9001440ab8d4ce4f888214d969d6","d622f34600e57c6b7e62375e25240e5b25128b950301879359d49f888cc153d7","6c2a7cf8214875b64518b8a53ed51a195533cd08aa1e9585ee51c09ea4c95dff","e5c315a39501f74627dcd1ff01096f444a93e3f5fad2b2e843c603ab96e98a79","48df7ded79384d4ce3c791d998d3a7061c33ad093be39b98002f61e7c4130e42","fb4c7ba557a2f294528775fa50e7896c659e2a39d8b3804c432a7811d0a14551","6a9b37068388cf60d166c27d3f3635c44d33d24f7fd1a7c962a4e039bfb3b368","09ea6755daa3da396f784bfe930e45e0556b317990e60c098b797e69e57b04fa","d3cdd40e211e7cf5709684a377f67282d5911d3490d19eac95ca89c6779366a2","bb94389b383ab3652fdce86c334c129e47964634f7bbbbbbd9c42a5d49cdb4bb","b12d72e6ea6f3d3d1743918b777cddb6b504adcaee9e932f742832bdc4ddee3f","e62beca6bf101bce09a22e159087c4a345c5c1044b09da265db2ec1b216036bc","f97edc4d3b4dd0b32766e9633086497565c37657fb591cc84a35864db4bc2fc5","9ac2dd1f72713d108a0a808373f9e9f3fbbc46b896155e28f1d51eecc59f6565","28e0e383812e1244b9c5b61c27937e053552661fa5e10f8b214f5655a970a172","682efc8e79c23ca522a156087109f469fd1d21adc26d435a6f7208ce9912f27b","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","6de84f522ca2e01ff7147dcb7fdd7060e6712bbe56c1a9144333ce66e9f02098","8b859a69d3cc377204ea57410325a96aadfb91d8a230b2f39b1d0a1777b3108c","2116d2fdad13aeead0a6fc01214244ccddfa03aa782b6459c01cff54f320e213","e993c17b6288e8b3da3942dccdc798fc13cc4451bd41501ea8b0176d2299f19a","c07d069a661b06f7e8b03af4e8cf2938725325ec3ecbe393dd921eced115f477","cba4710046c8ca89488ca685176bb047d775a879edc16cff35418cd2786fc8ae","8fc1672d3d897f82b8cce4aa5fb0fdded34836858619c03b2624d111b970a777","36769f63ed0375488202ce623c8fb98eb983127a575bb56b85a47111efaa8428","626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4","e5d392fa681cff2ee5d9f0f0a0ed9750abe9e8cbc19f0e8d21105a5ca2042bf6","8a0303c84ac468f5d47e7144352c9e25f53c7506633892710c96616957990c8b","487efbdd4279fc5fc28c44d5ed9ee8fa657b3cd6ee28577ca98fc8222aade7a8","f00c5e026830a9e77de992cdb628b3562ee08ad907227c78cdbdff1af2b54ac2","49afdedca00d22b171678e3cf9c47b7e0c1846fd4905a01d68f0145eb90add94","f76664b98868fc7c62a83e62cecb8db7c3a2d44bc1d9250b368bd799ec370d47","9f18d174aa4cd0688a9651ab4915a2fc36003d6b00d949b704bf289429f6f269","9116bbef27c1aa2c84ac226d82330419a35d45125429cf0c7920c1c2a678d797","fcd399a9f9109927331597819c397e40a79e63f4bad4433ddbe929d0fee089df","92266c031793188c7a13cac46592a1eadcac6dafe17fea92f31f75d8d28c81fa","c3dbaff015cda684fef654c14c70f658d319ab8e45fe23c1efb1b4f5f2f88bfd","626b18f12f03ae43877510d7b654d09224f830f49a2d28ebd26c3a646282d796","b76dfd949ed19160818f7163d218157d179d62c611a7c021df4fba0553062f8f","2b1e4e96389c718716e6170b1da59128d32019097bad7df611197726d60b3942","fd7d6542c78ada8ba78f89417176d68145dabae84727b9217fce2114060888bb","2362b5ba53abbe5576c3b81792907a3879701bbbef2883f7cf6624c83a37268a","18e9b1d85ef9167334b52058928a408c5074712d60ec73677e2c1d82971cf4f6","9f111b543341f21fe6a3825651c0ca3495c7fcac7756cbf5922993ca1766060b","359522c706a20af4804890d3e96c2ab0e7c14b3ea821b210138bc5a51a9e8398","0b88f2e9257813a3ea129990dd1b32880f9a0b483fa9fba1c7ab27cbdab365c7","cfc06528c98d63480930f5cdfd26f79bd6198ff6ac7d2d2f70989d85be3c02d7","7417f00428c3b39554e5daf135b56f65f8dd8523fc26ae619eaf5b3148d03672","0de050367125b99d0b02fb69d7c55636470b2661ebb7fdd5b2f3f20cd59c39dc","c075db45bb6135d3035f76457754c400d26eaf039b66b4d3e09f8e7e3d0e7d2c","ee164ad060ed96c2fb3ac85aebd68d65d10cc30cb696ac5d5d1bff9cae207f18","302a5766c5016f95f73da774386d086b55a6b02a2f7109159d98b8248e94942b","0b53fbabc0373b17aec21e8b9765135a23ccd4f4f5b8ea7a6cc24f5c3c26c86d","1493ca5eaec3a65dfd735d40db862248ffcaeb0131294b7f5d77a6d28755ce7d","fc503bdc1acdd99d571f32bcb5a1b5e1f0d2720c83dda871228f843df29ca202","f4d3e630b5135035a00b539efbd19014d92eccf268eb4ab14b2f6b0a21288c96","12a1dbed1303a6b498c7cfab2c482984f552aa5eb8614da34c223c66ec1c047e","1b3e45bc7a04959faab04971cbf3caeb743c960b70ec930758c5731f14b2120a","0c68ec1112f19739aa32b6f7244c1be707c6efdc3018a6262dca66adec6ac29d","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","b35c484129671a62dbffdd0716d787923ef43f2f93b7e55528f94cef7e131d74","95b6c669e7ed7c5358c03f8aa24986640f6125ee81bb99e70e9155974f7fd253","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438","f7dd7280ee4f0420865e6423fe199aeac63d1d66203a8b631077cdc15501ef1f","ef62b4aa372f77458d84c26614b44129f929e263c81b5cd1034f5828a5530412","8610558ae88a43ad794c4ab1da4f0e8e174e0357c88f6cbb21f523e67414e9a9","0b0feb9837c561c0a67b61024328045bb16bac6e4b10f7b0b217d3b8b43b0b12","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73","100db324c7664a9a2a4b76d7131fc69dfdf38d24542afc19825d05f401259fab","80b186d68c99a4cc9443cb3cab6eb9a2a136c65a9973ed403761961ca2cd94e6","00e95882237b1f291eb7ed34acf069003d2e6dc977c374f9798d7ad59b4aabbd","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","701597ff3f5c4cc2b67a12c1b5aa2703711be9b6da1c93be0b0188ae865aec21","095b817a5042af7140cc5c6a59d84fe731156193191b4ec39a37d23e526cc653","a9a709c0bfc23748ad2bb78cb1efceed410800b3b5a30ec72b6e2ee1abc065ef","106f53930d9468f7b1b99123b6439f30703727d7eea3d4763e3c92ca8a5c4396","c31c877dbcbeadafc390f966110476da63c11b6a4229e04dc634f13b88cf96f5","8b385d5fb8dd09036bede9d4044169e7a587a41cb35690486f15147f986e9363","79a7db8fb14b23b6e62a0a5384278438b9c2fe4e7eaa0a5f9b32aacaddee4bec","78b8a7c78a016a5c0d25d069486725542dd00de714a0707e6ba00655d06ba5f9","f60db18327504e39f42245b931aab5cf0bf66005108b1261bcfc41d2e45394b5","94d2099647a2fb7696308e5335b23d5a43b102ef3cd2ea993d6fd3a039d07664","998c58d75b97c4af2ae38310f7c5d3163740e092fd92025076d8970f2fed4b94","333842073ecc380ffea6306e8db1b27ef20eb261663cdeb32a1b46673fa41fd8","b21f5f6cdedacf419240be02ad6ed0e42807749ebf37bf36b838bd8f39fef52f","114c46e3c67d8c98d73854eca5ca7710a488e8e746e343b9e99f1463f6b3cde7","5d6e7598f20890f774880445cb5541d60bc188a51b45e7085fe15af3cee7ac1d","f2487b7e42cc134c88dc630049acc19e4053c5c43b784e4bbfe40d3956367ba1","08b9fa0304ffdc2100600088619ce2962cc70658ee73d2264e83280c4ca878b9","8f62c01579f4a05967f0c408f0026b0e6957a91deec31f350a9b4fa605d99dca","65ab92ef1cd39dea573972e6cbbe269a85ccb664fe51fcbb8860569d665ab48a","15900e4199c290eb5b23f1da47526723ba4cd815d04e4a732b89a552b8838ea9","0d7be3bb1e9ee93a72e0790c25093c854e56dd5f1117c48237e5693f33090168","fa541ae8711c0a9e435deaf6c6dc51c6c4c89abd8c5cdc28e5e1b6541bd3f1aa","63c5aa6088d218a1fe4c58d21354f4ced40a20ee5a7f2db6f3c7ddb77f1c68fb","8a4cfdd81c2c9243ecbdb2c0179296508843f96cd38f28a857e63e857a1c052a","cf5da7acfa0d098aa02391ab6874d470af5f111441bc1bcbeb78ad615e619a2a","00da96ce5ec236e55f1ab35b34e193c833f9bdaca0475959d0c28f5f119a3529","ba8a5f4b528ac885d356c99317ae9436a06f890cc434a658f784b265c1ef9353","85067fad16b8c96e54c5f3e51aceed5cecaae707fa71001fa3f0d1de2e5f2b24","e881c10a9375e1e7999f529d6a7e0f57fda7280fb232fb927c221df6546a9c86","49dada859a1e7a2ccfc38c4ee75ef4915983f033a751d0433c80b3932e4f75bc","408961bf1c33d835d9aa7f67892daf49830db17b892eab53a60b70a340e9a37a","217767768c03d9107fab244f0a1d41ee2fc9beea572b9b10d3bbfcda258fa471","4f1f99c145ff1ff5408e1cf043a4b47491e94fc1995d4db7915a5c5a46345d5f","a017d71a02e034534781e25b46b463a247f257f35927fdd22eb540648a218624","307608ba5cb4170e819ebda0ce4f2d18f102abead268a4bbcb42af67f876693a","a52dffe094fa29673bc950ed469299c1852d8cfcfa4d6cfb8a5b7d6e0ca55c3c","391b4ea9ef9bb44bb409b71f3f412cdced854a0851e903131a08b8aba4538109","f145064a05f34fcff1d3fd35a69249b90dbb393eb3c746da839d156f1ab2cd69","9e5f9b01148b742d5e7498fea6e98a177f5e4e3d796fc2a371fdded6e560fce8","0626cdb0f8eab865903c9f639e0ca3b2625baa11702720ffd7f92d270274dd39","03e17e31764c291d6c33e7bc77006b844db6c1eff8269479df60fa938b5a0651","58a2ca0c379c5761fd1cd6e1645cdab0325f5cf0a04cd43d5f551bb727750dcf","b7760db3c4335e90855d654892bdad4ab5c6741538a766ec3a9db8ad8c69d7ac","918542c297b47033b2e4691fdfd9d8ef7029ac618089bc8141fd76c9e1eead7d","a9e293e60119009fe3098c83242507708f3b1fea7b1572b4c5560293877d3d9e","40dd8dc0ca1758e482be09989bb4dfa63adae809802eec8f7b73df99aaf5000d","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[94,212],[214,216,218],[211],[212,213,219,220,221],[167],[115,180],[94],[215],[285,287],[60,94,115,182],[112],[100,102,103,104,105,106,107,108,109,110,111,112],[100,101,103,104,105,106,107,108,109,110,111,112],[101,102,103,104,105,106,107,108,109,110,111,112],[100,101,102,104,105,106,107,108,109,110,111,112],[100,101,102,103,105,106,107,108,109,110,111,112],[100,101,102,103,104,106,107,108,109,110,111,112],[100,101,102,103,104,105,107,108,109,110,111,112],[100,101,102,103,104,105,106,108,109,110,111,112],[100,101,102,103,104,105,106,107,109,110,111,112],[100,101,102,103,104,105,106,107,108,110,111,112],[100,101,102,103,104,105,106,107,108,109,111,112],[100,101,102,103,104,105,106,107,108,109,110,112],[100,101,102,103,104,105,106,107,108,109,110,111],[115],[48],[50],[51],[52,60,61,68,77],[52,53,60,68],[54,87],[55,56,61,69],[56,77],[57,58,60,68],[58],[59,60],[60],[60,61,62,77,86],[61,62],[63,68,77,86],[60,61,63,64,68,77,80,86],[63,65,77,80,86],[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,86,87,88,89,90,91,92,93],[60,66],[67,86],[58,60,68,77],[69],[70],[50,71],[72,82],[73],[74],[60,75],[75,76,87,89],[60,77],[78],[79],[68,80],[81],[68,82],[74,86],[87],[77,88],[89],[90],[60,62,77,86,89,91],[77,92],[217],[232],[222,230,231],[281,282],[281,282,283,284],[223,226],[223,226,227,228],[225],[214,229],[286],[224],[83,84],[117,118,119,120,121,122,123,124,125],[94,140],[139,140,141,145],[145],[140,142,143,144,145,146,149,150],[139,146],[139,142,144,146],[139,143,145],[147,148],[45,46,47,95,96,97,98],[47,94,95],[87,94],[96],[267],[267,268],[263,264,265,266,269,270,271,272,273,274,275,276,277,278],[237,238,239,240],[237,238],[238,239],[127,128,129,130,131,132,133,134,135,136],[94,242],[94,99,241,242,243],[94,99,126,241,242,243,244],[242,244,245,246,247],[77,94,242],[48,99,165,175,190],[48,99,165,168,190,191,195,196,198,210,233,234,235,236,241,248,252],[48,60,165,168,195,196,197],[99,163,165,175,190,191,196,233],[48,99,163,165,168,175,190],[191,196,198],[157],[99,126,137,165,168,175,190,195,201,202,203,233,235],[99,137,165,175,190,195,203,233,255],[48,99,137,165,168,175,176,190,195,200,201,202],[48,60,99,151,165,168,175,176,195,200],[48,165],[200,201,202,203,204,205,206],[99,165],[48,165,168,195,200,201,204],[48,60,99,165,168,172,175,190],[48,165,175,190],[169,170,171],[99,165,190,233],[165,172,175,190,199,207],[114,233],[99,113],[114,178,179,185,186,188,189],[48,99,165,176,177,178],[48,99,114,165,189,233],[48,99,114,116,126,137,165,175,176,179,185,186,188],[116,165,179,185,189,233],[48,99,116,165,168,181,183,184,209],[154],[187],[138,166,173,174],[48,99,165,190],[48,99,138,165,168,173],[99,165,166,168,173,190,207,233,236],[165,166,168,172,173,190,233,279],[48,60,99,138,165,166,168,172,174,190],[160],[163],[151,152,153,154,155,156,157,158],[151,152,153,154,155,156,157,159],[151,152,153,154,155,156,158,159],[151,152,153,154,155,157,158,159],[151,152,153,154,156,157,158,159],[151,152,153,155,156,157,158,159],[151,152,154,155,156,157,158,159],[151,152,153,154,155,156,157,158,159],[154,155,156,157,158,159,161,162,164],[99,151],[251],[249],[99,195,248,250],[94,151,193],[192,193,194],[94,126,151,192]],"referencedMap":[[213,1],[219,2],[212,3],[222,4],[168,5],[181,6],[210,7],[215,3],[216,8],[288,9],[183,10],[113,11],[101,12],[102,13],[100,14],[103,15],[104,16],[105,17],[106,18],[107,19],[108,20],[109,21],[110,22],[111,23],[112,24],[116,25],[48,26],[50,27],[51,28],[52,29],[53,30],[54,31],[55,32],[56,33],[57,34],[58,35],[59,36],[60,37],[61,38],[62,39],[63,40],[64,41],[65,42],[94,43],[66,44],[67,45],[68,46],[69,47],[70,48],[71,49],[72,50],[73,51],[74,52],[75,53],[76,54],[77,55],[78,56],[79,57],[80,58],[81,59],[82,60],[86,61],[87,62],[88,63],[89,64],[90,65],[91,66],[92,67],[235,7],[184,7],[218,68],[233,69],[231,69],[232,70],[283,71],[285,72],[284,71],[227,73],[229,74],[228,73],[226,75],[230,76],[287,77],[225,78],[85,79],[126,80],[122,37],[150,81],[142,82],[146,83],[151,84],[141,85],[145,86],[144,87],[147,83],[149,88],[99,89],[96,90],[95,91],[97,92],[98,7],[265,37],[268,93],[269,94],[279,95],[241,96],[237,7],[239,97],[240,98],[137,99],[246,100],[244,101],[245,102],[242,7],[248,103],[247,104],[191,105],[253,106],[198,107],[254,108],[196,109],[199,110],[255,111],[256,112],[257,113],[203,114],[201,115],[204,116],[207,117],[202,118],[205,119],[171,120],[170,121],[172,122],[258,123],[208,124],[259,125],[114,126],[190,127],[179,128],[260,129],[189,130],[261,131],[185,132],[178,133],[186,118],[188,134],[175,135],[166,136],[174,137],[262,138],[280,139],[173,140],[161,141],[162,141],[164,142],[159,143],[158,144],[157,145],[156,146],[155,147],[154,148],[153,149],[160,150],[165,151],[152,152],[252,153],[250,154],[251,155],[192,156],[195,157],[193,158]],"exportedModulesMap":[[213,1],[219,2],[212,3],[222,4],[168,5],[181,6],[210,7],[215,3],[216,8],[288,9],[183,10],[113,11],[101,12],[102,13],[100,14],[103,15],[104,16],[105,17],[106,18],[107,19],[108,20],[109,21],[110,22],[111,23],[112,24],[116,25],[48,26],[50,27],[51,28],[52,29],[53,30],[54,31],[55,32],[56,33],[57,34],[58,35],[59,36],[60,37],[61,38],[62,39],[63,40],[64,41],[65,42],[94,43],[66,44],[67,45],[68,46],[69,47],[70,48],[71,49],[72,50],[73,51],[74,52],[75,53],[76,54],[77,55],[78,56],[79,57],[80,58],[81,59],[82,60],[86,61],[87,62],[88,63],[89,64],[90,65],[91,66],[92,67],[235,7],[184,7],[218,68],[233,69],[231,69],[232,70],[283,71],[285,72],[284,71],[227,73],[229,74],[228,73],[226,75],[230,76],[287,77],[225,78],[85,79],[126,80],[122,37],[150,81],[142,82],[146,83],[151,84],[141,85],[145,86],[144,87],[147,83],[149,88],[99,89],[96,90],[95,91],[97,92],[98,7],[265,37],[268,93],[269,94],[279,95],[241,96],[237,7],[239,97],[240,98],[137,99],[246,100],[244,101],[245,102],[242,7],[248,103],[247,104],[191,105],[253,106],[198,107],[254,108],[196,109],[199,110],[255,111],[256,112],[257,113],[203,114],[201,115],[204,116],[207,117],[202,118],[205,119],[171,120],[170,121],[172,122],[258,123],[208,124],[259,125],[114,126],[190,127],[179,128],[260,129],[189,130],[261,131],[185,132],[178,133],[186,118],[188,134],[175,135],[166,136],[174,137],[262,138],[280,139],[173,140],[161,141],[162,141],[164,142],[159,143],[158,144],[157,145],[156,146],[155,147],[154,148],[153,149],[160,150],[165,151],[152,152],[252,153],[250,154],[251,155],[192,156],[195,157],[193,158]],"semanticDiagnosticsPerFile":[213,219,212,220,221,222,115,168,181,210,211,215,216,288,177,180,182,183,113,101,102,100,103,104,105,106,107,108,109,110,111,112,116,289,167,48,50,51,52,53,54,55,56,57,58,59,60,61,62,49,93,63,64,65,94,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,86,87,88,89,90,91,92,234,235,184,217,218,214,233,231,232,281,283,285,284,282,223,227,229,228,226,230,163,187,287,286,225,224,139,83,84,85,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,8,43,40,41,42,1,9,44,236,117,125,118,119,126,120,121,122,123,124,150,142,146,151,140,141,145,144,143,147,149,148,45,46,47,99,96,95,97,98,263,264,265,266,267,268,269,270,279,271,272,273,274,275,277,276,278,241,237,239,238,240,127,137,136,128,129,132,130,133,135,131,134,246,244,245,242,248,247,243,191,253,198,254,196,197,199,255,200,256,257,203,201,204,207,202,205,206,169,171,170,172,258,208,259,114,190,179,260,189,261,185,178,186,188,138,175,166,174,262,280,173,161,162,164,159,158,157,156,155,154,153,160,165,152,209,176,252,250,249,251,194,192,195,193]},"version":"4.5.3"}
|
|
1
|
+
{"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../common/crypto/dist/src/human-hash.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/index.d.ts","../../../common/crypto/dist/src/public-key.d.ts","../../../common/crypto/dist/src/keys.d.ts","../../../common/crypto/dist/src/seedphrase.d.ts","../../../common/crypto/dist/src/validator.d.ts","../../../common/crypto/dist/src/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/common.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/array.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/collection.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/date.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/function.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/lang.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/math.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/number.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/object.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/seq.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/string.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/common/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash@4.14.178/node_modules/@types/lodash/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+lodash.matches@4.6.6/node_modules/@types/lodash.matches/index.d.ts","../src/keys/filter.ts","../../../../common/temp/node_modules/.pnpm/@types+abstract-leveldown@5.0.2/node_modules/@types/abstract-leveldown/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+memdown@3.0.0/node_modules/@types/memdown/index.d.ts","../../../common/async/dist/src/async.d.ts","../../../common/async/dist/src/event.d.ts","../../../common/async/dist/src/events.d.ts","../../../common/async/dist/src/latch.d.ts","../../../common/async/dist/src/lock.d.ts","../../../common/async/dist/src/sink.d.ts","../../../common/async/dist/src/trigger.d.ts","../../../common/async/dist/src/types.d.ts","../../../common/async/dist/src/callback.d.ts","../../../common/async/dist/src/index.d.ts","../../../common/util/dist/src/complex.d.ts","../../../common/util/dist/src/json.d.ts","../../../common/util/dist/src/map.d.ts","../../../common/util/dist/src/range.d.ts","../../../common/util/dist/src/types.d.ts","../../../common/util/dist/src/randomInt.d.ts","../../../common/util/dist/src/subscription.d.ts","../../../common/util/dist/src/uint8array.d.ts","../../../common/util/dist/src/typeguards.d.ts","../../../common/util/dist/src/isNotNullOrUndefined.d.ts","../../../common/util/dist/src/index.d.ts","../src/party/events.ts","../../../../common/temp/node_modules/.pnpm/protobufjs@6.11.2/node_modules/protobufjs/index.d.ts","../../../common/codec-protobuf/dist/src/interface.d.ts","../../../common/codec-protobuf/dist/src/mapping.d.ts","../../../common/codec-protobuf/dist/src/codec.d.ts","../../../common/codec-protobuf/dist/src/stream.d.ts","../../../common/codec-protobuf/dist/src/service.d.ts","../../../common/codec-protobuf/dist/src/schema.d.ts","../../../common/codec-protobuf/dist/src/common.d.ts","../../../common/codec-protobuf/dist/src/substitutions/any.d.ts","../../../common/codec-protobuf/dist/src/substitutions/timestamp.d.ts","../../../common/codec-protobuf/dist/src/substitutions/index.d.ts","../../../common/codec-protobuf/dist/src/buffer-patch.d.ts","../../../common/codec-protobuf/dist/src/index.d.ts","../src/proto/substitutions.ts","../src/proto/gen/google/protobuf.ts","../src/proto/gen/dxos/halo/keys.ts","../src/proto/gen/dxos/credentials/party.ts","../src/proto/gen/dxos/credentials/identity.ts","../src/proto/gen/dxos/credentials/greet.ts","../src/proto/gen/dxos/credentials/auth.ts","../src/proto/gen/dxos/credentials.ts","../src/proto/gen/index.ts","../src/proto/any.ts","../src/proto/codec.ts","../../../../common/temp/node_modules/.pnpm/moment@2.29.1/node_modules/moment/ts3.1-typings/moment.d.ts","../src/proto/datetime.ts","../src/proto/index.ts","../src/party/party-credential.ts","../../../../common/temp/node_modules/.pnpm/@types+ms@0.7.31/node_modules/@types/ms/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+debug@4.1.7/node_modules/@types/debug/index.d.ts","../src/identity/events.ts","../src/identity/identity-message.ts","../src/identity/identity-message-processor.ts","../src/identity/index.ts","../src/party/party-state.ts","../src/party/party-invitation-manager.ts","../src/party/index.ts","../src/typedefs.ts","../../../../common/temp/node_modules/.pnpm/@types+json-stable-stringify@1.0.33/node_modules/@types/json-stable-stringify/index.d.ts","../src/keys/keytype.ts","../src/keys/keyring-helpers.ts","../../../../common/temp/node_modules/.pnpm/@types+level-codec@9.0.1/node_modules/@types/level-codec/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+encoding-down@5.0.0/node_modules/@types/encoding-down/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+level-errors@3.0.0/node_modules/@types/level-errors/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+levelup@4.3.3/node_modules/@types/levelup/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+stream-to-array@2.3.0/node_modules/@types/stream-to-array/index.d.ts","../src/keys/keystore.ts","../src/keys/signer.ts","../../../../common/temp/node_modules/.pnpm/performance-now@2.1.0/node_modules/performance-now/src/index.d.ts","../src/keys/simple-metrics.ts","../src/keys/keyring.ts","../src/keys/index.ts","../src/auth/auth-message.ts","../../../mesh/protocol/dist/src/extension.d.ts","../../../mesh/protocol/dist/src/protocol.d.ts","../../../mesh/protocol/dist/src/errors.d.ts","../../../mesh/protocol/dist/src/index.d.ts","../src/auth/authenticator.ts","../src/auth/error-codes.ts","../src/auth/auth-plugin.ts","../src/auth/index.ts","../src/greet/error-codes.ts","../src/greet/greeting-command-plugin.ts","../src/greet/invitation.ts","../src/greet/greeter.ts","../src/greet/greeting-message.ts","../src/greet/party-invitation-claim-handler.ts","../src/greet/passcode.ts","../src/greet/index.ts","../src/index.ts","../src/shims.d.ts","../../../../common/temp/node_modules/.pnpm/@types+end-of-stream@1.4.1/node_modules/@types/end-of-stream/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-lib-coverage@2.0.3/node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Global.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Circus.d.ts","../../../../common/temp/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-lib-report@3.0.0/node_modules/@types/istanbul-lib-report/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-reports@3.0.1/node_modules/@types/istanbul-reports/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+yargs-parser@20.2.1/node_modules/@types/yargs-parser/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+yargs@16.0.4/node_modules/@types/yargs/index.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Config.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/TestResult.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Transform.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@27.4.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@27.4.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-matcher-utils@27.4.2/node_modules/jest-matcher-utils/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/jestMatchersObject.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pify@3.0.2/node_modules/@types/pify/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pump@1.1.1/node_modules/@types/pump/index.d.ts","../../../../common/temp/node_modules/.pnpm/wait-for-expect@3.0.2/node_modules/wait-for-expect/lib/index.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IFile.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IStorage.d.ts","../../../common/random-access-multi-storage/dist/src/node.d.ts","../../../common/random-access-multi-storage/dist/src/index.d.ts","../../../echo/feed-store/dist/src/hypercore-types.d.ts","../../../echo/feed-store/dist/src/types.d.ts","../../../echo/feed-store/dist/src/feed-descriptor.d.ts","../../../echo/feed-store/dist/src/feed-store.d.ts","../../../echo/feed-store/dist/src/create-batch-stream.d.ts","../../../echo/feed-store/dist/src/stream.d.ts","../../../echo/feed-store/dist/src/index.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/proto/gen/google/protobuf.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/proto/gen/dxos/protocol/replicator.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/replicator.d.ts","../../../mesh/protocol-plugin-replicator/dist/src/index.d.ts","../src/auth/auth-plugin.test.ts","../src/auth/auth.test.js","../src/greet/constants.ts","../src/greet/greeter-plugin.test.ts","../src/greet/greeter.test.js","../src/identity/seedphrase.test.ts","../src/keys/filter.test.js","../src/keys/keyring.test.ts","../src/keys/keystore.test.js","../src/party/party-invitations.test.js","../../../common/debug/dist/src/assert.d.ts","../../../common/debug/dist/src/console.d.ts","../../../common/debug/dist/src/error-handler.d.ts","../../../common/debug/dist/src/error-stream.d.ts","../../../common/debug/dist/src/errors/dxos-error.d.ts","../../../common/debug/dist/src/errors/errors.d.ts","../../../common/debug/dist/src/errors/index.d.ts","../../../common/debug/dist/src/fail.d.ts","../../../common/debug/dist/src/log-method.d.ts","../../../common/debug/dist/src/logging.d.ts","../../../common/debug/dist/src/raise.d.ts","../../../common/debug/dist/src/stack-trace.d.ts","../../../common/debug/dist/src/strings.d.ts","../../../common/debug/dist/src/throw.d.ts","../../../common/debug/dist/src/throw-unhandled-rejection.d.ts","../../../common/debug/dist/src/timeout-warning.d.ts","../../../common/debug/dist/src/index.d.ts","../src/party/party-state.test.js","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@26.0.24/node_modules/@types/jest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+mocha@8.2.3/node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"a42919e6cb602e7e8ef516c6dd7966994340d429a43f95f88ef92482057b52d4","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd","fccc3ab2eb7278d4597fd8b2ae645ace954f1cb9d523acef67d876ed2b66e728","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"64e2803203b14d7f104f570f2152fde13abb6edc17b2ddb33d81ad86cf43d494","2c8d9e3331aec52d9a6d4040352c00282c3abaf48053ed0944528a4845c9caa3","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","64576aba4ff801004122056ccd049f0597aa471dcfd7670a6a0b877ee8dd97c0","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"cc829932ffaf5c49092f878bec18af1fa5d8591b45a45e2b7f757f793cb3b4ed","47db10fdc4e76c4f4598cf7c91ba6bfde6cf6d8082c51860fe751643bf359739","05d7d95e24bc2897bf20ce041c3dc3cca814e07148a93999145b1a0ad491094c","d1080e49778c0b2ce656042ebfa43f89dffb96ac00f86a34762188a21857ffd4","0ce99c641ea20b0c0c09d093fc28f18f5ab31dc80033707a1ac3154399de2559","f0c33a0b325d3499cc9aded7d32886f998c9a27b465097c6cc136944d0aafdaa","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","03c91e8833eef54dc44db99d7deb469b5e3cec82f23054b4286a2380e0e00996","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","9fef9de633d01cb7f01f68195626a890ededd25cf96a1e785617d08c8668230d","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"bf89ceb26132596b859cd4d129ce3f447134b444dec87966ba65cd7e8e9e0cb0","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","a11d4ba43bf0825d7285d54dec6cb951685cd458a4de3c5c1800f7cbf7799009","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","82e1723b20fa0b15a7da0d1a03fec88348f82f640f7a2f308d6c0fac780cfc7c","e0202c3e09775b86b902f21623e55896cea98750efbdf0691ca7473af06fe551","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","a2666b43d889b4882ac6ede1c48128bac351886854e94f832b20d3730e5062c5","7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"2a7d39ea70e483d3ebcde44031b6552940f295349bee8d486e8bdf6380162302","3c8c1a880d61c6ad2d46d9f63caaa17d94fceee883d5defa5446d083ca37315a","ecfc4878b54ea3d4ee526c371e41f6308abc1f0b80691cc9b51fdfc462ed5ca0","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","031401b9afec14ada845cfd7f16642df9b5ef001c74a6e0fd1f646654406372f","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"bca2ba91171eccd67a30b66c8b6c49b27116370e0823d0a525357642844cdc6e","ab832cf1123fda8c3b8ff0c415b38e26b5b00918375b45c11fc9ebfbc8cd5eab","4148f3fbffe29fe09579f47330f9430c082a06e35fb9050c7110ba4b691f2425","cea476c47305b446b1e455bb8dfc3377df5c7e36d95438beda06e1129995de74","c87085285d6c052f422ab0713098bc72c9f276ccb48337b471f277ab24e134e9","1610f2eadec0c6fc891f89330502bb099b539771a13746807e5d3b40180ec901","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","1d94be71c02681f0640fa6bb08f10378d50b0e38e521ba4624b159d9cb7a4e8c","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","9d347130d3dade8c804698d3f1ed7fa35799098480c0015ae647e5d38da4d424","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","51bf8e51bd28a124f52aea4628556566eb8b1b67cf80c6769eb1269e88a3fd54","e2302ae00a4f260f699ae4b6896b17045e03b9ca10088a99f1163abb0a2b40d3","a20b5a48195999025be24ec88c203ffb5ee22cf76744cf6d5d30ef46fb23d765","90f00153202471120c8b2cd1fc2b19bd7727bdcb8e1c66abe9b67ac87e8474ba","725acc462432407d76398d07c284a80f68aeaab1a01a65eb4805fb4595e7e96b","33709a702cc8e378e68d26d37fa20e576e4d046bc4a6142ba3a870947536208c","a779b16e12d90ada85a0ff039d75a8116464e7d0c4319e677efb409cf6e24720","5e1ebf27dbc316b57c78663bf7f385e380f959ce48e5c6a55fa4795acc41ecc3","94142727c7c6030d654250986c7a1f4e52d9da648359ff54e57ff9719509cd6a","b518da82db039cf3667d49bb7d9a601d93c933a632f4cd21cc3f4b140263f97b","1a290dd6e2f6b4ab13ae5340b81792e46a8902b416b319491ba39287bf727cbd","bae5e91601fe102101a59a6d3f74facb32366932ae5334c848c1b962b92970de","1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da","0b181bbecdeb6becd582512ef095df3010f35da151c6f9b1f4672f37a564138f","216e1d84427fb19177419447edb7aea35482652ff24f4e3f157fca2138c51a0a","5a2c04c696b6f6b15d46a270979cacfa37faf5c0efdf7042f2d2944a917adf07","68c9339d07891f4573b8d91fb186362ae23c7bbc96e7175b5d34368fccf555f7","b835eabf1f7bd5a448c05645ad2b5d91658964486e7e7b597a77277b1cee1f4d","51324e9c9ef658b8516809bc521eadbfcb18ffecfed33bb69ce46d6d5f2c3366","0724b631bcad7be2efbbfee090de5ac9fb49a5180f8c3c106b5ad277764b700b","2e33b620891123f1bf70f4463f52b0d08b94a1a31c4b392f6bbfa882b8855970","773d53f5104b0adebf2b02cd35f567e74d148f003cc5de1b9f9dd58e4247336f","24c477490b4bde0038a611748d56d3c20cecd2ee4f35b8f03e43a98e37e0a668","9bcb66259e0252bafc327cdf187ebe67b3fd74c4440daf8b539ef88a4aebc800","b3c5ee5b6d1154b933eed766fa093760259b9001440ab8d4ce4f888214d969d6","d622f34600e57c6b7e62375e25240e5b25128b950301879359d49f888cc153d7","6c2a7cf8214875b64518b8a53ed51a195533cd08aa1e9585ee51c09ea4c95dff","e5c315a39501f74627dcd1ff01096f444a93e3f5fad2b2e843c603ab96e98a79","48df7ded79384d4ce3c791d998d3a7061c33ad093be39b98002f61e7c4130e42","fb4c7ba557a2f294528775fa50e7896c659e2a39d8b3804c432a7811d0a14551","6a9b37068388cf60d166c27d3f3635c44d33d24f7fd1a7c962a4e039bfb3b368","09ea6755daa3da396f784bfe930e45e0556b317990e60c098b797e69e57b04fa","d3cdd40e211e7cf5709684a377f67282d5911d3490d19eac95ca89c6779366a2","bb94389b383ab3652fdce86c334c129e47964634f7bbbbbbd9c42a5d49cdb4bb","b12d72e6ea6f3d3d1743918b777cddb6b504adcaee9e932f742832bdc4ddee3f","e62beca6bf101bce09a22e159087c4a345c5c1044b09da265db2ec1b216036bc","f97edc4d3b4dd0b32766e9633086497565c37657fb591cc84a35864db4bc2fc5","9ac2dd1f72713d108a0a808373f9e9f3fbbc46b896155e28f1d51eecc59f6565","28e0e383812e1244b9c5b61c27937e053552661fa5e10f8b214f5655a970a172","682efc8e79c23ca522a156087109f469fd1d21adc26d435a6f7208ce9912f27b","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","6de84f522ca2e01ff7147dcb7fdd7060e6712bbe56c1a9144333ce66e9f02098","8b859a69d3cc377204ea57410325a96aadfb91d8a230b2f39b1d0a1777b3108c","2116d2fdad13aeead0a6fc01214244ccddfa03aa782b6459c01cff54f320e213","e993c17b6288e8b3da3942dccdc798fc13cc4451bd41501ea8b0176d2299f19a","c07d069a661b06f7e8b03af4e8cf2938725325ec3ecbe393dd921eced115f477","cba4710046c8ca89488ca685176bb047d775a879edc16cff35418cd2786fc8ae","8fc1672d3d897f82b8cce4aa5fb0fdded34836858619c03b2624d111b970a777","36769f63ed0375488202ce623c8fb98eb983127a575bb56b85a47111efaa8428","626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4","e5d392fa681cff2ee5d9f0f0a0ed9750abe9e8cbc19f0e8d21105a5ca2042bf6","8a0303c84ac468f5d47e7144352c9e25f53c7506633892710c96616957990c8b","487efbdd4279fc5fc28c44d5ed9ee8fa657b3cd6ee28577ca98fc8222aade7a8","f00c5e026830a9e77de992cdb628b3562ee08ad907227c78cdbdff1af2b54ac2","49afdedca00d22b171678e3cf9c47b7e0c1846fd4905a01d68f0145eb90add94","f76664b98868fc7c62a83e62cecb8db7c3a2d44bc1d9250b368bd799ec370d47","9f18d174aa4cd0688a9651ab4915a2fc36003d6b00d949b704bf289429f6f269","9116bbef27c1aa2c84ac226d82330419a35d45125429cf0c7920c1c2a678d797","fcd399a9f9109927331597819c397e40a79e63f4bad4433ddbe929d0fee089df","92266c031793188c7a13cac46592a1eadcac6dafe17fea92f31f75d8d28c81fa","c3dbaff015cda684fef654c14c70f658d319ab8e45fe23c1efb1b4f5f2f88bfd","626b18f12f03ae43877510d7b654d09224f830f49a2d28ebd26c3a646282d796","b76dfd949ed19160818f7163d218157d179d62c611a7c021df4fba0553062f8f","2b1e4e96389c718716e6170b1da59128d32019097bad7df611197726d60b3942","fd7d6542c78ada8ba78f89417176d68145dabae84727b9217fce2114060888bb","2362b5ba53abbe5576c3b81792907a3879701bbbef2883f7cf6624c83a37268a","18e9b1d85ef9167334b52058928a408c5074712d60ec73677e2c1d82971cf4f6","9f111b543341f21fe6a3825651c0ca3495c7fcac7756cbf5922993ca1766060b","359522c706a20af4804890d3e96c2ab0e7c14b3ea821b210138bc5a51a9e8398","0b88f2e9257813a3ea129990dd1b32880f9a0b483fa9fba1c7ab27cbdab365c7","782c09748d9b1140ca699f19428feb81011b8f61a692824ec548f264a2981058","7417f00428c3b39554e5daf135b56f65f8dd8523fc26ae619eaf5b3148d03672","0de050367125b99d0b02fb69d7c55636470b2661ebb7fdd5b2f3f20cd59c39dc","860c43657a473be122e4b797552ba158b086984959f6d1f6f45417b8a3735dff","ee164ad060ed96c2fb3ac85aebd68d65d10cc30cb696ac5d5d1bff9cae207f18","dc41a0de7a00faaadd81db08f8319dba73e34d4d119445d924c0b0c3355962a0","0b53fbabc0373b17aec21e8b9765135a23ccd4f4f5b8ea7a6cc24f5c3c26c86d","c663ab940a14760b9a36519ccb9e83b6c84ab7a53508440a9930dfae84eb6d65","fc503bdc1acdd99d571f32bcb5a1b5e1f0d2720c83dda871228f843df29ca202","f4d3e630b5135035a00b539efbd19014d92eccf268eb4ab14b2f6b0a21288c96","12a1dbed1303a6b498c7cfab2c482984f552aa5eb8614da34c223c66ec1c047e","1b3e45bc7a04959faab04971cbf3caeb743c960b70ec930758c5731f14b2120a","0c68ec1112f19739aa32b6f7244c1be707c6efdc3018a6262dca66adec6ac29d","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","b35c484129671a62dbffdd0716d787923ef43f2f93b7e55528f94cef7e131d74","95b6c669e7ed7c5358c03f8aa24986640f6125ee81bb99e70e9155974f7fd253","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438","f7dd7280ee4f0420865e6423fe199aeac63d1d66203a8b631077cdc15501ef1f","ef62b4aa372f77458d84c26614b44129f929e263c81b5cd1034f5828a5530412","8610558ae88a43ad794c4ab1da4f0e8e174e0357c88f6cbb21f523e67414e9a9","0b0feb9837c561c0a67b61024328045bb16bac6e4b10f7b0b217d3b8b43b0b12","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73","100db324c7664a9a2a4b76d7131fc69dfdf38d24542afc19825d05f401259fab","80b186d68c99a4cc9443cb3cab6eb9a2a136c65a9973ed403761961ca2cd94e6","00e95882237b1f291eb7ed34acf069003d2e6dc977c374f9798d7ad59b4aabbd","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","701597ff3f5c4cc2b67a12c1b5aa2703711be9b6da1c93be0b0188ae865aec21","095b817a5042af7140cc5c6a59d84fe731156193191b4ec39a37d23e526cc653","a9a709c0bfc23748ad2bb78cb1efceed410800b3b5a30ec72b6e2ee1abc065ef","106f53930d9468f7b1b99123b6439f30703727d7eea3d4763e3c92ca8a5c4396","c31c877dbcbeadafc390f966110476da63c11b6a4229e04dc634f13b88cf96f5","8b385d5fb8dd09036bede9d4044169e7a587a41cb35690486f15147f986e9363","79a7db8fb14b23b6e62a0a5384278438b9c2fe4e7eaa0a5f9b32aacaddee4bec","78b8a7c78a016a5c0d25d069486725542dd00de714a0707e6ba00655d06ba5f9","f60db18327504e39f42245b931aab5cf0bf66005108b1261bcfc41d2e45394b5","94d2099647a2fb7696308e5335b23d5a43b102ef3cd2ea993d6fd3a039d07664","998c58d75b97c4af2ae38310f7c5d3163740e092fd92025076d8970f2fed4b94","333842073ecc380ffea6306e8db1b27ef20eb261663cdeb32a1b46673fa41fd8","b21f5f6cdedacf419240be02ad6ed0e42807749ebf37bf36b838bd8f39fef52f","114c46e3c67d8c98d73854eca5ca7710a488e8e746e343b9e99f1463f6b3cde7","5d6e7598f20890f774880445cb5541d60bc188a51b45e7085fe15af3cee7ac1d","f2487b7e42cc134c88dc630049acc19e4053c5c43b784e4bbfe40d3956367ba1","d8e2192de03e9238077cfc9c58dc1f7a38ba0ff1fa15723ed8765d3c08aaed11","8f62c01579f4a05967f0c408f0026b0e6957a91deec31f350a9b4fa605d99dca","4a9ed5e6ff93a62958c9a9cefa22fe8fe8f52425f8ec5a59d61b497e1b9cadcd","15900e4199c290eb5b23f1da47526723ba4cd815d04e4a732b89a552b8838ea9","0d7be3bb1e9ee93a72e0790c25093c854e56dd5f1117c48237e5693f33090168","ddf325d90f789c6583e95c3d071b792fa5be716179e275c9aeec439575f40e0f","d2fffd6366e02a2f56b5ea74c3f45d4c393ad2d1c43dcdaf4dd77b2a828601fc","8a4cfdd81c2c9243ecbdb2c0179296508843f96cd38f28a857e63e857a1c052a","cf5da7acfa0d098aa02391ab6874d470af5f111441bc1bcbeb78ad615e619a2a","00da96ce5ec236e55f1ab35b34e193c833f9bdaca0475959d0c28f5f119a3529","ba8a5f4b528ac885d356c99317ae9436a06f890cc434a658f784b265c1ef9353","85067fad16b8c96e54c5f3e51aceed5cecaae707fa71001fa3f0d1de2e5f2b24","e881c10a9375e1e7999f529d6a7e0f57fda7280fb232fb927c221df6546a9c86","49dada859a1e7a2ccfc38c4ee75ef4915983f033a751d0433c80b3932e4f75bc","408961bf1c33d835d9aa7f67892daf49830db17b892eab53a60b70a340e9a37a","217767768c03d9107fab244f0a1d41ee2fc9beea572b9b10d3bbfcda258fa471","4f1f99c145ff1ff5408e1cf043a4b47491e94fc1995d4db7915a5c5a46345d5f","a017d71a02e034534781e25b46b463a247f257f35927fdd22eb540648a218624","307608ba5cb4170e819ebda0ce4f2d18f102abead268a4bbcb42af67f876693a","a52dffe094fa29673bc950ed469299c1852d8cfcfa4d6cfb8a5b7d6e0ca55c3c","391b4ea9ef9bb44bb409b71f3f412cdced854a0851e903131a08b8aba4538109","f145064a05f34fcff1d3fd35a69249b90dbb393eb3c746da839d156f1ab2cd69","9e5f9b01148b742d5e7498fea6e98a177f5e4e3d796fc2a371fdded6e560fce8","0626cdb0f8eab865903c9f639e0ca3b2625baa11702720ffd7f92d270274dd39","03e17e31764c291d6c33e7bc77006b844db6c1eff8269479df60fa938b5a0651","58a2ca0c379c5761fd1cd6e1645cdab0325f5cf0a04cd43d5f551bb727750dcf","b7760db3c4335e90855d654892bdad4ab5c6741538a766ec3a9db8ad8c69d7ac","918542c297b47033b2e4691fdfd9d8ef7029ac618089bc8141fd76c9e1eead7d","a9e293e60119009fe3098c83242507708f3b1fea7b1572b4c5560293877d3d9e","40dd8dc0ca1758e482be09989bb4dfa63adae809802eec8f7b73df99aaf5000d","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[94,212],[214,216,218],[211],[212,213,219,220,221],[167],[115,180],[94],[215],[285,287],[60,94,115,182],[112],[100,102,103,104,105,106,107,108,109,110,111,112],[100,101,103,104,105,106,107,108,109,110,111,112],[101,102,103,104,105,106,107,108,109,110,111,112],[100,101,102,104,105,106,107,108,109,110,111,112],[100,101,102,103,105,106,107,108,109,110,111,112],[100,101,102,103,104,106,107,108,109,110,111,112],[100,101,102,103,104,105,107,108,109,110,111,112],[100,101,102,103,104,105,106,108,109,110,111,112],[100,101,102,103,104,105,106,107,109,110,111,112],[100,101,102,103,104,105,106,107,108,110,111,112],[100,101,102,103,104,105,106,107,108,109,111,112],[100,101,102,103,104,105,106,107,108,109,110,112],[100,101,102,103,104,105,106,107,108,109,110,111],[115],[48],[50],[51],[52,60,61,68,77],[52,53,60,68],[54,87],[55,56,61,69],[56,77],[57,58,60,68],[58],[59,60],[60],[60,61,62,77,86],[61,62],[63,68,77,86],[60,61,63,64,68,77,80,86],[63,65,77,80,86],[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,86,87,88,89,90,91,92,93],[60,66],[67,86],[58,60,68,77],[69],[70],[50,71],[72,82],[73],[74],[60,75],[75,76,87,89],[60,77],[78],[79],[68,80],[81],[68,82],[74,86],[87],[77,88],[89],[90],[60,62,77,86,89,91],[77,92],[217],[232],[222,230,231],[281,282],[281,282,283,284],[223,226],[223,226,227,228],[225],[214,229],[286],[224],[83,84],[117,118,119,120,121,122,123,124,125],[94,140],[139,140,141,145],[145],[140,142,143,144,145,146,149,150],[139,146],[139,142,144,146],[139,143,145],[147,148],[45,46,47,95,96,97,98],[47,94,95],[87,94],[96],[267],[267,268],[263,264,265,266,269,270,271,272,273,274,275,276,277,278],[237,238,239,240],[237,238],[238,239],[127,128,129,130,131,132,133,134,135,136],[94,242],[94,99,241,242,243],[94,99,126,241,242,243,244],[242,244,245,246,247],[77,94,242],[48,99,165,175,190],[48,99,165,168,190,191,195,196,198,210,233,234,235,236,241,248,252],[48,60,165,168,195,196,197],[99,163,165,175,190,191,196,233],[48,99,163,165,168,175,190],[191,196,198],[157],[99,126,137,165,168,175,190,195,201,202,203,233,235],[99,137,165,175,190,195,203,233,255],[48,99,137,165,168,175,176,190,195,200,201,202],[48,60,99,151,165,168,175,176,195,200],[48,165],[200,201,202,203,204,205,206],[99,165],[48,165,168,195,200,201,204],[48,60,99,165,168,172,175,190],[48,165,175,190],[169,170,171],[99,165,190,233],[165,172,175,190,199,207],[114,233],[99,113],[114,178,179,185,186,188,189],[48,99,165,176,177,178],[48,99,114,165,189,233],[48,99,114,116,126,137,165,175,176,179,185,186,188],[116,165,179,185,189,233],[48,99,116,165,168,181,183,184,209],[154],[187],[138,166,173,174],[48,99,165,190],[48,99,138,165,168,173],[99,165,166,168,173,190,207,233,236],[165,166,168,172,173,190,233,279],[48,60,99,138,165,166,168,172,174,190],[160],[163],[151,152,153,154,155,156,157,158],[151,152,153,154,155,156,157,159],[151,152,153,154,155,156,158,159],[151,152,153,154,155,157,158,159],[151,152,153,154,156,157,158,159],[151,152,153,155,156,157,158,159],[151,152,154,155,156,157,158,159],[151,152,153,154,155,156,157,158,159],[154,155,156,157,158,159,161,162,164],[99,151],[251],[249],[99,195,248,250],[94,151,193],[192,193,194],[94,126,151,192]],"referencedMap":[[213,1],[219,2],[212,3],[222,4],[168,5],[181,6],[210,7],[215,3],[216,8],[288,9],[183,10],[113,11],[101,12],[102,13],[100,14],[103,15],[104,16],[105,17],[106,18],[107,19],[108,20],[109,21],[110,22],[111,23],[112,24],[116,25],[48,26],[50,27],[51,28],[52,29],[53,30],[54,31],[55,32],[56,33],[57,34],[58,35],[59,36],[60,37],[61,38],[62,39],[63,40],[64,41],[65,42],[94,43],[66,44],[67,45],[68,46],[69,47],[70,48],[71,49],[72,50],[73,51],[74,52],[75,53],[76,54],[77,55],[78,56],[79,57],[80,58],[81,59],[82,60],[86,61],[87,62],[88,63],[89,64],[90,65],[91,66],[92,67],[235,7],[184,7],[218,68],[233,69],[231,69],[232,70],[283,71],[285,72],[284,71],[227,73],[229,74],[228,73],[226,75],[230,76],[287,77],[225,78],[85,79],[126,80],[122,37],[150,81],[142,82],[146,83],[151,84],[141,85],[145,86],[144,87],[147,83],[149,88],[99,89],[96,90],[95,91],[97,92],[98,7],[265,37],[268,93],[269,94],[279,95],[241,96],[237,7],[239,97],[240,98],[137,99],[246,100],[244,101],[245,102],[242,7],[248,103],[247,104],[191,105],[253,106],[198,107],[254,108],[196,109],[199,110],[255,111],[256,112],[257,113],[203,114],[201,115],[204,116],[207,117],[202,118],[205,119],[171,120],[170,121],[172,122],[258,123],[208,124],[259,125],[114,126],[190,127],[179,128],[260,129],[189,130],[261,131],[185,132],[178,133],[186,118],[188,134],[175,135],[166,136],[174,137],[262,138],[280,139],[173,140],[161,141],[162,141],[164,142],[159,143],[158,144],[157,145],[156,146],[155,147],[154,148],[153,149],[160,150],[165,151],[152,152],[252,153],[250,154],[251,155],[192,156],[195,157],[193,158]],"exportedModulesMap":[[213,1],[219,2],[212,3],[222,4],[168,5],[181,6],[210,7],[215,3],[216,8],[288,9],[183,10],[113,11],[101,12],[102,13],[100,14],[103,15],[104,16],[105,17],[106,18],[107,19],[108,20],[109,21],[110,22],[111,23],[112,24],[116,25],[48,26],[50,27],[51,28],[52,29],[53,30],[54,31],[55,32],[56,33],[57,34],[58,35],[59,36],[60,37],[61,38],[62,39],[63,40],[64,41],[65,42],[94,43],[66,44],[67,45],[68,46],[69,47],[70,48],[71,49],[72,50],[73,51],[74,52],[75,53],[76,54],[77,55],[78,56],[79,57],[80,58],[81,59],[82,60],[86,61],[87,62],[88,63],[89,64],[90,65],[91,66],[92,67],[235,7],[184,7],[218,68],[233,69],[231,69],[232,70],[283,71],[285,72],[284,71],[227,73],[229,74],[228,73],[226,75],[230,76],[287,77],[225,78],[85,79],[126,80],[122,37],[150,81],[142,82],[146,83],[151,84],[141,85],[145,86],[144,87],[147,83],[149,88],[99,89],[96,90],[95,91],[97,92],[98,7],[265,37],[268,93],[269,94],[279,95],[241,96],[237,7],[239,97],[240,98],[137,99],[246,100],[244,101],[245,102],[242,7],[248,103],[247,104],[191,105],[253,106],[198,107],[254,108],[196,109],[199,110],[255,111],[256,112],[257,113],[203,114],[201,115],[204,116],[207,117],[202,118],[205,119],[171,120],[170,121],[172,122],[258,123],[208,124],[259,125],[114,126],[190,127],[179,128],[260,129],[189,130],[261,131],[185,132],[178,133],[186,118],[188,134],[175,135],[166,136],[174,137],[262,138],[280,139],[173,140],[161,141],[162,141],[164,142],[159,143],[158,144],[157,145],[156,146],[155,147],[154,148],[153,149],[160,150],[165,151],[152,152],[252,153],[250,154],[251,155],[192,156],[195,157],[193,158]],"semanticDiagnosticsPerFile":[213,219,212,220,221,222,115,168,181,210,211,215,216,288,177,180,182,183,113,101,102,100,103,104,105,106,107,108,109,110,111,112,116,289,167,48,50,51,52,53,54,55,56,57,58,59,60,61,62,49,93,63,64,65,94,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,86,87,88,89,90,91,92,234,235,184,217,218,214,233,231,232,281,283,285,284,282,223,227,229,228,226,230,163,187,287,286,225,224,139,83,84,85,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,8,43,40,41,42,1,9,44,236,117,125,118,119,126,120,121,122,123,124,150,142,146,151,140,141,145,144,143,147,149,148,45,46,47,99,96,95,97,98,263,264,265,266,267,268,269,270,279,271,272,273,274,275,277,276,278,241,237,239,238,240,127,137,136,128,129,132,130,133,135,131,134,246,244,245,242,248,247,243,191,253,198,254,196,197,199,255,200,256,257,203,201,204,207,202,205,206,169,171,170,172,258,208,259,114,190,179,260,189,261,185,178,186,188,138,175,166,174,262,280,173,161,162,164,159,158,157,156,155,154,153,160,165,152,209,176,252,250,249,251,194,192,195,193]},"version":"4.5.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/credentials",
|
|
3
|
-
"version": "2.27.6-dev.
|
|
3
|
+
"version": "2.27.6-dev.fa056bba",
|
|
4
4
|
"description": "DXOS Credentials",
|
|
5
5
|
"homepage": "https://github.com/dxos/halo/tree/master/packages/credentials#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"> 5%"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dxos/async": "2.27.6-dev.
|
|
21
|
-
"@dxos/codec-protobuf": "2.27.6-dev.
|
|
22
|
-
"@dxos/crypto": "2.27.6-dev.
|
|
23
|
-
"@dxos/debug": "2.27.6-dev.
|
|
24
|
-
"@dxos/feed-store": "2.27.6-dev.
|
|
25
|
-
"@dxos/
|
|
26
|
-
"@dxos/protocol": "2.27.6-dev.
|
|
27
|
-
"@dxos/util": "2.27.6-dev.
|
|
20
|
+
"@dxos/async": "2.27.6-dev.fa056bba",
|
|
21
|
+
"@dxos/codec-protobuf": "2.27.6-dev.fa056bba",
|
|
22
|
+
"@dxos/crypto": "2.27.6-dev.fa056bba",
|
|
23
|
+
"@dxos/debug": "2.27.6-dev.fa056bba",
|
|
24
|
+
"@dxos/feed-store": "2.27.6-dev.fa056bba",
|
|
25
|
+
"@dxos/protocol": "2.27.6-dev.fa056bba",
|
|
26
|
+
"@dxos/mesh-protocol": "2.27.6-dev.fa056bba",
|
|
27
|
+
"@dxos/util": "2.27.6-dev.fa056bba",
|
|
28
28
|
"buffer-json-encoding": "^1.0.2",
|
|
29
29
|
"debug": "^4.3.3",
|
|
30
30
|
"encoding-down": "^6.3.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"stream-to-array": "^2.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@dxos/protocol-plugin-replicator": "2.27.6-dev.
|
|
44
|
-
"@dxos/random-access-multi-storage": "2.27.6-dev.
|
|
43
|
+
"@dxos/protocol-plugin-replicator": "2.27.6-dev.fa056bba",
|
|
44
|
+
"@dxos/random-access-multi-storage": "2.27.6-dev.fa056bba",
|
|
45
45
|
"@dxos/toolchain-node-library": "2.27.5",
|
|
46
46
|
"@types/debug": "^4.1.7",
|
|
47
47
|
"@types/encoding-down": "^5.0.0",
|
|
@@ -14,7 +14,7 @@ import waitForExpect from 'wait-for-expect';
|
|
|
14
14
|
|
|
15
15
|
import { keyToString, randomBytes, PublicKey, createKeyPair } from '@dxos/crypto';
|
|
16
16
|
import { FeedStore, createBatchStream, HypercoreFeed } from '@dxos/feed-store';
|
|
17
|
-
import { Protocol, ProtocolOptions } from '@dxos/protocol';
|
|
17
|
+
import { Protocol, ProtocolOptions } from '@dxos/mesh-protocol';
|
|
18
18
|
import { Replicator } from '@dxos/protocol-plugin-replicator';
|
|
19
19
|
import { createStorage, STORAGE_RAM } from '@dxos/random-access-multi-storage';
|
|
20
20
|
|
package/src/auth/auth-plugin.ts
CHANGED
|
@@ -6,7 +6,7 @@ import assert from 'assert';
|
|
|
6
6
|
import debug from 'debug';
|
|
7
7
|
import { EventEmitter } from 'events';
|
|
8
8
|
|
|
9
|
-
import { Extension, ERR_EXTENSION_RESPONSE_FAILED, Protocol } from '@dxos/protocol';
|
|
9
|
+
import { Extension, ERR_EXTENSION_RESPONSE_FAILED, Protocol } from '@dxos/mesh-protocol';
|
|
10
10
|
|
|
11
11
|
import { codec } from '../proto';
|
|
12
12
|
import { Authenticator } from './authenticator';
|
|
@@ -8,7 +8,7 @@ import pump from 'pump';
|
|
|
8
8
|
|
|
9
9
|
import { trigger } from '@dxos/async';
|
|
10
10
|
import { keyToString, randomBytes, PublicKey, PublicKeyLike } from '@dxos/crypto';
|
|
11
|
-
import { Protocol } from '@dxos/protocol';
|
|
11
|
+
import { Protocol } from '@dxos/mesh-protocol';
|
|
12
12
|
import { arraysEqual } from '@dxos/util';
|
|
13
13
|
|
|
14
14
|
import { Keyring } from '../keys';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import expect from 'expect';
|
|
8
8
|
|
|
9
9
|
import { randomBytes } from '@dxos/crypto';
|
|
10
|
-
import { ERR_EXTENSION_RESPONSE_FAILED } from '@dxos/protocol';
|
|
10
|
+
import { ERR_EXTENSION_RESPONSE_FAILED } from '@dxos/mesh-protocol';
|
|
11
11
|
import { arraysEqual } from '@dxos/util';
|
|
12
12
|
|
|
13
13
|
import { createKeyRecord, stripSecrets, Filter, Keyring } from '../keys';
|
package/src/greet/greeter.ts
CHANGED
|
@@ -6,7 +6,7 @@ import assert from 'assert';
|
|
|
6
6
|
import debug from 'debug';
|
|
7
7
|
|
|
8
8
|
import { PublicKeyLike, PublicKey } from '@dxos/crypto';
|
|
9
|
-
import { ERR_EXTENSION_RESPONSE_FAILED } from '@dxos/protocol';
|
|
9
|
+
import { ERR_EXTENSION_RESPONSE_FAILED } from '@dxos/mesh-protocol';
|
|
10
10
|
import { arraysEqual } from '@dxos/util';
|
|
11
11
|
|
|
12
12
|
import { Keyring } from '../keys';
|
|
@@ -13,7 +13,7 @@ import { EventEmitter } from 'events';
|
|
|
13
13
|
|
|
14
14
|
import { WithTypeUrl } from '@dxos/codec-protobuf';
|
|
15
15
|
import { keyToBuffer, keyToString } from '@dxos/crypto';
|
|
16
|
-
import { Extension, ERR_EXTENSION_RESPONSE_FAILED, Protocol } from '@dxos/protocol';
|
|
16
|
+
import { Extension, ERR_EXTENSION_RESPONSE_FAILED, Protocol } from '@dxos/mesh-protocol';
|
|
17
17
|
|
|
18
18
|
import { wrapMessage } from '../party';
|
|
19
19
|
import { codec, Command } from '../proto';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import assert from 'assert';
|
|
6
6
|
import debug from 'debug';
|
|
7
7
|
|
|
8
|
-
import { ERR_EXTENSION_RESPONSE_FAILED } from '@dxos/protocol';
|
|
8
|
+
import { ERR_EXTENSION_RESPONSE_FAILED } from '@dxos/mesh-protocol';
|
|
9
9
|
|
|
10
10
|
import { Command } from '../proto';
|
|
11
11
|
import { ERR_GREET_GENERAL, ERR_GREET_INVALID_COMMAND, ERR_GREET_INVALID_INVITATION } from './error-codes';
|
|
@@ -6,9 +6,9 @@ syntax = "proto3";
|
|
|
6
6
|
|
|
7
7
|
package dxos.halo;
|
|
8
8
|
|
|
9
|
-
import "@dxos/
|
|
10
|
-
import "@dxos/
|
|
11
|
-
import "@dxos/
|
|
12
|
-
import "@dxos/
|
|
13
|
-
import "@dxos/
|
|
14
|
-
import "@dxos/
|
|
9
|
+
import "@dxos/protocol/src/proto/dxos/halo/auth.proto";
|
|
10
|
+
import "@dxos/protocol/src/proto/dxos/halo/greet.proto";
|
|
11
|
+
import "@dxos/protocol/src/proto/dxos/halo/identity.proto";
|
|
12
|
+
import "@dxos/protocol/src/proto/dxos/halo/keys.proto";
|
|
13
|
+
import "@dxos/protocol/src/proto/dxos/halo/party.proto";
|
|
14
|
+
import "@dxos/protocol/src/proto/dxos/halo/signed.proto";
|