@colijnit/articleapi 1.0.28 → 1.0.29

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.
@@ -22,8 +22,7 @@ export class ArticlesPublic extends IoneApiArticles {
22
22
  this._instanceId = value;
23
23
  }
24
24
  searchArticles(request, showLoader) {
25
- const params = { request: request };
26
- const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: params });
25
+ const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: request });
27
26
  return this._call(PublicServiceMethod.SearchArticles, data, showLoader);
28
27
  }
29
28
  searchArticlesLight(request, showLoader) {
@@ -172,6 +172,7 @@ describe("ArticlesAPI", () => {
172
172
  expect(result).toBeDefined();
173
173
  }));
174
174
  it('searchArticles', () => __awaiter(void 0, void 0, void 0, function* () {
175
+ yield articles.connect();
175
176
  const result = yield articles.searchArticles(articleExtendedRequest);
176
177
  expect(result).toBeDefined();
177
178
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/articleapi",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",