wiki-formant 0.17.0 → 0.17.1
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/dist/rola.js +13 -6
- package/package.json +1 -1
package/dist/rola.js
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
// rola.ts — Radix On-Ledger Authentication: challenge, proof, session.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
3
|
+
// Two Radix wikis had written this file, and the copies were 94% identical — the
|
|
4
|
+
// whole difference was a cookie name, plus the half radix-wiki had learned and
|
|
5
|
+
// miow had not: persona (identity_*) proofs, which miow rejected because it
|
|
6
|
+
// passed `type: 'account'` unconditionally, and the error logging that makes a
|
|
7
|
+
// failed verification diagnosable at all.
|
|
8
8
|
//
|
|
9
9
|
// This is radix-wiki's version, parameterised on the two things a second wiki
|
|
10
|
-
// actually
|
|
10
|
+
// would actually differ in: the cookie name and its dApp identity.
|
|
11
|
+
//
|
|
12
|
+
// **One consumer, as of Sep 2026.** miow is retired, so the second wiki this was
|
|
13
|
+
// parameterised for no longer exists; caper's wallet auth never used this stack
|
|
14
|
+
// and acuiq gates only its wiki editor, on a shared secret. Keep it — the
|
|
15
|
+
// persona-proof fix and the error logging are worth not losing, and the ports
|
|
16
|
+
// below are what make it reusable at all — but do not mistake it for a proven
|
|
17
|
+
// shared abstraction. It is radix-wiki's auth that happens to live in a package.
|
|
11
18
|
//
|
|
12
19
|
// Storage and cookies are ports rather than imports. A Prisma client is
|
|
13
20
|
// generated per repo and cannot be shared, and taking `next/headers` here would
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wiki-formant",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "The portable half of a wiki: derived taxonomy and facet controls, a version-negotiating MCP transport, markdown twins, block rendering, a rich-text editor engine, and conditional-GET plumbing.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|