@parity/product-sdk-signer 0.8.2 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parity/product-sdk-signer",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "description": "Signer manager for Polkadot — Host API and dev accounts",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -20,14 +20,10 @@
20
20
  "dependencies": {
21
21
  "polkadot-api": "^2.1.6",
22
22
  "@parity/product-sdk-address": "0.1.1",
23
- "@parity/product-sdk-host": "0.10.3",
24
- "@parity/product-sdk-keys": "0.3.11",
23
+ "@parity/product-sdk-keys": "0.3.13",
24
+ "@parity/product-sdk-host": "0.12.0",
25
25
  "@parity/product-sdk-logger": "0.1.1"
26
26
  },
27
- "optionalDependencies": {
28
- "@novasamatech/host-api-wrapper": "^0.8.9",
29
- "@novasamatech/host-api": "^0.8.9"
30
- },
31
27
  "devDependencies": {
32
28
  "tsup": "^8.5.1",
33
29
  "typescript": "^5.9.3",
package/src/errors.ts CHANGED
@@ -17,7 +17,8 @@ export class SignerError extends Error {
17
17
  * - The app is loaded outside a Polkadot host container (a regular browser tab
18
18
  * under `npm run dev`, no iframe, no WebView). This is the dominant case
19
19
  * during local development.
20
- * - The optional `@novasamatech/host-api(-wrapper)` peer is not installed.
20
+ * - The host environment is detected but the TruAPI transport can't be reached
21
+ * (no injected message port / unresolvable host origin).
21
22
  *
22
23
  * Branch with `instanceof HostUnavailableError` to surface a "open this app
23
24
  * in a Polkadot host, or pick a dev provider" message to the user.