Skip to content

19.6.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 15:22
· 28 commits to master since this release
8136ae7

Changed: the key Gleap.initialize takes is now called Project ID (formerly "SDK key" or "API key"). The value is the same and every existing key keeps working; nothing needs to change in your app. Typings, JSDoc and the README name the parameter projectId.
Added: Gleap.initialize({ projectId, sessionDuration }) takes the Project ID inside the options object, and Gleap.initialize(undefined, { projectId }) works too. The positional form Gleap.initialize(projectId, options) and the legacy boolean second argument are unchanged. The options are typed as Gleap.InitializeOptions.