@particle-academy/facebook-lead-ads-js 0.1.4 → 0.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -8,6 +8,28 @@ The four packages share one version, because they are generated from one
8
8
  `provider/` definition and a version that meant something different in each
9
9
  would be a version nobody could reason about.
10
10
 
11
+ ## [0.2.0] — 2026-11-08
12
+
13
+ ### Added
14
+
15
+ - **Laravel integration, in this package** (`src/Laravel/`), auto-discovered
16
+ through composer's `extra.laravel`. Laravel is SUGGESTED, never required:
17
+ outside a Laravel app none of it loads.
18
+ - a service provider that merges `config/facebook-lead-ads.php` under
19
+ `connectors.facebook-lead-ads` (credentials from the environment, or per call for a
20
+ multi-account app);
21
+ - the `FacebookLeadAds` facade: `FacebookLeadAds::call('<operation>', [...])` runs any action;
22
+ - `FacebookLeadAds::fake()`, answered from the connector's faker, with
23
+ `assertSent` / `assertNotSent` / `assertNothingSent` / `assertSentCount`;
24
+ - a webhook ROUTE per trigger (`Route::facebookLeadAdsLeadgen('/path')`) that VERIFIES the raw delivery with the trigger's own scheme before the app sees it, answers 401 with the reason when it does not, then dispatches an event (`Events\\…Received`);
25
+ - its own Pest test of all of it against a booted Laravel app.
26
+
27
+ ### Changed
28
+
29
+ - **Tests: Pest `^5`**, and `laravel/framework` `^13` as a DEV-ONLY test
30
+ dependency (the framework this package integrates with; nothing ships in
31
+ `require`).
32
+
11
33
  ## [0.1.4] — 2026-10-31
12
34
 
13
35
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/facebook-lead-ads-js",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "description": "Facebook Lead Ads for Node — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP on @particle-academy/fancy-connector-core; no vendor SDK.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@particle-academy/fancy-flow": ">=0.47.1 <2.0",
57
- "@particle-academy/facebook-lead-ads-ui": ">=0.1.0 <0.2.0"
57
+ "@particle-academy/facebook-lead-ads-ui": ">=0.2.0 <0.3.0"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "@particle-academy/fancy-flow": {