@novasamatech/host-papp 0.8.7-1 → 0.8.7-3

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.
@@ -13,8 +13,8 @@ import { RemoteMessageCodec } from './scale/remoteMessage.js';
13
13
  // payload is for an SDK version the mobile app doesn't support yet. After
14
14
  // this timeout the queue task fails, freeing the pool for the next request.
15
15
  const QUEUE_TASK_TIMEOUT_MS = 180_000;
16
- // Mobile SSO statements allow 256 KiB total; keep headroom for statement/session overhead.
17
- const MAX_SSO_REQUEST_SIZE = 254 * 1024;
16
+ // Mobile SSO statements allow 500 KiB total; keep headroom for statement/session overhead.
17
+ const MAX_SSO_REQUEST_SIZE = 498 * 1024;
18
18
  function withQueueTimeout(resultAsync, label) {
19
19
  const timeoutPromise = new Promise(resolve => setTimeout(() => resolve(err(new Error(`${label} timed out — queue freed`))), QUEUE_TASK_TIMEOUT_MS));
20
20
  return ResultAsync.fromPromise(Promise.race([resultAsync, timeoutPromise]), toError).andThen(r => r);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@novasamatech/host-papp",
3
3
  "type": "module",
4
- "version": "0.8.7-1",
4
+ "version": "0.8.7-3",
5
5
  "description": "Polkadot app integration",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -34,10 +34,10 @@
34
34
  "@noble/ciphers": "2.2.0",
35
35
  "@noble/curves": "2.2.0",
36
36
  "@noble/hashes": "2.2.0",
37
- "@novasamatech/host-api": "0.8.7-1",
38
- "@novasamatech/scale": "0.8.7-1",
39
- "@novasamatech/statement-store": "0.8.7-1",
40
- "@novasamatech/storage-adapter": "0.8.7-1",
37
+ "@novasamatech/host-api": "0.8.7-3",
38
+ "@novasamatech/scale": "0.8.7-3",
39
+ "@novasamatech/statement-store": "0.8.7-3",
40
+ "@novasamatech/storage-adapter": "0.8.7-3",
41
41
  "@polkadot-api/utils": "^0.4.0",
42
42
  "@polkadot-labs/hdkd-helpers": "^0.0.30",
43
43
  "nanoevents": "9.1.0",