cosveti-sync 0.0.5 → 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.
- package/README.md +3 -3
- package/package.json +2 -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 '
|
|
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 '
|
|
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 '
|
|
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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
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.7",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"dev": "vite dev",
|
|
7
8
|
"build": "vite build && npm run prepack",
|