@pushary/agent-hooks 0.64.4 → 0.65.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.65.0
|
|
4
|
+
|
|
5
|
+
### The pairing QR now works when you scan it with your phone camera
|
|
6
|
+
|
|
7
|
+
It did not. Scanning it opened the app on "Unmatched Route", and the only way
|
|
8
|
+
through was the in-app scanner, which parses the QR itself and never routes.
|
|
9
|
+
|
|
10
|
+
The QR encoded `https://pushary.com/app/pair`, and `/app/*` is claimed by the
|
|
11
|
+
app: the AASA lists it and so does the Android manifest. The OS therefore handed
|
|
12
|
+
the link to the app before the page could load, which was the intent. What it
|
|
13
|
+
handed over was the path `/app/pair`, and the app's pairing screen is `/pair`.
|
|
14
|
+
Nothing matched, on every build ever shipped.
|
|
15
|
+
|
|
16
|
+
The QR points at `/pair` now. Nothing claims it, so the browser always opens it,
|
|
17
|
+
and the page hands off to `pushary://pair`, which every shipped build already
|
|
18
|
+
routes correctly. That is the whole reason for the move: the Android claim is
|
|
19
|
+
compiled into the installed app, so no amount of server or app-store work fixes
|
|
20
|
+
the phones already out there, and this does, today.
|
|
21
|
+
|
|
22
|
+
`/app/pair` still serves the same page, so a link from an older CLI is not dead.
|
|
23
|
+
|
|
3
24
|
## 0.64.4
|
|
4
25
|
|
|
5
26
|
### The shell you ran setup in still exported the key it replaced
|
|
@@ -490,7 +490,7 @@ var buildPairLinks = (pairId, publicKeyB64, baseUrl = apiBase()) => {
|
|
|
490
490
|
const id = encodeURIComponent(pairId);
|
|
491
491
|
const pk = encodeURIComponent(publicKeyB64);
|
|
492
492
|
return {
|
|
493
|
-
universalLink: `${baseUrl.replace(/\/+$/, "")}/
|
|
493
|
+
universalLink: `${baseUrl.replace(/\/+$/, "")}/pair?id=${id}&pk=${pk}`,
|
|
494
494
|
deepLink: `pushary://pair?pk=${pk}&id=${id}`
|
|
495
495
|
};
|
|
496
496
|
};
|