gcf-utils 14.4.4 → 14.4.6
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/build/src/gcf-utils.d.ts
CHANGED
@@ -17,9 +17,9 @@ export declare const ERROR_REPORTING_TYPE_NAME = "type.googleapis.com/google.dev
|
|
17
17
|
export interface RequestWithRawBody extends express.Request {
|
18
18
|
rawBody?: Buffer;
|
19
19
|
}
|
20
|
-
export
|
20
|
+
export type HandlerFunction = (request: RequestWithRawBody, response: express.Response) => Promise<void>;
|
21
21
|
export declare const DEFAULT_FLOW_CONTROL_DELAY_IN_SECOND = 30;
|
22
|
-
|
22
|
+
type BotEnvironment = 'functions' | 'run';
|
23
23
|
interface EnqueueTaskParams {
|
24
24
|
body: string;
|
25
25
|
id: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import SonicBoom from 'sonic-boom';
|
3
|
-
|
4
|
-
|
3
|
+
type Destination = NodeJS.WritableStream | SonicBoom;
|
4
|
+
type LogEntry = {
|
5
5
|
[key: string]: unknown;
|
6
6
|
};
|
7
7
|
/**
|
@@ -37,7 +37,7 @@ export interface GitHubActionDetails {
|
|
37
37
|
repoName?: string;
|
38
38
|
repoOwner?: string;
|
39
39
|
}
|
40
|
-
|
40
|
+
type HTTPMethod = 'GET' | 'POST' | 'DELETE' | 'PATCH' | 'PUT';
|
41
41
|
export interface OctokitRequestOptions {
|
42
42
|
[key: string]: string | number;
|
43
43
|
url: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gcf-utils",
|
3
|
-
"version": "14.4.
|
3
|
+
"version": "14.4.6",
|
4
4
|
"description": "An extension for running Probot in Google Cloud Functions",
|
5
5
|
"scripts": {
|
6
6
|
"compile": "tsc -p .",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
22
|
"@google-cloud/kms": "^3.0.1",
|
23
|
-
"@google-cloud/run": "^0.
|
23
|
+
"@google-cloud/run": "^0.3.0",
|
24
24
|
"@google-cloud/secret-manager": "^4.1.1",
|
25
25
|
"@google-cloud/storage": "^6.4.1",
|
26
26
|
"@google-cloud/tasks": "^3.0.2",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"snap-shot-it": "^7.9.6",
|
72
72
|
"sonic-boom": "^3.2.0",
|
73
73
|
"stream-mock": "^2.0.5",
|
74
|
-
"typescript": "4.
|
74
|
+
"typescript": "^4.9.4"
|
75
75
|
},
|
76
76
|
"engines": {
|
77
77
|
"node": ">= 14"
|