Skip to content

Commit

Permalink
chore(release): v1.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot authored Dec 18, 2021
1 parent 4c03683 commit fb0ba2e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
9 changes: 7 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
* [.stringify(doc, [space])](#module_@asyncapi/parser+AsyncAPIDocument.stringify) ⇒ <code>string</code>
* [.parse(doc)](#module_@asyncapi/parser+AsyncAPIDocument.parse) ⇒ <code>AsyncAPIDocument</code>
* [~Base](#module_@asyncapi/parser+Base)
* [.json()](#module_@asyncapi/parser+Base+json) ⇒ <code>any</code>
* [.json([key])](#module_@asyncapi/parser+Base+json) ⇒ <code>any</code>
* [~Schema](#module_@asyncapi/parser+Schema) ⇐ <code>Base</code>
* [.uid()](#module_@asyncapi/parser+Schema+uid) ⇒ <code>string</code>
* [.$id()](#module_@asyncapi/parser+Schema+$id) ⇒ <code>string</code>
Expand Down Expand Up @@ -3162,8 +3162,13 @@ Implements common functionality for all the models.
**Kind**: inner class of [<code>@asyncapi/parser</code>](#module_@asyncapi/parser)
<a name="module_@asyncapi/parser+Base+json"></a>

#### base.json() ⇒ <code>any</code>
#### base.json([key]) ⇒ <code>any</code>
**Kind**: instance method of [<code>Base</code>](#module_@asyncapi/parser+Base)

| Param | Type | Description |
| --- | --- | --- |
| [key] | <code>string</code> | A key to retrieve from the JSON object. |

<a name="module_@asyncapi/parser+Schema"></a>

### @asyncapi/parser~Schema ⇐ <code>Base</code>
Expand Down
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/parser",
"version": "1.13.0",
"version": "1.13.1",
"description": "JavaScript AsyncAPI parser.",
"main": "lib/index.js",
"types": "types.d.ts",
Expand Down
5 changes: 4 additions & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ declare module "@asyncapi/parser" {
*/
type TraverseSchemas = (schema: Schema, propName: string, callbackType: SchemaIteratorCallbackType) => boolean;
class Base {
json(): any;
/**
* @param [key] - A key to retrieve from the JSON object.
*/
json(key?: string): any;
}
interface ChannelParameter extends MixinDescription, MixinSpecificationExtensions {
}
Expand Down

0 comments on commit fb0ba2e

Please sign in to comment.