@devvit/build-pack 0.12.2-next-2025-11-04-18-03-16-bd1b94934.0 → 0.12.2-next-2025-11-04-19-19-30-064c20ec2.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.template.d.ts","sourceRoot":"","sources":["../../../src/esbuild/templatizer/blocks.template.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAU,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAMvD,OAAO,EAEL,MAAM,EACN,KAAK,OAAO,EAMb,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,0BAA0B,EAAkB,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,KAAK,EAAE,UAAU,EAAa,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAmB7F,OAAO,QAAQ,oBAAoB,CAAC;IAGlC,UAAU,MAAM,CAAC;QACf,SAAS,UAAU,IAAI,IAAI,CAAC;QAC5B,SAAS,SAAS,IAAI,IAAI,CAAC;QAC3B,SAAS,cAAc,IAAI,IAAI,CAAC;QAChC,SAAS,aAAa,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;KAC7D;CACF;AAQD,oFAAoF;AACpF,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;CAAO,CAAC;AAE7D,gBAAgB;AAChB,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C;AAmID,gBAAgB;AAChB,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,QAAQ,CAAC,iBAAiB,CAAC,GAC/B,OAAO,CAAC,GAAG,IAAI,UAAU,CAiE3B;AAED,gBAAgB;AAChB,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,QAAQ,CAAC,UAAU,CAAC,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AI,UAAU,CAiE3B;AAED,gBAAgB;AAChB,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,QAAQ,CAAC,UAAU,CAAC,GACxB,OAAO,CAAC,GAAG,IAAI,0BAA0B,CAO3C;AA4CD;;;;;;;;;GASG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EACjC,IAAI,EAAE,QAAQ,CAAC,QAAQ,CAAC,GACvB,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAoEjC;AAoJD,eAAe,MAAM,CAAC"}
@@ -245,17 +245,18 @@ export async function fetchWebbit(endpoint, body, meta) {
245
245
  catch (err) {
246
246
  throw `${preamble} error: ${err instanceof Error ? err.message : err}`;
247
247
  }
248
- if (rsp.status === 404)
249
- throw Error(`${preamble} HTTP status ${rsp.status}: ensure the server handles the \`${endpoint}\` endpoint`);
250
- if (!rsp.ok)
251
- throw Error(`${preamble} HTTP status ${rsp.status}: ${rsp.statusText}`);
252
248
  let text;
253
249
  try {
254
250
  text = await rsp.text();
255
251
  }
256
252
  catch {
257
- throw Error(`${preamble} an unreadable JSON body`);
253
+ throw Error(`${preamble} HTTP status ${rsp.status}: ${rsp.statusText}; unreadable response body`);
258
254
  }
255
+ const bodySuffix = text ? `; body: ${abbreviate(text)}` : '';
256
+ if (rsp.status === 404)
257
+ throw Error(`${preamble} HTTP status ${rsp.status}: ensure the server handles the \`${endpoint}\` endpoint${bodySuffix}`);
258
+ if (!rsp.ok)
259
+ throw Error(`${preamble} HTTP status ${rsp.status}: ${rsp.statusText}${bodySuffix}`);
259
260
  if (!text)
260
261
  return;
261
262
  const contentLen = rsp.headers.get('Content-Length');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/build-pack",
3
- "version": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
3
+ "version": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "types": "./dist/index.d.ts",
33
33
  "dependencies": {
34
- "@devvit/payments": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
35
- "@devvit/protos": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
36
- "@devvit/shared-types": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
37
- "@devvit/splash": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
34
+ "@devvit/payments": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
35
+ "@devvit/protos": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
36
+ "@devvit/shared-types": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
37
+ "@devvit/splash": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
38
38
  "esbuild": "0.25.9",
39
39
  "rxjs": "7.8.1",
40
40
  "tsv": "0.2.0",
@@ -45,16 +45,16 @@
45
45
  "@devvit/shared": "*"
46
46
  },
47
47
  "devDependencies": {
48
- "@devvit/public-api": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
49
- "@devvit/repo-tools": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
50
- "@devvit/scheduler": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
51
- "@devvit/server": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
52
- "@devvit/shared": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
53
- "@devvit/tsconfig": "0.12.2-next-2025-11-04-18-03-16-bd1b94934.0",
48
+ "@devvit/public-api": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
49
+ "@devvit/repo-tools": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
50
+ "@devvit/scheduler": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
51
+ "@devvit/server": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
52
+ "@devvit/shared": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
53
+ "@devvit/tsconfig": "0.12.2-next-2025-11-04-19-19-30-064c20ec2.0",
54
54
  "@types/tsv": "0.2.1",
55
55
  "eslint": "9.11.1",
56
56
  "vitest": "1.6.1"
57
57
  },
58
58
  "source": "./src/index.ts",
59
- "gitHead": "b060c1efe5f37d29856ca30839730942ffc9e81e"
59
+ "gitHead": "b63622b3ae1b874dbb85e3f571d4a495b8bdddab"
60
60
  }