@quotemedia.com/streamer 2.62.0 → 2.63.0

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.
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
 
4
4
  <head>
5
- <script src="qmci-streamer-2.62.0.min.js"></script>
5
+ <script src="qmci-streamer-2.63.0.min.js"></script>
6
6
  <script src="https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js"></script>
7
7
  </head>
8
8
 
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.62.0.min.js"></script>
4
+ <script src="qmci-streamer-2.63.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quotemedia.com/streamer",
3
- "version": "2.62.0",
3
+ "version": "2.63.0",
4
4
  "description": "A JavaScript client for QuoteMedia's streaming data service.",
5
5
  "main": "lib/index.js",
6
6
  "author": "QuoteMedia",
@@ -7110,13 +7110,13 @@ fmt.Formatter.prototype._fmtdividend = function (val) {
7110
7110
  s.sep();
7111
7111
  s.append(val.instrument);
7112
7112
  s.sep();
7113
- s.datetime(val.declarationDate);
7113
+ s.localDate(val.declarationLocalDate);
7114
7114
  s.sep();
7115
- s.datetime(val.executionDate);
7115
+ s.localDate(val.executionLocalDate);
7116
7116
  s.sep();
7117
- s.datetime(val.recordDate);
7117
+ s.localDate(val.recordLocalDate);
7118
7118
  s.sep();
7119
- s.datetime(val.paymentDate);
7119
+ s.localDate(val.paymentLocalDate);
7120
7120
  s.sep();
7121
7121
  s.append(val.amount);
7122
7122
  s.sep();
@@ -7143,7 +7143,7 @@ fmt.Formatter.prototype._fmtearnings = function (val) {
7143
7143
  s.sep();
7144
7144
  s.append(val.earningsPerShare);
7145
7145
  s.sep();
7146
- s.datetime(val.announcementDate);
7146
+ s.localDate(val.announcementLocalDate);
7147
7147
  s.sep();
7148
7148
  s.append(val.announcementTimeOfDay);
7149
7149
  s.sep();
@@ -7162,13 +7162,13 @@ fmt.Formatter.prototype._fmtsplit = function (val) {
7162
7162
  s.sep();
7163
7163
  s.append(val.symbol);
7164
7164
  s.sep();
7165
- s.datetime(val.executionDate);
7165
+ s.localDate(val.executionLocalDate);
7166
7166
  s.sep();
7167
- s.datetime(val.declarationDate);
7167
+ s.localDate(val.declarationLocalDate);
7168
7168
  s.sep();
7169
- s.datetime(val.recordDate);
7169
+ s.localDate(val.recordLocalDate);
7170
7170
  s.sep();
7171
- s.datetime(val.paymentDate);
7171
+ s.localDate(val.paymentLocalDate);
7172
7172
  s.sep();
7173
7173
  s.append(val.ratio);
7174
7174
  s.sep();
@@ -7191,7 +7191,7 @@ fmt.Formatter.prototype._fmtsymbolChanged = function (val) {
7191
7191
  s.sep();
7192
7192
  s.append(val.newSymbol);
7193
7193
  s.sep();
7194
- s.datetime(val.day);
7194
+ s.localDate(val.dayLocalDate);
7195
7195
 
7196
7196
  return s.toString();
7197
7197
  };
@@ -7619,6 +7619,20 @@ fmt.StringBuilder.prototype.datetime = function (val) {
7619
7619
  }
7620
7620
  };
7621
7621
 
7622
+ fmt.StringBuilder.prototype.localDate = function (val) {
7623
+ if (val != null && Array.isArray(val) && val.length >= 3) {
7624
+ var year = val[0],
7625
+ month = val[1],
7626
+ day = val[2];
7627
+
7628
+ var mm = String(month).padStart(2, '0');
7629
+ var dd = String(day).padStart(2, '0');
7630
+ this._str += year + "-" + mm + "-" + dd;
7631
+ } else {
7632
+ this._str += 'null';
7633
+ }
7634
+ };
7635
+
7622
7636
  fmt.StringBuilder.prototype.toString = function () {
7623
7637
  return this._str;
7624
7638
  };
@@ -15810,7 +15824,7 @@ exports.__esModule = true;
15810
15824
  */
15811
15825
 
15812
15826
  var LIBRARY_NAME = exports.LIBRARY_NAME = "JavaScript";
15813
- var VERSION = exports.VERSION = "2.62.0";
15827
+ var VERSION = exports.VERSION = "2.63.0";
15814
15828
 
15815
15829
  /**
15816
15830
  * Streamer API namespace.