exposed number conversion functions

This commit is contained in:
2024-05-29 10:49:43 -04:00
parent e0963ef940
commit a78197cb50
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export async function parseResponse(data, APIRef, excludeGeneric) {
}
function findRangeIndex(number) {
export function findRangeIndex(number) {
const rangeMap = ["B", "C", "D", "E", "F", "G", "H", "I"];
const companySizeRanges = [
[1, 10],
+2 -2
View File
@@ -1,8 +1,8 @@
import linkedInAPIClass from "./classes/API.js";
import linkedInAPIClass, { findRangeIndex, numsToSizes } from "./classes/API.js";
import { LinkedInProfile } from "./classes/Profile.js";
import { Company } from "./classes/Company.js";
import { GenericEntity, Group, ReactionTypeCount, SocialActivityCounts } from './classes/misc.js'
export default linkedInAPIClass;
export { LinkedInProfile, Company, GenericEntity, Group, ReactionTypeCount, SocialActivityCounts };
export { LinkedInProfile, Company, GenericEntity, Group, ReactionTypeCount, SocialActivityCounts, numsToSizes, findRangeIndex };
+1 -1
View File
@@ -8,7 +8,7 @@
},
"type": "module",
"name": "linkedin-api-js",
"version": "1.0.0-18",
"version": "1.0.0-19",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"