@isofh/chuyen-doi-dia-chi-2-cap 1.0.2 → 1.0.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/dataXa.json +4 -4
- package/index.js +8 -1
- package/package.json +2 -2
package/dataXa.json
CHANGED
|
@@ -24501,9 +24501,9 @@
|
|
|
24501
24501
|
"ten": "Long Nguyên",
|
|
24502
24502
|
"timKiem": "longnguyen",
|
|
24503
24503
|
"satNhapTu": [
|
|
24504
|
-
{ "ten": "An Điền", "timKiem": "andien" },
|
|
24505
|
-
{ "ten": "Long Nguyên", "timKiem": "longnguyen" },
|
|
24506
|
-
{ "ten": "Mỹ Phước", "timKiem": "myphuoc" }
|
|
24504
|
+
{ "ten": "An Điền", "timKiem": "andien", "huyen": "bencat" },
|
|
24505
|
+
{ "ten": "Long Nguyên", "timKiem": "longnguyen", "huyen": "baubang" },
|
|
24506
|
+
{ "ten": "Mỹ Phước", "timKiem": "myphuoc", "huyen": "bencat" }
|
|
24507
24507
|
]
|
|
24508
24508
|
},
|
|
24509
24509
|
{
|
|
@@ -24512,7 +24512,7 @@
|
|
|
24512
24512
|
"satNhapTu": [
|
|
24513
24513
|
{ "ten": "Tân Hưng", "timKiem": "tanhung" },
|
|
24514
24514
|
{ "ten": "Lai Hưng", "timKiem": "laihung" },
|
|
24515
|
-
{ "ten": "Mỹ Phước", "timKiem": "myphuoc" }
|
|
24515
|
+
{ "ten": "Mỹ Phước", "timKiem": "myphuoc", "huyen": "bencat" }
|
|
24516
24516
|
]
|
|
24517
24517
|
},
|
|
24518
24518
|
{
|
package/index.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
// Chỉ nạp string-utils khi runtime hiện tại chưa có đủ prototype cần dùng.
|
|
2
|
+
// Cách này tránh ghi đè lại `String.prototype.toAddress` của app host nếu app đã nạp một bản mới hơn.
|
|
3
|
+
if (
|
|
4
|
+
typeof "".createUniqueText !== "function" ||
|
|
5
|
+
typeof "".toAddress !== "function"
|
|
6
|
+
) {
|
|
7
|
+
require("mainam-react-native-string-utils");
|
|
8
|
+
}
|
|
2
9
|
|
|
3
10
|
let dataXa = null;
|
|
4
11
|
let dataXaPromise = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isofh/chuyen-doi-dia-chi-2-cap",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Chuan hoa dia chi hanh chinh cu sang format 2 cap moi",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"isofh"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"mainam-react-native-string-utils": "^4.0.
|
|
21
|
+
"mainam-react-native-string-utils": "^4.0.14"
|
|
22
22
|
},
|
|
23
23
|
"author": "ISOFH",
|
|
24
24
|
"license": "ISC"
|