Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
chore: Export isStandardCap method (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 21, 2019
1 parent 4814fe3 commit fc24958
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -49,8 +49,8 @@ export { statusCodes, getSummaryByCode };

// W3C capabilities parser
import * as caps from './lib/basedriver/capabilities';
const { processCapabilities } = caps;
export { processCapabilities };
const { processCapabilities, isStandardCap } = caps;
export { processCapabilities, isStandardCap };

// Web socket helpers
import * as ws from './lib/express/websocket';
Expand Down
5 changes: 4 additions & 1 deletion lib/basedriver/capabilities.js
Expand Up @@ -213,4 +213,7 @@ function processCapabilities (caps, constraints = {}, shouldValidateCaps = true)
}


export { parseCaps, processCapabilities, validateCaps, mergeCaps, findNonPrefixedCaps };
export {
parseCaps, processCapabilities, validateCaps, mergeCaps,
findNonPrefixedCaps, isStandardCap
};

0 comments on commit fc24958

Please sign in to comment.