@devrev/ts-adaas 1.7.1-beta.0 → 1.7.1-beta.2

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.
@@ -71,6 +71,7 @@ export interface SsorAttachment {
71
71
  actor_id?: {
72
72
  external: string;
73
73
  };
74
+ inline?: boolean;
74
75
  }
75
76
  export interface StatsFileResponse {
76
77
  error?: ErrorRecord;
@@ -632,6 +632,14 @@ class WorkerAdapter {
632
632
  external: attachment.author_id,
633
633
  };
634
634
  }
635
+ // This will set inline flag in ssor_attachment only if it is explicity
636
+ // set in the attachment object.
637
+ if (attachment.inline === true) {
638
+ ssorAttachment.inline = true;
639
+ }
640
+ else if (attachment.inline === false) {
641
+ ssorAttachment.inline = false;
642
+ }
635
643
  await ((_b = this.getRepo('ssor_attachment')) === null || _b === void 0 ? void 0 : _b.push([ssorAttachment]));
636
644
  }
637
645
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrev/ts-adaas",
3
- "version": "1.7.1-beta.0",
3
+ "version": "1.7.1-beta.2",
4
4
  "description": "Typescript library containing the ADaaS(AirDrop as a Service) control protocol.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",