@domino-sdk/relay 1.75.0 → 1.76.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 +17 -0
- package/dist/browser.js +4 -4
- package/dist/{chunk-CEG67D4T.js → chunk-4YKOSNYI.js} +1 -1
- package/dist/{chunk-UHYKKC5U.js → chunk-E4ZQCG44.js} +2 -2
- package/dist/{chunk-E2DB4MKM.js → chunk-LFFGW7GB.js} +888 -925
- package/dist/{chunk-XJCKQSFS.js → chunk-X5REDFGV.js} +1 -1
- package/dist/{chunk-ZEYI662X.js → chunk-YB5BSKVU.js} +1 -1
- package/dist/{chunk-SIKP4VMU.js → chunk-ZXFRHGZC.js} +375 -293
- package/dist/{identity-integration-DnSgQjbY.d.ts → identity-integration-B1f5oOdc.d.ts} +1167 -3
- package/dist/{transport-BMwM6JlS.d.ts → index-BM0DdDYy.d.ts} +249 -1260
- package/dist/index.js +3 -3
- package/dist/internal.d.ts +15 -7
- package/dist/internal.js +7 -4
- package/dist/portal-proxy.d.ts +1 -1
- package/dist/portal-proxy.js +2 -2
- package/dist/react/index.js +4 -4
- package/dist/runtime/manifest.json +1 -1
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +48 -15
- package/dist/solana.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @domino-sdk/relay
|
|
2
2
|
|
|
3
|
+
## 1.76.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 94e745d: Hosted apps can see when a service key saved in an app secret stops working, before staff or members hit it.
|
|
8
|
+
|
|
9
|
+
- `GET /secrets` and `PUT /secrets/:name` (`management.secrets.list()` and `set()`, `domino secrets list --json` and `set --json`) add `credential` to a secret whose value is a service key (`dsk_…`). Its `status` is `active`, `expired`, `unknown` (revoked, mistyped, or another deployment's or organization's) or `other-scope` (another project or environment of your organization). For your organization's keys it also gives the key's `id`, `name` and `permissions`, the secret's `expiresAt`, and, for `other-scope`, the key's `project` and `environment`. It never includes the value. The check doesn't count as a use, so the key's **Last used** stays put. The SDK types the field as `AppSecretCredential`, with open `kind` and `status` strings.
|
|
10
|
+
- `domino doctor --remote` adds an `app-credentials` check for app projects. It reports an error for each secret whose service key Domino would refuse, which makes doctor unhealthy, and a warning for one expiring within 7 days. Otherwise it lists each key with its permissions. The repair step is for an organization admin in Console **Settings → API keys**, followed by `domino secrets set` and a stage. The `remote-access` message now says it verifies the CLI's own credential, not the app's keys.
|
|
11
|
+
- `domino secrets set` still stores such a key, but warns on stderr with the same repair step and exits 0.
|
|
12
|
+
|
|
13
|
+
- 2197d95: Hosted apps keep their failed requests, exceptions and warnings for up to 7 days, and `domino runtime-logs` (experimental) reads them.
|
|
14
|
+
|
|
15
|
+
- Domino records each request a hosted app answers with 400 or above, each one that throws or runs out of CPU time or memory, and each one that logs with `console.warn` or `console.error`, in test and in live separately. A record holds the time, method, URL path (no query string), status, outcome, up to 5 exceptions and up to 20 console lines of up to 1,000 characters each. Headers, bodies, query strings and visitors' IP addresses are never stored, and Domino keys and tokens, `Bearer` values, JWT-shaped tokens, email addresses and IP addresses in what is stored become `[redacted]`. A build keeps its newest 2,000 records per environment.
|
|
16
|
+
- `domino runtime-logs` reads the build the environment serves, in test unless `--environment live`, or `--build ID`. `--since` takes a duration up to `7d` (24 hours by default), `--limit` up to 200 and `--cursor` the previous page's `nextCursor`. `--json` prints `{ build, items, nextCursor, environment }`; pass `nextCursor` back as `--cursor` with the same `--build`. It reads `GET /management/v1/runtime-logs`, which needs read in the environment; another project's build answers 404.
|
|
17
|
+
- Builds staged or promoted before this release record nothing until you stage or promote again.
|
|
18
|
+
- The SDK adds the experimental `runtimeLogPageSchema` and `runtimeLogEventSchema` (with `RuntimeLogPage`, `RuntimeLogEvent`, and open `RuntimeLogTrigger` and `RuntimeLogOutcome` strings) for that page.
|
|
19
|
+
|
|
3
20
|
## 1.75.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/browser.js
CHANGED
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
signInOptions,
|
|
14
14
|
solanaSigner,
|
|
15
15
|
walletStandardSolanaSigner
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YB5BSKVU.js";
|
|
17
17
|
import {
|
|
18
18
|
telegramMiniAppInitData
|
|
19
19
|
} from "./chunk-FWLQ5XCS.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-E4ZQCG44.js";
|
|
21
21
|
import "./chunk-E73HZCG2.js";
|
|
22
22
|
import "./chunk-AL5XMXPO.js";
|
|
23
23
|
import {
|
|
24
24
|
getHostEnvironment
|
|
25
25
|
} from "./chunk-MDSSIOBC.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-4YKOSNYI.js";
|
|
27
|
+
import "./chunk-X5REDFGV.js";
|
|
28
28
|
import "./chunk-HEQ7HLXG.js";
|
|
29
29
|
import "./chunk-3KHVIUKK.js";
|
|
30
30
|
import "./chunk-TAZ5AEYF.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
createHttpExchange,
|
|
10
10
|
untilAborted,
|
|
11
11
|
withQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4YKOSNYI.js";
|
|
13
13
|
import {
|
|
14
14
|
PARTICIPANT_TIMEOUT,
|
|
15
15
|
lifetime,
|
|
16
16
|
retrying,
|
|
17
17
|
validTimeout
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X5REDFGV.js";
|
|
19
19
|
import {
|
|
20
20
|
authProvidersSchema,
|
|
21
21
|
collectionPassSchema,
|