@doist/twist-sdk 1.0.3 → 1.0.4

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.
@@ -33,9 +33,9 @@ var InboxClient = /** @class */ (function (_super) {
33
33
  workspace_id: args.workspaceId,
34
34
  };
35
35
  if (args.since)
36
- params.since_ts_or_obj_idx = Math.floor(args.since.getTime() / 1000);
36
+ params.newer_than_ts = Math.floor(args.since.getTime() / 1000);
37
37
  if (args.until)
38
- params.until_ts_or_obj_idx = Math.floor(args.until.getTime() / 1000);
38
+ params.older_than_ts = Math.floor(args.until.getTime() / 1000);
39
39
  if (args.limit)
40
40
  params.limit = args.limit;
41
41
  if (args.cursor)
@@ -30,9 +30,9 @@ var InboxClient = /** @class */ (function (_super) {
30
30
  workspace_id: args.workspaceId,
31
31
  };
32
32
  if (args.since)
33
- params.since_ts_or_obj_idx = Math.floor(args.since.getTime() / 1000);
33
+ params.newer_than_ts = Math.floor(args.since.getTime() / 1000);
34
34
  if (args.until)
35
- params.until_ts_or_obj_idx = Math.floor(args.until.getTime() / 1000);
35
+ params.older_than_ts = Math.floor(args.until.getTime() / 1000);
36
36
  if (args.limit)
37
37
  params.limit = args.limit;
38
38
  if (args.cursor)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/twist-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A TypeScript wrapper for the Twist REST API.",
5
5
  "author": "Doist developers",
6
6
  "homepage": "https://doist.github.io/twist-sdk-typescript/",