@peerbit/indexer-sqlite3 2.1.1 → 2.1.2-2ab6232

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.min.js CHANGED
@@ -20380,7 +20380,11 @@ var resolvePrimaryFieldInfoFromSchema = (ctor, path, primary) => {
20380
20380
  if (fieldType instanceof OptionKind) {
20381
20381
  fieldType = fieldType.elementType;
20382
20382
  }
20383
- fieldType = unwrapNestedType(fieldType);
20383
+ if (fieldType instanceof FixedArrayKind && fieldType.elementType === "u8") {
20384
+ fieldType = Uint8Array;
20385
+ } else {
20386
+ fieldType = unwrapNestedType(fieldType);
20387
+ }
20384
20388
  if (fieldType instanceof VecKind) {
20385
20389
  continue;
20386
20390
  }