@sendora/mcp 1.14.3 → 1.14.5
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/dist/connection.js +0 -1
- package/dist/errors.js +2 -2
- package/dist/generated/docs.json +1 -1
- package/dist/generated/screens/domain-records.html +1 -1
- package/dist/generated/screens/message-timeline.html +1 -1
- package/dist/instructions.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/dist/connection.js
CHANGED
|
@@ -5,7 +5,6 @@ export class KeyRefused extends Error {
|
|
|
5
5
|
}
|
|
6
6
|
/** Where keys are made, which every refusal names: a server key under its server in the dashboard. */
|
|
7
7
|
export const KEYS_PAGE = 'https://app.sendora.se/servers';
|
|
8
|
-
/** Where an administrator makes the account's keys, Account › API keys in the dashboard. */
|
|
9
8
|
export const ACCOUNT_KEYS_PAGE = 'https://app.sendora.se/account/tokens';
|
|
10
9
|
/** The kind a key's prefix gives it, or undefined for a string that is no Sendora key. */
|
|
11
10
|
export function kindOf(key) {
|
package/dist/errors.js
CHANGED
|
@@ -18,8 +18,8 @@ const capOwner = {
|
|
|
18
18
|
const hints = {
|
|
19
19
|
invalid_request: null,
|
|
20
20
|
unauthorized: (_error, connection) => connection.kind === 'grant'
|
|
21
|
-
? `This connection has ended, or the person who approved it may no longer open this server. They see their connections
|
|
22
|
-
: `The key was revoked or mistyped. A server key is made under its server in the dashboard, ${KEYS_PAGE}, and an account key by an administrator under Account ›
|
|
21
|
+
? `This connection has ended, or the person who approved it may no longer open this server. They see their connections in the dashboard's user menu, under Connected apps (Anslutna appar), ${DASHBOARD}/account/apps, and can connect the app again.`
|
|
22
|
+
: `The key was revoked or mistyped. A server key is made under its server in the dashboard, ${KEYS_PAGE}, and an account key by an administrator under Account › Account keys (Konto › Kontonycklar), ${ACCOUNT_KEYS_PAGE}; restart the connection with the new one.`,
|
|
23
23
|
wrong_token_kind: null,
|
|
24
24
|
not_for_connections: null,
|
|
25
25
|
read_only_connection: () => 'The person approved this connection without changes on live servers, and the account is read only through a connection. They can connect again and tick "Tillåt ändringar på liveservrar" on the approval page, or the change can be made on a test server.',
|