@incognia/web-sdk-types 1.22.2 → 1.23.0

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -10,6 +10,8 @@ type GetSessionTokenParams = {
10
10
  type GenerateRequestTokenParams = {
11
11
  askForGeolocation?: boolean
12
12
  maxLength?: number
13
+ ensureDataCollection?: boolean
14
+ dataCollectionTimeoutMs?: number
13
15
  }
14
16
  type EventProperties = Record<string, string | number | boolean>
15
17
  type EventAddress = {
@@ -41,6 +43,8 @@ type IncogniaOptions = {
41
43
  requestTokenMaxLength?: number
42
44
  scriptSrcDomain?: string
43
45
  domainBlockerDetectionEnabled?: boolean
46
+ cookieEnabled?: boolean
47
+ cookieDomain?: string
44
48
  }
45
49
  type IncogniaWebSdk = {
46
50
  init(appIdOrOptions: string | IncogniaOptions): Promise<void>
@@ -58,6 +62,7 @@ type IncogniaWebSdk = {
58
62
  */
59
63
  getSessionToken(options?: GetSessionTokenParams): Promise<string | undefined>
60
64
  sendCustomEvent(params: CustomEventParams): Promise<void>
65
+ sendLocationEvent(): Promise<void>
61
66
  }
62
67
  // eslint-disable-next-line no-redeclare
63
68
  declare var IncogniaOptions: IncogniaOptions
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@incognia/web-sdk-types",
3
3
  "description": "Incognia SDK type definitions",
4
4
  "author": "",
5
- "version": "1.22.2",
5
+ "version": "1.23.0",
6
6
  "license": "MIT",
7
7
  "keywords": [
8
8
  "incognia",