document-ir 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -406,7 +406,7 @@ class u {
406
406
  name: t.name,
407
407
  content: e
408
408
  };
409
- return t.id != null && (i.id = t.id), t.url && (i.url = t.url), t.orientation && (i.orientation = t.orientation), i;
409
+ return t.id != null && (i.id = t.id), t.url && (i.url = t.url), t.orientation && (i.orientation = t.orientation), t.author != null && (i.author = t.author), i;
410
410
  }
411
411
  async redacted(t) {
412
412
  t.style == "block" ? await this.beforeBlock() : await this.beforeInline();
package/dist/types.d.ts CHANGED
@@ -206,6 +206,7 @@ export interface QuoteNode extends NodeIdentity {
206
206
  icon: string;
207
207
  url?: string;
208
208
  orientation?: "left" | "right";
209
+ author?: string;
209
210
  content: Node[];
210
211
  }
211
212
  export interface RedactedNode extends NodeIdentity {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-ir",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",