@opentap/runner-client 1.2.2 → 1.2.3

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.
@@ -206,7 +206,7 @@ export declare class BaseClient {
206
206
  * @param {string} typeName
207
207
  * @returns {Promise<ListItemType[]>}
208
208
  */
209
- addComponentSettingsListItem(groupName: string, name: string, typeName: string): Promise<ListItemType[]>;
209
+ addComponentSettingsListItem(groupName: string, name: string, typeName: string): Promise<ComponentSettingsBase>;
210
210
  /**
211
211
  * Get settings package files
212
212
  * @returns {Promise<string[]>}
package/lib/BaseClient.js CHANGED
@@ -519,7 +519,7 @@ var BaseClient = /** @class */ (function () {
519
519
  BaseClient.prototype.addComponentSettingsListItem = function (groupName, name, typeName) {
520
520
  var addComponentSettingsListItemRequest = { groupName: groupName, name: name, typeName: typeName };
521
521
  return this.request('AddComponentSettingsListItem', addComponentSettingsListItemRequest)
522
- .then(function (listItemTypes) { return listItemTypes.map(function (listItemType) { return ListItemType.fromJS(listItemType); }); })
522
+ .then(function (componentSettingsBase) { return ComponentSettingsBase.fromJS(componentSettingsBase); })
523
523
  .then(this.success())
524
524
  .catch(this.error());
525
525
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentap/runner-client",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "This is the web client for the OpenTAP Runner.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",