Skip to content

Commit

Permalink
Merge pull request #75 from TREEcg/development
Browse files Browse the repository at this point in the history
v4.0.8
  • Loading branch information
julianrojas87 committed May 17, 2023
2 parents 68d24ed + 98801bc commit e00135d
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 23 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

<a name="v4.0.8"></a>
## [v4.0.8](https://github.com/TREEcg/event-stream-client/compare/v4.0.7...v4.0.8) - 2023-05-17

### TODO: categorize commits, choose titles from: Added, Changed, Deprecated, Removed, Fixed, Security.
* [Remove unused dependencies on components.js config](https://github.com/TREEcg/event-stream-client/commit/a80add3551f6b82480cc59d752f326275b2aea4d)
* [Add NPM badge to README](https://github.com/TREEcg/event-stream-client/commit/c18b8320abd6a64589adc4f6f2b8e9a8528e5920)
* [Bump version](https://github.com/TREEcg/event-stream-client/commit/68d24edffa0399333d35b31bab1617a458dfef6a)

<a name="v4.0.3"></a>
## [v4.0.3](https://github.com/TREEcg/event-stream-client/compare/v4.0.2...v4.0.3) - 2023-03-29

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# event-stream-client

[![Node.js CI](https://github.com/TREEcg/event-stream-client/actions/workflows/ci.yml/badge.svg)](https://github.com/TREEcg/event-stream-client/actions/workflows/ci.yml)
[![Node.js CI](https://github.com/TREEcg/event-stream-client/actions/workflows/ci.yml/badge.svg)](https://github.com/TREEcg/event-stream-client/actions/workflows/ci.yml) [![npm version](https://img.shields.io/npm/v/@treecg/actor-init-ldes-client.svg?style=popout)](https://www.npmjs.com/package/@treecg/actor-init-ldes-client)

## Install

```
```bash
git clone https://github.com/TREEcg/event-stream-client.git
cd event-stream-client
npm install
```

## Sync

If you want to sync with an [Linked Data Event Stream (LDES)](https://w3id.org/ldes/specification), have a look at the pre-built engine:

- [actor-init-ldes-client](https://github.com/TREEcg/event-stream-client/tree/main/packages/actor-init-ldes-client): Comunica-based engine to materialize sync with an LDES from JavaScript applications or the CLI.

## Publish

```
```bash
npm run publish
```
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packages/*"
],
"name": "@treecg/event-stream-client",
"version": "0.0.5",
"version": "0.0.6",
"description": "Syncs an entire TREE collection, but only emits the objects, does not store them. ",
"scripts": {
"test-changed": "lerna run test --since HEAD",
Expand Down
11 changes: 0 additions & 11 deletions packages/actor-init-ldes-client/config/config-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql/^2.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@treecg/actor-init-ldes-client/^4.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@treecg/actor-rdf-filter-objects-with-quadstore/^4.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@treecg/actor-rdf-frame-with-json-ld-js/^4.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@treecg/bus-rdf-filter-object/^4.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@treecg/bus-rdf-frame/^4.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-rdf-serialize/^2.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^2.0.0/components/context.jsonld",
Expand Down Expand Up @@ -53,11 +51,6 @@
"mediatorRdfParseHandle": {
"@id": "urn:comunica:default:rdf-parse/mediators#parse"
},
"mediatorRdfFilterObject": {
"@id": "urn:comunica:default:rdf-filter-object/mediators#filter",
"@type": "MediatorRace",
"bus": { "@id": "ActorRdfFilterObject:_default_bus" }
},
"mediatorRdfFrame": {
"@id": "urn:comunica:default:rdf-frame/mediators#rdfFrame",
"@type": "MediatorRace",
Expand All @@ -67,10 +60,6 @@
"@id": "urn:comunica:default:rdf-serialize/mediators#serialize"
}
},
{
"@id": "urn:comunica:myRdfFilterObjectsWithQuadstore",
"@type": "ActorRdfFilterObjectsWithQuadstore"
},
{
"@id": "urn:comunica:myActorRdfFrameWithJSONLDjs",
"@type": "ActorRdfFrameWithJSONLDjs",
Expand Down
4 changes: 0 additions & 4 deletions packages/actor-init-ldes-client/lib/LDESClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { IActorTest } from "@comunica/core";
import { ActorInit, IActionInit, IActorInitArgs, IActorOutputInit } from "@comunica/bus-init";
import { MediatorRdfParseHandle } from "@comunica/bus-rdf-parse";
import { MediatorRdfMetadataExtract } from '@comunica/bus-rdf-metadata-extract';
import { MediatorRdfFilterObject } from "@treecg/bus-rdf-filter-object";
import { MediatorRdfFrame } from "@treecg/bus-rdf-frame";
import { MediatorRdfSerializeHandle } from "@comunica/bus-rdf-serialize";
import { existsSync, readFileSync } from 'fs';
Expand Down Expand Up @@ -45,8 +44,6 @@ export class LDESClient extends ActorInit implements ILDESClientArgs {

public readonly mediatorRdfParseHandle: MediatorRdfParseHandle;

public readonly mediatorRdfFilterObject: MediatorRdfFilterObject;

public readonly mediatorRdfFrame: MediatorRdfFrame;

public readonly mediatorRdfSerializeHandle: MediatorRdfSerializeHandle;
Expand Down Expand Up @@ -238,7 +235,6 @@ export class LDESClient extends ActorInit implements ILDESClientArgs {
export interface ILDESClientArgs extends IActorInitArgs {
mediatorRdfMetadataExtractTree: MediatorRdfMetadataExtract,
mediatorRdfParseHandle: MediatorRdfParseHandle,
mediatorRdfFilterObject: MediatorRdfFilterObject;
mediatorRdfFrame: MediatorRdfFrame;
mediatorRdfSerializeHandle: MediatorRdfSerializeHandle;
pollingInterval: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/actor-init-ldes-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treecg/actor-init-ldes-client",
"version": "4.0.7",
"version": "4.0.8",
"description": "An init actor that fetches members from an Event Stream API",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit e00135d

Please sign in to comment.