bump: new version 0.1.20

This commit is contained in:
Harshith Mullapudi 2025-09-03 12:34:56 +05:30
parent b0c3bd1b2d
commit ea27ba2d8e
5 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,4 @@
VERSION=0.1.19
VERSION=0.1.20
# Nest run in docker, change host to database container name
DB_HOST=localhost

View File

@ -4,7 +4,11 @@ import { useEffect, useRef } from "react";
import { useOptionalUser, useUserChanged } from "./useUser";
export const usePostHog = (apiKey?: string, logging = false, debug = false): void => {
export const usePostHog = (
apiKey?: string,
logging = false,
debug = false,
): void => {
const postHogInitialized = useRef(false);
const location = useLocation();
const user = useOptionalUser();
@ -15,7 +19,7 @@ export const usePostHog = (apiKey?: string, logging = false, debug = false): voi
if (postHogInitialized.current === true) return;
if (logging) console.log("Initializing PostHog");
posthog.init(apiKey, {
api_host: "https://eu.posthog.com",
api_host: "https://us.i.posthog.com",
opt_in_site_apps: true,
debug,
loaded: function (posthog) {

View File

@ -34,6 +34,8 @@ export default defineConfig({
"tailwindcss",
"@tiptap/react",
"react-tweet",
"posthog-js",
"posthog-js/react",
],
external: ["@prisma/client"],
},

View File

@ -1,4 +1,4 @@
VERSION=0.1.19
VERSION=0.1.20
# Nest run in docker, change host to database container name
DB_HOST=postgres

View File

@ -1,7 +1,7 @@
{
"name": "core",
"private": true,
"version": "0.1.19",
"version": "0.1.20",
"workspaces": [
"apps/*",
"packages/*"