tablinum 0.6.4 → 0.8.0

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.
@@ -21,6 +21,8 @@ export declare class Tablinum<S extends SchemaConfig> {
21
21
  exportKey(): string;
22
22
  exportInvite(): Invite;
23
23
  close: () => Promise<void>;
24
+ destroy: () => Promise<void>;
25
+ leave: () => Promise<void>;
24
26
  sync: () => Promise<void>;
25
27
  rebuild: () => Promise<void>;
26
28
  addMember: (pubkey: string) => Promise<void>;
@@ -0,0 +1,10 @@
1
+ import type { NostrEvent } from "nostr-tools/pure";
2
+ /**
3
+ * Creates a NIP-09 deletion request (kind 5) for one or more events.
4
+ *
5
+ * For gift wraps (kind 1059), NIP-59 specifies that relays SHOULD honor
6
+ * deletions where the signer's pubkey matches the gift wrap's p-tag.
7
+ * This means the epoch key holder can delete any gift wrap addressed
8
+ * to that epoch — regardless of who originally created it.
9
+ */
10
+ export declare function createDeletionEvent(targetEventIds: readonly string[], signingKey: Uint8Array): NostrEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tablinum",
3
- "version": "0.6.4",
3
+ "version": "0.8.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/kevmodrome/tablinum.git",