@synopackageland/sdk 0.37.0 → 0.38.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "formatVersion": 1,
3
- "sdkVersion": "0.37.0",
3
+ "sdkVersion": "0.38.0",
4
4
  "executorVersion": "0.32.0",
5
5
  "executorDigests": {
6
6
  "x86_64": "aa8259f22620c3301ee83b76f6de6fbf06b4df36f49b64a5cc12772a3072abcc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/sdk",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Frontend SDK for DSM packages built with synopkgland: headless client and Vue components",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/synopackageland/syno-pkg-land-sdk/tree/main/ts#readme",
@@ -42,14 +42,16 @@ browser waits 2 seconds past the request (`timeouts.json` holds the values).
42
42
  | Executor, `root.run` | the program, then its reply | answers within 130 s (120 + 10) |
43
43
  | Executor, every other op | its DSM calls | answers within 30 s |
44
44
  | Executor client (Go `delegate.Client`, the bridge runtime's `root.*` and `delegate.*`) | the executor | `root.run` 140 s (`delegate.RootRunTimeout`), every other op 40 s (`delegate.ExecutorTimeout`) |
45
- | Request (`api.Timeout`, manifest `timeout_seconds`) | the App's backend | default 60 s (`api.DefaultRequestTimeout`), 1–3600 |
45
+ | Request (`api.Timeout`, manifest `timeout_seconds`) | the App's backend | default 300 s (`api.DefaultRequestTimeout`), 1–3600 |
46
46
  | Browser (`clientTimeout`, the CLI window's `call`) | the request | the request's deadline + 2 s |
47
47
 
48
48
  - The request's deadline ends every inner wait: a client never waits past it.
49
49
  An App whose backend awaits `root.run` therefore needs a deadline of at
50
50
  least the program's `run.timeout_s` + 20 seconds (the executor's 10 and the
51
51
  client's 10), so a 120-second program needs `timeout_seconds` 140; a build
52
- tool SHOULD refuse less. The default 60 covers programs of up to 40 seconds.
52
+ tool SHOULD refuse less. The default 300 covers the maximum synchronous
53
+ program and its response reserve. Longer privileged work uses root jobs;
54
+ request time never enlarges an approved program budget.
53
55
  - A client that gave up does not stop the work: `root.run` runs on (it cannot
54
56
  be canceled), and `portal.register` and `portal.unregister` finish their
55
57
  steps within 2 minutes. The client reads the result again (`status`,
@@ -13,7 +13,7 @@
13
13
  "root_run_s": 140
14
14
  },
15
15
  "request": {
16
- "default_s": 60
16
+ "default_s": 300
17
17
  },
18
18
  "browser": {
19
19
  "margin_ms": 2000