Skip to content

Commit

Permalink
Release alpha.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lecoqlibre committed Jan 13, 2024
1 parent 5ec6123 commit 7ec3968
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- None.

## [1.0.0-alpha.6] - 2024-01-13

### Fixed

- Allow to create SKOSConcept in the factory.

## [1.0.0-alpha.5] - 2024-01-13

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Maxime Lecoq",
"license": "MIT",
"type": "module",
"version": "1.0.0-alpha.5.0",
"version": "1.0.0-alpha.6",
"repository": {
"type": "git",
"url": "https://github.com/datafoodconsortium/connector-typescript.git",
Expand Down
4 changes: 2 additions & 2 deletions src/ConnectorFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ export default class ConnectorFactory implements IConnectorFactory {
break;

case "http://www.w3.org/2004/02/skos/core#Concept":
result = new SKOSConcept({ connector: this.connector });
result = new SKOSConcept({ connector: this.connector, semanticId: "" });
break;

case "http://www.w3.org/2004/02/skos/core#ConceptScheme":
result = new SKOSConcept({ connector: this.connector });
result = new SKOSConcept({ connector: this.connector, semanticId: "" });
// @ts-ignore
result._semanticType = "http://www.w3.org/2004/02/skos/core#ConceptScheme";
break;
Expand Down

0 comments on commit 7ec3968

Please sign in to comment.