@rdfx/serializer 0.0.52 → 0.0.54

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.
@@ -2,6 +2,7 @@ import type { SerializerOptions as JsonLdSerializerOptions } from "@rdfjs/serial
2
2
  import type { SerializerOptions as RdfjsSerializerOptions } from "@rdfjs/serializer-rdfjs";
3
3
  import type { SerializerOptions as TurtleSerializerOptions } from "@rdfjs/serializer-turtle";
4
4
  import type { Quad } from "@rdfjs/types";
5
+ import { type Either } from "purify-ts";
5
6
  import type { SerializerOptions as N3SerializerOptions } from "./N3Serializer.js";
6
7
  type SerializeOptions = ({
7
8
  format: "application/ld+json";
@@ -20,6 +21,6 @@ type SerializeOptions = ({
20
21
  } & N3SerializerOptions) | ({
21
22
  format: "text/turtle";
22
23
  } & TurtleSerializerOptions);
23
- export declare function serialize(input: Iterable<Quad>, options: SerializeOptions): Promise<import("purify-ts").Either<unknown, string>>;
24
+ export declare function serialize(input: Iterable<Quad>, options: SerializeOptions): Promise<Either<Error, string>>;
24
25
  export {};
25
26
  //# sourceMappingURL=serialize.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "@rdfx/format": "0.0.52",
4
- "@rdfx/stream": "0.0.52",
3
+ "@rdfx/format": "0.0.54",
4
+ "@rdfx/stream": "0.0.54",
5
5
  "@rdfjs/prefix-map": "~0.1.2",
6
6
  "@rdfjs/serializer-jsonld-ext": "~4.0.2",
7
7
  "@rdfjs/serializer-ntriples": "~2.0.1",
@@ -46,5 +46,5 @@
46
46
  },
47
47
  "type": "module",
48
48
  "types": "./dist/index.d.ts",
49
- "version": "0.0.52"
49
+ "version": "0.0.54"
50
50
  }