@stomp/stompjs 5.0.1 → 5.0.2

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.
package/esm5/types.d.ts CHANGED
@@ -27,7 +27,8 @@ export declare type frameCallbackType = (receipt: Frame) => void;
27
27
  */
28
28
  export declare type closeEventCallbackType = (evt: CloseEvent) => void;
29
29
  /**
30
- * Parameters for [Client#publish]{@link Client#publish}
30
+ * Parameters for [Client#publish]{@link Client#publish}.
31
+ * Aliased as publishParams as well.
31
32
  *
32
33
  * Part of `@stomp/stompjs`.
33
34
  */
@@ -54,6 +55,12 @@ export interface IPublishParams {
54
55
  */
55
56
  skipContentLengthHeader?: boolean;
56
57
  }
58
+ /**
59
+ * @Internal
60
+ *
61
+ * Backward compatibility
62
+ */
63
+ export declare type publishParams = IPublishParams;
57
64
  /**
58
65
  * Used in {@link IRawFrameType}
59
66
  *
package/esm6/types.d.ts CHANGED
@@ -27,7 +27,8 @@ export declare type frameCallbackType = (receipt: Frame) => void;
27
27
  */
28
28
  export declare type closeEventCallbackType = (evt: CloseEvent) => void;
29
29
  /**
30
- * Parameters for [Client#publish]{@link Client#publish}
30
+ * Parameters for [Client#publish]{@link Client#publish}.
31
+ * Aliased as publishParams as well.
31
32
  *
32
33
  * Part of `@stomp/stompjs`.
33
34
  */
@@ -54,6 +55,12 @@ export interface IPublishParams {
54
55
  */
55
56
  skipContentLengthHeader?: boolean;
56
57
  }
58
+ /**
59
+ * @Internal
60
+ *
61
+ * Backward compatibility
62
+ */
63
+ export declare type publishParams = IPublishParams;
57
64
  /**
58
65
  * Used in {@link IRawFrameType}
59
66
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stomp/stompjs",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "STOMP cleint for Javascript and Typescript",
5
5
  "scripts": {
6
6
  "clean": "rm -rf bundles esm5 esm6",