versacall-core-library-react 2.0.68 → 2.0.69
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.
|
@@ -130,11 +130,13 @@ class ChannelsProvider extends _react.Component {
|
|
|
130
130
|
connected: true
|
|
131
131
|
};
|
|
132
132
|
const urlArray = props.core.baseUrl.split('://');
|
|
133
|
+
const protocol = urlArray[0];
|
|
133
134
|
const modifiedUrl = urlArray[urlArray.length - 1];
|
|
135
|
+
const isSecure = protocol === 'https';
|
|
134
136
|
client = emitter.connect({
|
|
135
137
|
host: modifiedUrl,
|
|
136
|
-
port:
|
|
137
|
-
secure:
|
|
138
|
+
port: 9090,
|
|
139
|
+
secure: isSecure
|
|
138
140
|
});
|
|
139
141
|
client.on('connect', conack => {
|
|
140
142
|
this.props.core.log('system', namespace, methodName, 'Emitter Connect', conack);
|
|
@@ -249,7 +251,7 @@ class ChannelsProvider extends _react.Component {
|
|
|
249
251
|
registerHandlers: (id, handler, connectionChanged, subscribing) => registerHandlers(id, handler, connectionChanged, subscribing),
|
|
250
252
|
registerChannel: (id, channelFunction) => registerChannel(id, channelFunction)
|
|
251
253
|
}
|
|
252
|
-
},
|
|
254
|
+
}, this.props.children);
|
|
253
255
|
}
|
|
254
256
|
}
|
|
255
257
|
ChannelsProvider.propTypes = {
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"versacall": {
|
|
3
3
|
"title": "Versacall Core Library React",
|
|
4
4
|
"applicationType": "react-library",
|
|
5
|
-
"build":
|
|
5
|
+
"build": 69
|
|
6
6
|
},
|
|
7
7
|
"name": "versacall-core-library-react",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.69",
|
|
9
9
|
"description": "Versacall Core Library",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"module": "dist/index.js",
|