Skip to content

Commit 77f1ff6

Browse files
committed
CHANGELOG: requesterDisplay needs open-pryv.io 2.0.0-rc.94 or later; canonical logoUri in the echo
1 parent b085009 commit 77f1ff6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### Added
88

9-
- **`pryv`: `authRequest.requesterDisplay`** (`{ name, logoUri?, purpose? }`, typed `AuthRequesterDisplay`; `name` and `purpose` are a text or texts by language code). How the auth page may name your app when the platform's app catalog does not know its `requestingAppId`: the page shows it as self-declared, with the app id and a "not verified" note, never in place of a catalog entry; the logo is shown only when its host is on the platform's `access:logoHosts` list. Sent as given by `Service.startAccessRequest` and the sign-in button. `startAccessRequest` returns the core's echo as `requesterDisplay` (its stored form, without `logoUri` when the logo host is not allowed); the `NEED_SIGNIN` state carries it too. Absent echo: an older core, or a platform that does not show declared names; the request still succeeds and the page shows the app id as before. A malformed value is refused by a core that supports it (`400 invalid-parameters`). Needs an open-pryv.io release after 2.0.0-rc.94.
9+
- **`pryv`: `authRequest.requesterDisplay`** (`{ name, logoUri?, purpose? }`, typed `AuthRequesterDisplay`; `name` and `purpose` are a text or texts by language code). How the auth page may name your app when the platform's app catalog does not know its `requestingAppId`: the page shows it as self-declared, with the app id and a "not verified" note, never in place of a catalog entry; the logo is shown only when its host is on the platform's `access:logoHosts` list. Sent as given by `Service.startAccessRequest` and the sign-in button. `startAccessRequest` returns the core's echo as `requesterDisplay` (its stored form: texts trimmed and normalised, `logoUri` in its canonical URL form, or without `logoUri` when the logo host is not allowed); the `NEED_SIGNIN` state carries it too. Absent echo: an older core, or a platform that does not show declared names; the request still succeeds and the page shows the app id as before. A malformed value is refused by a core that supports it (`400 invalid-parameters`). Needs open-pryv.io 2.0.0-rc.94 or later.
1010
- **`@pryv/cmc` `errorIds`: `ACCEPT_WITHDRAWN`** (`'cmc-accept-withdrawn'`, on the accepter's accept trigger: a queued retry of an accept whose consent ended meanwhile, or that a newer accept for the same counterparty and scope replaced; nothing is minted or delivered again) **and `INCOMING_ACCEPT_SUPERSEDED`** (`'cmc-incoming-accept-superseded'`, on the requester's core: an accept received before the one the relationship is paired with, refused when retried). Both are permanent, never retried, and returned by open-pryv.io 2.0.0-rc.90 and later. Also in the `CmcErrorId` typing.
1111
- **`@pryv/delegation` typings: `DelegateRecord.origin` and `ControlledRecord.origin`** (`DelegationOrigin`, `'created' | 'attached'`): how the relationship was made, set by the core (open-pryv.io issue 174). Optional: absent from cores up to 2.0.0-rc.92. Types only, no runtime change.
1212
- **`pryv` typings: `AccountInformation.emails`** (`AccountEmail[]`, the result of `account.get` / `account.update` on cores with multiple emails per account): `value`, `primary`, `status` (`'pending' | 'verified'`), `verifiedAt`, `verificationMethod` (`AccountEmailVerificationMethod`) and `verificationCooldownUntil` (the time until which a new verification mail for the address is refused, `null` when no cooldown runs; optional, absent from cores up to 2.0.0-rc.92; a refused resend's `retryAfterSeconds` stays authoritative). Types only, no runtime change.

0 commit comments

Comments
 (0)