@graph8/sdk 0.293.0 → 0.294.0
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/README.md +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +4 -6
- package/dist/react.d.ts +4 -6
- package/dist/react.js +3 -3
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -3
- package/dist/react.mjs.map +1 -1
- package/dist/types/enrich.d.ts +2 -2
- package/dist/types/react.d.ts +1 -3
- package/dist/types/version.d.ts +2 -2
- package/docs/agents.md +2 -2
- package/docs/api/contacts.d.ts +1 -1
- package/docs/api/contacts.md +1 -1
- package/docs/sdk-clients.md +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -941,7 +941,7 @@ var EXTERNAL_ROUTES = {
|
|
|
941
941
|
};
|
|
942
942
|
|
|
943
943
|
// src/version.ts
|
|
944
|
-
var SDK_VERSION = "0.
|
|
944
|
+
var SDK_VERSION = "0.294.0";
|
|
945
945
|
var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
|
|
946
946
|
|
|
947
947
|
// src/http.ts
|
|
@@ -1207,7 +1207,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1207
1207
|
return {
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
1210
|
-
* lookup, charged
|
|
1210
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
1211
1211
|
*/
|
|
1212
1212
|
async person(params) {
|
|
1213
1213
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
|
|
@@ -1218,7 +1218,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1218
1218
|
},
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
1221
|
-
*
|
|
1221
|
+
* only when a match is found (`found: false` costs nothing).
|
|
1222
1222
|
*/
|
|
1223
1223
|
async company(params) {
|
|
1224
1224
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {
|