glitch-javascript-sdk 3.1.0 → 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/cjs/index.js +10 -1189
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +6 -0
- package/dist/esm/api/Titles.d.ts +1 -1
- package/dist/esm/index.js +9 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
- package/src/api/SocialPosts.ts +9 -0
- package/src/api/Titles.ts +2 -2
- package/src/routes/SocialPostsRoute.ts +5 -0
|
@@ -383,5 +383,11 @@ declare class SocialPosts {
|
|
|
383
383
|
end_date?: string;
|
|
384
384
|
confidence_threshold?: number;
|
|
385
385
|
}): AxiosPromise<Response<T>>;
|
|
386
|
+
static getInfluencerAttribution<T>(params: {
|
|
387
|
+
title_id: string;
|
|
388
|
+
start_date?: string;
|
|
389
|
+
end_date?: string;
|
|
390
|
+
confidence_threshold?: number;
|
|
391
|
+
}): AxiosPromise<Response<T>>;
|
|
386
392
|
}
|
|
387
393
|
export default SocialPosts;
|
package/dist/esm/api/Titles.d.ts
CHANGED
|
@@ -500,7 +500,7 @@ declare class Titles {
|
|
|
500
500
|
/**
|
|
501
501
|
* Get the total earnings and playtime summary for a title.
|
|
502
502
|
*/
|
|
503
|
-
static getDeveloperPayoutSummary<T>(title_id: string): AxiosPromise<Response<T>>;
|
|
503
|
+
static getDeveloperPayoutSummary<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
504
504
|
/**
|
|
505
505
|
* The Aegis Handshake: Verify if a player is allowed to play.
|
|
506
506
|
*
|
package/dist/esm/index.js
CHANGED
|
@@ -11287,6 +11287,10 @@ var SocialPostsRoute = /** @class */ (function () {
|
|
|
11287
11287
|
url: '/reports/fingerprinting/social-post-attribution',
|
|
11288
11288
|
method: HTTP_METHODS.GET
|
|
11289
11289
|
},
|
|
11290
|
+
influencerAttribution: {
|
|
11291
|
+
url: '/reports/fingerprinting/influencer-attribution',
|
|
11292
|
+
method: HTTP_METHODS.GET
|
|
11293
|
+
},
|
|
11290
11294
|
/**
|
|
11291
11295
|
* Get UTM performance correlated with installs and revenue.
|
|
11292
11296
|
* GET /reports/fingerprinting/utm-attribution
|
|
@@ -11772,6 +11776,9 @@ var SocialPosts = /** @class */ (function () {
|
|
|
11772
11776
|
SocialPosts.getUtmAttribution = function (params) {
|
|
11773
11777
|
return Requests.processRoute(SocialPostsRoute.routes.utmAttribution, {}, undefined, params);
|
|
11774
11778
|
};
|
|
11779
|
+
SocialPosts.getInfluencerAttribution = function (params) {
|
|
11780
|
+
return Requests.processRoute(SocialPostsRoute.routes.influencerAttribution, {}, undefined, params);
|
|
11781
|
+
};
|
|
11775
11782
|
return SocialPosts;
|
|
11776
11783
|
}());
|
|
11777
11784
|
|
|
@@ -12691,8 +12698,8 @@ var Titles = /** @class */ (function () {
|
|
|
12691
12698
|
/**
|
|
12692
12699
|
* Get the total earnings and playtime summary for a title.
|
|
12693
12700
|
*/
|
|
12694
|
-
Titles.getDeveloperPayoutSummary = function (title_id) {
|
|
12695
|
-
return Requests.processRoute(TitlesRoute.routes.developerPayoutSummary, {}, { title_id: title_id });
|
|
12701
|
+
Titles.getDeveloperPayoutSummary = function (title_id, params) {
|
|
12702
|
+
return Requests.processRoute(TitlesRoute.routes.developerPayoutSummary, {}, { title_id: title_id }, params);
|
|
12696
12703
|
};
|
|
12697
12704
|
/**
|
|
12698
12705
|
* The Aegis Handshake: Verify if a player is allowed to play.
|