@clockworkdog/cogs-client-react 0.16.2 → 0.16.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.
|
@@ -46,7 +46,7 @@ export default function CogsConnectionProvider({ hostname, port, children, }: {
|
|
|
46
46
|
children: React.ReactNode;
|
|
47
47
|
}): JSX.Element | null;
|
|
48
48
|
/**
|
|
49
|
-
* Get the connection from `<
|
|
49
|
+
* Get the connection from `<CogsConnectionProvider>`
|
|
50
50
|
*/
|
|
51
51
|
export declare function useCogsConnection<CustomTypes extends CogsConnectionCustomTypes<CogsConnection>>(): CogsConnection<CustomTypes>;
|
|
52
52
|
export {};
|
|
@@ -90,7 +90,7 @@ function CogsConnectionProvider({ hostname, port, children, }) {
|
|
|
90
90
|
}
|
|
91
91
|
exports.default = CogsConnectionProvider;
|
|
92
92
|
/**
|
|
93
|
-
* Get the connection from `<
|
|
93
|
+
* Get the connection from `<CogsConnectionProvider>`
|
|
94
94
|
*/
|
|
95
95
|
function useCogsConnection() {
|
|
96
96
|
return react_1.useContext(CogsConnectionContext).useCogsConnection();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clockworkdog/cogs-client-react",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typescript": "^4.1.3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@clockworkdog/cogs-client": "^0.16.
|
|
33
|
+
"@clockworkdog/cogs-client": "^0.16.1"
|
|
34
34
|
},
|
|
35
35
|
"description": "React components and hooks to connect to COGS to build a custom Media Master",
|
|
36
36
|
"repository": {
|