@fireproof/core 0.7.0-alpha.9 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -38647,6 +38647,8 @@ aes$2.unwrapKey = unwrapKey;
38647
38647
 
38648
38648
  var aes = /*@__PURE__*/getDefaultExportFromCjs(dist$1);
38649
38649
 
38650
+ // from https://github.com/mikeal/encrypted-block
38651
+
38650
38652
  const enc32 = value => {
38651
38653
  value = +value;
38652
38654
  const buff = new Uint8Array(4);
@@ -38937,6 +38939,7 @@ class Base {
38937
38939
  const got = await reader.get(cid);
38938
38940
  let useCodec = codec;
38939
38941
  if (cid.toString().indexOf('bafy') === 0) {
38942
+ // @ts-ignore
38940
38943
  useCodec = codec$1; // todo this is a dirty check
38941
38944
  }
38942
38945
  const decoded = await decode$5({