@progus/connector 0.1.0 → 0.3.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 +3 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @progus/connector
|
|
2
2
|
|
|
3
3
|
Headless connector for Progus partner/affiliate tracking, partner ID assignment,
|
|
4
|
-
and cross-sell offers.
|
|
4
|
+
and cross-sell offers.
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
@@ -18,7 +18,7 @@ const connector = createProgusConnector({
|
|
|
18
18
|
appKey: "progus-store-locator",
|
|
19
19
|
apiBaseUrl: process.env.PARTNERS_API_URL!,
|
|
20
20
|
signingSecret: process.env.PARTNERS_SECRET_KEY!,
|
|
21
|
-
apiKey: process.env.PARTNERS_API_KEY,
|
|
21
|
+
apiKey: process.env.PARTNERS_API_KEY,
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
await connector.trackInstall({
|
|
@@ -87,16 +87,4 @@ npm publish --access public
|
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
89
|
npm run smoke
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
## Migration notes (Store Locator)
|
|
93
|
-
|
|
94
|
-
Found integrations and call sites:
|
|
95
|
-
- `web/controllers/partners.controller.js` (partner events + signing)
|
|
96
|
-
- `web/controllers/auth/shopifyAuth.controller.js` (install event on OAuth)
|
|
97
|
-
- `web/controllers/store.controller.js` (uninstall event)
|
|
98
|
-
- `web/controllers/subscription.controller.js` (subscription event)
|
|
99
|
-
- `web/routes/index.route.js` (save/check partner ID API)
|
|
100
|
-
- `web/frontend/pages/plans.jsx` (partner ID UI)
|
|
101
|
-
- `web/frontend/components/DashboardComponents/RecommendationsCard.jsx` (cross-sell)
|
|
102
|
-
- `web/frontend/constants/recommendations.js` (apps catalog, moved to connector)
|
|
90
|
+
```
|