@heycatch/sdk 0.8.4-dev.2561 → 0.8.5-dev.2546
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/README.md +51 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +2 -2
- package/dist/react-native.cjs +1 -1
- package/dist/react-native.d.cts +18 -0
- package/dist/server.cjs +2 -2
- package/dist/server.d.cts +10 -2
- package/dist/server.d.ts +10 -2
- package/dist/server.js +2 -2
- package/dist/{shared-jAHOZrzL.d.cts → shared-nNQmChFP.d.cts} +9 -0
- package/dist/{shared-jAHOZrzL.d.ts → shared-nNQmChFP.d.ts} +9 -0
- package/package.json +1 -1
package/dist/server.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, i as ServerTrackOptions } from './shared-
|
|
2
|
-
export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-
|
|
1
|
+
import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, i as ServerTrackOptions } from './shared-nNQmChFP.cjs';
|
|
2
|
+
export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-nNQmChFP.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The consent pair, present on the server namespace so the `analytics`
|
|
@@ -20,6 +20,13 @@ export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersi
|
|
|
20
20
|
declare function optInCapturing(): void;
|
|
21
21
|
/** No-op on the server. See the note above. */
|
|
22
22
|
declare function optOutCapturing(): void;
|
|
23
|
+
/**
|
|
24
|
+
* No-op on the server, for the same reason as the pair above (869fnqxd2):
|
|
25
|
+
* a server request's IP is the customer's own server, not a visitor's, so
|
|
26
|
+
* there is no visitor IP here to stop collecting. `collectIp` on `init` is
|
|
27
|
+
* parsed and ignored the same way.
|
|
28
|
+
*/
|
|
29
|
+
declare function setIpCollection(collect: boolean): void;
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
* Update a user's person properties from the server - a payment webhook, a
|
|
@@ -98,6 +105,7 @@ declare const analytics: {
|
|
|
98
105
|
readonly optOutCapturing: typeof optOutCapturing;
|
|
99
106
|
readonly resetIdentity: typeof resetIdentity;
|
|
100
107
|
readonly setIdentity: typeof setIdentity;
|
|
108
|
+
readonly setIpCollection: typeof setIpCollection;
|
|
101
109
|
readonly setPersonProperties: typeof setPersonProperties;
|
|
102
110
|
readonly trackEvent: typeof trackEvent;
|
|
103
111
|
};
|
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, i as ServerTrackOptions } from './shared-
|
|
2
|
-
export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-
|
|
1
|
+
import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, i as ServerTrackOptions } from './shared-nNQmChFP.js';
|
|
2
|
+
export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-nNQmChFP.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The consent pair, present on the server namespace so the `analytics`
|
|
@@ -20,6 +20,13 @@ export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersi
|
|
|
20
20
|
declare function optInCapturing(): void;
|
|
21
21
|
/** No-op on the server. See the note above. */
|
|
22
22
|
declare function optOutCapturing(): void;
|
|
23
|
+
/**
|
|
24
|
+
* No-op on the server, for the same reason as the pair above (869fnqxd2):
|
|
25
|
+
* a server request's IP is the customer's own server, not a visitor's, so
|
|
26
|
+
* there is no visitor IP here to stop collecting. `collectIp` on `init` is
|
|
27
|
+
* parsed and ignored the same way.
|
|
28
|
+
*/
|
|
29
|
+
declare function setIpCollection(collect: boolean): void;
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
* Update a user's person properties from the server - a payment webhook, a
|
|
@@ -98,6 +105,7 @@ declare const analytics: {
|
|
|
98
105
|
readonly optOutCapturing: typeof optOutCapturing;
|
|
99
106
|
readonly resetIdentity: typeof resetIdentity;
|
|
100
107
|
readonly setIdentity: typeof setIdentity;
|
|
108
|
+
readonly setIpCollection: typeof setIpCollection;
|
|
101
109
|
readonly setPersonProperties: typeof setPersonProperties;
|
|
102
110
|
readonly trackEvent: typeof trackEvent;
|
|
103
111
|
};
|