@hyperjump/browser
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -30,2 +30,3 @@ import { addMediaTypePlugin } from "./media-types/media-types.js"; | ||
setMediaTypeQuality, | ||
acceptableMediaTypes, | ||
UnsupportedMediaTypeError, | ||
@@ -32,0 +33,0 @@ UnknownMediaTypeError |
@@ -45,2 +45,3 @@ import type { Response } from "undici"; | ||
export const setMediaTypeQuality: (contentType: string, quality: number) => void; | ||
export const acceptableMediaTypes: () => string; | ||
@@ -47,0 +48,0 @@ export class UnsupportedMediaTypeError extends Error { |
@@ -32,2 +32,3 @@ import { addMediaTypePlugin } from "./media-types/media-types.js"; | ||
setMediaTypeQuality, | ||
acceptableMediaTypes, | ||
UnsupportedMediaTypeError, | ||
@@ -34,0 +35,0 @@ UnknownMediaTypeError |
{ | ||
"name": "@hyperjump/browser", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Browse JSON-compatible data with hypermedia references", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -147,3 +147,8 @@ # Hyperjump - Browser | ||
over others. | ||
* acceptableMediaTypes(): string; | ||
Build an `Accept` request header from the registered media type plugins. | ||
This function is used internally. You would only need it if you're writing a | ||
custom `http(s):` URI scheme plugin. | ||
## URI Schemes | ||
@@ -150,0 +155,0 @@ |
25307
405
250