@cumulus/message 10.1.1-alpha.0 → 10.1.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/utils.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["src/utils.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,cAAe,MAAM,GAAG,SAAS,WAO3D,CAAC"}
package/utils.js DELETED
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.parseException = void 0;
7
- const isNil_1 = __importDefault(require("lodash/isNil"));
8
- const isObject_1 = __importDefault(require("lodash/isObject"));
9
- /**
10
- * Ensures that the exception is returned as an object
11
- *
12
- * @param {Object|undefined} exception - the exception
13
- * @returns {string} an stringified exception
14
- */
15
- const parseException = (exception) => {
16
- if ((0, isNil_1.default)(exception))
17
- return {};
18
- if ((0, isObject_1.default)(exception))
19
- return exception;
20
- return {
21
- Error: 'Unknown Error',
22
- Cause: exception,
23
- };
24
- };
25
- exports.parseException = parseException;
26
- //# sourceMappingURL=utils.js.map
package/utils.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["src/utils.ts"],"names":[],"mappings":";;;;;;AAAA,yDAAiC;AACjC,+DAAuC;AAEvC;;;;;GAKG;AACI,MAAM,cAAc,GAAG,CAAC,SAA6B,EAAE,EAAE;IAC9D,IAAI,IAAA,eAAK,EAAC,SAAS,CAAC;QAAE,OAAO,EAAE,CAAC;IAChC,IAAI,IAAA,kBAAQ,EAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IAC1C,OAAO;QACL,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,SAAS;KACjB,CAAC;AACJ,CAAC,CAAC;AAPW,QAAA,cAAc,kBAOzB"}