@sonarwatch/portfolio-core 0.7.10 → 0.7.12
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/CHANGELOG.md
CHANGED
|
@@ -2,38 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
-
## [0.7.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## [0.7.9](https://github.com/sonarwatch/portfolio/compare/core-0.7.8...core-0.7.9) (2023-09-05)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## [0.7.8](https://github.com/sonarwatch/portfolio/compare/core-0.7.7...core-0.7.8) (2023-09-05)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [0.7.7](https://github.com/sonarwatch/portfolio/compare/core-0.7.6...core-0.7.7) (2023-09-05)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## [0.7.6](https://github.com/sonarwatch/portfolio/compare/core-0.7.5...core-0.7.6) (2023-09-05)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## [0.7.5](https://github.com/sonarwatch/portfolio/compare/core-0.7.4...core-0.7.5) (2023-09-05)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## [0.7.4](https://github.com/sonarwatch/portfolio/compare/core-0.7.3...core-0.7.4) (2023-09-05)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [0.7.3](https://github.com/sonarwatch/portfolio/compare/core-0.7.2...core-0.7.3) (2023-09-04)
|
|
5
|
+
## [0.7.12](https://github.com/sonarwatch/portfolio/compare/core-0.7.11...core-0.7.12) (2023-09-06)
|
|
34
6
|
|
|
35
7
|
|
|
36
8
|
|
|
9
|
+
## [0.7.11](https://github.com/sonarwatch/portfolio/compare/core-0.7.10...core-0.7.11) (2023-09-06)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.7.10](https://github.com/sonarwatch/portfolio/compare/core-0.7.9...core-0.7.10) (2023-09-05)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.7.9](https://github.com/sonarwatch/portfolio/compare/core-0.7.8...core-0.7.9) (2023-09-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [0.7.8](https://github.com/sonarwatch/portfolio/compare/core-0.7.7...core-0.7.8) (2023-09-05)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [0.7.7](https://github.com/sonarwatch/portfolio/compare/core-0.7.6...core-0.7.7) (2023-09-05)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [0.7.6](https://github.com/sonarwatch/portfolio/compare/core-0.7.5...core-0.7.6) (2023-09-05)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [0.7.5](https://github.com/sonarwatch/portfolio/compare/core-0.7.4...core-0.7.5) (2023-09-05)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [0.7.4](https://github.com/sonarwatch/portfolio/compare/core-0.7.3...core-0.7.4) (2023-09-05)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [0.7.3](https://github.com/sonarwatch/portfolio/compare/core-0.7.2...core-0.7.3) (2023-09-04)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
37
45
|
## [0.7.2](https://github.com/sonarwatch/portfolio/compare/core-0.7.1...core-0.7.2) (2023-08-31)
|
|
38
46
|
|
|
39
47
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getNetworkIdFromNameOrFail = exports.getNetworkIdFromName = void 0;
|
|
3
|
+
exports.isNameValid = exports.getNetworkIdFromNameOrFail = exports.getNetworkIdFromName = void 0;
|
|
4
4
|
const Network_1 = require("../Network");
|
|
5
5
|
const errors_1 = require("../errors");
|
|
6
6
|
const isNetworkIdName_1 = require("./isNetworkIdName");
|
|
@@ -34,4 +34,8 @@ function getNetworkIdFromNameOrFail(name) {
|
|
|
34
34
|
return networkId;
|
|
35
35
|
}
|
|
36
36
|
exports.getNetworkIdFromNameOrFail = getNetworkIdFromNameOrFail;
|
|
37
|
+
function isNameValid(name) {
|
|
38
|
+
return getNetworkIdFromName(name) !== null;
|
|
39
|
+
}
|
|
40
|
+
exports.isNameValid = isNameValid;
|
|
37
41
|
//# sourceMappingURL=getNetworkIdFromName.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNetworkIdFromName.js","sourceRoot":"","sources":["../../../../../packages/core/src/name-service/getNetworkIdFromName.ts"],"names":[],"mappings":";;;AAAA,wCAAsD;AACtD,sCAAgD;AAChD,uDAI2B;AAE3B,MAAM,SAAS,GAGT;IACJ;QACE,SAAS,EAAE,mBAAS,CAAC,MAAM;QAC3B,QAAQ,EAAE,8BAAY;KACvB;IACD;QACE,SAAS,EAAE,mBAAS,CAAC,QAAQ;QAC7B,QAAQ,EAAE,gCAAc;KACzB;IACD;QACE,SAAS,EAAE,mBAAS,CAAC,SAAS;QAC9B,QAAQ,EAAE,iCAAe;KAC1B;CACF,CAAC;AAEF,SAAgB,oBAAoB,CAAC,IAAY;IAC/C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC9B,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,OAAO,QAAQ,CAAC,SAAS,CAAC;KACxD;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAND,oDAMC;AAED,SAAgB,0BAA0B,CAAC,IAAY;IACrD,MAAM,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC7C,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,4BAAmB,CAAC,IAAI,CAAC,CAAC;IACpD,OAAO,SAAS,CAAC;AACnB,CAAC;AAJD,gEAIC"}
|
|
1
|
+
{"version":3,"file":"getNetworkIdFromName.js","sourceRoot":"","sources":["../../../../../packages/core/src/name-service/getNetworkIdFromName.ts"],"names":[],"mappings":";;;AAAA,wCAAsD;AACtD,sCAAgD;AAChD,uDAI2B;AAE3B,MAAM,SAAS,GAGT;IACJ;QACE,SAAS,EAAE,mBAAS,CAAC,MAAM;QAC3B,QAAQ,EAAE,8BAAY;KACvB;IACD;QACE,SAAS,EAAE,mBAAS,CAAC,QAAQ;QAC7B,QAAQ,EAAE,gCAAc;KACzB;IACD;QACE,SAAS,EAAE,mBAAS,CAAC,SAAS;QAC9B,QAAQ,EAAE,iCAAe;KAC1B;CACF,CAAC;AAEF,SAAgB,oBAAoB,CAAC,IAAY;IAC/C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC9B,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,OAAO,QAAQ,CAAC,SAAS,CAAC;KACxD;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAND,oDAMC;AAED,SAAgB,0BAA0B,CAAC,IAAY;IACrD,MAAM,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC7C,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,4BAAmB,CAAC,IAAI,CAAC,CAAC;IACpD,OAAO,SAAS,CAAC;AACnB,CAAC;AAJD,gEAIC;AAED,SAAgB,WAAW,CAAC,IAAY;IACtC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;AAC7C,CAAC;AAFD,kCAEC"}
|