@riocrypto/common 1.0.1093 → 1.0.1094

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.
@@ -1,2 +1,2 @@
1
1
  import { User } from "../types/user";
2
- export declare const getUerName: (user: User) => string;
2
+ export declare const getUserName: (user: User) => string;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getUerName = void 0;
3
+ exports.getUserName = void 0;
4
4
  const user_type_1 = require("../types/user-type");
5
- const getUerName = (user) => {
5
+ const getUserName = (user) => {
6
6
  if (user.type === user_type_1.UserType.Business) {
7
7
  return user.companyName;
8
8
  }
@@ -18,4 +18,4 @@ const getUerName = (user) => {
18
18
  return name;
19
19
  }
20
20
  };
21
- exports.getUerName = getUerName;
21
+ exports.getUserName = getUserName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1093",
3
+ "version": "1.0.1094",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",