swdc-tracker
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -57,3 +57,3 @@ "use strict"; | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, hash_1.hashValue(this.file_name, "file_name", jwt)]; | ||
case 0: return [4 /*yield*/, hash_1.hashValue(this.file_name.replace(/\\/g, "/"), "file_name", jwt)]; | ||
case 1: | ||
@@ -60,0 +60,0 @@ hashedName = _a.sent(); |
{ | ||
"name": "swdc-tracker", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "swdc event tracker", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -32,4 +32,3 @@ import { hashValue } from "../utils/hash"; | ||
async buildPayload(jwt: string) { | ||
const hashedName = await hashValue(this.file_name, "file_name", jwt); | ||
const hashedName = await hashValue(this.file_name.replace(/\\/g, "/"), "file_name", jwt); | ||
const hashedPath = await hashValue(this.file_path, "file_path", jwt); | ||
@@ -36,0 +35,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121707
58
2580