@jd-data-limited/easy-fm 3.2.6 → 3.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jd-data-limited/easy-fm",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "dependencies": {
5
5
  "@types/btoa": "^1.2.3",
6
6
  "@types/events": "^3.0.0",
@@ -37,7 +37,7 @@ export class RecordGetOperation {
37
37
  setOffset(offset) {
38
38
  if (offset < 0)
39
39
  throw "Record offset too low";
40
- this.limit = offset;
40
+ this.offset = offset;
41
41
  return this;
42
42
  }
43
43
  }
@@ -48,7 +48,7 @@ export class RecordGetOperation<T extends LayoutInterface> {
48
48
 
49
49
  setOffset(offset: number) {
50
50
  if (offset < 0) throw "Record offset too low"
51
- this.limit = offset
51
+ this.offset = offset
52
52
  return this
53
53
  }
54
54
  }
package/src/types.ts CHANGED
@@ -152,5 +152,4 @@ export interface AuthorizationHeadersOAuth {
152
152
  "Content-Type": "application/json"
153
153
  "X-FM-Data-OAuth-RequestId": string,
154
154
  "X-FM-Data-OAuth-Identifier": string
155
- }
156
-
155
+ }