Skip to content

Commit 6bef52f

Browse files
committed
Committed by Github action
master: { "stompjs": "6.1.1", "rx-stomp": "1.0.2", "ng2-stompjs": "8.0.0" } develop: { "stompjs": "6.1.1", "rx-stomp": "1.1.3", "ng2-stompjs": "8.0.0" }
1 parent f8a2a52 commit 6bef52f

34 files changed

+76
-79
lines changed

_data/versions/develop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"stompjs": "6.1.1",
3-
"rx-stomp": "1.1.2",
3+
"rx-stomp": "1.1.3",
44
"ng2-stompjs": "8.0.0"
55
}

api-docs/develop/classes/Client.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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/classes/CompatClient.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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/classes/RxStompRPC.html

Lines changed: 12 additions & 15 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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

@@ -196,7 +196,7 @@ <h3 id="methods">
196196
<tr>
197197
<td class="col-md-4">
198198
<span class="modifier-icon icon ion-ios-reset"></span>
199-
<code>rpc(params: <a href="../undefineds/publishParams.html">publishParams</a>)</code>
199+
<code>rpc(params: <a href="../interfaces/IPublishParams.html">IPublishParams</a>)</code>
200200
</td>
201201
</tr>
202202

@@ -229,7 +229,7 @@ <h3 id="methods">
229229
<tr>
230230
<td>params</td>
231231
<td>
232-
<code><a href="../miscellaneous/typealiases.html#publishParams" target="_self" >publishParams</a></code>
232+
<code><a href="../interfaces/IPublishParams.html" target="_self" >IPublishParams</a></code>
233233
</td>
234234

235235
<td>
@@ -271,7 +271,7 @@ <h3 id="methods">
271271
<tr>
272272
<td class="col-md-4">
273273
<span class="modifier-icon icon ion-ios-reset"></span>
274-
<code>stream(params: <a href="../undefineds/publishParams.html">publishParams</a>)</code>
274+
<code>stream(params: <a href="../interfaces/IPublishParams.html">IPublishParams</a>)</code>
275275
</td>
276276
</tr>
277277

@@ -304,7 +304,7 @@ <h3 id="methods">
304304
<tr>
305305
<td>params</td>
306306
<td>
307-
<code><a href="../miscellaneous/typealiases.html#publishParams" target="_self" >publishParams</a></code>
307+
<code><a href="../interfaces/IPublishParams.html" target="_self" >IPublishParams</a></code>
308308
</td>
309309

310310
<td>
@@ -345,7 +345,7 @@ <h3 id="methods">
345345

346346
import { UUID } from &#x27;angular2-uuid&#x27;;
347347

348-
import { IMessage, publishParams, StompHeaders } from &#x27;@stomp/stompjs&#x27;;
348+
import { IMessage, IPublishParams, StompHeaders } from &#x27;@stomp/stompjs&#x27;;
349349

350350
import { RxStomp } from &#x27;./rx-stomp&#x27;;
351351
import { RxStompRPCConfig, setupReplyQueueFnType } from &#x27;./rx-stomp-rpc-config&#x27;;
@@ -395,7 +395,7 @@ <h3 id="methods">
395395
*
396396
* It is a simple wrapper around [RxStompRPC#stream]{@link RxStompRPC#stream}.
397397
*/
398-
public rpc(params: publishParams): Observable&lt;IMessage&gt; {
398+
public rpc(params: IPublishParams): Observable&lt;IMessage&gt; {
399399
// We know there will be only one message in reply
400400
return this.stream(params).pipe(first());
401401
}
@@ -406,12 +406,9 @@ <h3 id="methods">
406406
* Note: This call internally takes care of generating a correlation id,
407407
* however, if &#x60;correlation-id&#x60; is passed via &#x60;headers&#x60;, that will be used instead.
408408
*/
409-
public stream(params: publishParams): Observable&lt;IMessage&gt; {
410-
const headers: StompHeaders &#x3D; (Object as any).assign(
411-
{},
412-
params.headers || {}
413-
);
414-
const { destination, body, binaryBody } &#x3D; params;
409+
public stream(params: IPublishParams): Observable&lt;IMessage&gt; {
410+
// defensively copy
411+
const headers: StompHeaders &#x3D; { ...(params.headers || {}) };
415412

416413
if (!this._repliesObservable) {
417414
const repliesObservable &#x3D; this._setupReplyQueue(
@@ -446,7 +443,7 @@ <h3 id="methods">
446443
headers[&#x27;reply-to&#x27;] &#x3D; this._replyQueueName;
447444
headers[&#x27;correlation-id&#x27;] &#x3D; correlationId;
448445

449-
this.rxStomp.publish({ destination, body, binaryBody, headers });
446+
this.rxStomp.publish({ ...params, headers });
450447

451448
return () &#x3D;&gt; {
452449
// Cleanup

api-docs/develop/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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/classes/Stomp.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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/classes/StompConfig.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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

api-docs/develop/classes/StompHeaders.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-
6+
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">[email protected], [email protected].2</a>
17+
<a href="../" class="navbar-brand">[email protected], [email protected].3</a>
1818
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
1919
</div>
2020

0 commit comments

Comments
 (0)