pangea-server 3.3.138 → 3.3.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  export declare abstract class Encryptor {
2
- static encrypt(value: string): string;
3
- static decrypt(value: string): string;
2
+ static Encrypt(value: string): string;
3
+ static Decrypt(value: string): string;
4
4
  }
@@ -8,10 +8,10 @@ const cryptr_1 = __importDefault(require("cryptr"));
8
8
  // helpers
9
9
  const env_helpers_1 = require("./env.helpers");
10
10
  class Encryptor {
11
- static encrypt(value) {
11
+ static Encrypt(value) {
12
12
  return new cryptr_1.default((0, env_helpers_1.getEnvStr)('ENCRYPTOR_SECRET')).encrypt(value);
13
13
  }
14
- static decrypt(value) {
14
+ static Decrypt(value) {
15
15
  return new cryptr_1.default((0, env_helpers_1.getEnvStr)('ENCRYPTOR_SECRET')).decrypt(value);
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-server",
3
3
  "description": "",
4
- "version": "3.3.138",
4
+ "version": "3.3.140",
5
5
  "files": [
6
6
  "dist"
7
7
  ],