@xyo-network/xl1-rpc 1.12.13 → 1.12.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.
- package/dist/neutral/index.mjs +3 -2
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/provider/datalake/HttpXyoDataLake.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/BoundWitness.d.ts.map +1 -1
- package/dist/node/index-node.mjs +3 -2
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/provider/datalake/HttpXyoDataLake.d.ts.map +1 -1
- package/dist/node/types/schema/common/BoundWitness.d.ts.map +1 -1
- package/package.json +15 -14
- package/src/provider/datalake/HttpXyoDataLake.ts +2 -1
- package/src/types/schema/common/BoundWitness.ts +2 -2
package/dist/neutral/index.mjs
CHANGED
|
@@ -243,7 +243,7 @@ var UnsignedBoundWitnessZod = BoundWitnessZod.refine((data) => data.$signatures.
|
|
|
243
243
|
message: "all $signatures must be null"
|
|
244
244
|
});
|
|
245
245
|
var AnyUnsignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z5.any());
|
|
246
|
-
var UnsignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessZod.
|
|
246
|
+
var UnsignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessZod.safeExtend(BoundWitnessRequiredFieldsZod.shape).safeExtend(BoundWitnessMetaZod.shape);
|
|
247
247
|
var SignedBoundWitnessZod = BoundWitnessZod.refine((data) => !data.$signatures.includes(null), {
|
|
248
248
|
message: "all $signatures must not be null"
|
|
249
249
|
});
|
|
@@ -1107,10 +1107,11 @@ var ArchivistXyoDataLake = class extends AbstractXyoDataLake {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
|
|
1109
1109
|
// src/provider/datalake/HttpXyoDataLake.ts
|
|
1110
|
+
import { isArrayBuffer } from "@xylabs/arraybuffer";
|
|
1110
1111
|
import { assertEx as assertEx3 } from "@xylabs/assert";
|
|
1111
1112
|
import { AxiosJson as AxiosJson2 } from "@xylabs/axios";
|
|
1112
1113
|
import { exists } from "@xylabs/exists";
|
|
1113
|
-
import {
|
|
1114
|
+
import { isDefined as isDefined2 } from "@xylabs/typeof";
|
|
1114
1115
|
import { isAnyPayload as isAnyPayload3 } from "@xyo-network/payload-model";
|
|
1115
1116
|
import { isHashPayload as isHashPayload2 } from "@xyo-network/xl1-protocol";
|
|
1116
1117
|
import { Axios } from "axios";
|