@tryghost/activitypub 2.0.1 → 2.0.3

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.
@@ -21895,7 +21895,7 @@ const L3 = P(({ className: e, ...t }, n) => /* @__PURE__ */ A.jsx(
21895
21895
  }
21896
21896
  ));
21897
21897
  L3.displayName = I9.displayName;
21898
- const lV = Iz(() => import("./index-DrJ-YL7G.mjs")), Ud = (e) => /* @__PURE__ */ A.jsx(Pz, { fallback: /* @__PURE__ */ A.jsx("div", {}), children: /* @__PURE__ */ A.jsx(lV, { ...e }) }), P2 = P(({ className: e, ...t }, n) => /* @__PURE__ */ A.jsx(
21898
+ const lV = Iz(() => import("./index-CZXmkP7P.mjs")), Ud = (e) => /* @__PURE__ */ A.jsx(Pz, { fallback: /* @__PURE__ */ A.jsx("div", {}), children: /* @__PURE__ */ A.jsx(lV, { ...e }) }), P2 = P(({ className: e, ...t }, n) => /* @__PURE__ */ A.jsx(
21899
21899
  AO,
21900
21900
  {
21901
21901
  ref: n,
@@ -26475,7 +26475,7 @@ class A_ {
26475
26475
  };
26476
26476
  o && (s.body = JSON.stringify(o), s.headers["Content-Type"] = "application/json");
26477
26477
  const a = await this.fetch(t, s);
26478
- if (a.status === 204)
26478
+ if (a.status === 204 || a.status === 202)
26479
26479
  return null;
26480
26480
  if (!a.ok) {
26481
26481
  const c = {
@@ -26935,7 +26935,7 @@ function Je(e) {
26935
26935
  }
26936
26936
  let l5;
26937
26937
  async function A1() {
26938
- return l5 || (l5 = (await (await fetch("/ghost/api/admin/site")).json()).site.url), l5;
26938
+ return l5 || (l5 = (await (await fetch("/ghost/api/admin/site/")).json()).site.url), l5;
26939
26939
  }
26940
26940
  function s1(e, t) {
26941
26941
  return new A_(
@@ -45982,4 +45982,4 @@ export {
45982
45982
  T as u,
45983
45983
  Xz as v
45984
45984
  };
45985
- //# sourceMappingURL=index-DnL7FycL.mjs.map
45985
+ //# sourceMappingURL=index-BFaQbNbx.mjs.map