nostr-veil 0.2.1 → 0.2.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 (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -114,6 +114,7 @@ The resulting `assertion` is a plain `EventTemplate` you sign and publish like a
114
114
  | `buildIdentifierAssertion(identifier, kTag, metrics)` | Build a kind 30385 identifier assertion |
115
115
  | `buildProviderDeclaration(providers, encryptedContent?)` | Build a kind 10040 provider declaration |
116
116
  | `parseAssertion(event)` | Parse a raw event into a `ParsedAssertion` |
117
+ | `parseProviderDeclaration(event, decryptFn?)` | Parse a kind 10040 provider declaration into `ParsedProvider[]` (supports optional NIP-44 decryption) |
117
118
  | `validateAssertion(event)` | Validate a NIP-85 assertion -- returns `{ valid, errors }` |
118
119
  | `assertionFilter({ kind, subject?, provider? })` | Build a relay query filter for assertions |
119
120
  | `providerFilter(pubkey)` | Build a relay query filter for a provider declaration |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nostr-veil",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Anonymous trust assertions for Nostr. LSAG ring-signature-backed NIP-85 endorsements where contributors are verifiable but unidentifiable.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -57,7 +57,7 @@
57
57
  ],
58
58
  "author": "ForgeSworn",
59
59
  "license": "MIT",
60
- "homepage": "https://github.com/forgesworn/nostr-veil",
60
+ "homepage": "https://forgesworn.github.io/nostr-veil/",
61
61
  "repository": {
62
62
  "type": "git",
63
63
  "url": "https://github.com/forgesworn/nostr-veil"
@@ -73,7 +73,7 @@
73
73
  "node": ">=20"
74
74
  },
75
75
  "dependencies": {
76
- "@forgesworn/ring-sig": "^2.0.0",
76
+ "@forgesworn/ring-sig": "^3.0.0",
77
77
  "@noble/curves": "^2.0.1",
78
78
  "@noble/hashes": "^2.0.1"
79
79
  },