@fedpulse/sdk 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +8 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -151,10 +151,8 @@ await client.intelligence.entityProfile('ABCDEF123456');
151
151
  // Market analysis for a NAICS code
152
152
  await client.intelligence.marketAnalysis('541512');
153
153
 
154
- // Bulk compliance check
155
- await client.intelligence.complianceCheck({
156
- entities: [{ uei: 'ABCDEF123456' }, { name: 'Bad Actor LLC' }],
157
- });
154
+ // Single-entity compliance check
155
+ await client.intelligence.complianceCheck({ uei: 'ABCDEF123456' });
158
156
  ```
159
157
 
160
158
  ### `client.assistance`
@@ -163,8 +161,7 @@ Federal grants and assistance listings.
163
161
 
164
162
  ```ts
165
163
  await client.assistance.list({ keyword: 'broadband', agency: 'USDA' });
166
- await client.assistance.get('listing-id');
167
- await client.assistance.getByProgram('10.001');
164
+ await client.assistance.get('10.001'); // CFDA program number format "XX.XXX"
168
165
  await client.assistance.stats();
169
166
  for await (const page of client.assistance.paginate()) { … }
170
167
  ```
@@ -172,9 +169,10 @@ for await (const page of client.assistance.paginate()) { … }
172
169
  ### `client.analytics`
173
170
 
174
171
  ```ts
175
- await client.analytics.overview({ period: '30d' });
176
- await client.analytics.usageSummary();
177
- await client.analytics.topKeywords({ limit: 20 });
172
+ await client.analytics.summary({ range: '30d' });
173
+ await client.analytics.chart({ range: '30d' });
174
+ await client.analytics.endpoints({ range: '7d' });
175
+ await client.analytics.logs({ limit: 20 });
178
176
  ```
179
177
 
180
178
  ### `client.webhooks`
@@ -184,7 +182,7 @@ await client.analytics.topKeywords({ limit: 20 });
184
182
  await client.webhooks.list();
185
183
 
186
184
  // Create
187
- await client.webhooks.create({ url: 'https://example.com/hook', events: ['opportunity.posted'] });
185
+ await client.webhooks.create({ url: 'https://example.com/hook', events: ['opportunity.new'] });
188
186
 
189
187
  // Update / delete
190
188
  await client.webhooks.update('wh_id', { active: false });
@@ -193,7 +191,6 @@ await client.webhooks.delete('wh_id');
193
191
  // Deliveries log
194
192
  await client.webhooks.listDeliveries('wh_id');
195
193
  await client.webhooks.getDelivery('wh_id', 'delivery-id');
196
- await client.webhooks.redeliver('wh_id', 'delivery-id');
197
194
  ```
198
195
 
199
196
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedpulse/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Official JavaScript/TypeScript SDK for the FedPulse API — federal contracts, exclusions, entities, assistance listings, and market intelligence.",
5
5
  "keywords": [
6
6
  "fedpulse",