@zero-library/common 3.0.9 → 3.0.11

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.esm.js CHANGED
@@ -2762,7 +2762,7 @@ var CodePreview = ({ fileUrl, suffix }) => {
2762
2762
  };
2763
2763
  var CodePreview_default = CodePreview;
2764
2764
  var { Text } = Typography;
2765
- pdfjsLib.GlobalWorkerOptions.workerSrc = "https://logosdata.cn/public/pdf/pdf-5.4.296.worker.min.js";
2765
+ pdfjsLib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@5.4.296/legacy/build/pdf.worker.min.mjs";
2766
2766
  var MIN_SCALE = 0.6;
2767
2767
  var MAX_SCALE = 1.5;
2768
2768
  var SCALE_STEP = 0.1;