@metriport/shared 0.1.4 → 0.1.5
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/common/general.d.ts +2 -0
- package/dist/common/general.d.ts.map +1 -0
- package/dist/common/general.js +9 -0
- package/dist/common/general.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../src/common/general.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.emptyFunction = void 0;
|
|
4
|
+
// Useful as catch handler for asynchonous promises so we don't get an unhandled promise rejection,
|
|
5
|
+
// or just to have a function that does nothing without having the warning below on the code.
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7
|
+
const emptyFunction = () => { };
|
|
8
|
+
exports.emptyFunction = emptyFunction;
|
|
9
|
+
//# sourceMappingURL=general.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general.js","sourceRoot":"","sources":["../../src/common/general.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,6FAA6F;AAC7F,gEAAgE;AACzD,MAAM,aAAa,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAAzB,QAAA,aAAa,iBAAY"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateNPI = exports.sleep = exports.executeWithRetries = exports.normalizeOid = exports.optionalDateSchema = void 0;
|
|
3
|
+
exports.validateNPI = exports.sleep = exports.executeWithRetries = exports.normalizeOid = exports.emptyFunction = exports.optionalDateSchema = void 0;
|
|
4
4
|
var date_1 = require("./common/date");
|
|
5
5
|
Object.defineProperty(exports, "optionalDateSchema", { enumerable: true, get: function () { return date_1.optionalDateSchema; } });
|
|
6
|
+
var general_1 = require("./common/general");
|
|
7
|
+
Object.defineProperty(exports, "emptyFunction", { enumerable: true, get: function () { return general_1.emptyFunction; } });
|
|
6
8
|
var normalize_oid_1 = require("./common/normalize-oid");
|
|
7
9
|
Object.defineProperty(exports, "normalizeOid", { enumerable: true, get: function () { return normalize_oid_1.normalizeOid; } });
|
|
8
10
|
var retry_1 = require("./common/retry");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,sCAAmD;AAA1C,0GAAA,kBAAkB,OAAA;AAC3B,wDAAsD;AAA7C,6GAAA,YAAY,OAAA;AACrB,wCAAoD;AAA3C,2GAAA,kBAAkB,OAAA;AAC3B,wCAAuC;AAA9B,8FAAA,KAAK,OAAA;AACd,sDAAoD;AAA3C,2GAAA,WAAW,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,sCAAmD;AAA1C,0GAAA,kBAAkB,OAAA;AAC3B,4CAAiD;AAAxC,wGAAA,aAAa,OAAA;AACtB,wDAAsD;AAA7C,6GAAA,YAAY,OAAA;AACrB,wCAAoD;AAA3C,2GAAA,kBAAkB,OAAA;AAC3B,wCAAuC;AAA9B,8FAAA,KAAK,OAAA;AACd,sDAAoD;AAA3C,2GAAA,WAAW,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/shared",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Common code shared across packages - by Metriport Inc.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"test": "jest --runInBand --detectOpenHandles --passWithNoTests",
|
|
52
52
|
"test:e2e": "E2E=true jest --runInBand --detectOpenHandles --passWithNoTests"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "64411bc50344cdd7a760e7e9b479aeeee0aa3d00"
|
|
55
55
|
}
|