rmapi-js 8.1.0 → 8.1.1

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.d.ts CHANGED
@@ -316,7 +316,7 @@ export interface DocumentContent {
316
316
  * The reMarkable uses three built-in margins: 50, 125, 200, but other margins
317
317
  * are possible. The reMarkable used to default to margins of 180.
318
318
  */
319
- margins: number;
319
+ margins?: number;
320
320
  /** the document orientation */
321
321
  orientation: Orientation;
322
322
  /** this specifies the number of pages, it's not clear how this is different than pageCount */
package/dist/index.js CHANGED
@@ -222,7 +222,6 @@ const documentContent = properties({
222
222
  fontName: string(),
223
223
  formatVersion: uint8(),
224
224
  lineHeight: int32(),
225
- margins: uint32(),
226
225
  orientation: enumeration("portrait", "landscape"),
227
226
  pageCount: uint32(),
228
227
  sizeInBytes: string(),
@@ -242,6 +241,7 @@ const documentContent = properties({
242
241
  timestamp: float64(),
243
242
  }, undefined, true),
244
243
  lastOpenedPage: uint32(),
244
+ margins: uint32(),
245
245
  originalPageCount: int32(),
246
246
  pages: elements(string()),
247
247
  pageTags: elements(pageTag),