You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bump ordpool-parser to 9754454 + migrate test URLs to ordpool.space
Pulls in v2.1.2 of ordpool-parser:
- Decode-failure sentinels (INVALID_COMPRESSED_DATA_MESSAGE,
MAX_DECOMPRESSED_SIZE_MESSAGE) are now intercepted by the parser's
preview pipeline. getPreview() returns a clean failure HTML page
instead of leaking the sentinel string into <img>/<audio>/code-viewer
outputs. getContentTypeInstructions() gains a 'decode-failure' return
shape -- the existing default else branch in inscription-viewer.html
routes it to <app-preview-viewer>, which calls getPreview() and
renders the failure HTML. Zero frontend code changes needed.
- The inscription parser is fault-tolerant when an inscription declares
Content-Encoding: br on a body that isn't valid brotli (block 869,599
has one such tx, 5125c1...4634, mis-labeled gzip).
Other change: every `// test here: http://localhost:...` URL comment
across the digital-artifact viewer components and the backend's
ordpool.routes.ts has been migrated to https://ordpool.space/...
The runtime fallback in accelerate-checkout.component.ts (live code,
not a comment) is left as-is.
// Complex SVG with JavaScript (only works when rendered server-side): http://127.0.0.1:8999/content/77709919918d38c8a89761e3cd300d22ef312948044217327f54e62cc01b47a0i0
97
+
// SVG with gzip: https://ordpool.space/content/4c83f2e1d12d6f71e9f69159aff48f7946ce04c5ffcc3a3feee4080bac343722i0
// Complex SVG with JavaScript (only works when rendered server-side): https://ordpool.space/content/77709919918d38c8a89761e3cd300d22ef312948044217327f54e62cc01b47a0i0
Copy file name to clipboardExpand all lines: frontend/src/app/components/_ordpool/digital-artifact-viewer/inscription-viewer/inscription-viewer.component.ts
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,15 @@ import { ElectrsApiService } from '../../../../services/electrs-api.service';
7
7
/*
8
8
More test cases:
9
9
10
-
- Batch inscription with pointer: http://localhost:4200/tx/11d3f4b39e8ab97995bab1eacf7dcbf1345ec59c07261c0197e18bf29b88d8da
11
-
- Inscriptions on multiple inputs: http://localhost:4200/tx/092111e882a8025f3f05ab791982e8cc7fd7395afe849a5949fd56255b5c41cc
12
-
- Content with brotli encoding: http://localhost:4200/tx/6dc2c16a74dedcae46300b2058ebadc7ca78aea78236459662375c8d7d9804db
13
-
- Content with gzip encoding: http://localhost:4200/tx/2c0c49fc122d223b7178a74064e59ffaa2db7ce7e541ef5c1a9188064f2f24ab
14
-
- Metadata and Metaprotocol: http://localhost:4200/tx/49cbc5cbac92cf917dd4539d62720a3e528d17e22ef5fc47070a17ec0d3cf307
0 commit comments