Comparing version 0.5.1 to 0.5.2
@@ -26,3 +26,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
if (links[Constants.Core.Vocab('apiDocumentation')]) { | ||
return links[Constants.Core.Vocab('apiDocumentation')].url; | ||
const linkUrl = links[Constants.Core.Vocab('apiDocumentation')].url; | ||
return new URL(linkUrl, this.redirectUrl || this.requestedUri).toString(); | ||
} | ||
@@ -29,0 +30,0 @@ } |
@@ -28,3 +28,4 @@ "use strict"; | ||
if (links[Constants.Core.Vocab('apiDocumentation')]) { | ||
return links[Constants.Core.Vocab('apiDocumentation')].url; | ||
const linkUrl = links[Constants.Core.Vocab('apiDocumentation')].url; | ||
return new URL(linkUrl, this.redirectUrl || this.requestedUri).toString(); | ||
} | ||
@@ -31,0 +32,0 @@ } |
{ | ||
"name": "alcaeus", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Hydra Core hypermedia-aware client library", | ||
@@ -5,0 +5,0 @@ "main": "lib/node/index.js", |
@@ -8,2 +8,3 @@ import { Constructor } from '../Mixin'; | ||
readonly supportedOperations: any; | ||
readonly isLink: boolean; | ||
readonly id: any; | ||
@@ -10,0 +11,0 @@ readonly types: import("../../TypeCollection").default; |
@@ -1,3 +0,3 @@ | ||
declare type SchemaTerm = 'description' | 'title'; | ||
declare type RdfsTerm = 'comment' | 'label' | 'range' | 'domain'; | ||
type SchemaTerm = 'description' | 'title'; | ||
type RdfsTerm = 'comment' | 'label' | 'range' | 'domain'; | ||
export declare function Schema(term?: SchemaTerm): string; | ||
@@ -4,0 +4,0 @@ export declare function rdfs(term?: RdfsTerm): string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279489
280
4906