@w6w/ui 0.2.55 → 0.2.56
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 +4 -0
- package/dist/EditConnectionModal.d.ts +7 -6
- package/dist/connection-app-meta-BEXlKBgV.cjs.map +1 -1
- package/dist/connection-app-meta-ZCPakGjD.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +769 -780
- package/dist/index.mjs.map +1 -1
- package/dist/provider.d.ts +2 -0
- package/package.json +1 -1
- package/src/styles/_tester.scss +2 -3
- package/src/styles.css +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.56
|
|
4
|
+
|
|
5
|
+
- Save pasted credentials with Save; switch OAuth connections to a key/token method while preserving workflow references. Remove the action tester footer divider.
|
|
6
|
+
|
|
3
7
|
All notable changes to `@w6w/ui` are documented in this file.
|
|
4
8
|
|
|
5
9
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Releases are
|
|
@@ -3,7 +3,7 @@ export interface EditConnectionModalProps {
|
|
|
3
3
|
/** The row being edited. `builtIn` rows have nothing to edit: the modal shows a notice only. */
|
|
4
4
|
connection: Pick<ConnectionSummary, "id" | "appId" | "authKey" | "displayName" | "builtIn" | "credentialId" | "lastTestOk">;
|
|
5
5
|
onClose: () => void;
|
|
6
|
-
/** Fired
|
|
6
|
+
/** Fired after all changes are saved. The typed credential is cleared before this runs. */
|
|
7
7
|
onSaved: (updated: ConnectionSummary) => void;
|
|
8
8
|
/** Reserved for icon variants, like the other modals. */
|
|
9
9
|
theme?: ThemeMode;
|
|
@@ -12,13 +12,14 @@ export interface EditConnectionModalProps {
|
|
|
12
12
|
* Edit an existing connection: rename it and/or replace some of its credential fields. Runs on
|
|
13
13
|
* the {@link useW6WApi} adapter alone. The server never returns the stored secret, so credential
|
|
14
14
|
* fields start empty and blank means "keep what is stored" — only the fields the user filled are
|
|
15
|
-
* sent, and the server merges them over the stored credential.
|
|
16
|
-
*
|
|
15
|
+
* sent, and the server merges them over the stored credential. Switching to a key/token auth
|
|
16
|
+
* method replaces the full credential while preserving the connection ID. OAuth re-authorization
|
|
17
|
+
* is not part of this modal.
|
|
17
18
|
*
|
|
18
19
|
* A connection that uses a stored credential (`connection.credentialId`), when the host supplies
|
|
19
|
-
* `api.rotateCredential`,
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* `api.rotateCredential`, saves a full credential replacement through that adapter method.
|
|
21
|
+
* Save also applies any name/binding changes. Other connections sharing the credential switch
|
|
22
|
+
* to the replacement too.
|
|
22
23
|
*
|
|
23
24
|
* Needs `api.updateConnection`. Without it (or for a `builtIn` row) there is no Save button, a
|
|
24
25
|
* one-line notice shows instead, and nothing is called. Hosts should not offer Edit in that case.
|