@pdf-viewer/react 1.8.0-beta.7 → 1.8.0-rc.1

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,6 +1,6 @@
1
1
  import { useState as g, useCallback as h, useEffect as A } from "react";
2
2
  import { appConsole as c } from "../appConsole.js";
3
- const b = /* @__PURE__ */ new Date("2025-07-18T03:25:45.143Z"), l = "Please visit https://www.react-pdf.dev/manage-license/ to generate a new license key.", s = {
3
+ const b = /* @__PURE__ */ new Date("2025-07-22T05:14:01.643Z"), l = "Please visit https://www.react-pdf.dev/manage-license/ to generate a new license key.", s = {
4
4
  invalidLicense: `You are currently using without a valid license. ${l}`,
5
5
  mismatchedDomain: `Your license key is not valid for the current domain / IP. ${l}`,
6
6
  expired: `Your license key has expired. ${l}`,
package/package.json CHANGED
@@ -1,22 +1,16 @@
1
1
  {
2
2
  "name": "@pdf-viewer/react",
3
3
  "private": false,
4
- "description": "The PDF Viewer component for React and Next.js",
5
- "version": "1.8.0-beta.7",
4
+ "description": "A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.",
5
+ "version": "1.8.0-rc.1",
6
6
  "keywords": [
7
- "component",
8
- "frontend",
9
- "frontend tools",
10
- "pdf",
11
- "pdf component",
12
- "pdf viewer",
13
- "pdfjs",
14
- "pdfjs-dist",
15
- "react",
16
- "react component",
7
+ "react-pdf",
8
+ "react-pdf-viewer",
9
+ "pdf-viewer",
17
10
  "react pdf",
18
11
  "react pdf viewer",
19
- "web component"
12
+ "pdfjs",
13
+ "pdf-react"
20
14
  ],
21
15
  "author": "React PDF Viewer <david@react-pdf.dev>",
22
16
  "license": "See license section",
@@ -44,8 +38,8 @@
44
38
  },
45
39
  "peerDependencies": {
46
40
  "pdfjs-dist": "4.10.38",
47
- "react": "^18.2.0",
48
- "react-dom": "^18.2.0"
41
+ "react": "^18.2.0 || ^19.0.0",
42
+ "react-dom": "^18.2.0 || ^19.0.0"
49
43
  },
50
44
  "dependencies": {
51
45
  "@radix-ui/react-checkbox": "^1.1.3",