gwsp 1.1.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gwsp",
3
- "version": "1.1.1",
3
+ "version": "2.2.2",
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) {