@agentunion/fastaun 0.5.1 → 0.5.2

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +559 -529
  2. package/_packed_docs/CHANGELOG-validators.md +134 -131
  3. package/_packed_docs/CHANGELOG.md +559 -529
  4. package/_packed_docs/INDEX.md +51 -44
  5. package/_packed_docs/KITE_DOCS_GUIDE.md +19 -16
  6. package/_packed_docs/agent.md//350/277/234/347/250/213agent.md/347/274/223/345/255/230/344/270/216etag/351/200/217/344/274/240/346/226/271/346/241/210.md +169 -116
  7. package/_packed_docs/aun-perf-audit-critical-bugs.md +315 -0
  8. package/_packed_docs/cli/AUN-CLI/350/256/276/350/256/241/346/226/207/346/241/243.md +263 -261
  9. package/_packed_docs/cli/CLI/346/211/213/345/206/214.md +328 -328
  10. package/_packed_docs/protocol/00-/346/200/273/350/247/210/344/270/216/345/210/206/345/261/202.md +2 -2
  11. package/_packed_docs/protocol/00A-/350/256/276/350/256/241/345/216/237/345/210/231-/344/270/272Agent/350/200/214/347/224/237.md +1 -1
  12. package/_packed_docs/protocol/01-/350/272/253/344/273/275/344/270/216/345/207/255/350/257/201/345/215/217/350/256/256-auth.md +39 -16
  13. package/_packed_docs/protocol/03-Gateway-/350/277/236/346/216/245/346/250/241/345/274/217.md +8 -5
  14. package/_packed_docs/protocol/06-/346/234/215/345/212/241/345/215/217/350/256/256.md +18 -19
  15. package/_packed_docs/protocol/07-/351/224/231/350/257/257/347/240/201/344/270/216/347/212/266/346/200/201/346/234/272.md +1 -1
  16. package/_packed_docs/protocol/08-AUN-E2EE-Group.md +293 -294
  17. package/_packed_docs/protocol/08-AUN-E2EE.md +12 -10
  18. package/_packed_docs/protocol/10-Group-/345/255/220/345/215/217/350/256/256.md +85 -89
  19. package/_packed_docs/protocol/11-Storage-/345/255/220/345/215/217/350/256/256.md +4 -4
  20. package/_packed_docs/protocol/15-/347/246/273/347/272/277/346/216/250/351/200/201/351/200/232/347/237/245/345/215/217/350/256/256.md +1 -1
  21. package/_packed_docs/protocol/16-/347/263/273/347/273/237/347/233/256/345/275/225/344/277/235/346/212/244/346/226/271/346/241/210.md +177 -177
  22. package/_packed_docs/protocol/README.md +4 -4
  23. package/_packed_docs/protocol/aun-docs-guide.md +2 -2
  24. package/_packed_docs/protocol/index.md +4 -4
  25. package/_packed_docs/protocol//350/215/211/346/241/210-/346/213/222/347/273/235/344/277/241/345/217/267/345/215/217/350/256/256.md +1 -1
  26. package/_packed_docs/protocol//351/231/204/345/275/225A-/346/234/257/350/257/255/350/241/250.md +13 -13
  27. package/_packed_docs/protocol//351/231/204/345/275/225L-E2EE/345/256/236/347/216/260/346/214/207/345/215/227.md +9 -9
  28. package/_packed_docs/sdk/02-WebSocket/345/215/217/350/256/256.md +15 -13
  29. package/_packed_docs/sdk/04-/350/277/236/346/216/245/344/270/216/350/256/244/350/257/201.md +26 -18
  30. package/_packed_docs/sdk/05-E2EE/345/212/240/345/257/206/351/200/232/344/277/241.md +33 -34
  31. package/_packed_docs/sdk/06-API/346/211/213/345/206/214.md +22 -17
  32. package/_packed_docs/sdk/07-/351/224/231/350/257/257/345/244/204/347/220/206.md +11 -7
  33. package/_packed_docs/sdk/09-group-rpc-manual.md +135 -114
  34. package/_packed_docs/sdk/09-message-rpc-manual.md +50 -28
  35. package/_packed_docs/sdk/09-payload-reference.md +3 -3
  36. package/_packed_docs/sdk/09-storage-rpc-manual.md +1 -1
  37. package/_packed_docs/sdk/AUN_DOCS_GUIDE.md +11 -10
  38. package/_packed_docs/sdk/E2EE_V2/346/266/210/346/201/257/351/200/232/344/277/241/346/227/266/345/272/217/345/233/276.md +3 -2
  39. package/_packed_docs/sdk/INDEX.md +15 -14
  40. package/_packed_docs/sdk/Notify/351/200/232/347/237/245/346/226/271/346/241/210.md +6 -2
  41. package/dist/agent-md.js +18 -9
  42. package/dist/agent-md.js.map +1 -1
  43. package/dist/client/v2-e2ee.js +87 -12
  44. package/dist/client/v2-e2ee.js.map +1 -1
  45. package/dist/keystore/aid-db.js +6 -6
  46. package/dist/version.d.ts +1 -1
  47. package/dist/version.js +1 -1
  48. package/package.json +46 -46
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@agentunion/fastaun",
3
- "version": "0.5.1",
4
- "description": "AUN Protocol Core SDK for Node.js",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "types": "./dist/index.d.ts"
12
- }
13
- },
14
- "engines": {
15
- "node": ">=22.16.0"
16
- },
17
- "license": "Apache-2.0",
18
- "files": [
19
- "dist",
20
- "_packed_docs",
21
- "README.md",
22
- "CHANGELOG.md",
23
- "LICENSE"
24
- ],
25
- "scripts": {
26
- "build": "tsc",
27
- "prepack": "python ../scripts/sync_packed_docs.py ts",
28
- "test": "vitest run",
29
- "test:unit": "vitest run tests/unit",
30
- "test:integration": "vitest run tests/integration/group-e2ee.test.ts",
31
- "test:e2e": "vitest run tests/e2e/v2-p2p.test.ts tests/e2e/v2-group.test.ts tests/e2e/v2-thought.test.ts",
32
- "test:federation": "vitest run tests/integration/federation.test.ts tests/integration/federation-storage.test.ts tests/integration/federation-v2-thought.test.ts",
33
- "test:watch": "vitest"
34
- },
35
- "dependencies": {
36
- "@noble/curves": "^2.2.0",
37
- "ws": "^8.18.0"
38
- },
39
- "devDependencies": {
40
- "@types/node": "^22.0.0",
41
- "@types/ws": "^8.5.0",
42
- "@vitest/coverage-v8": "^4.1.3",
43
- "typescript": "^5.6.0",
44
- "vitest": "^2.0.0"
45
- }
46
- }
1
+ {
2
+ "name": "@agentunion/fastaun",
3
+ "version": "0.5.2",
4
+ "description": "AUN Protocol Core SDK for Node.js",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "engines": {
15
+ "node": ">=22.16.0"
16
+ },
17
+ "license": "Apache-2.0",
18
+ "files": [
19
+ "dist",
20
+ "_packed_docs",
21
+ "README.md",
22
+ "CHANGELOG.md",
23
+ "LICENSE"
24
+ ],
25
+ "scripts": {
26
+ "build": "tsc",
27
+ "prepack": "python ../scripts/sync_packed_docs.py ts",
28
+ "test": "vitest run",
29
+ "test:unit": "vitest run tests/unit",
30
+ "test:integration": "vitest run tests/integration/group-e2ee.test.ts",
31
+ "test:e2e": "vitest run tests/e2e/v2-p2p.test.ts tests/e2e/v2-group.test.ts tests/e2e/v2-thought.test.ts",
32
+ "test:federation": "vitest run tests/integration/federation.test.ts tests/integration/federation-storage.test.ts tests/integration/federation-v2-thought.test.ts",
33
+ "test:watch": "vitest"
34
+ },
35
+ "dependencies": {
36
+ "@noble/curves": "^2.2.0",
37
+ "ws": "^8.18.0"
38
+ },
39
+ "devDependencies": {
40
+ "@types/node": "^22.0.0",
41
+ "@types/ws": "^8.5.0",
42
+ "@vitest/coverage-v8": "^4.1.3",
43
+ "typescript": "^5.6.0",
44
+ "vitest": "^2.0.0"
45
+ }
46
+ }