@leofcoin/codec-format-interface 1.2.2 → 1.2.3

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.js CHANGED
@@ -48,10 +48,10 @@ class BasicInterface {
48
48
  return isHex__default["default"](string)
49
49
  }
50
50
  isBase32(string) {
51
- return base32.isBase32(string)
51
+ return bs32__default["default"].isBase32(string)
52
52
  }
53
53
  isBase58(string) {
54
- return base58.isBase32(string)
54
+ return bs58__default["default"].isBase32(string)
55
55
  }
56
56
  /**
57
57
  * @param {String} encoded
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/codec-format-interface",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",
@@ -16,10 +16,10 @@ export default class BasicInterface {
16
16
  return isHex(string)
17
17
  }
18
18
  isBase32(string) {
19
- return base32.isBase32(string)
19
+ return bs32.isBase32(string)
20
20
  }
21
21
  isBase58(string) {
22
- return base58.isBase32(string)
22
+ return bs58.isBase32(string)
23
23
  }
24
24
  /**
25
25
  * @param {String} encoded