n8n-nodes-prestashop8 2.1.0 → 2.1.1
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,13 +22,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
26
|
exports.PrestaShop8 = void 0;
|
|
30
27
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
31
|
-
|
|
28
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
29
|
+
const axios = require('axios');
|
|
32
30
|
const PrestaShop8_node_description_1 = require("./PrestaShop8.node.description");
|
|
33
31
|
const types_1 = require("./types");
|
|
34
32
|
const utils_1 = require("./utils");
|
|
@@ -403,7 +401,7 @@ class PrestaShop8 {
|
|
|
403
401
|
if (rawMode) {
|
|
404
402
|
// In Raw mode, use axios directly to avoid n8n automatic parsing
|
|
405
403
|
try {
|
|
406
|
-
const axiosResponse = await (
|
|
404
|
+
const axiosResponse = await axios({
|
|
407
405
|
method: 'GET',
|
|
408
406
|
url: requestUrl,
|
|
409
407
|
auth: {
|
|
@@ -697,7 +695,7 @@ class PrestaShop8 {
|
|
|
697
695
|
if (rawMode) {
|
|
698
696
|
// In Raw mode, use axios directly to avoid n8n automatic parsing
|
|
699
697
|
try {
|
|
700
|
-
const axiosResponse = await (
|
|
698
|
+
const axiosResponse = await axios({
|
|
701
699
|
method: 'GET',
|
|
702
700
|
url: requestUrl,
|
|
703
701
|
auth: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-prestashop8",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Nœud n8n personnalisé pour PrestaShop 8 avec support CRUD complet et conversion XML/JSON automatique",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
"typescript": "^4.8.4"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"axios": "^1.6.0",
|
|
71
70
|
"js2xmlparser": "^5.0.0",
|
|
72
71
|
"xml2js": "^0.6.2"
|
|
73
72
|
},
|