@leofcoin/codec-format-interface 1.6.2 → 1.6.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -341,7 +341,7 @@ let CodecHash$1 = class CodecHash extends BasicInterface$1 {
341
341
  }
342
342
  if (typeof uint8Array === 'string') {
343
343
  if (this.isHex(uint8Array))
344
- await this.fromHex({ string: uint8Array });
344
+ await this.fromHex(uint8Array);
345
345
  if (this.isBase32(uint8Array))
346
346
  await this.fromBs32(uint8Array);
347
347
  else if (this.isBase58(uint8Array))
@@ -414,7 +414,7 @@ let CodecHash$1 = class CodecHash extends BasicInterface$1 {
414
414
  }
415
415
  if (typeof buffer === 'string') {
416
416
  if (this.isHex(buffer))
417
- this.fromHex({ string: buffer });
417
+ this.fromHex(buffer);
418
418
  if (this.isBase32(buffer))
419
419
  this.fromBs32(buffer);
420
420
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/codec-format-interface",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {