posthog-node 5.68.1 → 5.68.2
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/dist/capture-v1/sender.js +2 -0
- package/dist/capture-v1/sender.mjs +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +3 -3
- package/src/capture-v1/sender.ts +2 -2
- package/src/version.ts +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "5.68.
|
|
1
|
+
export declare const version = "5.68.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/dist/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = "5.68.
|
|
1
|
+
const version = "5.68.2";
|
|
2
2
|
export { version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posthog-node",
|
|
3
|
-
"version": "5.68.
|
|
3
|
+
"version": "5.68.2",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/PostHog/posthog-js/issues"
|
|
6
6
|
},
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"rxjs": "^7.8.0",
|
|
45
45
|
"typescript": "7.0.2",
|
|
46
46
|
"vitest": "^1.6.1",
|
|
47
|
-
"@posthog
|
|
48
|
-
"@posthog/
|
|
47
|
+
"@posthog/types": "^1.423.0",
|
|
48
|
+
"@posthog-tooling/tsconfig-base": "1.1.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@opentelemetry/api": "^1.2.0",
|
package/src/capture-v1/sender.ts
CHANGED
|
@@ -17,8 +17,8 @@ import type { V1BatchResponse, V1Event } from './types'
|
|
|
17
17
|
const V1_ANALYTICS_PATH = '/i/v1/analytics/events'
|
|
18
18
|
const DEFAULT_MAX_BACKOFF_MS = 30_000
|
|
19
19
|
|
|
20
|
-
/** HTTP statuses
|
|
21
|
-
const RETRYABLE_STATUSES = new Set([408, 500, 502, 503, 504])
|
|
20
|
+
/** HTTP statuses a capture request is retried on. 404 and 429 can come from a proxy in front of capture. */
|
|
21
|
+
const RETRYABLE_STATUSES = new Set([404, 408, 429, 500, 502, 503, 504])
|
|
22
22
|
|
|
23
23
|
export interface V1CaptureSenderConfig {
|
|
24
24
|
host: string
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "5.68.
|
|
1
|
+
export const version = "5.68.2"
|