@docmentis/udoc-viewer 0.5.14 → 0.5.15

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
@@ -100,6 +100,20 @@ function DocumentViewer({ src }) {
100
100
  }
101
101
  ```
102
102
 
103
+ ## Examples
104
+
105
+ Full working examples for every major framework are in the [`examples/`](../../examples/) directory:
106
+
107
+ | Example | Stack |
108
+ |---------|-------|
109
+ | [vanilla](../../examples/vanilla/) | TypeScript + Vite |
110
+ | [react-vite](../../examples/react-vite/) | React + Vite |
111
+ | [vue-vite](../../examples/vue-vite/) | Vue + Vite |
112
+ | [svelte-vite](../../examples/svelte-vite/) | Svelte 5 + Vite |
113
+ | [angular](../../examples/angular/) | Angular 19 |
114
+ | [nextjs-webpack](../../examples/nextjs-webpack/) | Next.js + Webpack |
115
+ | [nextjs-turbopack](../../examples/nextjs-turbopack/) | Next.js + Turbopack |
116
+
103
117
  ## Features
104
118
 
105
119
  - 📄 **Multi-format rendering** — PDF, PPTX, and images in one unified viewer
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmentis/udoc-viewer",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Free, open-source, universal document viewer for the web. Render PDF, PPTX, and images with high fidelity — no server required.",
@@ -14,7 +14,7 @@ export class UDocClient {
14
14
  /**
15
15
  * SDK version string (replaced at build time).
16
16
  */
17
- static version = "0.5.14";
17
+ static version = "0.5.15";
18
18
  workerClient;
19
19
  options;
20
20
  viewers = new Set();
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmentis/udoc-viewer",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Free, open-source, universal document viewer for the web. Render PDF, PPTX, and images with high fidelity — no server required.",