@rdfx/sparql-client 0.0.17 → 0.0.18

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,8 @@
2
2
  * Abstract base class for HTTP-based SPARQL clients.
3
3
  */
4
4
  export class HttpSparqlBaseClient {
5
+ defaultRequestOptions;
6
+ endpointUrl;
5
7
  constructor({ defaultRequestOptions, endpointUrl, }) {
6
8
  this.defaultRequestOptions = defaultRequestOptions;
7
9
  this.endpointUrl = endpointUrl;
@@ -1,6 +1,7 @@
1
1
  import N3 from "n3";
2
2
  import { HttpSparqlBaseClient } from "./HttpSparqlBaseClient.js";
3
3
  export class HttpSparqlGraphStoreClient extends HttpSparqlBaseClient {
4
+ dataFactory;
4
5
  constructor({ dataFactory, ...superParameters }) {
5
6
  super(superParameters);
6
7
  this.dataFactory = dataFactory;
@@ -1,6 +1,7 @@
1
1
  import N3 from "n3";
2
2
  import { HttpSparqlBaseClient } from "./HttpSparqlBaseClient.js";
3
3
  export class HttpSparqlQueryClient extends HttpSparqlBaseClient {
4
+ dataFactory;
4
5
  constructor({ dataFactory, ...superParameters }) {
5
6
  super(superParameters);
6
7
  this.dataFactory = dataFactory;
@@ -1,4 +1,6 @@
1
1
  export class LoggingSparqlBaseClient {
2
+ delegate;
3
+ logger;
2
4
  constructor({ delegate, logger }) {
3
5
  this.delegate = delegate;
4
6
  this.logger = logger;
@@ -1,4 +1,7 @@
1
1
  export class OxigraphSparqlClient {
2
+ dataFactory;
3
+ store;
4
+ useDefaultGraphAsUnion;
2
5
  constructor({ dataFactory, store, useDefaultGraphAsUnion, }) {
3
6
  this.dataFactory = dataFactory;
4
7
  this.store = store;
package/package.json CHANGED
@@ -30,5 +30,5 @@
30
30
  },
31
31
  "type": "module",
32
32
  "types": "./dist/index.d.ts",
33
- "version": "0.0.17"
33
+ "version": "0.0.18"
34
34
  }