Skip to content

Releases: smartlook/smartlook-client

v10.0.0

02 Jul 07:42
32009aa
Compare
Choose a tag to compare

relayProxyUrl respects protocol when specified

v9.0.0

28 Mar 08:40
2f9d17d
Compare
Choose a tag to compare

Add ESM build support

v8.3.0

08 Jan 09:07
6794bce
Compare
Choose a tag to compare

Adds websockets to init params in advanced network section

v8.2.0

13 Jun 08:27
v8.2.0
5085c0d
Compare
Choose a tag to compare
  • Added types for interceptors
interface Interceptors {
  click?: (
      data: {
        props?: Record<string, string | number | null | boolean>
        text?: string
        url: string
      },
      context: MouseEvent,
  ) => void | boolean,

  error?: (
		data: {
			colno?: number
			filename?: string
			lineno?: number
			message?: string
			stack?: string
			url: string
		},
		context: ErrorEvent | PromiseRejectionEvent | Error | string,
	) => void | boolean

  focus?: (data: { url: string }, context: FocusEvent) => void | boolean,

  input?: (data: { url: string, value: string }, context: Event) => void | boolean

  network?: (
		data: {
			request?: RequestOrResponse
			response?: RequestOrResponse
			url: string
		},
		context: { pageUrl: string },
	) => void | false
	
  url?: (data: { url: string }) => void
}

v8.0.0

13 Sep 06:37
v8.0.0
2a1778b
Compare
Choose a tag to compare

Add 'cookies' parameter

01 Sep 07:53
v7.0.2
2b9561c
Compare
Choose a tag to compare

v7.0.0

31 Mar 11:14
v7.0.0
7b4c79a
Compare
Choose a tag to compare

Breaking changes:

  • Added support for new Record API
  • Removed old Consent API

Read more about new Record API at https://docs.smartlook.com/docs/web/consent-sensitive-data

New Web SDK is coming out of BETA

10 Mar 11:29
Compare
Choose a tag to compare

Introducing new version of our Web SDK

1st party iframes support and shadow DOM, more features are yet to come so stay tuned.

Other changes:

  • Added readonly properties

    playUrl
    sessionId
    visitorId
    recordId
    key
    version
    
  • Added support in init to change region


You can opt out from this new version using the init('xxx', { version: 'legacy' }) .