@adonisjs/encryption
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -77,3 +77,3 @@ /** | ||
*/ | ||
decrypt<T extends any>(payload: string, purpose?: string): T; | ||
decrypt<T extends any>(payload: string, purpose?: string): T | null; | ||
/** | ||
@@ -80,0 +80,0 @@ * Create a children instance with different secret key |
@@ -48,3 +48,3 @@ /// <reference path="../../adonis-typings/encryption.d.ts" /> | ||
*/ | ||
decrypt(value: string, purpose?: string): any; | ||
decrypt<T extends any>(value: string, purpose?: string): T | null; | ||
/** | ||
@@ -51,0 +51,0 @@ * Returns a new instance of encryption with custom secret key |
@@ -11,2 +11,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Encryption = void 0; | ||
/// <reference path="../../adonis-typings/encryption.ts" /> | ||
@@ -13,0 +14,0 @@ const crypto_1 = require("crypto"); |
@@ -11,2 +11,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Hmac = void 0; | ||
const crypto_1 = require("crypto"); | ||
@@ -13,0 +14,0 @@ const utils_1 = require("@poppinss/utils"); |
@@ -11,2 +11,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MessageVerifier = void 0; | ||
/// <reference path="../../adonis-typings/encryption.ts" /> | ||
@@ -13,0 +14,0 @@ const crypto_1 = require("crypto"); |
@@ -12,2 +12,2 @@ "use strict"; | ||
var Encryption_1 = require("./src/Encryption"); | ||
exports.Encryption = Encryption_1.Encryption; | ||
Object.defineProperty(exports, "Encryption", { enumerable: true, get: function () { return Encryption_1.Encryption; } }); |
{ | ||
"name": "@adonisjs/encryption", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Encryption provider for AdonisJs", | ||
@@ -41,15 +41,15 @@ "main": "build/providers/EncryptionProvider.js", | ||
"@adonisjs/mrm-preset": "^2.3.0", | ||
"@types/node": "^13.11.1", | ||
"commitizen": "^4.0.4", | ||
"cz-conventional-changelog": "^3.1.0", | ||
"@types/node": "^14.0.1", | ||
"commitizen": "^4.1.2", | ||
"cz-conventional-changelog": "^3.2.0", | ||
"del-cli": "^3.0.0", | ||
"doctoc": "^1.4.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-adonis": "^1.0.9", | ||
"eslint": "^7.0.0", | ||
"eslint-plugin-adonis": "^1.0.10", | ||
"husky": "^4.2.5", | ||
"japa": "^3.0.1", | ||
"mrm": "^2.2.1", | ||
"mrm": "^2.3.0", | ||
"np": "^5.2.1", | ||
"ts-node": "^8.8.2", | ||
"typescript": "^3.8.3" | ||
"ts-node": "^8.10.1", | ||
"typescript": "^3.9.2" | ||
}, | ||
@@ -76,3 +76,3 @@ "nyc": { | ||
"dependencies": { | ||
"@poppinss/utils": "^2.2.4" | ||
"@poppinss/utils": "^2.2.6" | ||
}, | ||
@@ -79,0 +79,0 @@ "np": { |
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
24030
519
Updated@poppinss/utils@^2.2.6