@north-light/cli 0.3.622 → 0.3.624

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.
@@ -9,6 +9,10 @@ when-and-why-to-read: When you need Release notes, this knowledge should be read
9
9
 
10
10
  Changes to `@north-light/sdk` that can change what an existing app sees. Newest first.
11
11
 
12
+ ## 0.3.622
13
+
14
+ `oauth.authorizeUrl` takes an optional `loginHint`: a phone number your app already collected, sent as the standard `login_hint`. A signed-out person's sign-in page then shows the number with one "Text me a link" button instead of asking for it (US and Canadian numbers in any format they type; a number the directory cannot text only prefills its form). Nothing is texted until the person presses the button. No existing call changes.
15
+
12
16
  ## 0.3.613
13
17
 
14
18
  `oauth.appMember('user:<id>')` asks the directory whether that person is on the team that holds your app, for your app's own staff pages. It answers `{member: true, role: 'admin' | 'member'}` or `{member: false}` (an unknown user is `member: false`) by calling `GET /v1/apps/self/members/:user_id` as the app itself, and caches nothing, so someone removed from the team is refused at their next call. A 401 re-mints the directory token once. Nothing existing changes.