signify-ts 0.2.0 → 0.3.0-dev.e31e78d
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/README.md +104 -34
- package/dist/exports.d.ts +40 -40
- package/dist/exports.js +40 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -8
- package/dist/keri/app/aiding.d.ts +54 -18
- package/{src/keri/app/aiding.ts → dist/keri/app/aiding.js} +130 -236
- package/dist/keri/app/clienting.d.ts +59 -22
- package/{src/keri/app/clienting.ts → dist/keri/app/clienting.js} +146 -235
- package/dist/keri/app/contacting.d.ts +30 -23
- package/{src/keri/app/contacting.ts → dist/keri/app/contacting.js} +26 -63
- package/dist/keri/app/controller.d.ts +49 -6
- package/{src/keri/app/controller.ts → dist/keri/app/controller.js} +80 -186
- package/dist/keri/app/coring.d.ts +134 -25
- package/{src/keri/app/coring.ts → dist/keri/app/coring.js} +83 -56
- package/dist/keri/app/credentialing.d.ts +191 -67
- package/dist/keri/app/credentialing.js +540 -0
- package/dist/keri/app/delegating.d.ts +18 -0
- package/dist/keri/app/delegating.js +24 -0
- package/dist/keri/app/escrowing.d.ts +5 -3
- package/{src/keri/app/escrowing.ts → dist/keri/app/escrowing.js} +3 -9
- package/dist/keri/app/exchanging.d.ts +243 -11
- package/dist/keri/app/exchanging.js +242 -0
- package/dist/keri/app/grouping.d.ts +11 -9
- package/{src/keri/app/grouping.ts → dist/keri/app/grouping.js} +10 -29
- package/dist/keri/app/habery.d.ts +2 -2
- package/dist/keri/app/habery.js +117 -0
- package/dist/keri/app/notifying.d.ts +2 -2
- package/{src/keri/app/notifying.ts → dist/keri/app/notifying.js} +7 -17
- package/dist/keri/core/authing.d.ts +2 -2
- package/{src/keri/core/authing.ts → dist/keri/core/authing.js} +26 -42
- package/dist/keri/core/base64.d.ts +2 -0
- package/dist/keri/core/base64.js +16 -0
- package/dist/keri/core/bexter.d.ts +1 -1
- package/{src/keri/core/bexter.ts → dist/keri/core/bexter.js} +18 -32
- package/dist/keri/core/cigar.d.ts +2 -2
- package/dist/keri/core/cigar.js +13 -0
- package/dist/keri/core/cipher.d.ts +1 -1
- package/{src/keri/core/cipher.ts → dist/keri/core/cipher.js} +10 -19
- package/dist/keri/core/core.d.ts +117 -9
- package/dist/keri/core/core.js +385 -0
- package/dist/keri/core/counter.d.ts +2 -2
- package/dist/keri/core/counter.js +221 -0
- package/dist/keri/core/decrypter.d.ts +4 -4
- package/{src/keri/core/decrypter.ts → dist/keri/core/decrypter.js} +23 -40
- package/dist/keri/core/diger.d.ts +3 -3
- package/{src/keri/core/diger.ts → dist/keri/core/diger.js} +18 -33
- package/dist/keri/core/encrypter.d.ts +2 -2
- package/{src/keri/core/encrypter.ts → dist/keri/core/encrypter.js} +18 -38
- package/dist/keri/core/eventing.d.ts +6 -6
- package/dist/keri/core/eventing.js +383 -0
- package/dist/keri/core/httping.d.ts +11 -4
- package/{src/keri/core/httping.ts → dist/keri/core/httping.js} +36 -101
- package/dist/keri/core/indexer.d.ts +1 -1
- package/dist/keri/core/indexer.js +407 -0
- package/dist/keri/core/keeping.d.ts +113 -46
- package/dist/keri/core/keeping.js +347 -0
- package/{src/keri/core/kering.ts → dist/keri/core/kering.js} +1 -3
- package/dist/keri/core/keyState.d.ts +98 -0
- package/dist/keri/core/manager.d.ts +147 -12
- package/dist/keri/core/manager.js +880 -0
- package/dist/keri/core/matter.d.ts +1 -1
- package/dist/keri/core/matter.js +460 -0
- package/dist/keri/core/number.d.ts +2 -2
- package/{src/keri/core/number.ts → dist/keri/core/number.js} +26 -32
- package/dist/keri/core/pather.d.ts +2 -2
- package/{src/keri/core/pather.ts → dist/keri/core/pather.js} +12 -27
- package/dist/keri/core/prefixer.d.ts +10 -10
- package/dist/keri/core/prefixer.js +182 -0
- package/dist/keri/core/saider.d.ts +2 -12
- package/dist/keri/core/saider.js +107 -0
- package/dist/keri/core/salter.d.ts +44 -9
- package/dist/keri/core/salter.js +110 -0
- package/dist/keri/core/seqner.d.ts +1 -1
- package/{src/keri/core/seqner.ts → dist/keri/core/seqner.js} +20 -21
- package/dist/keri/core/serder.d.ts +25 -12
- package/dist/keri/core/serder.js +133 -0
- package/dist/keri/core/siger.d.ts +2 -2
- package/{src/keri/core/siger.ts → dist/keri/core/siger.js} +4 -14
- package/dist/keri/core/signer.d.ts +4 -4
- package/dist/keri/core/signer.js +84 -0
- package/{src/keri/core/tholder.ts → dist/keri/core/tholder.js} +69 -94
- package/dist/keri/core/utils.d.ts +1 -1
- package/{src/keri/core/utils.ts → dist/keri/core/utils.js} +30 -60
- package/dist/keri/core/vdring.d.ts +2 -2
- package/dist/keri/core/vdring.js +61 -0
- package/dist/keri/core/verfer.d.ts +2 -6
- package/dist/keri/core/verfer.js +37 -0
- package/dist/keri/end/ending.d.ts +10 -8
- package/dist/keri/end/ending.js +136 -0
- package/{src/ready.ts → dist/ready.js} +1 -2
- package/dist/types/keria-api-schema.d.ts +1158 -0
- package/dist/types/keria-api-schema.js +34 -0
- package/package.json +53 -52
- package/dist/math.d.ts +0 -1
- package/dist/signify-ts.cjs +0 -7835
- package/dist/signify-ts.cjs.development.js +0 -9501
- package/dist/signify-ts.cjs.development.js.map +0 -1
- package/dist/signify-ts.cjs.map +0 -7
- package/dist/signify-ts.cjs.production.min.js +0 -2
- package/dist/signify-ts.cjs.production.min.js.map +0 -1
- package/dist/signify-ts.esm.js +0 -9345
- package/dist/signify-ts.esm.js.map +0 -1
- package/dist/signify-ts.mjs +0 -7811
- package/dist/signify-ts.mjs.map +0 -7
- package/src/buffer-polyfill.ts +0 -5
- package/src/exports.ts +0 -44
- package/src/index.ts +0 -4
- package/src/keri/app/credentialing.ts +0 -820
- package/src/keri/app/exchanging.ts +0 -220
- package/src/keri/app/habery.ts +0 -185
- package/src/keri/core/cigar.ts +0 -18
- package/src/keri/core/core.ts +0 -326
- package/src/keri/core/counter.ts +0 -273
- package/src/keri/core/eventing.ts +0 -581
- package/src/keri/core/indexer.ts +0 -509
- package/src/keri/core/keeping.ts +0 -684
- package/src/keri/core/manager.ts +0 -1183
- package/src/keri/core/matter.ts +0 -521
- package/src/keri/core/prefixer.ts +0 -233
- package/src/keri/core/saider.ts +0 -186
- package/src/keri/core/salter.ts +0 -120
- package/src/keri/core/serder.ts +0 -163
- package/src/keri/core/signer.ts +0 -133
- package/src/keri/core/vdring.ts +0 -94
- package/src/keri/core/verfer.ts +0 -47
- package/src/keri/end/ending.ts +0 -170
- package/src/math.ts +0 -3
- /package/dist/{buffer-polyfill.d.ts → keri/core/keyState.js} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// AUTO-GENERATED: Only components and enums retained from OpenAPI schema
|
|
2
|
+
export var IssEventT;
|
|
3
|
+
(function (IssEventT) {
|
|
4
|
+
IssEventT["iss"] = "iss";
|
|
5
|
+
IssEventT["bis"] = "bis";
|
|
6
|
+
})(IssEventT || (IssEventT = {}));
|
|
7
|
+
export var CredentialStateIssOrRevEt;
|
|
8
|
+
(function (CredentialStateIssOrRevEt) {
|
|
9
|
+
CredentialStateIssOrRevEt["iss"] = "iss";
|
|
10
|
+
CredentialStateIssOrRevEt["rev"] = "rev";
|
|
11
|
+
})(CredentialStateIssOrRevEt || (CredentialStateIssOrRevEt = {}));
|
|
12
|
+
export var CredentialStateBisOrBrvEt;
|
|
13
|
+
(function (CredentialStateBisOrBrvEt) {
|
|
14
|
+
CredentialStateBisOrBrvEt["bis"] = "bis";
|
|
15
|
+
CredentialStateBisOrBrvEt["brv"] = "brv";
|
|
16
|
+
})(CredentialStateBisOrBrvEt || (CredentialStateBisOrBrvEt = {}));
|
|
17
|
+
export var Tier;
|
|
18
|
+
(function (Tier) {
|
|
19
|
+
Tier["low"] = "low";
|
|
20
|
+
Tier["med"] = "med";
|
|
21
|
+
Tier["high"] = "high";
|
|
22
|
+
})(Tier || (Tier = {}));
|
|
23
|
+
export var OOBIRole;
|
|
24
|
+
(function (OOBIRole) {
|
|
25
|
+
OOBIRole["controller"] = "controller";
|
|
26
|
+
OOBIRole["witness"] = "witness";
|
|
27
|
+
OOBIRole["registrar"] = "registrar";
|
|
28
|
+
OOBIRole["watcher"] = "watcher";
|
|
29
|
+
OOBIRole["judge"] = "judge";
|
|
30
|
+
OOBIRole["juror"] = "juror";
|
|
31
|
+
OOBIRole["peer"] = "peer";
|
|
32
|
+
OOBIRole["mailbox"] = "mailbox";
|
|
33
|
+
OOBIRole["agent"] = "agent";
|
|
34
|
+
})(OOBIRole || (OOBIRole = {}));
|
package/package.json
CHANGED
|
@@ -1,68 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"name": "signify-ts",
|
|
3
|
+
"version": "0.3.0-dev.e31e78d",
|
|
4
|
+
"description": "Signing at the edge for KERI, ACDC, and KERIA",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"keri",
|
|
7
|
+
"acdc",
|
|
8
|
+
"keria",
|
|
9
|
+
"signify",
|
|
10
|
+
"signify-ts",
|
|
11
|
+
"decentralized identity",
|
|
12
|
+
"authentic data",
|
|
13
|
+
"zero trust architecture"
|
|
14
|
+
],
|
|
15
|
+
"author": "Phil Feairheller",
|
|
16
|
+
"homepage": "https://github.com/WebOfTrust/signify-ts",
|
|
17
|
+
"repo": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/WebOfTrust/signify-ts.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/WebOfTrust/signify-ts/issues"
|
|
23
|
+
},
|
|
3
24
|
"license": "Apache-2.0",
|
|
4
25
|
"exports": {
|
|
5
|
-
"
|
|
6
|
-
"import": "./dist/signify-ts.mjs",
|
|
7
|
-
"require": "./dist/signify-ts.cjs",
|
|
8
|
-
"types": "./dist/index.d.ts"
|
|
9
|
-
}
|
|
26
|
+
"import": "./dist/index.js"
|
|
10
27
|
},
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
28
|
"type": "module",
|
|
13
29
|
"files": [
|
|
14
|
-
"dist"
|
|
15
|
-
"src"
|
|
30
|
+
"dist"
|
|
16
31
|
],
|
|
17
32
|
"scripts": {
|
|
18
|
-
"start": "npm run build
|
|
19
|
-
"
|
|
20
|
-
"build
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose",
|
|
28
|
-
"pretty": "prettier --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' 'examples/**/*.ts' --write",
|
|
29
|
-
"pretty:check": "prettier --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' 'examples/**/*.ts' --check"
|
|
33
|
+
"start": "npm run build -- --watch",
|
|
34
|
+
"generate:types": "node scripts/generate-types.js",
|
|
35
|
+
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig.json --noEmit",
|
|
36
|
+
"test": "vitest",
|
|
37
|
+
"test:integration": "vitest -c vitest.integration.ts",
|
|
38
|
+
"lint": "eslint src test test-integration scripts",
|
|
39
|
+
"generate:docs": "typedoc src/index.ts",
|
|
40
|
+
"pretty": "prettier --write .",
|
|
41
|
+
"pretty:check": "prettier --check ."
|
|
30
42
|
},
|
|
31
|
-
"name": "signify-ts",
|
|
32
|
-
"author": "Phil Feairheller",
|
|
33
43
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@types/
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"esbuild": "^0.19.5",
|
|
42
|
-
"eslint": "^8.53.0",
|
|
43
|
-
"eslint-config-prettier": "^9.0.0",
|
|
44
|
-
"jest": "^29.3.1",
|
|
45
|
-
"jest-fetch-mock": "^3.0.3",
|
|
46
|
-
"jsdoc": "^4.0.2",
|
|
44
|
+
"@eslint/js": "^9.22.0",
|
|
45
|
+
"@types/node": "^22.13.11",
|
|
46
|
+
"@vitest/coverage-v8": "^3.0.9",
|
|
47
|
+
"bip39": "^3.1.0",
|
|
48
|
+
"eslint": "^9.22.0",
|
|
49
|
+
"eslint-config-prettier": "^10.1.1",
|
|
50
|
+
"globals": "^16.4.0",
|
|
47
51
|
"minami": "^1.2.3",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
52
|
+
"openapi-typescript": "^7.9.1",
|
|
53
|
+
"prettier": "^3.5.3",
|
|
50
54
|
"ts-mockito": "^2.6.1",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"typescript": "^
|
|
54
|
-
"
|
|
55
|
+
"typedoc": "^0.28.0",
|
|
56
|
+
"typescript": "^5.8.2",
|
|
57
|
+
"typescript-eslint": "^8.27.0",
|
|
58
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
59
|
+
"vitest": "^3.0.9"
|
|
55
60
|
},
|
|
56
61
|
"dependencies": {
|
|
62
|
+
"@noble/curves": "^1.8.1",
|
|
57
63
|
"@noble/hashes": "^1.3.2",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
"urlsafe-base64": "^1.0.0"
|
|
64
|
-
},
|
|
65
|
-
"workspaces": [
|
|
66
|
-
"examples/*"
|
|
67
|
-
]
|
|
64
|
+
"base64-js": "^1.5.1",
|
|
65
|
+
"libsodium-wrappers-sumo": "0.8.4",
|
|
66
|
+
"mathjs": "^15.2.0",
|
|
67
|
+
"structured-headers": "^0.5.0"
|
|
68
|
+
}
|
|
68
69
|
}
|
package/dist/math.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const math: import("mathjs").MathJsStatic;
|