podverse-external-services 5.1.13-alpha.1 → 5.1.13-alpha.3
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/services/google/fcm.d.ts +2 -2
- package/dist/services/google/fcm.d.ts.map +1 -1
- package/dist/services/notifications/index.d.ts +2 -2
- package/dist/services/notifications/index.d.ts.map +1 -1
- package/dist/services/podcast-index/index.d.ts +3 -3
- package/dist/services/podcast-index/index.d.ts.map +1 -1
- package/package.json +6 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ILoggerLike } from 'podverse-helpers/dist/lib/backend/logger';
|
|
2
2
|
import { SendNotificationOptions } from '@external-services/services/notifications';
|
|
3
3
|
type GoogleFCMServiceParams = {
|
|
4
4
|
userAgent: string;
|
|
5
5
|
authToken: string;
|
|
6
6
|
firebaseProjectId: string;
|
|
7
|
-
loggerService:
|
|
7
|
+
loggerService: ILoggerLike;
|
|
8
8
|
};
|
|
9
9
|
export declare class GoogleFCMService {
|
|
10
10
|
private userAgent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fcm.d.ts","sourceRoot":"","sources":["../../../src/services/google/fcm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fcm.d.ts","sourceRoot":"","sources":["../../../src/services/google/fcm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,WAAW,CAAC;CAC5B,CAAC;AAEF,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,aAAa,CAAc;gBAEvB,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,sBAAsB;IAO9F,OAAO,CAAC,mBAAmB;IAI3B,kCAAkC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,mBAsBxG;IAEF,uCAAuC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,mBAsB7G;IAEF,4BAA4B,GAC1B,WAAW,MAAM,EAAE,EACnB,OAAO,MAAM,EACb,MAAM,MAAM,EACZ,eAAe,MAAM,EACrB,kBAAkB,MAAM,GAAG,UAAU,EACrC,cAAc,MAAM,EACpB,WAAW,MAAM,EACjB,eAAe,MAAM,GAAG,IAAI,EAC5B,YAAY,MAAM,GAAG,IAAI,EACzB,aAAa,MAAM,mBAuEnB;CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GoogleFCMService } from '@external-services/services/google/fcm';
|
|
2
|
-
import {
|
|
2
|
+
import { ILoggerLike } from 'podverse-helpers/dist/lib/backend/logger';
|
|
3
3
|
export interface SendNotificationOptions {
|
|
4
4
|
itemFullImageUrl?: string | null;
|
|
5
5
|
itemGuid?: string | null;
|
|
@@ -13,7 +13,7 @@ type Constructor = {
|
|
|
13
13
|
userAgent: string;
|
|
14
14
|
googleAuthToken: string;
|
|
15
15
|
firebaseProjectId: string;
|
|
16
|
-
loggerService:
|
|
16
|
+
loggerService: ILoggerLike;
|
|
17
17
|
};
|
|
18
18
|
export declare class NotificationsService {
|
|
19
19
|
GoogleFCMService: GoogleFCMService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,WAAW,uBAAuB;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEnC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AAED,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,WAAW,CAAA;CAC3B,CAAA;AAED,qBAAa,oBAAoB;IACvB,gBAAgB,EAAE,gBAAgB,CAAA;gBAG7B,EAAE,SAAS,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,WAAW;IAW1F,gCAAgC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CAAC,CAKvH;IAED,qCAAqC,GAAU,oBAAoB,MAAM,EAAE,EAAE,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CAAC,CAK5H;CACF"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { PodcastBatchByFeedGuidResponse, PodcastByGuidResponse, PodcastIndexSearchPodcastsResponse, EpisodeByGuidResponse, EpisodeByGuidSecondaryParams } from 'podverse-helpers';
|
|
2
|
-
import {
|
|
2
|
+
import { ILoggerLike } from 'podverse-helpers/dist/lib/backend/logger';
|
|
3
3
|
type Constructor = {
|
|
4
4
|
userAgent: string;
|
|
5
5
|
authKey: string;
|
|
6
6
|
baseUrl: string;
|
|
7
7
|
secretKey: string;
|
|
8
|
-
loggerService:
|
|
8
|
+
loggerService: ILoggerLike;
|
|
9
9
|
};
|
|
10
10
|
export declare class PodcastIndexService {
|
|
11
11
|
userAgent: string;
|
|
12
12
|
authKey: string;
|
|
13
13
|
baseUrl: string;
|
|
14
14
|
secretKey: string;
|
|
15
|
-
loggerService:
|
|
15
|
+
loggerService: ILoggerLike;
|
|
16
16
|
constructor({ userAgent, authKey, baseUrl, secretKey, loggerService }: Constructor);
|
|
17
17
|
podcastIndexAPIRequest: (url: string, config?: any) => Promise<any>;
|
|
18
18
|
deadFeedsDownloadAndExtractCSV: (resolveHandler: (row: string[]) => void) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/podcast-index/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,kCAAkC,EAC9E,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACvG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/podcast-index/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,kCAAkC,EAC9E,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,WAAW,CAAA;CAC3B,CAAA;AASD,qBAAa,mBAAmB;IACtB,SAAS,EAAE,MAAM,CAA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M,KACX,OAAO,CAAC;QAAE,KAAK,EAAE,GAAG,EAAE,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAoB/C;IAID,gBAAgB,GAAU,MAAM,MAAM,EAAE,eAAe,4BAA4B,KAAG,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC,CA6B1H;IAID,oBAAoB,QAAa,OAAO,CAAC,MAAM,EAAE,CAAC,CAMjD;IAED,+BAA+B,GAC7B,4BAA4B,MAAM,EAAE,EAAE,gBAAW,KAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAatE;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "podverse-external-services",
|
|
3
|
-
"version": "5.1.13-alpha.
|
|
3
|
+
"version": "5.1.13-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,11 +22,9 @@
|
|
|
22
22
|
"http-errors": "2.0.0",
|
|
23
23
|
"module-alias": "^2.2.3",
|
|
24
24
|
"paypal-rest-sdk": "2.0.0-rc.2",
|
|
25
|
+
"podverse-helpers": "^5.1.12",
|
|
25
26
|
"web-push": "^3.6.7"
|
|
26
27
|
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"podverse-helpers": "5.1.13-alpha.0"
|
|
29
|
-
},
|
|
30
28
|
"devDependencies": {
|
|
31
29
|
"@types/crypto-js": "^4.2.2",
|
|
32
30
|
"@types/http-errors": "^2.0.5",
|
|
@@ -37,6 +35,9 @@
|
|
|
37
35
|
"eslint": "^9.35.0",
|
|
38
36
|
"nodemon": "^3.1.10",
|
|
39
37
|
"typescript": "^5.9.2",
|
|
40
|
-
"podverse-helpers": "5.1.13-alpha.
|
|
38
|
+
"podverse-helpers": "5.1.13-alpha.1"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"podverse-helpers": "5.1.13-alpha.1"
|
|
41
42
|
}
|
|
42
43
|
}
|