Skip to content

Commit 152429e

Browse files
committed
Committed by Github action
master: { "stompjs": "6.0.0", "rx-stomp": "0.3.5", "ng2-stompjs": "7.2.0" } develop: { "stompjs": "6.0.0", "rx-stomp": "1.0.0-beta5", "ng2-stompjs": "8.0.0-beta3" }
1 parent 26d9531 commit 152429e

34 files changed

+1121
-286
lines changed

_data/authors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ stompjs:
66
location:
77
email:
88
links:
9-
- label: stompjs@5.4.4
9+
- label: stompjs@6.0.0
1010
icon: fab fa-fw fa-github
1111
url: https://github.com/stomp-js/stompjs
1212

_data/versions/master.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"stompjs": "5.4.4",
2+
"stompjs": "6.0.0",
33
"rx-stomp": "0.3.5",
44
"ng2-stompjs": "7.2.0"
55
}

api-docs/latest/classes/Client.html

Lines changed: 406 additions & 97 deletions
Large diffs are not rendered by default.

api-docs/latest/classes/CompatClient.html

Lines changed: 298 additions & 70 deletions
Large diffs are not rendered by default.

api-docs/latest/classes/RxStomp.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
6-
<title>stompjs@5.4.4, [email protected]</title>
6+
<title>stompjs@6.0.0, [email protected]</title>
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

@@ -14,7 +14,7 @@
1414
<body>
1515

1616
<div class="navbar navbar-default navbar-fixed-top visible-xs">
17-
<a href="../" class="navbar-brand">stompjs@5.4.4, [email protected]</a>
17+
<a href="../" class="navbar-brand">stompjs@6.0.0, [email protected]</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/latest/classes/RxStompConfig.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
6-
<title>stompjs@5.4.4, [email protected]</title>
6+
<title>stompjs@6.0.0, [email protected]</title>
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

@@ -14,7 +14,7 @@
1414
<body>
1515

1616
<div class="navbar navbar-default navbar-fixed-top visible-xs">
17-
<a href="../" class="navbar-brand">stompjs@5.4.4, [email protected]</a>
17+
<a href="../" class="navbar-brand">stompjs@6.0.0, [email protected]</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/latest/classes/RxStompRPC.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
6-
<title>stompjs@5.4.4, [email protected]</title>
6+
<title>stompjs@6.0.0, [email protected]</title>
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

@@ -14,7 +14,7 @@
1414
<body>
1515

1616
<div class="navbar navbar-default navbar-fixed-top visible-xs">
17-
<a href="../" class="navbar-brand">stompjs@5.4.4, [email protected]</a>
17+
<a href="../" class="navbar-brand">stompjs@6.0.0, [email protected]</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/latest/classes/RxStompRPCConfig.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
6-
<title>stompjs@5.4.4, [email protected]</title>
6+
<title>stompjs@6.0.0, [email protected]</title>
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

@@ -14,7 +14,7 @@
1414
<body>
1515

1616
<div class="navbar navbar-default navbar-fixed-top visible-xs">
17-
<a href="../" class="navbar-brand">stompjs@5.4.4, [email protected]</a>
17+
<a href="../" class="navbar-brand">stompjs@6.0.0, [email protected]</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/latest/classes/Stomp.html

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
6-
<title>stompjs@5.4.4, [email protected]</title>
6+
<title>stompjs@6.0.0, [email protected]</title>
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

@@ -14,7 +14,7 @@
1414
<body>
1515

1616
<div class="navbar navbar-default navbar-fixed-top visible-xs">
17-
<a href="../" class="navbar-brand">stompjs@5.4.4, [email protected]</a>
17+
<a href="../" class="navbar-brand">stompjs@6.0.0, [email protected]</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

@@ -158,7 +158,7 @@ <h3 id="inputs">
158158
</tr>
159159
<tr>
160160
<td class="col-md-4">
161-
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">consolidated/stompjs/src/compatibility/stomp.ts:32</a></div>
161+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">consolidated/stompjs/src/compatibility/stomp.ts:41</a></div>
162162
</td>
163163
</tr>
164164

@@ -209,7 +209,7 @@ <h3 id="methods">
209209

210210
<tr>
211211
<td class="col-md-4">
212-
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">consolidated/stompjs/src/compatibility/stomp.ts:48</a></div>
212+
<div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">consolidated/stompjs/src/compatibility/stomp.ts:57</a></div>
213213
</td>
214214
</tr>
215215

@@ -300,7 +300,7 @@ <h3 id="methods">
300300

301301
<tr>
302302
<td class="col-md-4">
303-
<div class="io-line">Defined in <a href="" data-line="92" class="link-to-prism">consolidated/stompjs/src/compatibility/stomp.ts:92</a></div>
303+
<div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">consolidated/stompjs/src/compatibility/stomp.ts:103</a></div>
304304
</td>
305305
</tr>
306306

@@ -372,8 +372,17 @@ <h3 id="methods">
372372

373373

374374
<div class="tab-pane fade tab-source-code" id="c-source">
375-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {Versions} from &#x27;../versions&#x27;;
376-
import {CompatClient} from &#x27;./compat-client&#x27;;
375+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Versions } from &#x27;../versions&#x27;;
376+
import { CompatClient } from &#x27;./compat-client&#x27;;
377+
import { IStompSocket } from &#x27;../types&#x27;;
378+
379+
/**
380+
* @internal
381+
*/
382+
declare const WebSocket: {
383+
prototype: IStompSocket;
384+
new (url: string, protocols?: string | string[]): IStompSocket;
385+
};
377386

378387
/**
379388
* STOMP Class, acts like a factory to create {@link Client}.
@@ -433,7 +442,9 @@ <h3 id="methods">
433442
// instead.
434443

435444
// See remarks on the function Stomp.over
436-
if (protocols &#x3D;&#x3D; null) { protocols &#x3D; Versions.default.protocolVersions(); }
445+
if (protocols &#x3D;&#x3D; null) {
446+
protocols &#x3D; Versions.default.protocolVersions();
447+
}
437448
const wsFn &#x3D; () &#x3D;&gt; {
438449
const klass &#x3D; Stomp.WebSocketClass || WebSocket;
439450
return new klass(url, protocols);
@@ -466,11 +477,13 @@ <h3 id="methods">
466477
public static over(ws: any): CompatClient {
467478
let wsFn: () &#x3D;&gt; any;
468479

469-
if (typeof (ws) &#x3D;&#x3D;&#x3D; &#x27;function&#x27;) {
480+
if (typeof ws &#x3D;&#x3D;&#x3D; &#x27;function&#x27;) {
470481
wsFn &#x3D; ws;
471482
} else {
472-
console.warn(&#x27;Stomp.over did not receive a factory, auto reconnect will not work. &#x27; +
473-
&#x27;Please see https://stomp-js.github.io/api-docs/latest/classes/Stomp.html#over&#x27;);
483+
console.warn(
484+
&#x27;Stomp.over did not receive a factory, auto reconnect will not work. &#x27; +
485+
&#x27;Please see https://stomp-js.github.io/api-docs/latest/classes/Stomp.html#over&#x27;
486+
);
474487
wsFn &#x3D; () &#x3D;&gt; ws;
475488
}
476489

0 commit comments

Comments
 (0)