@arcblock/did-connect-service 4.1.26 → 4.1.27
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/_generated/asset-bytes.js +1 -1
- package/dist/_generated/asset-manifest.js +1 -1
- package/dist/assets/admin-extra.d12f05bb.js +2553 -0
- package/dist/handlers/branding-handler.d.ts.map +1 -1
- package/dist/handlers/branding-handler.js +18 -5
- package/dist/handlers/branding-handler.js.map +1 -1
- package/dist/handlers/team-handler.d.ts.map +1 -1
- package/dist/handlers/team-handler.js +13 -9
- package/dist/handlers/team-handler.js.map +1 -1
- package/dist/logo-paths.d.ts +41 -0
- package/dist/logo-paths.d.ts.map +1 -0
- package/dist/logo-paths.js +69 -0
- package/dist/logo-paths.js.map +1 -0
- package/dist/pages/admin/tab-branding.d.ts.map +1 -1
- package/dist/pages/admin/tab-branding.js +9 -7
- package/dist/pages/admin/tab-branding.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The logo URL contract shared by BrandingHandler (which serves these paths)
|
|
3
|
+
* and the admin console (which renders them).
|
|
4
|
+
*
|
|
5
|
+
* Dependency-free on purpose: the admin page modules that import it are loaded
|
|
6
|
+
* by `build-assets.mjs` in plain Node, so nothing here may drag in a handler,
|
|
7
|
+
* a store, or a Workers-only binding.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Base path of the admin-preview logo alias. `…/blocklet/logo-preview/<type>`
|
|
11
|
+
* serves exactly the bytes the canonical `…/blocklet/<type>` path serves, but
|
|
12
|
+
* on a path no CDN layer caches, answered `no-store`.
|
|
13
|
+
*
|
|
14
|
+
* It exists because the canonical paths can be cached far beyond this service's
|
|
15
|
+
* own `max-age` by the hosting runtime, under a cache key the usual `?t=<now>`
|
|
16
|
+
* bust cannot reach: arc's Cloudflare worker edge-caches
|
|
17
|
+
* `/.well-known/service/blocklet/logo` and `/favicon.ico` for 30 days keyed by
|
|
18
|
+
* host + PATH ONLY (the query is stripped from the key). A logo saved in the
|
|
19
|
+
* admin UI therefore stays invisible *in the admin UI* — the observed symptom
|
|
20
|
+
* is the generated letter placeholder surviving a successful upload — until
|
|
21
|
+
* someone purges that CDN by URL.
|
|
22
|
+
*
|
|
23
|
+
* So the split is deliberate: public surfaces keep the canonical, cacheable
|
|
24
|
+
* paths (they want the CDN), while every branding surface the admin console
|
|
25
|
+
* draws reads through this alias, because a configuration screen that shows
|
|
26
|
+
* anything other than the current stored state is worse than a slow one. The
|
|
27
|
+
* cost is one uncached image fetch per admin page load, which is the right
|
|
28
|
+
* trade for a low-traffic, correctness-critical screen.
|
|
29
|
+
*/
|
|
30
|
+
export declare const LOGO_PREVIEW_BASE = "/.well-known/service/blocklet/logo-preview";
|
|
31
|
+
/**
|
|
32
|
+
* The logo type a preview-alias path addresses, or null when `pathname` is not
|
|
33
|
+
* a preview alias (including a well-formed one naming an unknown type — that
|
|
34
|
+
* is a 404, never a fall-through to some other type's bytes).
|
|
35
|
+
*/
|
|
36
|
+
export declare function previewLogoType(pathname: string): string | null;
|
|
37
|
+
/** Cache policy for the canonical logo paths — short, so branding changes reflect quickly. */
|
|
38
|
+
export declare const LOGO_CACHE_CONTROL = "public, max-age=300";
|
|
39
|
+
/** Cache policy for the preview alias — stored by nothing, anywhere. */
|
|
40
|
+
export declare const LOGO_PREVIEW_CACHE_CONTROL = "no-store, max-age=0";
|
|
41
|
+
//# sourceMappingURL=logo-paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-paths.d.ts","sourceRoot":"","sources":["../src/logo-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,iBAAiB,+CAA+C,CAAC;AA2B9E;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI/D;AAED,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AAExD,wEAAwE;AACxE,eAAO,MAAM,0BAA0B,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The logo URL contract shared by BrandingHandler (which serves these paths)
|
|
3
|
+
* and the admin console (which renders them).
|
|
4
|
+
*
|
|
5
|
+
* Dependency-free on purpose: the admin page modules that import it are loaded
|
|
6
|
+
* by `build-assets.mjs` in plain Node, so nothing here may drag in a handler,
|
|
7
|
+
* a store, or a Workers-only binding.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Base path of the admin-preview logo alias. `…/blocklet/logo-preview/<type>`
|
|
11
|
+
* serves exactly the bytes the canonical `…/blocklet/<type>` path serves, but
|
|
12
|
+
* on a path no CDN layer caches, answered `no-store`.
|
|
13
|
+
*
|
|
14
|
+
* It exists because the canonical paths can be cached far beyond this service's
|
|
15
|
+
* own `max-age` by the hosting runtime, under a cache key the usual `?t=<now>`
|
|
16
|
+
* bust cannot reach: arc's Cloudflare worker edge-caches
|
|
17
|
+
* `/.well-known/service/blocklet/logo` and `/favicon.ico` for 30 days keyed by
|
|
18
|
+
* host + PATH ONLY (the query is stripped from the key). A logo saved in the
|
|
19
|
+
* admin UI therefore stays invisible *in the admin UI* — the observed symptom
|
|
20
|
+
* is the generated letter placeholder surviving a successful upload — until
|
|
21
|
+
* someone purges that CDN by URL.
|
|
22
|
+
*
|
|
23
|
+
* So the split is deliberate: public surfaces keep the canonical, cacheable
|
|
24
|
+
* paths (they want the CDN), while every branding surface the admin console
|
|
25
|
+
* draws reads through this alias, because a configuration screen that shows
|
|
26
|
+
* anything other than the current stored state is worse than a slow one. The
|
|
27
|
+
* cost is one uncached image fetch per admin page load, which is the right
|
|
28
|
+
* trade for a low-traffic, correctness-critical screen.
|
|
29
|
+
*/
|
|
30
|
+
export const LOGO_PREVIEW_BASE = "/.well-known/service/blocklet/logo-preview";
|
|
31
|
+
/**
|
|
32
|
+
* Matched positionally rather than as a full prefix, so a prefixed mount still
|
|
33
|
+
* resolves — the same tolerance the `endsWith` checks in
|
|
34
|
+
* `BrandingHandler.resolveLogoType` already have.
|
|
35
|
+
*/
|
|
36
|
+
const LOGO_PREVIEW_SEGMENT = "/logo-preview/";
|
|
37
|
+
/**
|
|
38
|
+
* Logo types reachable through {@link LOGO_PREVIEW_BASE}, keyed by URL segment.
|
|
39
|
+
*
|
|
40
|
+
* A Map with exact lookups, never a camelCase computed from arbitrary input:
|
|
41
|
+
* that is what keeps `logo-preview/../../secret` (and `logo-preview/constructor`,
|
|
42
|
+
* which a plain object literal would happily answer) from resolving to anything.
|
|
43
|
+
*/
|
|
44
|
+
const PREVIEW_LOGO_TYPES = new Map([
|
|
45
|
+
["square", "square"],
|
|
46
|
+
["square-dark", "squareDark"],
|
|
47
|
+
["rect", "rect"],
|
|
48
|
+
["rect-dark", "rectDark"],
|
|
49
|
+
["favicon", "favicon"],
|
|
50
|
+
["og-image", "ogImage"],
|
|
51
|
+
["splash-portrait", "splashPortrait"],
|
|
52
|
+
["splash-landscape", "splashLandscape"],
|
|
53
|
+
]);
|
|
54
|
+
/**
|
|
55
|
+
* The logo type a preview-alias path addresses, or null when `pathname` is not
|
|
56
|
+
* a preview alias (including a well-formed one naming an unknown type — that
|
|
57
|
+
* is a 404, never a fall-through to some other type's bytes).
|
|
58
|
+
*/
|
|
59
|
+
export function previewLogoType(pathname) {
|
|
60
|
+
const at = pathname.indexOf(LOGO_PREVIEW_SEGMENT);
|
|
61
|
+
if (at === -1)
|
|
62
|
+
return null;
|
|
63
|
+
return PREVIEW_LOGO_TYPES.get(pathname.slice(at + LOGO_PREVIEW_SEGMENT.length)) ?? null;
|
|
64
|
+
}
|
|
65
|
+
/** Cache policy for the canonical logo paths — short, so branding changes reflect quickly. */
|
|
66
|
+
export const LOGO_CACHE_CONTROL = "public, max-age=300";
|
|
67
|
+
/** Cache policy for the preview alias — stored by nothing, anywhere. */
|
|
68
|
+
export const LOGO_PREVIEW_CACHE_CONTROL = "no-store, max-age=0";
|
|
69
|
+
//# sourceMappingURL=logo-paths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-paths.js","sourceRoot":"","sources":["../src/logo-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,4CAA4C,CAAC;AAE9E;;;;GAIG;AACH,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAiB;IACjD,CAAC,QAAQ,EAAE,QAAQ,CAAC;IACpB,CAAC,aAAa,EAAE,YAAY,CAAC;IAC7B,CAAC,MAAM,EAAE,MAAM,CAAC;IAChB,CAAC,WAAW,EAAE,UAAU,CAAC;IACzB,CAAC,SAAS,EAAE,SAAS,CAAC;IACtB,CAAC,UAAU,EAAE,SAAS,CAAC;IACvB,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IACrC,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;CACxC,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,QAAgB;IAC9C,MAAM,EAAE,GAAG,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAClD,IAAI,EAAE,KAAK,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3B,OAAO,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,IAAI,IAAI,CAAC;AAC1F,CAAC;AAED,8FAA8F;AAC9F,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AAExD,wEAAwE;AACxE,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-branding.d.ts","sourceRoot":"","sources":["../../../src/pages/admin/tab-branding.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"tab-branding.d.ts","sourceRoot":"","sources":["../../../src/pages/admin/tab-branding.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,KAAK,GAAG,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC;AA8DpE,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,GAAG,MAAM,CAuH9C;AAID,eAAO,MAAM,mBAAmB,QAsT5B,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Branding tab — App Info, Logos, Languages.
|
|
3
3
|
* Only visible to owner role.
|
|
4
4
|
*/
|
|
5
|
+
import { LOGO_PREVIEW_BASE } from "../../logo-paths.js";
|
|
5
6
|
// SVG icons for logo type cards (16px stroke icons)
|
|
6
7
|
const ICON_SUN = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>`;
|
|
7
8
|
const ICON_MOON = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>`;
|
|
@@ -241,7 +242,6 @@ async function loadBranding() {
|
|
|
241
242
|
|
|
242
243
|
// Logos
|
|
243
244
|
var logos = data.logos || {};
|
|
244
|
-
var LOGO_URLS = { "square": "/logo", "square-dark": "/logo-dark", "rect": "/logo-rect", "rect-dark": "/logo-rect-dark", "favicon": "/logo-favicon", "og-image": "/og-image", "splash-portrait": "/splash/portrait", "splash-landscape": "/splash/landscape" };
|
|
245
245
|
${JSON.stringify(LOGO_TYPES)}.forEach(function(l) {
|
|
246
246
|
var key = l.type.replace(/-([a-z])/g, function(_, c) { return c.toUpperCase(); });
|
|
247
247
|
var preview = document.getElementById("br-logo-preview-" + l.type);
|
|
@@ -252,7 +252,10 @@ async function loadBranding() {
|
|
|
252
252
|
if (oldOverlay) oldOverlay.remove();
|
|
253
253
|
|
|
254
254
|
if (logos[key]) {
|
|
255
|
-
|
|
255
|
+
// Always the no-store preview alias, never the canonical (CDN-cacheable)
|
|
256
|
+
// logo paths — a config screen must render what is actually stored. The
|
|
257
|
+
// ?t= is belt-and-braces against an in-memory <img> reuse on re-render.
|
|
258
|
+
var url = "${LOGO_PREVIEW_BASE}/" + l.type;
|
|
256
259
|
preview.innerHTML = '<img src="' + url + '?t=' + Date.now() + '" />';
|
|
257
260
|
// Add hover overlay with Replace + Discard buttons
|
|
258
261
|
if (item) {
|
|
@@ -387,10 +390,10 @@ async function saveBrandingInfo() {
|
|
|
387
390
|
if (res && res.ok) {
|
|
388
391
|
__pendingLogos = {};
|
|
389
392
|
showToast(__t("branding.updated"));
|
|
390
|
-
// Refresh favicon and header logo
|
|
393
|
+
// Refresh favicon and header logo through the no-store preview alias
|
|
391
394
|
var cacheBust = "?t=" + Date.now();
|
|
392
395
|
var icon = document.querySelector('link[rel="icon"]');
|
|
393
|
-
if (icon) icon.href = "
|
|
396
|
+
if (icon) icon.href = "${LOGO_PREVIEW_BASE}/favicon" + cacheBust;
|
|
394
397
|
var headerLogo = document.querySelector('.admin-header-left img');
|
|
395
398
|
if (headerLogo) headerLogo.src = headerLogo.src.split('?')[0] + cacheBust;
|
|
396
399
|
await loadBranding();
|
|
@@ -414,9 +417,8 @@ async function doUploadLogo(type, file) {
|
|
|
414
417
|
// Store in pending state — not saved to D1 yet
|
|
415
418
|
var camelType = type.replace(/-([a-z])/g, function(_, c) { return c.toUpperCase(); });
|
|
416
419
|
__pendingLogos[camelType] = data.r2Key;
|
|
417
|
-
//
|
|
418
|
-
//
|
|
419
|
-
var LOGO_URLS = { "square": "/logo", "square-dark": "/logo-dark", "rect": "/logo-rect", "rect-dark": "/logo-rect-dark", "favicon": "/logo-favicon", "og-image": "/og-image", "splash-portrait": "/splash/portrait", "splash-landscape": "/splash/landscape" };
|
|
420
|
+
// Preview the pending upload from the local file — it is in R2 but not
|
|
421
|
+
// yet in D1, so no logo endpoint would serve it until Save.
|
|
420
422
|
var preview = document.getElementById("br-logo-preview-" + type);
|
|
421
423
|
if (preview) {
|
|
422
424
|
// Use a blob URL from the uploaded file for instant preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-branding.js","sourceRoot":"","sources":["../../../src/pages/admin/tab-branding.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"tab-branding.js","sourceRoot":"","sources":["../../../src/pages/admin/tab-branding.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,oDAAoD;AACpD,MAAM,QAAQ,GAAG,weAAwe,CAAC;AAC1f,MAAM,SAAS,GAAG,wKAAwK,CAAC;AAC3L,MAAM,WAAW,GAAG,sOAAsO,CAAC;AAC3P,MAAM,YAAY,GAAG,2OAA2O,CAAC;AACjQ,MAAM,aAAa,GAAG,0KAA0K,CAAC;AACjM,MAAM,eAAe,GAAG,+NAA+N,CAAC;AACxP,MAAM,cAAc,GAAG,+NAA+N,CAAC;AACvP,MAAM,UAAU,GAAG,yRAAyR,CAAC;AAE7S,MAAM,UAAU,GAAG;IACjB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,uBAAuB,EAAE,MAAM,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkE/D,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;;;;;;;;;;;;;mBAaX,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+GjB,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA2Bf,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkF3B,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;;;;;;;;;;;CAW3C,CAAC,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/did-connect-service",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.27",
|
|
4
4
|
"description": "Multi-runtime authentication service framework — Passkey, DID Connect, OAuth, Email, Team, RBAC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"ufo": "^1.6.4",
|
|
59
59
|
"ultrahtml": "^1.6.0",
|
|
60
60
|
"valibot": "^1.4.2",
|
|
61
|
-
"@arcblock/did-connect-core": "^4.1.
|
|
62
|
-
"@arcblock/did-connect-js": "^4.1.
|
|
61
|
+
"@arcblock/did-connect-core": "^4.1.27",
|
|
62
|
+
"@arcblock/did-connect-js": "^4.1.27"
|
|
63
63
|
},
|
|
64
64
|
"optionalDependencies": {
|
|
65
65
|
"@aigne/afs": "^1.11.0-beta.13"
|