@leofcoin/codec-format-interface 1.6.13 → 1.6.14

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -334,7 +334,7 @@ let FormatInterface$1 = class FormatInterface extends BasicInterface$1 {
334
334
  this.fromUint8Array(buffer);
335
335
  else if (buffer instanceof ArrayBuffer)
336
336
  this.fromArrayBuffer(buffer);
337
- else if (buffer instanceof FormatInterface$1 && buffer?.name === this.name)
337
+ else if (buffer instanceof FormatInterface && buffer?.name === this.name)
338
338
  return buffer;
339
339
  else if (typeof buffer === 'string') {
340
340
  if (this.isHex(buffer))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/codec-format-interface",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {