@absolutejs/engagement-apollo 0.0.9 → 0.0.10
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ const activity = await apollo.listActivities?.({
|
|
|
25
25
|
| `enrichCompany` | `GET /v1/organizations/enrich` | Domain required. |
|
|
26
26
|
| `listActivities` | `POST /v1/emailer_messages/search` | **Plan-gated** — engagement API access varies by Apollo plan. Returns `[]` if unsupported; verify field mapping against a live account before relying on it. |
|
|
27
27
|
|
|
28
|
-
Company enrichment preserves provider identity and annual revenue with observation time and provider-estimate attribution.
|
|
28
|
+
Company enrichment preserves provider identity and annual revenue with observation time and provider-estimate attribution. Apollo documents `organization.annual_revenue` as an estimate in USD; the adapter preserves that denomination. It does not infer currency from the company location.
|
|
29
29
|
|
|
30
30
|
Company enrichment returns `null` for no match (404), throws `RateLimitError` for 429, and throws `EngagementProviderError` for authentication, permission, server, or malformed-response failures. Errors exclude raw response bodies and credentials. Person/activity endpoints retain their existing behavior.
|
|
31
31
|
|
package/dist/index.js
CHANGED
|
@@ -130,7 +130,7 @@ var apolloSource = (options) => {
|
|
|
130
130
|
annualRevenue: revenue !== null && revenue > 0 || revenueDisplay ? {
|
|
131
131
|
amount: revenue !== null && revenue > 0 ? revenue : null,
|
|
132
132
|
display: revenueDisplay,
|
|
133
|
-
currency:
|
|
133
|
+
currency: "USD",
|
|
134
134
|
basis: "provider_estimate",
|
|
135
135
|
provider: "apollo",
|
|
136
136
|
observedAt: new Date().toISOString()
|