@miso.ai/client-sdk-core 1.7.3-beta.6 → 1.7.3-beta.8

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.
@@ -81,23 +81,23 @@ class Answer {
81
81
  let _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
82
82
  let options = _objectWithoutPropertiesLoose(_ref2, _excluded2);
83
83
  this._api = api;
84
- this._id = question_id;
84
+ this._questionId = question_id;
85
85
  this._ac = new AbortController();
86
86
  this._options = Object.assign({}, options, {
87
87
  signal: this._ac.signal
88
88
  });
89
89
  }
90
- get id() {
91
- return this._id;
90
+ get questionId() {
91
+ return this._questionId;
92
92
  }
93
93
  async get(options) {
94
94
  options = Object.assign({}, this._options, options);
95
- return this._api._get(this._id, options);
95
+ return this._api._get(this._questionId, options);
96
96
  }
97
97
  abort() {
98
98
  this._ac.abort();
99
99
  }
100
100
  [Symbol.asyncIterator]() {
101
- return this._api._iterable(this._id, this._options)[Symbol.asyncIterator]();
101
+ return this._api._iterable(this._questionId, this._options)[Symbol.asyncIterator]();
102
102
  }
103
103
  }
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = '1.7.3-beta.6';
7
+ var _default = '1.7.3-beta.8';
8
8
  exports.default = _default;
@@ -73,23 +73,23 @@ class Answer {
73
73
  let _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
74
74
  let options = _objectWithoutPropertiesLoose(_ref2, _excluded2);
75
75
  this._api = api;
76
- this._id = question_id;
76
+ this._questionId = question_id;
77
77
  this._ac = new AbortController();
78
78
  this._options = Object.assign({}, options, {
79
79
  signal: this._ac.signal
80
80
  });
81
81
  }
82
- get id() {
83
- return this._id;
82
+ get questionId() {
83
+ return this._questionId;
84
84
  }
85
85
  async get(options) {
86
86
  options = Object.assign({}, this._options, options);
87
- return this._api._get(this._id, options);
87
+ return this._api._get(this._questionId, options);
88
88
  }
89
89
  abort() {
90
90
  this._ac.abort();
91
91
  }
92
92
  [Symbol.asyncIterator]() {
93
- return this._api._iterable(this._id, this._options)[Symbol.asyncIterator]();
93
+ return this._api._iterable(this._questionId, this._options)[Symbol.asyncIterator]();
94
94
  }
95
95
  }
@@ -1 +1 @@
1
- export default '1.7.3-beta.6';
1
+ export default '1.7.3-beta.8';
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "url": "https://github.com/MisoAI/miso-client-js-sdk/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@miso.ai/commons": "1.7.3-beta.6"
32
+ "@miso.ai/commons": "1.7.3-beta.8"
33
33
  },
34
- "version": "1.7.3-beta.6"
34
+ "version": "1.7.3-beta.8"
35
35
  }