@codonsplice/svelte 0.1.6 → 0.1.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/index.js +5 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,6 +1,10 @@
1
1
  // @codonsplice/svelte — a createSpliceQL() store factory over @codonsplice/wasm.
2
2
  import { writable } from 'svelte/store'
3
- import { execute as csExecute } from '../index.js'
3
+ import { execute as csExecute } from '@codonsplice/wasm/helpers'
4
+
5
+ // Re-export the core tooling so apps can `import { createSpliceQL, compile,
6
+ // check } from '@codonsplice/svelte'` without depending on @codonsplice/wasm.
7
+ export { execute, stream, compile, check, initEngine } from '@codonsplice/wasm/helpers'
4
8
 
5
9
  export function createSpliceQL() {
6
10
  const result = writable(null)
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@codonsplice/svelte",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
- "dependencies": { "@codonsplice/wasm": "0.1.0" },
6
+ "dependencies": { "@codonsplice/wasm": "^0.1.0" },
7
7
  "peerDependencies": { "svelte": "*" },
8
8
  "license": "MIT"
9
9
  }