cosveti-sync 0.0.6 → 0.0.7

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -48,7 +48,7 @@ First, set up the backend API in your Convex project. Create a file like `convex
48
48
  ```typescript
49
49
  import { defineApp } from 'convex/server';
50
50
 
51
- import tiptapSync from '../lib/component/convex.config.js';
51
+ import tiptapSync from 'cosveti-sync/convex.config.js';
52
52
 
53
53
  const app = defineApp();
54
54
 
@@ -61,7 +61,7 @@ export default app;
61
61
  First, set up the backend API in your Convex project. Create a file like `convex/tiptapSync.ts`:
62
62
 
63
63
  ```typescript
64
- import { TiptapSyncClient } from '../lib/client/index.js';
64
+ import { TiptapSyncClient } from 'cosveti-sync';
65
65
  import { components } from './_generated/api.js';
66
66
 
67
67
  const tiptapSync = new TiptapSyncClient(components.tiptapSync);
@@ -122,7 +122,7 @@ Here's a complete example showing how to integrate the library:
122
122
 
123
123
  ```svelte
124
124
  <script lang="ts">
125
- import { useTiptapSync } from '$lib/index.js';
125
+ import { useTiptapSync } from 'cosveti-sync/tiptap';
126
126
  import { api } from '$convex/_generated/api.js';
127
127
  import type { ConvexClient } from 'convex/browser';
128
128
  import { useConvexClient } from 'convex-svelte';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cosveti-sync",
3
3
  "description": "A convex component for syncing tiptap in a svelte project",
4
4
  "homepage": "https://github.com/feavel1/cosveti-sync",
5
- "version": "0.0.6",
5
+ "version": "0.0.7",
6
6
  "scripts": {
7
7
  "dev": "vite dev",
8
8
  "build": "vite build && npm run prepack",