@marinoscar/platform-infra 0.1.0-next.20 → 0.1.0-next.22

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @marinoscar/platform-infra
2
2
 
3
+ ## 0.1.0-next.22
4
+
5
+ ## 0.1.0-next.21
6
+
3
7
  ## 0.1.0-next.20
4
8
 
5
9
  ## 0.1.0-next.19
@@ -9,8 +9,18 @@ import java.time.Instant
9
9
 
10
10
  // Wire format: docs/DEVICE-AUTH.md (RFC 8628). Reference client: the CLI's device login (@marinoscar/platform-cli).
11
11
 
12
+ /**
13
+ * [returnUri] is where the activation page sends the user after a successful approval (the app's deep link or an
14
+ * https App Link). The server accepts `https:` and the schemes of `IdentityModule.forRoot({ deviceFlow })`; null is
15
+ * omitted from the request (`explicitNulls = false`).
16
+ */
12
17
  @Serializable
13
- data class DeviceClientInfo(val deviceName: String, val userAgent: String, val tokenType: String = "pat")
18
+ data class DeviceClientInfo(
19
+ val deviceName: String,
20
+ val userAgent: String,
21
+ val tokenType: String = "pat",
22
+ val returnUri: String? = null,
23
+ )
14
24
 
15
25
  @Serializable
16
26
  data class DeviceCodeRequest(val clientInfo: DeviceClientInfo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marinoscar/platform-infra",
3
- "version": "0.1.0-next.20",
3
+ "version": "0.1.0-next.22",
4
4
  "description": "Compose fragments, nginx and OpenTelemetry collector configuration of the platform (ESM).",
5
5
  "license": "MIT",
6
6
  "type": "module",