tokopedia-decrypt-node
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,6 @@ import crypto from 'crypto'; | ||
} | ||
declare const decryptContent: (privateKey: crypto.KeyLike, { secret, content }: ContentPayload) => any; | ||
export default decryptContent; | ||
declare const decryptContent: { | ||
(privateKey: crypto.KeyLike, { secret, content }: ContentPayload): any; | ||
default: any; | ||
}; | ||
export = decryptContent; |
@@ -5,3 +5,2 @@ "use strict"; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const crypto_1 = __importDefault(require("crypto")); | ||
@@ -24,2 +23,3 @@ const decryptContent = (privateKey, { secret, content }) => { | ||
}; | ||
exports.default = decryptContent; | ||
decryptContent.default = decryptContent; | ||
module.exports = decryptContent; |
@@ -6,3 +6,6 @@ import crypto from 'crypto'; | ||
} | ||
declare const decryptContent: (privateKey: crypto.KeyLike, { secret, content }: ContentPayload) => any; | ||
export default decryptContent; | ||
declare const decryptContent: { | ||
(privateKey: crypto.KeyLike, { secret, content }: ContentPayload): any; | ||
default: any; | ||
}; | ||
export = decryptContent; |
@@ -5,3 +5,2 @@ "use strict"; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const crypto_1 = __importDefault(require("crypto")); | ||
@@ -24,2 +23,3 @@ const decryptContent = (privateKey, { secret, content }) => { | ||
}; | ||
exports.default = decryptContent; | ||
decryptContent.default = decryptContent; | ||
module.exports = decryptContent; |
{ | ||
"name": "tokopedia-decrypt-node", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "./lib/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./lib/esm/index.js", |
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
8064
7
66