@requestly/requestly-proxy 1.1.6 → 1.1.7
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.
|
@@ -64,6 +64,7 @@ class RuleProcessorHelper {
|
|
|
64
64
|
const rule_action = rule_processor.process({
|
|
65
65
|
rule,
|
|
66
66
|
requestURL: this.request_data.request_url,
|
|
67
|
+
details: this.request_data
|
|
67
68
|
});
|
|
68
69
|
return rule_action;
|
|
69
70
|
};
|
|
@@ -78,7 +79,7 @@ class RuleProcessorHelper {
|
|
|
78
79
|
const rule_action = rule_processor.process({
|
|
79
80
|
rule,
|
|
80
81
|
requestURL: this.request_data.request_url,
|
|
81
|
-
details: { requestData },
|
|
82
|
+
details: Object.assign(Object.assign({}, this.request_data), { requestData }),
|
|
82
83
|
});
|
|
83
84
|
return rule_action;
|
|
84
85
|
};
|
|
@@ -93,7 +94,7 @@ class RuleProcessorHelper {
|
|
|
93
94
|
const rule_action = rule_processor.process({
|
|
94
95
|
rule,
|
|
95
96
|
requestURL: this.request_data.request_url,
|
|
96
|
-
details: { requestData },
|
|
97
|
+
details: Object.assign(Object.assign({}, this.request_data), { requestData }),
|
|
97
98
|
});
|
|
98
99
|
return rule_action;
|
|
99
100
|
};
|
|
@@ -127,6 +128,7 @@ class RuleProcessorHelper {
|
|
|
127
128
|
payload: {
|
|
128
129
|
requestOrigin: getRequestOrigin(),
|
|
129
130
|
},
|
|
131
|
+
details: this.request_data
|
|
130
132
|
});
|
|
131
133
|
return rule_action;
|
|
132
134
|
};
|
|
@@ -162,6 +164,7 @@ class RuleProcessorHelper {
|
|
|
162
164
|
payload: {
|
|
163
165
|
requestOrigin: getRequestOrigin(),
|
|
164
166
|
},
|
|
167
|
+
details: this.request_data
|
|
165
168
|
});
|
|
166
169
|
return rule_action;
|
|
167
170
|
};
|
|
@@ -182,6 +185,7 @@ class RuleProcessorHelper {
|
|
|
182
185
|
requestURL: this.request_data.request_url,
|
|
183
186
|
rule,
|
|
184
187
|
originalRequestHeaders: originalRequestHeadersObjectKeysValuePairs,
|
|
188
|
+
details: this.request_data
|
|
185
189
|
});
|
|
186
190
|
return rule_action;
|
|
187
191
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requestly/requestly-proxy",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Proxy that gives superpowers to all the Requestly clients",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@requestly/requestly-core": "^1.0.
|
|
18
|
+
"@requestly/requestly-core": "^1.0.2",
|
|
19
19
|
"@sentry/browser": "^6.19.2",
|
|
20
20
|
"async": "^3.2.1",
|
|
21
21
|
"axios": "^0.26.1",
|