dream-common 1.1.40 → 1.1.42

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.
@@ -100,8 +100,8 @@ export const uint8ArrayToHex = (bytes) => {
100
100
  * @returns {string}
101
101
  */
102
102
  export const hexToBase64 = (hex) => {
103
- const bytes = this.hexToUint8Array(hex);
104
- return this.uint8ArrayToBase64(bytes);
103
+ const bytes = hexToUint8Array(hex);
104
+ return uint8ArrayToBase64(bytes);
105
105
  }
106
106
 
107
107
  /**
@@ -110,6 +110,6 @@ export const hexToBase64 = (hex) => {
110
110
  * @returns {string}
111
111
  */
112
112
  export const base64ToHex = (base64) => {
113
- const bytes = this.base64ToUint8Array(base64);
114
- return this.uint8ArrayToHex(bytes);
113
+ const bytes = base64ToUint8Array(base64);
114
+ return uint8ArrayToHex(bytes);
115
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dream-common",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {