@infrab4a/connect 4.14.0-beta.2 → 4.14.0-beta.4

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.
package/index.cjs.js CHANGED
@@ -6407,7 +6407,7 @@ class VertexAxiosAdapter {
6407
6407
  this.config = config;
6408
6408
  this.logger = DebugHelper.from(this);
6409
6409
  }
6410
- async query(searchTerm, total, gender) {
6410
+ async query(term, total, gender) {
6411
6411
  const logger = this.logger.with('query');
6412
6412
  const req = {
6413
6413
  url: `${this.config.url}/search`,
@@ -6416,7 +6416,7 @@ class VertexAxiosAdapter {
6416
6416
  headers: {
6417
6417
  Accept: 'application/json',
6418
6418
  },
6419
- data: { searchTerm, total, gender },
6419
+ data: { term, total, gender },
6420
6420
  };
6421
6421
  try {
6422
6422
  const { data } = await axios__default["default"](req);
package/index.esm.js CHANGED
@@ -6401,7 +6401,7 @@ class VertexAxiosAdapter {
6401
6401
  this.config = config;
6402
6402
  this.logger = DebugHelper.from(this);
6403
6403
  }
6404
- async query(searchTerm, total, gender) {
6404
+ async query(term, total, gender) {
6405
6405
  const logger = this.logger.with('query');
6406
6406
  const req = {
6407
6407
  url: `${this.config.url}/search`,
@@ -6410,7 +6410,7 @@ class VertexAxiosAdapter {
6410
6410
  headers: {
6411
6411
  Accept: 'application/json',
6412
6412
  },
6413
- data: { searchTerm, total, gender },
6413
+ data: { term, total, gender },
6414
6414
  };
6415
6415
  try {
6416
6416
  const { data } = await axios(req);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.14.0-beta.2",
3
+ "version": "4.14.0-beta.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -6,7 +6,7 @@ export declare class VertexAxiosAdapter implements VertexSearchAdapter<ProductSe
6
6
  private readonly config;
7
7
  private logger;
8
8
  constructor(config: VertexSearchConfig);
9
- query(searchTerm: string, total: number, gender?: String): Promise<ProductSearch[]>;
9
+ query(term: string, total: number, gender?: String): Promise<ProductSearch[]>;
10
10
  get(id: string): Promise<ProductSearch>;
11
11
  save(data: Product): Promise<any>;
12
12
  update(id: string, data: Product): Promise<any>;
File without changes