posthog-node 4.3.0 → 4.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Next
2
2
 
3
+ # 4.3.2 - 2024-12-11
4
+
5
+ 1. REVERT: Fix bug where this SDK incorrectly sent `$feature_flag_called` events with null values when using `getFeatureFlagPayload`.
6
+
7
+ # 4.3.1 - 2024-11-26
8
+
9
+ 1. Fix bug where this SDK incorrectly sent `$feature_flag_called` events with null values when using `getFeatureFlagPayload`.
10
+
3
11
  # 4.3.0 - 2024-11-25
4
12
 
5
13
  1. Add Sentry v8 support to the Sentry integration
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Please see the main [PostHog docs](https://www.posthog.com/docs).
4
4
 
5
- Specifically, the [Node.js integration](https://posthog.com/docs/integrate/server/node) details.
5
+ Specifically, the [Node.js docs](https://posthog.com/docs/libraries/node) details.
6
6
 
7
7
  ## Questions?
8
8
 
package/lib/index.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var rusha = require('rusha');
6
6
 
7
- var version = "4.3.0";
7
+ var version = "4.3.2";
8
8
 
9
9
  var PostHogPersistedProperty;
10
10
  (function (PostHogPersistedProperty) {
package/lib/index.d.ts CHANGED
@@ -319,7 +319,7 @@ type PostHogNodeV1 = {
319
319
  }): Promise<string | boolean | undefined>;
320
320
  /**
321
321
  * @description Retrieves payload associated with the specified flag and matched value that is passed in.
322
- * (Expected to be used in conjuction with getFeatureFlag but allows for manual lookup).
322
+ * (Expected to be used in conjunction with getFeatureFlag but allows for manual lookup).
323
323
  * If matchValue isn't passed, getFeatureFlag is called implicitly.
324
324
  * Will try to evaluate for payload locally first otherwise default to network call if allowed
325
325
  *
package/lib/index.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createHash } from 'rusha';
2
2
 
3
- var version = "4.3.0";
3
+ var version = "4.3.2";
4
4
 
5
5
  var PostHogPersistedProperty;
6
6
  (function (PostHogPersistedProperty) {
@@ -140,7 +140,7 @@ export type PostHogNodeV1 = {
140
140
  }): Promise<string | boolean | undefined>;
141
141
  /**
142
142
  * @description Retrieves payload associated with the specified flag and matched value that is passed in.
143
- * (Expected to be used in conjuction with getFeatureFlag but allows for manual lookup).
143
+ * (Expected to be used in conjunction with getFeatureFlag but allows for manual lookup).
144
144
  * If matchValue isn't passed, getFeatureFlag is called implicitly.
145
145
  * Will try to evaluate for payload locally first otherwise default to network call if allowed
146
146
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-node",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "PostHog Node.js integration",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.ts CHANGED
@@ -158,7 +158,7 @@ export type PostHogNodeV1 = {
158
158
 
159
159
  /**
160
160
  * @description Retrieves payload associated with the specified flag and matched value that is passed in.
161
- * (Expected to be used in conjuction with getFeatureFlag but allows for manual lookup).
161
+ * (Expected to be used in conjunction with getFeatureFlag but allows for manual lookup).
162
162
  * If matchValue isn't passed, getFeatureFlag is called implicitly.
163
163
  * Will try to evaluate for payload locally first otherwise default to network call if allowed
164
164
  *