posthog-node 2.3.0 → 2.3.1

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/lib/index.cjs.js CHANGED
@@ -163,7 +163,7 @@ function __spreadArray(to, from, pack) {
163
163
  return to.concat(ar || Array.prototype.slice.call(from));
164
164
  }
165
165
 
166
- var version = "2.3.0";
166
+ var version = "2.3.1";
167
167
 
168
168
  var PostHogPersistedProperty;
169
169
  (function (PostHogPersistedProperty) {
package/lib/index.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  /// <reference types="node" />
2
- import { JsonType as JsonType$1 } from 'posthog-core/src';
3
-
4
2
  declare type PosthogCoreOptions = {
5
3
  host?: string;
6
4
  flushAt?: number;
@@ -174,7 +172,7 @@ declare type PostHogNodeV1 = {
174
172
  */
175
173
  getFeatureFlagPayload(key: string, distinctId: string, matchValue?: string | boolean, options?: {
176
174
  onlyEvaluateLocally?: boolean;
177
- }): Promise<JsonType$1 | undefined>;
175
+ }): Promise<JsonType | undefined>;
178
176
  /**
179
177
  * @description Sets a groups properties, which allows asking questions like "Who are the most active companies"
180
178
  * using my product in PostHog.
package/lib/index.esm.js CHANGED
@@ -155,7 +155,7 @@ function __spreadArray(to, from, pack) {
155
155
  return to.concat(ar || Array.prototype.slice.call(from));
156
156
  }
157
157
 
158
- var version = "2.3.0";
158
+ var version = "2.3.1";
159
159
 
160
160
  var PostHogPersistedProperty;
161
161
  (function (PostHogPersistedProperty) {
@@ -1,4 +1,4 @@
1
- import { JsonType } from 'posthog-core/src';
1
+ import { JsonType } from '../../posthog-core/src';
2
2
  export interface IdentifyMessageV1 {
3
3
  distinctId: string;
4
4
  properties?: Record<string | number, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-node",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "PostHog Node.js integration",
5
5
  "repository": "PostHog/posthog-node",
6
6
  "scripts": {
package/src/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { JsonType } from 'posthog-core/src'
1
+ import { JsonType } from '../../posthog-core/src'
2
2
 
3
3
  export interface IdentifyMessageV1 {
4
4
  distinctId: string