@infrab4a/connect 4.14.0-beta.4 → 4.14.0-beta.5
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 +1 -2
- package/index.esm.js +1 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -6420,7 +6420,6 @@ class VertexAxiosAdapter {
|
|
|
6420
6420
|
};
|
|
6421
6421
|
try {
|
|
6422
6422
|
const { data } = await axios__default["default"](req);
|
|
6423
|
-
console.log('response vertex axios', data);
|
|
6424
6423
|
return data;
|
|
6425
6424
|
}
|
|
6426
6425
|
catch (error) {
|
|
@@ -6529,7 +6528,7 @@ class ProductsVertexSearch {
|
|
|
6529
6528
|
try {
|
|
6530
6529
|
const _a = product.toPlain(), { createdAt, updatedAt, kitProducts } = _a, data = tslib.__rest(_a, ["createdAt", "updatedAt", "kitProducts"]);
|
|
6531
6530
|
const newProduct = Product.toInstance(data);
|
|
6532
|
-
this.adapter.save(newProduct);
|
|
6531
|
+
await this.adapter.save(newProduct);
|
|
6533
6532
|
}
|
|
6534
6533
|
catch (error) {
|
|
6535
6534
|
console.error(error);
|
package/index.esm.js
CHANGED
|
@@ -6414,7 +6414,6 @@ class VertexAxiosAdapter {
|
|
|
6414
6414
|
};
|
|
6415
6415
|
try {
|
|
6416
6416
|
const { data } = await axios(req);
|
|
6417
|
-
console.log('response vertex axios', data);
|
|
6418
6417
|
return data;
|
|
6419
6418
|
}
|
|
6420
6419
|
catch (error) {
|
|
@@ -6523,7 +6522,7 @@ class ProductsVertexSearch {
|
|
|
6523
6522
|
try {
|
|
6524
6523
|
const _a = product.toPlain(), { createdAt, updatedAt, kitProducts } = _a, data = __rest(_a, ["createdAt", "updatedAt", "kitProducts"]);
|
|
6525
6524
|
const newProduct = Product.toInstance(data);
|
|
6526
|
-
this.adapter.save(newProduct);
|
|
6525
|
+
await this.adapter.save(newProduct);
|
|
6527
6526
|
}
|
|
6528
6527
|
catch (error) {
|
|
6529
6528
|
console.error(error);
|