siam-ui-utils 1.0.5 → 1.0.6

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.
@@ -11,10 +11,10 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.InjectMassage = void 0;
14
+ exports.IntlMessages = void 0;
15
15
  var React = require("react");
16
16
  var react_intl_1 = require("react-intl");
17
17
  var _InjectMassage = function (props) { return React.createElement(react_intl_1.FormattedMessage, __assign({}, props)); };
18
- exports.InjectMassage = (0, react_intl_1.injectIntl)(_InjectMassage, {
18
+ exports.IntlMessages = (0, react_intl_1.injectIntl)(_InjectMassage, {
19
19
  withRef: false,
20
20
  });
package/index.d.ts CHANGED
@@ -7,5 +7,5 @@ declare module "siam-ui-utils" {
7
7
  export function CustomSelectInput (props: any);
8
8
 
9
9
  //INTL-MESSAGES
10
- export function InjectMassage(props:any);
10
+ export function IntlMessages(props:any);
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -3,6 +3,6 @@ import { FormattedMessage, injectIntl } from 'react-intl';
3
3
 
4
4
  const _InjectMassage = (props: any) => <FormattedMessage {...props} />;
5
5
 
6
- export const InjectMassage = injectIntl(_InjectMassage, {
6
+ export const IntlMessages = injectIntl(_InjectMassage, {
7
7
  withRef: false,
8
8
  } as any);