Skip to content

Releases: GleapSDK/JavaScript-SDK

v13.6.1

23 Apr 10:16
Compare
Choose a tag to compare
  • Added smart links.

v13.6.0

22 Apr 14:54
e407f25
Compare
Choose a tag to compare
  • Added tooltips for JavaScript.

v13.5.3

15 Mar 13:40
Compare
Choose a tag to compare
  • RTL layout fixes.

v13.5.0

06 Mar 15:52
Compare
Choose a tag to compare

Added AI tools to register local AI functions, allowing you to create deep integrations between Kai and your app.

Gleap.setAiTools([{
    name: 'send-money',
    description: 'Send money to a given contact.',
    response: 'The transfer got initiated but not completed yet. The user must confirm the transfer in the banking app.',
    parameters: [{
        name: 'amount',
        description: 'The amount of money to send. Must be positive and provided by the user.',
        type: 'number',
        required: true
    }, {
        name: 'contact',
        description: 'The contact to send money to.',
        type: 'string',
        enum: ["Alice", "Bob"],
        required: true
    }]
}]);

Gleap.on("tool-execution", (tool) => {
    if (tool.name === "send-money") {
        const amount = tool.params.amount;
        const contact = tool.params.contact;

        // Initiate the transfer here.
    }
});

v13.2.8

26 Feb 20:20
Compare
Choose a tag to compare
v13.2.8

v13.2.7

25 Feb 20:03
Compare
Choose a tag to compare
  • Added native support for ESM
  • Updated webpack

v13.2.6

11 Feb 09:20
Compare
Choose a tag to compare

Minor bug fixes.

v13.2.5

06 Feb 19:13
Compare
Choose a tag to compare
  • Fixed issue with mobile Firefox

v13.2.1

31 Jan 16:25
Compare
Choose a tag to compare

Added:

  function startNetworkLogger(): void;
  function setNetworkLoggerBlacklist(networkLogBlacklist: string[]): void;
  function setNetworkLoggerFilters(filters: string[]): void;
  function updateContact(
    customerData: any,
  ): void;

v13.1.4

24 Jan 11:27
Compare
Choose a tag to compare
  • Improved product tours