@cumulus/common 11.1.1 → 11.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/cloudwatch-event.d.ts +1 -1
- package/env.d.ts +3 -0
- package/package.json +5 -5
- package/sns-event.d.ts +1 -1
- package/test-utils.d.ts +3 -0
- package/util.d.ts +1 -1
package/cloudwatch-event.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare const getSfEventStatus: (event: AwsCloudWatchEvent) => string | u
|
|
|
35
35
|
* @param {string} [defaultValue] - A default value for the message, if none exists
|
|
36
36
|
* @returns {string|undefined} Output message from Step Function
|
|
37
37
|
*/
|
|
38
|
-
export declare const getSfEventDetailValue: (event: AwsCloudWatchEvent, field: 'input' | 'output', defaultValue?: string
|
|
38
|
+
export declare const getSfEventDetailValue: (event: AwsCloudWatchEvent, field: 'input' | 'output', defaultValue?: string) => string | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Get the Step Function output message from a Cloudwatch Event
|
|
41
41
|
*
|
package/env.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/common",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.2",
|
|
4
4
|
"description": "Common utilities used across tasks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@aws-sdk/client-s3": "^3.53.0",
|
|
45
45
|
"@aws-sdk/signature-v4-crt": "^3.53.0",
|
|
46
|
-
"@cumulus/aws-client": "11.1.
|
|
47
|
-
"@cumulus/errors": "11.1.
|
|
48
|
-
"@cumulus/logger": "11.1.
|
|
46
|
+
"@cumulus/aws-client": "11.1.2",
|
|
47
|
+
"@cumulus/errors": "11.1.2",
|
|
48
|
+
"@cumulus/logger": "11.1.2",
|
|
49
49
|
"ajv": "^6.12.3",
|
|
50
50
|
"aws-sdk": "^2.585.0",
|
|
51
51
|
"follow-redirects": "^1.2.4",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@types/node-forge": "^0.9.5",
|
|
68
68
|
"@types/url-join": "^4.0.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "98ba3b1f617e8e531a3bfaa490f2a125da78df9f"
|
|
71
71
|
}
|
package/sns-event.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const isSnsEvent: (event: {
|
|
|
20
20
|
* @param {any} [defaultValue] - Default value to use for message, if none exists.
|
|
21
21
|
* @returns {any} - Message from SNS event
|
|
22
22
|
*/
|
|
23
|
-
export declare const getSnsEventMessage: (event: AwsLambdaSnsMessageEventRecord, defaultValue?: string
|
|
23
|
+
export declare const getSnsEventMessage: (event: AwsLambdaSnsMessageEventRecord, defaultValue?: string) => string;
|
|
24
24
|
/**
|
|
25
25
|
* Get message object from SNS event.
|
|
26
26
|
*
|
package/test-utils.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
/// <reference types="node" />
|
|
4
|
+
/// <reference types="node" />
|
|
2
5
|
import { ExecutionContext } from 'ava';
|
|
3
6
|
export { readJsonFile as readJsonFixture } from './FileUtils';
|
|
4
7
|
export declare const inTestMode: (env?: NodeJS.ProcessEnv) => boolean;
|
package/util.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @alias module:util
|
|
19
19
|
*/
|
|
20
|
-
export declare const deprecate: (name: string, version: string, alternative?: string
|
|
20
|
+
export declare const deprecate: (name: string, version: string, alternative?: string) => void;
|
|
21
21
|
/**
|
|
22
22
|
* Remove properties whose values are `null` or `undefined`
|
|
23
23
|
*
|