@satanwagen/reviewkit 0.1.3 → 0.1.5
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/CHANGELOG.md +181 -1
- package/README.md +43 -18
- package/dist/{chunk-Q7U43PXE.js → chunk-L7JLBD7Q.js} +1 -1
- package/dist/{chunk-NSXRFM75.js → chunk-VNRVRNZX.js} +755 -450
- package/dist/chunk-VNRVRNZX.js.map +1 -0
- package/dist/client/index.cjs +803 -498
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/{index-Dl2Fl0qr.d.cts → index-CWGkg1-E.d.cts} +17 -8
- package/dist/{index-BUSmAweg.d.ts → index-DPsjkvaY.d.ts} +17 -8
- package/dist/index.cjs +803 -498
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lazy.cjs +849 -521
- package/dist/lazy.cjs.map +1 -1
- package/dist/lazy.d.cts +1 -1
- package/dist/lazy.d.ts +1 -1
- package/dist/lazy.js +1 -1
- package/dist/next.cjs +849 -521
- package/dist/next.cjs.map +1 -1
- package/dist/next.d.cts +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/next.js +1 -1
- package/package.json +4 -2
- package/dist/chunk-NSXRFM75.js.map +0 -1
- /package/dist/{chunk-Q7U43PXE.js.map → chunk-L7JLBD7Q.js.map} +0 -0
package/dist/client/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BadgeCorner, R as ReviewKit, a as ReviewKitConfig, b as ReviewKitProps } from '../index-
|
|
1
|
+
export { B as BadgeCorner, R as ReviewKit, a as ReviewKitConfig, b as ReviewKitProps } from '../index-CWGkg1-E.cjs';
|
|
2
2
|
import { ReviewTarget, ReviewSession, ParseResult } from '../schema.cjs';
|
|
3
3
|
export { BoundingBox, CommentItem, CommentPayload, CopyItem, CopyPayload, DeleteItem, DeletePayload, EmblemaConfig, EmblemaReviewDispatch, Extensible, ITEM_STATUSES, ImageItem, ImagePayload, ItemPriority, ItemStatus, KNOWN_ITEM_TYPES, KnownItemType, KnownReviewItem, MoveItem, MovePayload, REVIEW_DISPATCH_VERSION, ReviewItem, ReviewItemBase, SCHEMA_VERSION, SiteInfo, StyleItem, StylePayload, TargetAttrs, UnknownReviewItem, isCommentItem, isCopyItem, isDeleteItem, isImageItem, isKnownItemType, isMoveItem, isStyleItem, parseSession, parseSessionJson } from '../schema.cjs';
|
|
4
4
|
import 'react';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BadgeCorner, R as ReviewKit, a as ReviewKitConfig, b as ReviewKitProps } from '../index-
|
|
1
|
+
export { B as BadgeCorner, R as ReviewKit, a as ReviewKitConfig, b as ReviewKitProps } from '../index-DPsjkvaY.js';
|
|
2
2
|
import { ReviewTarget, ReviewSession, ParseResult } from '../schema.js';
|
|
3
3
|
export { BoundingBox, CommentItem, CommentPayload, CopyItem, CopyPayload, DeleteItem, DeletePayload, EmblemaConfig, EmblemaReviewDispatch, Extensible, ITEM_STATUSES, ImageItem, ImagePayload, ItemPriority, ItemStatus, KNOWN_ITEM_TYPES, KnownItemType, KnownReviewItem, MoveItem, MovePayload, REVIEW_DISPATCH_VERSION, ReviewItem, ReviewItemBase, SCHEMA_VERSION, SiteInfo, StyleItem, StylePayload, TargetAttrs, UnknownReviewItem, isCommentItem, isCopyItem, isDeleteItem, isImageItem, isKnownItemType, isMoveItem, isStyleItem, parseSession, parseSessionJson } from '../schema.js';
|
|
4
4
|
import 'react';
|
package/dist/client/index.js
CHANGED
|
@@ -24,17 +24,26 @@ interface ReviewKitConfig {
|
|
|
24
24
|
*/
|
|
25
25
|
devAutoOn?: boolean;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
27
|
+
* Live collaboration switch. Default `true`: the layer joins its private
|
|
28
|
+
* rooms on the sync server using `syncToken` (or, when that is unset, the
|
|
29
|
+
* review `token` itself — one word does both jobs). `false` = solo mode,
|
|
30
|
+
* no network at all.
|
|
31
|
+
*/
|
|
32
|
+
sync?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Room secret for the sync server. Defaults to `token`. Any string of at
|
|
35
|
+
* least 8 characters works on the public server and gets its own private
|
|
36
|
+
* set of rooms; pick a different one from `token` if you want reviewers
|
|
37
|
+
* with the link but without room access (rare). Public in the bundle by
|
|
38
|
+
* nature — a gate against casual visitors, not a secret.
|
|
31
39
|
*/
|
|
32
40
|
syncToken?: string;
|
|
33
41
|
/**
|
|
34
|
-
* WebSocket endpoint of
|
|
35
|
-
* `wss://
|
|
36
|
-
*
|
|
37
|
-
*
|
|
42
|
+
* WebSocket endpoint of the sync server. Default: the public ReviewKit
|
|
43
|
+
* server `wss://2-59-219-26.sslip.io/rk-sync` (sslip.io hostname → VPS IP,
|
|
44
|
+
* nothing to expire), so live collaboration needs no server setup at all.
|
|
45
|
+
* Override for a self-hosted `realtime/server`. The host page's CSP must
|
|
46
|
+
* allow the origin in `connect-src` (see README "CSP").
|
|
38
47
|
*/
|
|
39
48
|
syncUrl?: string;
|
|
40
49
|
/**
|
|
@@ -24,17 +24,26 @@ interface ReviewKitConfig {
|
|
|
24
24
|
*/
|
|
25
25
|
devAutoOn?: boolean;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
27
|
+
* Live collaboration switch. Default `true`: the layer joins its private
|
|
28
|
+
* rooms on the sync server using `syncToken` (or, when that is unset, the
|
|
29
|
+
* review `token` itself — one word does both jobs). `false` = solo mode,
|
|
30
|
+
* no network at all.
|
|
31
|
+
*/
|
|
32
|
+
sync?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Room secret for the sync server. Defaults to `token`. Any string of at
|
|
35
|
+
* least 8 characters works on the public server and gets its own private
|
|
36
|
+
* set of rooms; pick a different one from `token` if you want reviewers
|
|
37
|
+
* with the link but without room access (rare). Public in the bundle by
|
|
38
|
+
* nature — a gate against casual visitors, not a secret.
|
|
31
39
|
*/
|
|
32
40
|
syncToken?: string;
|
|
33
41
|
/**
|
|
34
|
-
* WebSocket endpoint of
|
|
35
|
-
* `wss://
|
|
36
|
-
*
|
|
37
|
-
*
|
|
42
|
+
* WebSocket endpoint of the sync server. Default: the public ReviewKit
|
|
43
|
+
* server `wss://2-59-219-26.sslip.io/rk-sync` (sslip.io hostname → VPS IP,
|
|
44
|
+
* nothing to expire), so live collaboration needs no server setup at all.
|
|
45
|
+
* Override for a self-hosted `realtime/server`. The host page's CSP must
|
|
46
|
+
* allow the origin in `connect-src` (see README "CSP").
|
|
38
47
|
*/
|
|
39
48
|
syncUrl?: string;
|
|
40
49
|
/**
|