cosveti-sync 0.0.3 → 0.0.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.
@@ -1 +1,2 @@
1
- export declare const tiptapSyncConfig: import("convex/server").ComponentDefinition<any>;
1
+ declare const _default: import("convex/server").ComponentDefinition<any>;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
1
  import { defineComponent } from 'convex/server';
2
- export const tiptapSyncConfig = defineComponent('tiptapSyncSvelte');
2
+ export default defineComponent('tiptapSync');
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
1
  export { useTiptapSync } from './tiptap/index.js';
2
- export { TiptapSyncClient } from './client/index.js';
3
- export { tiptapSyncConfig } from './component/convex.config.js';
4
2
  export type { UseSyncOptions, InitialState, SyncContext } from './tiptap/types.js';
5
3
  export type { SyncApi } from './client/index.js';
package/dist/index.js CHANGED
@@ -1,5 +1,3 @@
1
1
  // Reexport your entry components here
2
2
  // Main entry point for cosveti-sync package
3
3
  export { useTiptapSync } from './tiptap/index.js';
4
- export { TiptapSyncClient } from './client/index.js';
5
- export { tiptapSyncConfig } from './component/convex.config.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cosveti-sync",
3
3
  "description": "A convex component for syncing tiptap in a svelte project",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run prepack",
@@ -27,9 +27,22 @@
27
27
  "types": "./dist/index.d.ts",
28
28
  "type": "module",
29
29
  "exports": {
30
+ "./package.json": "./package.json",
30
31
  ".": {
31
- "types": "./dist/index.d.ts",
32
- "svelte": "./dist/index.js"
32
+ "types": "./dist/client/index.d.ts",
33
+ "default": "./dist/client/index.js"
34
+ },
35
+ "./tiptap": {
36
+ "types": "./dist/tiptap/index.d.ts",
37
+ "default": "./dist/tiptap/index.js"
38
+ },
39
+ "./convex.config": {
40
+ "types": "./dist/component/convex.config.d.ts",
41
+ "default": "./dist/component/convex.config.js"
42
+ },
43
+ "./convex.config.js": {
44
+ "types": "./dist/component/convex.config.d.ts",
45
+ "default": "./dist/component/convex.config.js"
33
46
  }
34
47
  },
35
48
  "peerDependencies": {