proto-plugin 0.1.3 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-plugin",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
@@ -21,15 +21,13 @@ function PrototypeCommentProviderInner({
21
21
  const { readHandlers } = usePrototypeCommentRegistry();
22
22
 
23
23
  return (
24
- <ChangelogMetaProvider slug={slug}>
25
- <CommentProvider
26
- slug={slug}
27
- getLiveState={() => readHandlers()?.getLiveState() ?? {}}
28
- onRestore={(live) => readHandlers()?.onRestore(live)}
29
- >
30
- {children}
31
- </CommentProvider>
32
- </ChangelogMetaProvider>
24
+ <CommentProvider
25
+ slug={slug}
26
+ getLiveState={() => readHandlers()?.getLiveState() ?? {}}
27
+ onRestore={(live) => readHandlers()?.onRestore(live)}
28
+ >
29
+ {children}
30
+ </CommentProvider>
33
31
  );
34
32
  }
35
33
 
package/src/index.ts CHANGED
@@ -123,6 +123,10 @@ export {
123
123
  } from "./lib/prototypes/link-source-prompt";
124
124
  export type { PrototypePreviewState } from "./lib/prototypes/prototype-preview-state-types";
125
125
 
126
+ export {
127
+ buildChangelogDescriptionCopyText,
128
+ buildChangelogDescriptionPrompt,
129
+ } from "./lib/prototypes/changelog-description-prompt";
126
130
  export {
127
131
  buildAddReferenceDocCopyText,
128
132
  buildAddReferenceDocPrompt,