@pagelines/sdk 1.0.637 → 1.0.639

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/README.md CHANGED
@@ -537,6 +537,6 @@ Proprietary - PageLines
537
537
 
538
538
  ## Support
539
539
 
540
- Internal developers: See `plans/architecture/sdk.md` for complete architecture documentation.
540
+ Internal developers: See `plans/architecture/architecture-sdk.md` for complete architecture documentation.
541
541
 
542
542
  External users: Contact hello@pagelines.com
@@ -2898,7 +2898,7 @@ const Ii = ["data-visual-type", "data-chart-type", "data-diagram-type", "aria-la
2898
2898
  }
2899
2899
  u(c, "onRichTextAssetError");
2900
2900
  function _(b) {
2901
- const y = [], O = /```pl-platform-visual[ \t]*\r?\n([\s\S]*?)```/g;
2901
+ const y = [], O = /```(?:pl-visual|pl-platform-visual)[ \t]*\r?\n([\s\S]*?)```/g;
2902
2902
  let R = 0, K = 0, Z = O.exec(b);
2903
2903
  for (; Z !== null; ) {
2904
2904
  const F = b.slice(R, Z.index), W = s(F);
@@ -2907,7 +2907,7 @@ const Ii = ["data-visual-type", "data-chart-type", "data-diagram-type", "aria-la
2907
2907
  if (z.ok)
2908
2908
  y.push({ kind: "visual", key: `visual-${K}`, result: z });
2909
2909
  else {
2910
- typeof console < "u" && console.warn("[pl-platform-visual] parse_failed", {
2910
+ typeof console < "u" && console.warn("[pl-visual] parse_failed", {
2911
2911
  reason: z.reason,
2912
2912
  message: z.message,
2913
2913
  hasFallbackMarkdown: !!z.fallbackMarkdown,