Skip to content

Commit 8b30d42

Browse files
Merge pull request #416 from Vadorequest/fix-posthog-types
2 parents 9ea1b3c + 5b2e04b commit 8b30d42

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* for optional depenencies.
66
*/
77
import { parsePageId } from 'notion-utils'
8-
import type posthog from 'posthog-js'
8+
import { PostHogConfig } from 'posthog-js'
99

1010
import { getEnv, getSiteConfig } from './get-config-value'
1111
import { NavigationLink } from './site-config'
@@ -168,7 +168,7 @@ export const fathomConfig = fathomId
168168
: undefined
169169

170170
export const posthogId = process.env.NEXT_PUBLIC_POSTHOG_ID
171-
export const posthogConfig: posthog.Config = {
171+
export const posthogConfig: Partial<PostHogConfig> = {
172172
api_host: 'https://app.posthog.com'
173173
}
174174

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,10 @@
459459
resolved "https://registry.yarnpkg.com/@resvg/resvg-wasm/-/resvg-wasm-2.0.0-alpha.4.tgz#fc2f86186a9641df030d8f9f3f9d995899cd1ecb"
460460
integrity sha512-pWIG9a/x1ky8gXKRhPH1OPKpHFoMN1ISLbJ+O+gPXQHIAKhNd5I28RlWf7q576hAOQA9JZTlo3p/M2uyLzJmmw==
461461

462-
"@sentry/types@^6.11.0":
463-
version "6.19.4"
464-
resolved "https://registry.npmjs.org/@sentry/types/-/types-6.19.4.tgz"
465-
integrity sha512-fzLiQPrjJQ8HgFgA2VqnpLiEOrTJ2ItRY8RY7Cn4038HACoYWYDjrkdVJQBq6IyrxxkgWOSLZXnv85uozBQC+g==
462+
"@sentry/types@7.22.0":
463+
version "7.22.0"
464+
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.22.0.tgz#58e4ce77b523048e0f31e2ea4b597946d76f6079"
465+
integrity sha512-LhCL+wb1Jch+OesB2CIt6xpfO1Ab6CRvoNYRRzVumWPLns1T3ZJkarYfhbLaOEIb38EIbPgREdxn2AJT560U4Q==
466466

467467
"@shuding/[email protected]":
468468
version "1.4.0-beta.0"
@@ -2881,13 +2881,13 @@ [email protected]:
28812881
source-map-js "^1.0.2"
28822882

28832883
posthog-js@^1.20.2:
2884-
version "1.20.2"
2885-
resolved "https://registry.npmjs.org/posthog-js/-/posthog-js-1.20.2.tgz"
2886-
integrity sha512-0HxG2aVObhGz6I98+N/tTZ0Azkus6vYPDS+TiDFO1UWx88QVzflcTAhybsBdhG0xfmghuC6jvFui73hjdimZeg==
2884+
version "1.36.1"
2885+
resolved "https://registry.yarnpkg.com/posthog-js/-/posthog-js-1.36.1.tgz#56786329e7dbce800c89920329dbafde827ef6d6"
2886+
integrity sha512-Uy5pWkktFjwQ8FGykwmB5daCMkAV6zZvoWD8gsyEoO2oict+x8F81RE4u7ZGYSODgXzu51aMzcoRyXysZwBTTw==
28872887
dependencies:
2888-
"@sentry/types" "^6.11.0"
2888+
"@sentry/types" "7.22.0"
28892889
fflate "^0.4.1"
2890-
rrweb-snapshot "^1.1.7"
2890+
rrweb-snapshot "^1.1.14"
28912891

28922892
prebuild-install@^6.1.2:
28932893
version "6.1.4"
@@ -3237,9 +3237,9 @@ rimraf@^3.0.2:
32373237
dependencies:
32383238
glob "^7.1.3"
32393239

3240-
rrweb-snapshot@^1.1.7:
3240+
rrweb-snapshot@^1.1.14:
32413241
version "1.1.14"
3242-
resolved "https://registry.npmjs.org/rrweb-snapshot/-/rrweb-snapshot-1.1.14.tgz"
3242+
resolved "https://registry.yarnpkg.com/rrweb-snapshot/-/rrweb-snapshot-1.1.14.tgz#9d4d9be54a28a893373428ee4393ec7e5bd83fcc"
32433243
integrity sha512-eP5pirNjP5+GewQfcOQY4uBiDnpqxNRc65yKPW0eSoU1XamDfc4M8oqpXGMyUyvLyxFDB0q0+DChuxxiU2FXBQ==
32443244

32453245
rss@^1.2.2:

0 commit comments

Comments
 (0)