@riddledc/riddle-proof 0.7.75 → 0.7.77

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.
@@ -53,7 +53,7 @@ async function deployRiddleStaticPreview(config, directory, label) {
53
53
  if (!label?.trim()) throw new Error("label is required");
54
54
  const created = await riddleRequestJson(config, "/v1/preview", {
55
55
  method: "POST",
56
- body: JSON.stringify({ framework: "spa", label })
56
+ body: JSON.stringify({ framework: "static", label })
57
57
  });
58
58
  const id = String(created.id || "");
59
59
  const uploadUrl = String(created.upload_url || "");
@@ -2772,7 +2772,11 @@ async function registerNetworkMocks(mocks) {
2772
2772
  const request = route.request();
2773
2773
  const method = request.method ? request.method() : "";
2774
2774
  if (mock.method && method.toUpperCase() !== String(mock.method).toUpperCase()) {
2775
- await route.continue();
2775
+ if (typeof route.fallback === "function") {
2776
+ await route.fallback();
2777
+ } else {
2778
+ await route.continue();
2779
+ }
2776
2780
  return;
2777
2781
  }
2778
2782
  try {
package/dist/cli.cjs CHANGED
@@ -6600,7 +6600,7 @@ async function deployRiddleStaticPreview(config, directory, label) {
6600
6600
  if (!label?.trim()) throw new Error("label is required");
6601
6601
  const created = await riddleRequestJson(config, "/v1/preview", {
6602
6602
  method: "POST",
6603
- body: JSON.stringify({ framework: "spa", label })
6603
+ body: JSON.stringify({ framework: "static", label })
6604
6604
  });
6605
6605
  const id = String(created.id || "");
6606
6606
  const uploadUrl = String(created.upload_url || "");
@@ -9629,7 +9629,11 @@ async function registerNetworkMocks(mocks) {
9629
9629
  const request = route.request();
9630
9630
  const method = request.method ? request.method() : "";
9631
9631
  if (mock.method && method.toUpperCase() !== String(mock.method).toUpperCase()) {
9632
- await route.continue();
9632
+ if (typeof route.fallback === "function") {
9633
+ await route.fallback();
9634
+ } else {
9635
+ await route.continue();
9636
+ }
9633
9637
  return;
9634
9638
  }
9635
9639
  try {
package/dist/cli.js CHANGED
@@ -10,11 +10,11 @@ import {
10
10
  profileStatusExitCode,
11
11
  resolveRiddleProofProfileTargetUrl,
12
12
  resolveRiddleProofProfileTimeoutSec
13
- } from "./chunk-ILB4HKPH.js";
13
+ } from "./chunk-RBZ4A5M4.js";
14
14
  import {
15
15
  createRiddleApiClient,
16
16
  parseRiddleViewport
17
- } from "./chunk-7PSWK57T.js";
17
+ } from "./chunk-6RQGBHJ5.js";
18
18
  import {
19
19
  createDisabledRiddleProofAgentAdapter,
20
20
  readRiddleProofRunStatus,
package/dist/index.cjs CHANGED
@@ -11486,7 +11486,11 @@ async function registerNetworkMocks(mocks) {
11486
11486
  const request = route.request();
11487
11487
  const method = request.method ? request.method() : "";
11488
11488
  if (mock.method && method.toUpperCase() !== String(mock.method).toUpperCase()) {
11489
- await route.continue();
11489
+ if (typeof route.fallback === "function") {
11490
+ await route.fallback();
11491
+ } else {
11492
+ await route.continue();
11493
+ }
11490
11494
  return;
11491
11495
  }
11492
11496
  try {
@@ -12891,7 +12895,7 @@ async function deployRiddleStaticPreview(config, directory, label) {
12891
12895
  if (!label?.trim()) throw new Error("label is required");
12892
12896
  const created = await riddleRequestJson(config, "/v1/preview", {
12893
12897
  method: "POST",
12894
- body: JSON.stringify({ framework: "spa", label })
12898
+ body: JSON.stringify({ framework: "static", label })
12895
12899
  });
12896
12900
  const id = String(created.id || "");
12897
12901
  const uploadUrl = String(created.upload_url || "");
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ import {
58
58
  resolveRiddleProofProfileTimeoutSec,
59
59
  slugifyRiddleProofProfileName,
60
60
  summarizeRiddleProofProfileResult
61
- } from "./chunk-ILB4HKPH.js";
61
+ } from "./chunk-RBZ4A5M4.js";
62
62
  import {
63
63
  DEFAULT_RIDDLE_API_BASE_URL,
64
64
  DEFAULT_RIDDLE_API_KEY_FILE,
@@ -72,7 +72,7 @@ import {
72
72
  riddleRequestJson,
73
73
  runRiddleScript,
74
74
  runRiddleServerPreview
75
- } from "./chunk-7PSWK57T.js";
75
+ } from "./chunk-6RQGBHJ5.js";
76
76
  import {
77
77
  DEFAULT_DIAGNOSTIC_ARRAY_LIMIT,
78
78
  DEFAULT_DIAGNOSTIC_HISTORY_LIMIT,
package/dist/profile.cjs CHANGED
@@ -2815,7 +2815,11 @@ async function registerNetworkMocks(mocks) {
2815
2815
  const request = route.request();
2816
2816
  const method = request.method ? request.method() : "";
2817
2817
  if (mock.method && method.toUpperCase() !== String(mock.method).toUpperCase()) {
2818
- await route.continue();
2818
+ if (typeof route.fallback === "function") {
2819
+ await route.fallback();
2820
+ } else {
2821
+ await route.continue();
2822
+ }
2819
2823
  return;
2820
2824
  }
2821
2825
  try {
package/dist/profile.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  resolveRiddleProofProfileTimeoutSec,
20
20
  slugifyRiddleProofProfileName,
21
21
  summarizeRiddleProofProfileResult
22
- } from "./chunk-ILB4HKPH.js";
22
+ } from "./chunk-RBZ4A5M4.js";
23
23
  export {
24
24
  RIDDLE_PROOF_PROFILE_CHECK_TYPES,
25
25
  RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
@@ -98,7 +98,7 @@ async function deployRiddleStaticPreview(config, directory, label) {
98
98
  if (!label?.trim()) throw new Error("label is required");
99
99
  const created = await riddleRequestJson(config, "/v1/preview", {
100
100
  method: "POST",
101
- body: JSON.stringify({ framework: "spa", label })
101
+ body: JSON.stringify({ framework: "static", label })
102
102
  });
103
103
  const id = String(created.id || "");
104
104
  const uploadUrl = String(created.upload_url || "");
@@ -11,7 +11,7 @@ import {
11
11
  riddleRequestJson,
12
12
  runRiddleScript,
13
13
  runRiddleServerPreview
14
- } from "./chunk-7PSWK57T.js";
14
+ } from "./chunk-6RQGBHJ5.js";
15
15
  export {
16
16
  DEFAULT_RIDDLE_API_BASE_URL,
17
17
  DEFAULT_RIDDLE_API_KEY_FILE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.7.75",
3
+ "version": "0.7.77",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",