@bbn/bbn 1.0.322 → 1.0.323

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.
@@ -57,13 +57,16 @@ export default function stream(url, success, data, failure, abort) {
57
57
  reader_1.read().then(function pump(_a) {
58
58
  var done = _a.done, value = _a.value;
59
59
  if (done) {
60
+ bbn.fn.log(["STREAM DONE", value, data]);
60
61
  // Do something with last chunk of data then exit reader
61
62
  _deleteLoader(requestId, data);
62
63
  defaultEndLoadingFunction(url, tst, data);
63
64
  return;
64
65
  }
66
+ bbn.fn.log(["STREAM SUCCESS IS FN: " + isFn_1]);
65
67
  if (isFn_1) {
66
68
  var res = arrayBuffer2String(value).trim();
69
+ bbn.fn.log(["STREAM RESULT", res]);
67
70
  if (res) {
68
71
  try {
69
72
  success(JSON.parse(res));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.322",
3
+ "version": "1.0.323",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",