@dxos/react-client 2.32.1-dev.0c4cb7ce → 2.32.1-dev.0d16db2c

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/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@dxos/react-client",
3
- "version": "2.32.1-dev.0c4cb7ce",
3
+ "version": "2.32.1-dev.0d16db2c",
4
4
  "description": "React client API",
5
5
  "license": "MIT",
6
6
  "author": "DXOS.org",
7
7
  "main": "dist/src/index.js",
8
8
  "types": "dist/src/index.d.ts",
9
9
  "dependencies": {
10
- "@dxos/async": "2.32.1-dev.0c4cb7ce",
11
- "@dxos/bot-factory-client": "2.32.1-dev.0c4cb7ce",
12
- "@dxos/client": "2.32.1-dev.0c4cb7ce",
13
- "@dxos/config": "2.32.1-dev.0c4cb7ce",
14
- "@dxos/credentials": "2.32.1-dev.0c4cb7ce",
15
- "@dxos/crypto": "2.32.1-dev.0c4cb7ce",
16
- "@dxos/debug": "2.32.1-dev.0c4cb7ce",
17
- "@dxos/echo-db": "2.32.1-dev.0c4cb7ce",
18
- "@dxos/network-manager": "2.32.1-dev.0c4cb7ce",
19
- "@dxos/react-async": "2.32.1-dev.0c4cb7ce",
20
- "@dxos/util": "2.32.1-dev.0c4cb7ce",
10
+ "@dxos/async": "2.32.1-dev.0d16db2c",
11
+ "@dxos/bot-factory-client": "2.32.1-dev.0d16db2c",
12
+ "@dxos/client": "2.32.1-dev.0d16db2c",
13
+ "@dxos/config": "2.32.1-dev.0d16db2c",
14
+ "@dxos/credentials": "2.32.1-dev.0d16db2c",
15
+ "@dxos/crypto": "2.32.1-dev.0d16db2c",
16
+ "@dxos/debug": "2.32.1-dev.0d16db2c",
17
+ "@dxos/echo-db": "2.32.1-dev.0d16db2c",
18
+ "@dxos/network-manager": "2.32.1-dev.0d16db2c",
19
+ "@dxos/react-async": "2.32.1-dev.0d16db2c",
20
+ "@dxos/util": "2.32.1-dev.0d16db2c",
21
21
  "assert": "^2.0.0",
22
22
  "debug": "^4.3.3",
23
23
  "use-subscription": "^1.4.1"
@@ -32,14 +32,13 @@
32
32
  "@types/debug": "^4.1.7",
33
33
  "@types/level-js": "~4.0.1",
34
34
  "@types/mocha": "~8.2.2",
35
- "@types/node": "^14.0.9",
35
+ "@types/node": "^16.11.27",
36
36
  "@types/react": "^17.0.24",
37
37
  "@types/react-dom": "^17.0.9",
38
38
  "@types/testing-library__jest-dom": "~5.9.5",
39
39
  "@types/use-subscription": "^1.0.0",
40
40
  "eslint": "^7.12.1",
41
41
  "expect": "~27.0.2",
42
- "fork-ts-checker-webpack-plugin": "~6.2.5",
43
42
  "level-js": "^5.0.2",
44
43
  "raf": "^3.4.1",
45
44
  "react": "^17.0.2",
@@ -67,6 +66,5 @@
67
66
  "build:test": "toolchain build:test",
68
67
  "lint": "toolchain lint",
69
68
  "test": "toolchain test"
70
- },
71
- "readme": "# @dxos/react-client\n\nA react implementation of the DXOS Client APIs.\n\n## Install\n\n```bash\ngit clone git@github.com:dxos/protocols.git\ncd protocols\nrush update\nrush build\n\ncd packages/sdk/demos\nrushx book\n```\n\n## Usage\n\nThe snippet below illustrates a self-contained DXOS application that uses providers to create the client and instantiate a user profile.\n\n```javascript\nimport { useClient, ClientProvider, ProfileInitializer } from '@dxos/react-client';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\n\nconst App = () => {\n const client = useClient();\n\n return (\n <pre>{JSON.stringify(client.info())}</pre>\n );\n};\n\nconst Root = () => (\n <ClientProvider>\n <ProfileInitializer>\n <App />\n </ProfileInitializer>\n </ClientProvider>\n);\n\nReactDOM.render(<Root/>, document.getElementById('root'));\n```\n\n## Storybooks\n\nThe [HALO Invitation Story](./stories/halo-invitations.stories.tsx) demonstrates multiple clients (devices) joining the same HALO.\n\nhttps://user-images.githubusercontent.com/3523355/137532718-a21f1f27-9854-4c0b-831a-e9ff92feac49.mov\n\nThe [Party Invitation Story](./stories/party-invitations.stories.tsx) demonstrates multiple clients creating and sharing parties.\n\nhttps://user-images.githubusercontent.com/3523355/137532717-e77395dc-96f9-4e4b-8f67-e6bd026a3abe.mov\n\n\n## Contributing\n\nPRs accepted.\n\n## License\n\nAGPL-3.0 © DXOS\n"
69
+ }
72
70
  }
package/tsconfig.json CHANGED
@@ -15,37 +15,37 @@
15
15
  ],
16
16
  "references": [
17
17
  {
18
- "path": "../../bot/bot-factory-client"
18
+ "path": "../../common/async"
19
19
  },
20
20
  {
21
- "path": "../../common/async"
21
+ "path": "../../bot/bot-factory-client"
22
22
  },
23
23
  {
24
- "path": "../../common/crypto"
24
+ "path": "../client"
25
25
  },
26
26
  {
27
- "path": "../../common/debug"
27
+ "path": "../config"
28
28
  },
29
29
  {
30
- "path": "../../common/react-async"
30
+ "path": "../../halo/credentials"
31
31
  },
32
32
  {
33
- "path": "../../common/util"
33
+ "path": "../../common/crypto"
34
34
  },
35
35
  {
36
- "path": "../../echo/echo-db"
36
+ "path": "../../common/debug"
37
37
  },
38
38
  {
39
- "path": "../../halo/credentials"
39
+ "path": "../../echo/echo-db"
40
40
  },
41
41
  {
42
42
  "path": "../../mesh/network-manager"
43
43
  },
44
44
  {
45
- "path": "../client"
45
+ "path": "../../common/react-async"
46
46
  },
47
47
  {
48
- "path": "../config"
48
+ "path": "../../common/util"
49
49
  }
50
50
  ]
51
51
  }