gwsp 1.1.1 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ function GWSP(url) {
36
36
  else if (viaHeader) {
37
37
  protectionInfo = `Via: ${viaHeader}`;
38
38
  }
39
- (0, kyle_printer_1.default)({ text: `GWSP GET : ,\n${protectionInfo}`, color: 'green', font: 'bold' });
39
+ (0, kyle_printer_1.default)({ text: `GWSP GET [ ${protectionInfo} ]`, color: 'green', font: 'bold' });
40
40
  }
41
41
  catch (error) {
42
42
  let statusCode = 'null';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gwsp",
3
- "version": "1.1.1",
3
+ "version": "3.3.3",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
package/src/index.ts CHANGED
@@ -23,7 +23,7 @@ async function GWSP(url: string): Promise<void> {
23
23
  protectionInfo = `Via: ${viaHeader}`;
24
24
  }
25
25
 
26
- print({ text: `GWSP GET : ,\n${protectionInfo}`, color: 'green', font: 'bold' });
26
+ print({ text: `GWSP GET [ ${protectionInfo} ]`, color: 'green', font: 'bold' });
27
27
  } catch (error) {
28
28
  let statusCode = 'null';
29
29
  if ((error as any)?.response?.status) {