create-db 1.0.3-pr48-DC-4894-posthog-fix-17267263700.0 → 1.0.3-pr48-DC-4894-posthog-fix-17267509345.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/analytics.js +2 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/analytics.js
CHANGED
|
@@ -10,7 +10,8 @@ class PosthogEventCapture {
|
|
|
10
10
|
async capture(eventName, properties = {}) {
|
|
11
11
|
const POSTHOG_CAPTURE_URL = process.env.POSTHOG_API_HOST + "/capture";
|
|
12
12
|
const POSTHOG_KEY = process.env.POSTHOG_API_KEY;
|
|
13
|
-
|
|
13
|
+
console.log("POSTHOG_KEY set?", !!POSTHOG_KEY);
|
|
14
|
+
console.log("POSTHOG_CAPTURE_URL:", POSTHOG_CAPTURE_URL);
|
|
14
15
|
const payload = {
|
|
15
16
|
api_key: POSTHOG_KEY,
|
|
16
17
|
event: eventName,
|
package/index.js
CHANGED
|
@@ -270,7 +270,7 @@ async function promptForRegion(defaultRegion) {
|
|
|
270
270
|
"selection-method": "interactive",
|
|
271
271
|
});
|
|
272
272
|
} catch (error) {
|
|
273
|
-
console.error("Failed to send region_selected analytics:", error.message);
|
|
273
|
+
console.error("Failed to send region_selected analytics :", error.message);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
return region;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-db",
|
|
3
|
-
"version": "1.0.3-pr48-DC-4894-posthog-fix-
|
|
3
|
+
"version": "1.0.3-pr48-DC-4894-posthog-fix-17267509345.0",
|
|
4
4
|
"description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "",
|