@etainabl/nodejs-sdk 1.3.151 → 1.3.152
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/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1362,8 +1362,8 @@ var units = [
|
|
|
1362
1362
|
var getMeterPointNumberBottomLine = (meterPointNumber) => {
|
|
1363
1363
|
if (!meterPointNumber) return "";
|
|
1364
1364
|
const mpan = String(meterPointNumber).replace(/\s/g, "");
|
|
1365
|
-
if (mpan.length === 21) {
|
|
1366
|
-
return mpan.substring(8,
|
|
1365
|
+
if (mpan.length === 21 || mpan.length === 22) {
|
|
1366
|
+
return mpan.substring(8, mpan.length);
|
|
1367
1367
|
}
|
|
1368
1368
|
if (mpan.length === 13) {
|
|
1369
1369
|
return mpan;
|