@crvouga/mockingbird-service-junction 3.3.0 → 3.3.1

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,15 +1,17 @@
1
1
  # Changelog — @crvouga/mockingbird-service-junction
2
2
 
3
+ ## 3.3.1 (2026-10-15)
4
+
5
+ ### Fixes and improvements
6
+
7
+ - diagnose blockers and identify deploys ([c0bc46c](https://github.com/crvouga/mockingbird/commit/c0bc46c0c5e485674338f2c23f9a46e6a273a0a7))
8
+
3
9
  ## 3.3.0 (2026-10-12)
4
10
 
5
11
  ### Features
6
12
 
7
13
  - unify the emulator control plane ([2068547](https://github.com/crvouga/mockingbird/commit/2068547bedde4e2e2331c1657c1a78120e84428b))
8
14
 
9
- ### Dependencies
10
-
11
- - `@crvouga/mockingbird-service-sqlite`
12
-
13
15
  ## 3.2.0 (2026-10-08)
14
16
 
15
17
  ### Features
@@ -3607,7 +3607,7 @@ var stateAdminRoutes = (routes) => {
3607
3607
  };
3608
3608
 
3609
3609
  // ../core/dist/version.js
3610
- var PACKAGE_VERSION = true ? "3.3.0" : UNRELEASED_VERSION;
3610
+ var PACKAGE_VERSION = true ? "3.3.1" : UNRELEASED_VERSION;
3611
3611
 
3612
3612
  // ../core/dist/webhooks.js
3613
3613
  var json4 = (status, body) => new Response(JSON.stringify(body), {
@@ -12263,6 +12263,19 @@ var verifyAgainstReal = async (options) => {
12263
12263
  const response = side === "real" ? await send(request2) : await options.mock.fetch(request2);
12264
12264
  return readReply(response);
12265
12265
  };
12266
+ const access = await call("real", "GET", "/v3/lab_test");
12267
+ if ([401, 402, 403].includes(access.status)) {
12268
+ const reason = access.status === 401 ? "authentication" : access.status === 402 ? "payment-required" : "access-denied";
12269
+ const message = access.status === 401 ? "Junction rejected JUNCTION_API_KEY. Restore the sandbox credential before verifying." : access.status === 402 ? "Junction sandbox returned HTTP 402 Payment Required. Restore the team's account access/entitlement before verifying." : "Junction denied sandbox access (HTTP 403). Restore the team's API permissions before verifying.";
12270
+ progress(`BLOCKED: ${message}`);
12271
+ return {
12272
+ ok: false,
12273
+ blocked: { status: access.status, reason, message },
12274
+ drift: { checked: 0, stale: 0 },
12275
+ scenario: { steps: 0, divergent: 0 },
12276
+ divergences: []
12277
+ };
12278
+ }
12266
12279
  let checked = 0;
12267
12280
  let stale = 0;
12268
12281
  if (!options.skipDrift) {
@@ -12809,4 +12822,4 @@ export {
12809
12822
  JunctionAPI,
12810
12823
  LabAccountConflict
12811
12824
  };
12812
- //# sourceMappingURL=chunk-PKEFSWT3.js.map
12825
+ //# sourceMappingURL=chunk-7VCGZYMN.js.map