react-peer-chat 0.6.3 → 0.6.4

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/dist/index.d.ts +2 -2
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React, { CSSProperties, DetailedHTMLProps, HTMLAttributes, ReactNode } from 'react';
2
- import { PeerOptions as ImportedPeerOptions } from 'peerjs';
2
+ import { PeerOptions } from 'peerjs';
3
3
  export type RemotePeerId = string | string[];
4
- export type PeerOptions = ImportedPeerOptions;
4
+ export type { PeerOptions };
5
5
  export type DialogPosition = 'left' | 'center' | 'right';
6
6
  export type DialogOptions = {
7
7
  position?: DialogPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-peer-chat",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "An easy to use react component for impleting peer-to-peer chatting.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,11 +32,11 @@
32
32
  },
33
33
  "homepage": "https://github.com/SahilAggarwal2004/react-peer-chat#readme",
34
34
  "peerDependencies": {
35
- "react": ">=16.0.0",
36
- "react-dom": ">=16.0.0"
35
+ "react": ">=17.0.0",
36
+ "react-dom": ">=17.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/react": "^18.2.48"
39
+ "@types/react": "^18.2.55"
40
40
  },
41
41
  "dependencies": {
42
42
  "peerjs": "^1.5.2"