@laboratoria/hubspot
Advanced tools
Comparing version 0.2.0 to 0.3.0
10
index.js
@@ -96,4 +96,5 @@ import https from 'node:https'; | ||
const getObject = async (objectType, id, props = [], associations = []) => { | ||
const { result } = await get(`/objects/${objectType}/${id}`, { | ||
const getObject = (objectType, id, props = [], associations = []) => get( | ||
`/objects/${objectType}/${id}`, | ||
{ | ||
...( | ||
@@ -107,5 +108,4 @@ !!props.length && { | ||
}), | ||
}); | ||
return result; | ||
}; | ||
}, | ||
); | ||
@@ -112,0 +112,0 @@ const getByIds = ( |
{ | ||
"name": "@laboratoria/hubspot", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Unofficial Hubspot Node.js client", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
83606
15
723
1