@zsviczian/kplex-web 0.0.1 → 0.0.2

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,4 @@
1
- K-Plex Web npm package 0.0.1
2
- K-Plex runtime pack 0.4.6
1
+ K-Plex Web 0.0.2 (pack 0.4.6)
3
2
  Copyright K-Plex contributors. Distributed under AGPL-3.0-only.
4
- Corresponding source: https://registry.npmjs.org/@zsviczian/kplex-web/-/kplex-web-0.0.1.tgz (kplex-source.tar.gz inside the package)
5
- Source revision: 61bff493d815442f9d3aba79c314f743ffcd2f81
6
- Build: npm ci && npm run build:web with the Node version recorded in .nvmrc.
3
+ Corresponding source: https://github.com/zsviczian/kplex/tree/34c94e334c88c7984fa7efea65188bb9d904548d
4
+ Use the source for the exact release that supplied this runtime. When redistributing a custom build, make its exact corresponding source available.
package/README.md CHANGED
@@ -1,14 +1,17 @@
1
1
  # K-Plex Web
2
2
 
3
3
  The browser build of K-Plex Compass and Sidecar for read-only publications.
4
- `compass.js` is an ES module and `compass.css` supplies its styles. Pin the full
5
- package version when loading both files from npm or a CDN such as jsDelivr or
6
- UNPKG. On a static site, keep the runtime modules together in the same folder.
4
+ `compass.js` is an ES module and `compass.css` supplies its styles. Use the same
5
+ package release for both files when embedding the reader. On a static site,
6
+ keep the bundled runtime modules together in the same folder.
7
7
 
8
8
  Import `mountCompass` from `compass.js` and pass a container, a K-Plex
9
9
  publication manifest and an options object with the manifest's `publicationUrl`.
10
10
  The returned handle supports `update(manifest)` and `dispose()`. The exported
11
- `demo.js` opens a standalone publication. `offline.js` is the classic script
11
+ `demo.js` opens a standalone publication with a separate stylesheet. Hosted
12
+ K-Plex exports use `@zsviczian/kplex-web@latest/cdn.js` on jsDelivr. This entry
13
+ includes the reader and its styles and opens earlier supported publication
14
+ formats. `offline.js` is the classic script
12
15
  used by the offline exporter.
13
16
 
14
17
  `runtime-pack.json` holds the same files and their checksums for importing into
@@ -17,7 +20,3 @@ Exports can be hosted independently of the CDN.
17
20
 
18
21
  The source and publishing guide are in the [K-Plex repository](https://github.com/zsviczian/kplex).
19
22
  See `LICENSES/` for notices and the corresponding source reference.
20
-
21
- ## Package and runtime versions
22
-
23
- The npm package is version 0.0.1. Its importable runtime pack targets K-Plex 0.4.6. For other versions, select the matching runtime pack in Publish. The matching source for this build is in kplex-source.tar.gz.