@rool-dev/svelte 0.7.0 → 0.7.1

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 +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -333,7 +333,7 @@ thread.interactions // $state<Interaction[]> — auto-updates via SSE
333
333
 
334
334
  // All conversation-scoped methods
335
335
  await thread.prompt('Hello')
336
- await thread.createObject({ data: { text: 'Note' } })
336
+ await thread.createObject({ data: { type: 'note', text: 'Note' } })
337
337
  await thread.setSystemInstruction('Respond in haiku')
338
338
  await thread.rename('Research Thread')
339
339
  thread.getInteractions() // Manual read
@@ -371,7 +371,7 @@ channel.channelId
371
371
 
372
372
  // Object operations
373
373
  await channel.getObject(id)
374
- await channel.createObject({ data: { text: 'Hello' } })
374
+ await channel.createObject({ data: { type: 'note', text: 'Hello' } })
375
375
  await channel.updateObject(id, { data: { text: 'Updated' } })
376
376
  await channel.deleteObjects([id])
377
377
  await channel.findObjects({ collection: 'note' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rool-dev/svelte",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Svelte 5 runes for Rool Spaces",
5
5
  "type": "module",
6
6
  "svelte": "./dist/index.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "license": "MIT",
43
43
  "dependencies": {
44
- "@rool-dev/sdk": "0.7.0"
44
+ "@rool-dev/sdk": "0.7.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "svelte": "^5.0.0"