@jest-games-org/backend-package-object-helpers 1.0.4 → 1.0.5

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.
package/dist/index.esm.js CHANGED
@@ -33,7 +33,7 @@ const decryptObject = (encryptedObject, encryptionKey, iv) => {
33
33
 
34
34
  /**
35
35
  * Encodes the given string.
36
- * @param decodedObject The decoded string.
36
+ * @param decodedString The decoded string.
37
37
  * @returns The encoded string.
38
38
  */
39
39
  const encodeString = (decodedString) => {
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ const decryptObject = (encryptedObject, encryptionKey, iv) => {
35
35
 
36
36
  /**
37
37
  * Encodes the given string.
38
- * @param decodedObject The decoded string.
38
+ * @param decodedString The decoded string.
39
39
  * @returns The encoded string.
40
40
  */
41
41
  const encodeString = (decodedString) => {
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ /**
3
+ * Decodes the given Buffer.
4
+ * @param encodedBuffer The encoded Buffer.
5
+ * @returns The decoded string.
6
+ */
7
+ export declare const decodeBuffer: (encodedBuffer: string) => Buffer;
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ /**
3
+ * Encodes the given Buffer.
4
+ * @param decodedBuffer The decoded Buffer.
5
+ * @returns The encoded string.
6
+ */
7
+ export declare const encodeBuffer: (decodedBuffer: Buffer) => string;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Encodes the given string.
3
- * @param decodedObject The decoded string.
3
+ * @param decodedString The decoded string.
4
4
  * @returns The encoded string.
5
5
  */
6
6
  export declare const encodeString: (decodedString: string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jest-games-org/backend-package-object-helpers",
3
3
  "description": "This backend package provides object helper methods for shared functionality.",
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "author": "jest-games-llc",
6
6
  "license": "ISC",
7
7
  "main": "dist/index.js",