glitch-javascript-sdk 3.1.1 → 3.1.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.
package/dist/index.d.ts CHANGED
@@ -4458,7 +4458,7 @@ declare class Titles {
4458
4458
  /**
4459
4459
  * Get the total earnings and playtime summary for a title.
4460
4460
  */
4461
- static getDeveloperPayoutSummary<T>(title_id: string): AxiosPromise<Response<T>>;
4461
+ static getDeveloperPayoutSummary<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
4462
4462
  /**
4463
4463
  * The Aegis Handshake: Verify if a player is allowed to play.
4464
4464
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
package/src/api/Titles.ts CHANGED
@@ -973,8 +973,8 @@ class Titles {
973
973
  /**
974
974
  * Get the total earnings and playtime summary for a title.
975
975
  */
976
- public static getDeveloperPayoutSummary<T>(title_id: string): AxiosPromise<Response<T>> {
977
- return Requests.processRoute(TitlesRoute.routes.developerPayoutSummary, {}, { title_id });
976
+ public static getDeveloperPayoutSummary<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
977
+ return Requests.processRoute(TitlesRoute.routes.developerPayoutSummary, {}, { title_id }, params);
978
978
  }
979
979
 
980
980
  /**