@ldo/subscribable-dataset 1.0.0-alpha.14 → 1.0.0-alpha.19

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.
Files changed (2) hide show
  1. package/Readme.md +4 -2
  2. package/package.json +4 -4
package/Readme.md CHANGED
@@ -12,7 +12,8 @@ npm i @ldo/subscribable-dataset
12
12
  ```typescript
13
13
  import { createSubscribableDataset, DatasetChanges } from "@ldo/subscribable-dataset";
14
14
  import { Dataset } from "@rdfjs/types";
15
- import { quad, namedNode, literal } from "@rdfjs/data-model";
15
+ import * as rdfdm from '@rdfjs/data-model';
16
+ const { quad, namedNode } = rdfdm;
16
17
 
17
18
  const subscribableDataset = createSubscribableDataset([
18
19
  quad(
@@ -99,8 +100,9 @@ run();
99
100
 
100
101
  ```typescript
101
102
  import { createSubscribableDataset, DatasetChanges } from "@ldo/subscribable-dataset";
102
- import { quad, namedNode, literal } from "@rdfjs/data-model";
103
+ import * as rdfdm from '@rdfjs/data-model';
103
104
  import { Dataset } from "@rdfjs/types";
105
+ const { quad, namedNode, literal } = rdfdm;
104
106
 
105
107
  // Create an empty subscribable dataset
106
108
  const subscribableDataset = createSubscribableDataset();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldo/subscribable-dataset",
3
- "version": "1.0.0-alpha.14",
3
+ "version": "1.0.0-alpha.19",
4
4
  "description": "An RDFJS dataset implementation that can be subscribed to for updates",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -43,8 +43,8 @@
43
43
  "ts-node": "^9.1.1"
44
44
  },
45
45
  "dependencies": {
46
- "@ldo/dataset": "^1.0.0-alpha.14",
47
- "@ldo/rdf-utils": "^1.0.0-alpha.14",
46
+ "@ldo/dataset": "^1.0.0-alpha.19",
47
+ "@ldo/rdf-utils": "^1.0.0-alpha.19",
48
48
  "uuid": "^11.1.0"
49
49
  },
50
50
  "files": [
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "e4f3af5b8ee2caf6d89fc3a24518e4a27df3cb9b"
57
+ "gitHead": "9e84ac4da67b104dcce6eacceba2ff33cb8a1e7b"
58
58
  }