@camstack/addon-pipeline-orchestrator 1.1.37 → 1.1.39

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.
@@ -36,6 +36,6 @@
36
36
  </noscript>
37
37
  <!-- The root element for your Expo app. -->
38
38
  <div id="root"></div>
39
- <script src="/viewer/camstack/_expo/static/js/web/index-e5a29cdd5523b4650928a4a0eeb47719.js" defer></script>
39
+ <script src="/viewer/camstack/_expo/static/js/web/index-9c67053a517d45555621530dfb9fb675.js" defer></script>
40
40
  </body>
41
41
  </html>
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.1.20",
6
+ version: "1.1.21",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_orchestrator_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.1.36",
21
+ version: "1.1.38",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_orchestrator_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.1.36",
39
+ version: "1.1.38",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.1.20",
48
+ version: "1.1.21",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
package/dist/index.js CHANGED
@@ -17383,6 +17383,19 @@ method(_void(), array(TurnServerSchema).readonly());
17383
17383
  * b. `finishAuthentication({userId, response})` → server verifies
17384
17384
  * the assertion, bumps the credential counter, returns ok.
17385
17385
  *
17386
+ * 2b. Usernameless (discoverable-credential) authentication — the
17387
+ * passkey IS the primary factor, no password leg:
17388
+ * a. `beginDiscoverableAuthentication({})` → assertion options with
17389
+ * EMPTY `allowCredentials` (the browser offers every resident
17390
+ * passkey it holds for this RP) + `userVerification: 'required'`
17391
+ * (the passkey replaces both factors, so UV is mandatory).
17392
+ * The challenge is stored server-side, NOT bound to any user.
17393
+ * b. `finishDiscoverableAuthentication({response})` → the provider
17394
+ * resolves the credential by the response's credential id,
17395
+ * verifies the assertion against the stored challenge + that
17396
+ * credential's public key/counter, and returns the OWNING
17397
+ * `userId` — the caller (core auth router) mints the session.
17398
+ *
17386
17399
  * 3. Management:
17387
17400
  * - `listPasskeys({userId})` — enumerate user's enrolled credentials.
17388
17401
  * - `removePasskey({userId, credentialId})` — revoke one credential.
@@ -17429,6 +17442,17 @@ method(object({
17429
17442
  }), object({ verified: boolean() }), {
17430
17443
  kind: "mutation",
17431
17444
  access: "view"
17445
+ }), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
17446
+ kind: "mutation",
17447
+ access: "view"
17448
+ }), method(object({
17449
+ /** AuthenticationResponseJSON from the browser. */
17450
+ response: record(string(), unknown()) }), object({
17451
+ verified: boolean(),
17452
+ userId: string().nullable()
17453
+ }), {
17454
+ kind: "mutation",
17455
+ access: "view"
17432
17456
  }), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
17433
17457
  userId: string(),
17434
17458
  credentialId: string()
@@ -23928,6 +23952,12 @@ Object.freeze({
23928
23952
  addonId: null,
23929
23953
  access: "view"
23930
23954
  },
23955
+ "userPasskeys.beginDiscoverableAuthentication": {
23956
+ capName: "user-passkeys",
23957
+ capScope: "system",
23958
+ addonId: null,
23959
+ access: "view"
23960
+ },
23931
23961
  "userPasskeys.beginRegistration": {
23932
23962
  capName: "user-passkeys",
23933
23963
  capScope: "system",
@@ -23940,6 +23970,12 @@ Object.freeze({
23940
23970
  addonId: null,
23941
23971
  access: "view"
23942
23972
  },
23973
+ "userPasskeys.finishDiscoverableAuthentication": {
23974
+ capName: "user-passkeys",
23975
+ capScope: "system",
23976
+ addonId: null,
23977
+ access: "view"
23978
+ },
23943
23979
  "userPasskeys.finishRegistration": {
23944
23980
  capName: "user-passkeys",
23945
23981
  capScope: "system",
package/dist/index.mjs CHANGED
@@ -17355,6 +17355,19 @@ method(_void(), array(TurnServerSchema).readonly());
17355
17355
  * b. `finishAuthentication({userId, response})` → server verifies
17356
17356
  * the assertion, bumps the credential counter, returns ok.
17357
17357
  *
17358
+ * 2b. Usernameless (discoverable-credential) authentication — the
17359
+ * passkey IS the primary factor, no password leg:
17360
+ * a. `beginDiscoverableAuthentication({})` → assertion options with
17361
+ * EMPTY `allowCredentials` (the browser offers every resident
17362
+ * passkey it holds for this RP) + `userVerification: 'required'`
17363
+ * (the passkey replaces both factors, so UV is mandatory).
17364
+ * The challenge is stored server-side, NOT bound to any user.
17365
+ * b. `finishDiscoverableAuthentication({response})` → the provider
17366
+ * resolves the credential by the response's credential id,
17367
+ * verifies the assertion against the stored challenge + that
17368
+ * credential's public key/counter, and returns the OWNING
17369
+ * `userId` — the caller (core auth router) mints the session.
17370
+ *
17358
17371
  * 3. Management:
17359
17372
  * - `listPasskeys({userId})` — enumerate user's enrolled credentials.
17360
17373
  * - `removePasskey({userId, credentialId})` — revoke one credential.
@@ -17401,6 +17414,17 @@ method(object({
17401
17414
  }), object({ verified: boolean() }), {
17402
17415
  kind: "mutation",
17403
17416
  access: "view"
17417
+ }), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
17418
+ kind: "mutation",
17419
+ access: "view"
17420
+ }), method(object({
17421
+ /** AuthenticationResponseJSON from the browser. */
17422
+ response: record(string(), unknown()) }), object({
17423
+ verified: boolean(),
17424
+ userId: string().nullable()
17425
+ }), {
17426
+ kind: "mutation",
17427
+ access: "view"
17404
17428
  }), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
17405
17429
  userId: string(),
17406
17430
  credentialId: string()
@@ -23900,6 +23924,12 @@ Object.freeze({
23900
23924
  addonId: null,
23901
23925
  access: "view"
23902
23926
  },
23927
+ "userPasskeys.beginDiscoverableAuthentication": {
23928
+ capName: "user-passkeys",
23929
+ capScope: "system",
23930
+ addonId: null,
23931
+ access: "view"
23932
+ },
23903
23933
  "userPasskeys.beginRegistration": {
23904
23934
  capName: "user-passkeys",
23905
23935
  capScope: "system",
@@ -23912,6 +23942,12 @@ Object.freeze({
23912
23942
  addonId: null,
23913
23943
  access: "view"
23914
23944
  },
23945
+ "userPasskeys.finishDiscoverableAuthentication": {
23946
+ capName: "user-passkeys",
23947
+ capScope: "system",
23948
+ addonId: null,
23949
+ access: "view"
23950
+ },
23915
23951
  "userPasskeys.finishRegistration": {
23916
23952
  capName: "user-passkeys",
23917
23953
  capScope: "system",
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-vZTi0c_a.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DSljd9Tz.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline-orchestrator",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
5
5
  "keywords": [
6
6
  "camstack",