@dxos/credentials 2.33.9-dev.7d11f506 → 2.33.9-dev.b6f4ca19
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_test.json +19 -19
- package/.rush/temp/shrinkwrap-deps.json +23 -10
- package/credentials.build.log +102 -0
- package/dist/src/auth/auth-message.js +2 -2
- package/dist/src/auth/auth-message.js.map +1 -1
- package/dist/src/auth/auth-plugin.d.ts.map +1 -1
- package/dist/src/auth/auth-plugin.js +4 -4
- package/dist/src/auth/auth-plugin.js.map +1 -1
- package/dist/src/auth/auth-plugin.test.js +3 -3
- package/dist/src/auth/auth-plugin.test.js.map +1 -1
- package/dist/src/greet/greeter.js +10 -10
- package/dist/src/greet/greeter.js.map +1 -1
- package/dist/src/greet/greeting-command-plugin.d.ts.map +1 -1
- package/dist/src/greet/greeting-command-plugin.js +11 -11
- package/dist/src/greet/greeting-command-plugin.js.map +1 -1
- package/dist/src/greet/greeting-message.js +9 -9
- package/dist/src/greet/greeting-message.js.map +1 -1
- package/dist/src/greet/party-invitation-claim-handler.js +5 -5
- package/dist/src/greet/party-invitation-claim-handler.js.map +1 -1
- package/dist/src/identity/identity-message-processor.d.ts.map +1 -1
- package/dist/src/identity/identity-message-processor.js +6 -6
- package/dist/src/identity/identity-message-processor.js.map +1 -1
- package/dist/src/identity/identity-message.js +7 -7
- package/dist/src/identity/identity-message.js.map +1 -1
- package/dist/src/identity/seedphrase.js +2 -2
- package/dist/src/identity/seedphrase.js.map +1 -1
- package/dist/src/keys/keyring-helpers.js +12 -12
- package/dist/src/keys/keyring-helpers.js.map +1 -1
- package/dist/src/keys/keyring.js +18 -18
- package/dist/src/keys/keyring.js.map +1 -1
- package/dist/src/keys/keyring.test.js +7 -7
- package/dist/src/keys/keyring.test.js.map +1 -1
- package/dist/src/keys/keystore.js +5 -5
- package/dist/src/keys/keystore.js.map +1 -1
- package/dist/src/party/party-credential.js +9 -9
- package/dist/src/party/party-credential.js.map +1 -1
- package/dist/src/party/party-invitation-manager.js +5 -5
- package/dist/src/party/party-invitation-manager.js.map +1 -1
- package/dist/src/party/party-state.d.ts.map +1 -1
- package/dist/src/party/party-state.js +21 -21
- package/dist/src/party/party-state.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -12
- package/src/auth/auth-message.ts +1 -1
- package/src/auth/auth-plugin.test.ts +1 -1
- package/src/auth/auth-plugin.ts +1 -1
- package/src/greet/greeter.ts +1 -1
- package/src/greet/greeting-command-plugin.ts +1 -1
- package/src/greet/greeting-message.ts +1 -1
- package/src/greet/party-invitation-claim-handler.ts +1 -1
- package/src/identity/identity-message-processor.ts +1 -1
- package/src/identity/identity-message.ts +1 -1
- package/src/identity/seedphrase.ts +1 -1
- package/src/keys/keyring-helpers.ts +1 -1
- package/src/keys/keyring.test.ts +1 -1
- package/src/keys/keyring.ts +1 -1
- package/src/keys/keystore.ts +1 -1
- package/src/party/party-credential.ts +1 -1
- package/src/party/party-invitation-manager.ts +1 -1
- package/src/party/party-state.ts +1 -1
- package/.rush/temp/package-deps_build.json +0 -62
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
// TODO(burdon): Factor out helpers.
|
|
7
7
|
//
|
|
8
8
|
|
|
9
|
-
import assert from 'assert';
|
|
10
9
|
import stableStringify from 'json-stable-stringify';
|
|
10
|
+
import assert from 'node:assert';
|
|
11
11
|
|
|
12
12
|
import { createKeyPair, KeyPair } from '@dxos/crypto';
|
|
13
13
|
import { PublicKey, PublicKeyLike, PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH } from '@dxos/protocols';
|
package/src/keys/keyring.test.ts
CHANGED
package/src/keys/keyring.ts
CHANGED
package/src/keys/keystore.ts
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// Copyright 2019 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import assert from 'assert';
|
|
6
5
|
import bufferJson from 'buffer-json-encoding';
|
|
7
6
|
import debug from 'debug';
|
|
8
7
|
import encode from 'encoding-down';
|
|
9
8
|
import levelup, { LevelUp } from 'levelup';
|
|
10
9
|
import memdown from 'memdown';
|
|
10
|
+
import assert from 'node:assert';
|
|
11
11
|
import toArray from 'stream-to-array';
|
|
12
12
|
|
|
13
13
|
import { PublicKey } from '@dxos/protocols';
|
package/src/party/party-state.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
// Copyright 2019 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import assert from 'assert';
|
|
6
5
|
import debug from 'debug';
|
|
7
6
|
import { EventEmitter } from 'events';
|
|
7
|
+
import assert from 'node:assert';
|
|
8
8
|
|
|
9
9
|
import { discoveryKey } from '@dxos/crypto';
|
|
10
10
|
import { PublicKey, PublicKeyLike } from '@dxos/protocols';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": {
|
|
3
|
-
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "7e8745febba64b1eb464524e013d8443a82e697a",
|
|
4
|
-
"packages/halo/credentials/.eslintrc.js": "8c186197e908188715a6c9635941ec4b7896c787",
|
|
5
|
-
"packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
|
|
6
|
-
"packages/halo/credentials/package.json": "c89fac7a6a58751d0da90fcf8fc1f5e86c7f9bff",
|
|
7
|
-
"packages/halo/credentials/src/auth/auth-message.ts": "0c836d40bf3f011f7ac589bbd7c51a38bbcf8a10",
|
|
8
|
-
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "5e99d59abfad6c8ae0db469a7a84f3f0bdcce1e2",
|
|
9
|
-
"packages/halo/credentials/src/auth/auth-plugin.ts": "068f54e08e213def743485a78b3c43ca2c30014d",
|
|
10
|
-
"packages/halo/credentials/src/auth/auth.test.ts": "c0fdab964c9dc19fe16775b6f1275dc572ec28fc",
|
|
11
|
-
"packages/halo/credentials/src/auth/authenticator.ts": "11605a3921db2b5e0eba380dc06650834a0e0f27",
|
|
12
|
-
"packages/halo/credentials/src/auth/error-codes.ts": "6949e70399430cc44a5cc7d4a24ee7cace599ffe",
|
|
13
|
-
"packages/halo/credentials/src/auth/index.ts": "c4a66cb0a4bb9f8f1e0abf6d429296617b11633b",
|
|
14
|
-
"packages/halo/credentials/src/greet/constants.ts": "195d88c13f436c94d499bd8ee3d62481e35e502f",
|
|
15
|
-
"packages/halo/credentials/src/greet/error-codes.ts": "93f2d4ddbf4f93507855529d7a5091ed4de8c90e",
|
|
16
|
-
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "749f1abdece0442563c0e9e226f8c8c51d6bbd41",
|
|
17
|
-
"packages/halo/credentials/src/greet/greeter.test.js": "dee7a8155ca2c89d3b6c9cbcb845c17c7eb1dddf",
|
|
18
|
-
"packages/halo/credentials/src/greet/greeter.ts": "6857408f1ae849986e890e771bf629d8650c8fb4",
|
|
19
|
-
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "b881d972c900a652fa7e3f7fbb0889aa61338689",
|
|
20
|
-
"packages/halo/credentials/src/greet/greeting-message.ts": "52171e11b3237dd69b46daf260672c758240cf73",
|
|
21
|
-
"packages/halo/credentials/src/greet/index.ts": "27c8d16082512564760dd56a7e0a33bbb47143e7",
|
|
22
|
-
"packages/halo/credentials/src/greet/invitation.ts": "8f5a178165da28b953881c7891cbb35a3dc6a8da",
|
|
23
|
-
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "769e163563f984540d66a122507db70b2623775f",
|
|
24
|
-
"packages/halo/credentials/src/greet/passcode.ts": "8e1dbcc8bf471b9e71a4928b32cd8f78262d748a",
|
|
25
|
-
"packages/halo/credentials/src/identity/events.ts": "e246b3c0d36466d5bcd376f715debdcd625546c5",
|
|
26
|
-
"packages/halo/credentials/src/identity/identity-message-processor.ts": "b5a0369faf1ada833dab5c145d6d36d9aa5b3ca1",
|
|
27
|
-
"packages/halo/credentials/src/identity/identity-message.ts": "6032c53a4e2386bd3b630cf72821e782d18e5bb4",
|
|
28
|
-
"packages/halo/credentials/src/identity/index.ts": "9a8a89b670b19503d0bd84d07cc3caa0eec42491",
|
|
29
|
-
"packages/halo/credentials/src/identity/seedphrase.test.ts": "9275e40662c2e8f71de03199146329ec15c81e6f",
|
|
30
|
-
"packages/halo/credentials/src/identity/seedphrase.ts": "de9f82c64eae42eb09637aa5a1aae507e44785e9",
|
|
31
|
-
"packages/halo/credentials/src/index.ts": "86006625e8875fb5ae7fcc2e77954bc9c6b07d73",
|
|
32
|
-
"packages/halo/credentials/src/keys/README.md": "593ff3672447c5561d891f9e5cd6f8b1218d9cdd",
|
|
33
|
-
"packages/halo/credentials/src/keys/filter.test.js": "882ae21a88b4065471616ac08cb10ec537a38bde",
|
|
34
|
-
"packages/halo/credentials/src/keys/filter.ts": "d16e150ccbc69b40b3a0d8afac05f763e37e2a3d",
|
|
35
|
-
"packages/halo/credentials/src/keys/index.ts": "0319187cd75685b856deb44d887e9af389e91fa9",
|
|
36
|
-
"packages/halo/credentials/src/keys/keyring-helpers.ts": "045fc8f8b9c610674333fd6d0d73ff30a9d659ed",
|
|
37
|
-
"packages/halo/credentials/src/keys/keyring.test.ts": "5f42f8163226a6147faee307901c7a23d73390e5",
|
|
38
|
-
"packages/halo/credentials/src/keys/keyring.ts": "35ca49ce479b8a05af819347200b73286869911d",
|
|
39
|
-
"packages/halo/credentials/src/keys/keystore.test.js": "c810fd1c1db191122dafbbf4f7d0acce12cb8065",
|
|
40
|
-
"packages/halo/credentials/src/keys/keystore.ts": "4dde73ccd861f1e21d6657afad6000e6c86af1c6",
|
|
41
|
-
"packages/halo/credentials/src/keys/keytype.ts": "499be4ecd6b66fac896d0b3e615af027cad19f65",
|
|
42
|
-
"packages/halo/credentials/src/keys/signer.ts": "9a774bd508d88c6fb0c8edbae670c3134848dfdc",
|
|
43
|
-
"packages/halo/credentials/src/keys/simple-metrics.ts": "819fe8021c5797a05140bcb2733cc7028d1363fd",
|
|
44
|
-
"packages/halo/credentials/src/party/events.ts": "a99049a589ec5fd5190cd5770d161d21a4bc80d5",
|
|
45
|
-
"packages/halo/credentials/src/party/index.ts": "ccb02b656cf612c45e7dedba4f396fd42e78efa9",
|
|
46
|
-
"packages/halo/credentials/src/party/party-credential.ts": "96427c0c7715b94c6e996cf1d88d453321cee888",
|
|
47
|
-
"packages/halo/credentials/src/party/party-invitation-manager.ts": "6b0eb9b620c02f68e53352f879eb35f17ec7ba56",
|
|
48
|
-
"packages/halo/credentials/src/party/party-invitations.test.js": "c936e97e6798f32fe330241b6c137abe49494f1f",
|
|
49
|
-
"packages/halo/credentials/src/party/party-state.test.js": "66e283e1e3b53585605659f0334cf53001061eda",
|
|
50
|
-
"packages/halo/credentials/src/party/party-state.ts": "5092d0742505387a0098afc75e6669fdc824ab00",
|
|
51
|
-
"packages/halo/credentials/src/proto/any.ts": "105c5acfd71c4295eb43344199897e100e3e94cd",
|
|
52
|
-
"packages/halo/credentials/src/proto/codec.ts": "8abef0896530ddfe71aa382c1906528b3bc00926",
|
|
53
|
-
"packages/halo/credentials/src/proto/datetime.ts": "6b97cac40b80a7a5e54f4f6d6a2a396fa684af9b",
|
|
54
|
-
"packages/halo/credentials/src/proto/defs/import.proto": "ff3982e0053697ef1f2a0edd273b813e25e92a6c",
|
|
55
|
-
"packages/halo/credentials/src/proto/index.ts": "d7b2823fd389cbce0684ad7f964e1db02f4df05d",
|
|
56
|
-
"packages/halo/credentials/src/proto/substitutions.ts": "28517a90c76705ba33a9d244c3b3dab1d64f2409",
|
|
57
|
-
"packages/halo/credentials/src/shims.d.ts": "8c9f4db12f5c348bdb0651be9592edcc488e1cfc",
|
|
58
|
-
"packages/halo/credentials/src/typedefs.ts": "dc2f10117831f97ce8ebd854f246b40bb48d273c",
|
|
59
|
-
"packages/halo/credentials/tsconfig.json": "4864ac82d974c1e527c27b7ba4efb0166af39cc4"
|
|
60
|
-
},
|
|
61
|
-
"arguments": "toolchain build "
|
|
62
|
-
}
|