@momo-kits/auto-complete 0.0.42-beta → 0.0.52-beta

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/AutoComplete.js CHANGED
@@ -12,7 +12,7 @@ import { get } from 'lodash';
12
12
  import PropTypes from 'prop-types';
13
13
  import { TouchableOpacity } from 'react-native-gesture-handler';
14
14
  import {
15
- ValueUtil, NumberUtil, Colors, Text
15
+ ValueUtil, NumberUtils, Colors, Text
16
16
  } from '@momo-kits/core';
17
17
 
18
18
  export default class AutoComplete extends Component {
@@ -67,7 +67,7 @@ export default class AutoComplete extends Component {
67
67
  getValueByKey = (key, value) => {
68
68
  const splitKey = key.split('-');
69
69
  return splitKey.length > 1 ? splitKey.reduce((result, item, index) => result = result + value[item] + (index === splitKey.length - 1 ? '' : !!value[item] ? ' ' : ''), '')
70
- : key === 'phone' ? NumberUtil.formatPhoneNumberVN(value[key]) : value[key];
70
+ : key === 'phone' ? NumberUtils.formatPhoneNumberVN(value[key]) : value[key];
71
71
  };
72
72
 
73
73
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/auto-complete",
3
- "version": "0.0.42-beta",
3
+ "version": "0.0.52-beta",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},
package/publish.sh CHANGED
@@ -26,4 +26,4 @@ cd ..
26
26
  rm -rf dist
27
27
 
28
28
 
29
- curl -X POST -H 'Content-Type: application/json' 'https://chat.googleapis.com/v1/spaces/AAAAbP8987c/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=UGSFRvk_oYb9uGsAgs31bVvMm6jDkmD8zihGm3eyaQA%3D&threadKey=JoaXTEYaNNkl' -d '{"text": "@momo-kits/auto-complete new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/auto-complete"}'
29
+ # -H 'Content-Type: application/json' 'https://chat.googleapis.com/v1/spaces/AAAAbP8987c/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=UGSFRvk_oYb9uGsAgs31bVvMm6jDkmD8zihGm3eyaQA%3D&threadKey=JoaXTEYaNNkl' -d '{"text": "@momo-kits/auto-complete new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/auto-complete"}'