ensembledata 0.1.8 → 0.1.10

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": "ensembledata",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Node.js bindings for the EnsembleData API",
5
5
  "author": "EnsembleData <hello@ensembledata.com>",
6
6
  "contributors": [
package/src/client.js CHANGED
@@ -467,13 +467,20 @@ class TiktokEndpoints {
467
467
  * id: string;
468
468
  * secUid: string;
469
469
  * cursor?: number;
470
+ * pageToken?: string;
470
471
  * newVersion?: boolean;
471
472
  * }} params
472
473
  * @param {{ extraParams?: Record<string, any>; timeout?: number }} options
473
474
  * @returns {Promise<EDResponse>}
474
475
  */
475
476
  userFollowers(
476
- { id, secUid, cursor = undefined, newVersion = undefined },
477
+ {
478
+ id,
479
+ secUid,
480
+ cursor = undefined,
481
+ pageToken = undefined,
482
+ newVersion = undefined,
483
+ },
477
484
  options = {},
478
485
  ) {
479
486
  const params = filterUndefinedValues({
@@ -481,6 +488,7 @@ class TiktokEndpoints {
481
488
  id,
482
489
  secUid,
483
490
  cursor,
491
+ page_token: pageToken,
484
492
  new_version: newVersion,
485
493
  });
486
494
  return this.#requester.get("/tt/user/followers", params, {
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.1.8";
1
+ export const VERSION = "0.1.10";