@peerbit/indexer-sqlite3 2.1.1 → 2.1.2-bbf27fa
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 +5 -1
- package/dist/index.min.js.map +2 -2
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +9 -1
- package/dist/src/schema.js.map +1 -1
- package/package.json +8 -8
- package/src/schema.ts +22 -3
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
|
|
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
|
}
|