@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 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. Currency remains unknown when the provider does not specify it.
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: null,
133
+ currency: "USD",
134
134
  basis: "provider_estimate",
135
135
  provider: "apollo",
136
136
  observedAt: new Date().toISOString()
package/package.json CHANGED
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "type": "module",
46
46
  "types": "./dist/index.d.ts",
47
- "version": "0.0.9",
47
+ "version": "0.0.10",
48
48
  "exports": {
49
49
  ".": {
50
50
  "types": "./dist/index.d.ts",