namirasoft-core 1.3.37 → 1.3.38

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 class EncodingOperation {
2
- static Base64Encrypt(message: string): string;
3
- static Base64Decrypt(message: string): string;
2
+ static Base64Encode(message: string): string;
3
+ static Base64Decode(message: string): string;
4
4
  }
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EncodingOperation = void 0;
4
4
  class EncodingOperation {
5
- static Base64Encrypt(message) {
5
+ static Base64Encode(message) {
6
6
  return Buffer.from(message).toString("base64");
7
7
  }
8
- static Base64Decrypt(message) {
8
+ static Base64Decode(message) {
9
9
  return atob(message);
10
10
  }
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EncodingOperation.js","sourceRoot":"","sources":["../src/EncodingOperation.ts"],"names":[],"mappings":";;;AAAA,MAAa,iBAAiB;IAE1B,MAAM,CAAC,aAAa,CAAC,OAAe;QAEhC,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;IACD,MAAM,CAAC,aAAa,CAAC,OAAe;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;IACzB,CAAC;CACJ;AAVD,8CAUC"}
1
+ {"version":3,"file":"EncodingOperation.js","sourceRoot":"","sources":["../src/EncodingOperation.ts"],"names":[],"mappings":";;;AAAA,MAAa,iBAAiB;IAE1B,MAAM,CAAC,YAAY,CAAC,OAAe;QAE/B,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;IACD,MAAM,CAAC,YAAY,CAAC,OAAe;QAE/B,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;IACzB,CAAC;CACJ;AAVD,8CAUC"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.37",
11
+ "version": "1.3.38",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -1,10 +1,10 @@
1
1
  export class EncodingOperation
2
2
  {
3
- static Base64Encrypt(message: string): string
3
+ static Base64Encode(message: string): string
4
4
  {
5
5
  return Buffer.from(message).toString("base64");
6
6
  }
7
- static Base64Decrypt(message: string): string
7
+ static Base64Decode(message: string): string
8
8
  {
9
9
  return atob(message);
10
10
  }