@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/react.mjs
CHANGED
|
@@ -947,7 +947,7 @@ var EXTERNAL_ROUTES = {
|
|
|
947
947
|
};
|
|
948
948
|
|
|
949
949
|
// src/version.ts
|
|
950
|
-
var SDK_VERSION = "0.
|
|
950
|
+
var SDK_VERSION = "0.294.0";
|
|
951
951
|
var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
|
|
952
952
|
|
|
953
953
|
// src/http.ts
|
|
@@ -1213,7 +1213,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1213
1213
|
return {
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
1216
|
-
* lookup, charged
|
|
1216
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
1217
1217
|
*/
|
|
1218
1218
|
async person(params) {
|
|
1219
1219
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
|
|
@@ -1224,7 +1224,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1224
1224
|
},
|
|
1225
1225
|
/**
|
|
1226
1226
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
1227
|
-
*
|
|
1227
|
+
* only when a match is found (`found: false` costs nothing).
|
|
1228
1228
|
*/
|
|
1229
1229
|
async company(params) {
|
|
1230
1230
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {
|