snagset 0.0.1 → 0.0.3

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.
@@ -114,6 +114,7 @@ export declare const storageKey: {
114
114
  readonly session: (uid: string) => string;
115
115
  readonly identity: "snag:identity";
116
116
  readonly threads: (uid: string, env: string) => string;
117
+ readonly seen: (uid: string, env: string) => string;
117
118
  readonly counts: (origin: string) => string;
118
119
  readonly draft: (route: string, draftId: string) => string;
119
120
  readonly outbox: (uid: string) => string;
@@ -129,7 +130,7 @@ export declare const IDB: {
129
130
  readonly store: "blobs";
130
131
  };
131
132
  /** Anchored regex sources matching every registered key — AC-22's storage diff. */
132
- export declare const STORAGE_KEY_PATTERNS: readonly ["^snag:session:.+$", "^snag:identity$", "^snag:threads:.+:.+$", "^snag:counts:.+$", "^snag:draft:.+:.+$", "^snag:outbox:.+$", "^snag:mode$", "^snag:handoff$", "^snag:seen-coach$", "^snag:disclosure:v1$"];
133
+ export declare const STORAGE_KEY_PATTERNS: readonly ["^snag:session:.+$", "^snag:identity$", "^snag:threads:.+:.+$", "^snag:seen:.+:.+$", "^snag:counts:.+$", "^snag:draft:.+:.+$", "^snag:outbox:.+$", "^snag:mode$", "^snag:handoff$", "^snag:seen-coach$", "^snag:disclosure:v1$"];
133
134
  /** The WIDGET's two (§2.7). Neither carries a credential, and no cookie authenticates the widget API — it runs on somebody else's origin. */
134
135
  export declare const COOKIE: {
135
136
  readonly off: "snag_off";
@@ -150,6 +150,7 @@ export const storageKey = {
150
150
  session: (uid) => `snag:session:${uid}`,
151
151
  identity: IDENTITY_KEY,
152
152
  threads: (uid, env) => `snag:threads:${uid}:${env}`,
153
+ seen: (uid, env) => `snag:seen:${uid}:${env}`,
153
154
  counts: (origin) => `snag:counts:${origin}`,
154
155
  draft: (route, draftId) => `snag:draft:${route}:${draftId}`,
155
156
  outbox: (uid) => `snag:outbox:${uid}`,
@@ -169,6 +170,7 @@ export const STORAGE_KEY_PATTERNS = [
169
170
  "^snag:session:.+$",
170
171
  "^snag:identity$",
171
172
  "^snag:threads:.+:.+$",
173
+ "^snag:seen:.+:.+$",
172
174
  "^snag:counts:.+$",
173
175
  "^snag:draft:.+:.+$",
174
176
  "^snag:outbox:.+$",
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "snagset",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
- "description": "Click-to-comment review for a live website. One import, or one script tag. Framework subpaths for React, Vue, Next.js, Vite and Astro.",
6
+ "description": "Click-to-comment review for a live website. One script tag, or one import. React, Vue, Next.js, Vite, Astro.",
7
7
  "license": "MIT",
8
8
  "keywords": [
9
9
  "review",