@graffy/explore 0.19.1-alpha.1 → 0.19.1-alpha.3

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.
@@ -7,7 +7,7 @@ import { GraffyProvider } from '@graffy/react';
7
7
  import { useEffect, useState } from 'react';
8
8
  import Explore from "./Explore.js";
9
9
  export default function ExploreContainer({ baseUrl = '/', getOptions, ...options }) {
10
- const [store, setStore] = useState();
10
+ const [store, setStore] = useState(null);
11
11
  useEffect(() => {
12
12
  const store = new Graffy();
13
13
  store.use(GraffyFill());
package/package.json CHANGED
@@ -2,18 +2,9 @@
2
2
  "name": "@graffy/explore",
3
3
  "description": "Graffy client library for the browser.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.19.1-alpha.1",
6
- "main": "./cjs/index.js",
7
- "exports": {
8
- ".": {
9
- "import": "./index.js",
10
- "types": "./index.d.ts"
11
- },
12
- "./*": {
13
- "import": "./*.js",
14
- "types": "./*.d.ts"
15
- }
16
- },
5
+ "version": "0.19.1-alpha.3",
6
+ "type": "module",
7
+ "main": "./index.js",
17
8
  "types": "./index.d.ts",
18
9
  "repository": {
19
10
  "type": "git",
@@ -21,11 +12,11 @@
21
12
  },
22
13
  "license": "Apache-2.0",
23
14
  "dependencies": {
24
- "@graffy/common": "0.19.1-alpha.1",
25
- "@graffy/react": "0.19.1-alpha.1",
26
- "@graffy/client": "0.19.1-alpha.1",
27
- "@graffy/core": "0.19.1-alpha.1",
28
- "@graffy/fill": "0.19.1-alpha.1"
15
+ "@graffy/common": "0.19.1-alpha.3",
16
+ "@graffy/react": "0.19.1-alpha.3",
17
+ "@graffy/client": "0.19.1-alpha.3",
18
+ "@graffy/core": "0.19.1-alpha.3",
19
+ "@graffy/fill": "0.19.1-alpha.3"
29
20
  },
30
21
  "peerDependencies": {
31
22
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"