@pixldocs/canvas-renderer 0.5.127 → 0.5.128

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/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-D3W__oF4.cjs");
3
+ const index = require("./index-Ds1WDn3c.cjs");
4
4
  exports.FONT_FALLBACK_DEVANAGARI = index.FONT_FALLBACK_DEVANAGARI;
5
5
  exports.FONT_FALLBACK_MATH = index.FONT_FALLBACK_MATH;
6
6
  exports.FONT_FALLBACK_SYMBOLS = index.FONT_FALLBACK_SYMBOLS;
package/dist/index.d.ts CHANGED
@@ -259,7 +259,7 @@ export declare function normalizeFontFamily(fontStack: string): string;
259
259
  * Package version banner. Bump alongside package.json so we can confirm
260
260
  * (via browser:log) that the deployed bundle matches the expected build.
261
261
  */
262
- export declare const PACKAGE_VERSION = "0.5.127";
262
+ export declare const PACKAGE_VERSION = "0.5.128";
263
263
 
264
264
  export declare interface PageSettings {
265
265
  backgroundColor?: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F, o, q, s, P, t, u, v, w, x, y, z, B, C, D, E, G, H, I, J, K, b, L, M, N, O, Q, R, S, U, V, W, X, Y, Z } from "./index-DAeQbGws.js";
1
+ import { F, o, q, s, P, t, u, v, w, x, y, z, B, C, D, E, G, H, I, J, K, b, L, M, N, O, Q, R, S, U, V, W, X, Y, Z } from "./index-DP6tfo-F.js";
2
2
  export {
3
3
  F as FONT_FALLBACK_DEVANAGARI,
4
4
  o as FONT_FALLBACK_MATH,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jspdf = require("jspdf");
4
4
  const svg2pdf_js = require("svg2pdf.js");
5
5
  const fabric = require("fabric");
6
- const index = require("./index-D3W__oF4.cjs");
6
+ const index = require("./index-Ds1WDn3c.cjs");
7
7
  const pdfFonts = require("./pdfFonts-Cr8l-y3z.cjs");
8
8
  function _interopNamespaceDefault(e) {
9
9
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -2131,7 +2131,7 @@ async function fetchSvgAsElement(imageUrl, colorMap) {
2131
2131
  async function getRecoloredSvgDataUrl(imageUrl, colorMap) {
2132
2132
  if (!colorMap || Object.keys(colorMap).length === 0) return null;
2133
2133
  try {
2134
- const { getNormalizedSvgUrl } = await Promise.resolve().then(() => require("./index-D3W__oF4.cjs")).then((n) => n.canvasImageLoader);
2134
+ const { getNormalizedSvgUrl } = await Promise.resolve().then(() => require("./index-Ds1WDn3c.cjs")).then((n) => n.canvasImageLoader);
2135
2135
  return await getNormalizedSvgUrl(imageUrl, colorMap);
2136
2136
  } catch {
2137
2137
  return null;
@@ -2912,7 +2912,7 @@ async function fetchImageAsBase64(imageUrl, opts = {}) {
2912
2912
  }
2913
2913
  let fetchUrl = imageUrl;
2914
2914
  if (imageUrl.startsWith("http://") || imageUrl.startsWith("https://")) {
2915
- const { isPrivateUrl } = await Promise.resolve().then(() => require("./index-D3W__oF4.cjs")).then((n) => n.canvasImageLoader);
2915
+ const { isPrivateUrl } = await Promise.resolve().then(() => require("./index-Ds1WDn3c.cjs")).then((n) => n.canvasImageLoader);
2916
2916
  if (isPrivateUrl(imageUrl)) return null;
2917
2917
  const proxyUrl = new URL(`${index.API_URL}/image-proxy`);
2918
2918
  proxyUrl.searchParams.set("url", imageUrl);
@@ -4892,4 +4892,4 @@ exports.exportFabricCanvasToVectorPdf = exportFabricCanvasToVectorPdf;
4892
4892
  exports.exportMultiPagePdf = exportMultiPagePdf;
4893
4893
  exports.preparePagesForExport = preparePagesForExport;
4894
4894
  exports.rewriteSvgFontsForJsPDFWithSourceMeta = rewriteSvgFontsForJsPDFWithSourceMeta;
4895
- //# sourceMappingURL=vectorPdfExport-BDy3-lzN.cjs.map
4895
+ //# sourceMappingURL=vectorPdfExport-De27t708.cjs.map