Ship Theseus 0.0.8: window.bcnr dApp API + eTLD+1 permission origins
Merges a parallel session's work with the multi-source BNS story from 0.0.7.
The dApp side (parallel session)
--------------------------------
* bcnr-preload.js — installs `window.bcnr` on every page via contextBridge.
Read-only surface: resolveName(name), isRegistered(name), getBcnrTlds(),
getRecordVersion(name), plus getPermissionOrigin() for diagnostics. All
Promises; a missing name returns null (not throw). No signing, no wallet
unlock — that surface is designed but deliberately out of scope for 0.0.8
(see TheseusNavigator/DESIGN-integrated-wallet.md).
* bcnr-origin.js — pure function that computes the eTLD+1 permission origin
for a URL. ICANN suffixes via `psl` (same PSL Chromium uses, handles
.co.uk / .github.io / etc); BNS names key off the on-chain TLD list so
foo.wallet becomes a public suffix as soon as `wallet` appears there.
Match browser cookie / MetaMask semantics: a grant on pay.merchant.com
covers account.merchant.com but not evil.com.
* dev/bcnr-selftest.js, dev/origin-selftest.mjs — self-tests, no I/O.
* main.js wires bcnr-preload.js into session.defaultSession.setPreloads() so
it runs BEFORE per-WebContentsView preloads; adds bcnr:* IPC handlers.
* preload.js + chrome.html — small hooks so the shell picks up window.bcnr
the same way regular content does.
* package.json — psl dep, bcnr-preload.js/bcnr-origin.js in `files`.
Also included
-------------
* AriadneResolver/mobile/.../UpdateCheck.java — in-app update-check for the
Android app; already active in the shipped 0.11 APK (build.ps1 -Recurse
picked it up), formalising the source now.
* TheseusNavigator/snapshots/bns-name-snapshot.json — refreshed bundled
starter (73 beacon txs, root c37b8596…c54e414ba).
* Site pages + manifest updated to point at 0.0.8.
TheseusNavigator-Setup-0.0.8.exe 95.4 MB
21939743eafdfe8742a6b7c4b987bd2782384d7bc41289cb80a7e08019dc9f02
TheseusNavigator-0.0.8-portable.exe 92.7 MB
2aa429fe39dc0fa4ac040fc6d6eb31b0f890c8a83175c49fcb50f052c480d39d
2026-08-31 01:38:55 +02:00
|
|
|
{"schema":"bns-name-snapshot/1","beacon":"e1cdbba719436f49acb4bf245b44df875c6d6b405eda46a9d3e736d138102f3b","root":"c37b8596829a40748a2cfbfc4add5d1f70aaca59b891ad3dc2fc1fbc54e414ba","asOfHeight":null,"asOfTxid":null,"history":[{"tx_hash":"6d9553a87cc45cf79f80f2bed077f20db798cbb4fc55cd4640606bf218c0fb8d","height":315692},{"tx_hash":"8339ed19b3bf05f8a371fb45a26fa92dad0271b512cb9a77e8b0bb07ca70838f","height":315692},{"tx_hash":"5ad9de448c73ed7f15e8b60d69cb2e029ca51fd6bc7ae88db50e9a29e49b714b","height":315699},{"tx_hash":"8cd1c3b4376aba2faa2a70e0c54e423df7683bf7c330a064af5f5ea9f1fdfb0b","height":315700},{"tx_hash":"d713a9374a2d3ddb02c4a776ee652ee630999fbe16c9f97faf3efb0fcea1a15a","height":315701},{"tx_hash":"06089872b61169cf9d1c7e19da6cf96eac441caa493f1b725ffac8f5e4c196b4","height":315711},{"tx_hash":"ba9fe976640a6b62bd65f67f9042a0f948050ce2cf35f290cbdd011a4238f472","height":315723},{"tx_hash":"f79bfdc56bd181e9d0526307a77ad464f618fb7cf89ae52467e5f9ae9d99aeb0","height":315727},{"tx_hash":"89c78a7d7a9b740353d99ab04b8b5a88ef2487bd3aa1e9da73a5bf398d980cce","height":315804},{"tx_hash":"93eaed3dc254e831e4908984f7e0adc95b1868dc9d4c7e417a48affe88c396e8","height":315804},{"tx_hash":"0629f5641444304db87d5a2c0dc287843296629a96695f0aa394af32ca9a4fdb","height":315808},{"tx_hash":"80bdbef4530d9f3c25627a1e9d908af342821c89eff66ba7a05d8158cb76fad2","height":315892},{"tx_hash":"6002f520e0de398e8541a70097739a7d36640456216391341628b10974be4610","height":316045},{"tx_hash":"628501df5bd89b994a956119edabe30d161a575a53107aa936962287e37e6429","height":316240},{"tx_hash":"037dc3dbbb6c823f8d554b75450975d81688aad80444679d823e2a9bd9d58ed2","height":316242},{"tx_hash":"969c0891d0ca85c37bbbf5b06436905cceda9b6e941e950ff4463d20dc116772","height":316242},{"tx_hash":"674def31f04925e5cc42337c811329136b08ab68692a10118cbcd5933e9a49df","height":316254},{"tx_hash":"6c07d5cce792b6349ec4b12bdb8b5948fa43762a9ea12dae0e48959070a3dd3b","height":316254},{"tx_hash":"8da2cc4ad2d49a94d964566518cf1c24e6de4e83761aa3557df8669348f0e052","height":316254},{"tx_hash":"96ae5a51193b71ed92e5f3c0fba50b0b407ec7e40908cbe1986e08e8b16f90e7","height":316254},{"tx_hash":"ca243c067a9bc4ad11b88c78f06b2e2a4489dda1a33f901eb2e63a6a20029c45","height":316254},{"tx_hash":"e390e8ac4b0d956657de6aa70931499e0fd22aa2bb59e19bcde07e8c04dc1d53","height":316254},{"tx_hash":"a80045e865967b3abff7a764a0fe16304b9c919605ccaf925f5d9f41f3a2d50a","height":316256},{"tx_hash":"28007bd8d1c54967e17e6eba5fe2fe0daa481be8a48cf39177a8d9e82feed201","height":316262},{"tx_hash":"3947b4a1a2905915dc638def281c4eee90da86f6ba2cf7769708a1cd06e672ac","height":316262},{"tx_hash":"7076fd08e3115403b55dd14c7b6ac843a2e2c3015931f91c5479185f31f0dc49","height":316277},{"tx_hash":"bf43bddd9f163e7ccf0b980cd2ddee0470765dd0ad6f424e986ad46a689d24c2","height":316415},{"tx_hash":"cb8c9002b4c1f032a1da448f8e8b445c32bf41851208d6d11d4cbbf583ee2175","height":316609},{"tx_hash":"9b71620c7d1bf3cfed69d035ffff5576382cc28ff8f523321ed0a0f1d4764852","height":316691},{"tx_hash":"1b1beb7d4ece128a043e9ae31d40fbaa76f0626f97d267b6448d372bc825b5ec","height":316724},{"tx_hash":"e25a21357e0ee2c7f4e9e769d99ec375d7388695c89f4517153de0405e92656d","height":316760},{"tx_hash":"f5a34ec7b995541f2f9b10f85d30b29cc76ebf75960e794a9001a68b16f6b3e9","height":316983},{"tx_hash":"4911e21829714e41d5676d161769fda4e40e8c5745c755ade473cfbda6c65952","height":317009},{"tx_hash":"685b8cb240ff19342c4a228a4adc4bea1776c64ae0cab581d3e5d0800d9a1454","height":317009},{"tx_hash":"e1b3e41f3ee15d7252a696522891ce6ecf2138da42bdc2571cc6e31772cf3924","height":317009},{"tx_hash":"e7efa170ce7f5a414a3ff1b2226d8b72a14664e484a864ad58bdac938ed74df7","height":317009},{"tx_hash":"178140fc4305e9fda9afe2e544f3dcf0183af22c275b143dad33bac6ecc61b4b","height":317010},{"tx_hash":"2ae4f2fe2deadbac836bb220af311c052d4f24df8d900c2b0d24fb626bce8fb5","height":317010},{"tx_hash":"985f0970ecd6d70b2f2d2553337150ed18a3e6e6cb88918f592d68d64f05ce37","height":317010},{"tx_hash":"a6d7a16d6ce68f7a100a6b133eb49df42541d5da4128c1c983aa7230e1d36d7a","height":317010},{"tx_hash":"6656b915febd6e6d801f1d3e19e6c87cd9acaada95c6060236f4b096
|