From 67b25660f1b2aeeab1d01e76c3c6ee7bc8a20441 Mon Sep 17 00:00:00 2001 From: Tatyana Shashkova Date: Wed, 26 Apr 2023 21:42:20 -0700 Subject: [PATCH] chore: Update package.json and CHANGELOG (#16) --- CHANGELOG.md | 3 +++ package.json | 2 +- src/common/interfaces.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb106b97..899d2301 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2022-04-26 v1.3.1 +* Fix type definition for `onSession` method + ## 2022-04-26 v1.3.0 * Add parameters to triggers diff --git a/package.json b/package.json index 82614cb7..35be74ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@inworld/nodejs-sdk", - "version": "1.3.0", + "version": "1.3.1", "license": "SEE LICENSE IN LICENSE.md", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/src/common/interfaces.ts b/src/common/interfaces.ts index 3ef7a398..3777fa63 100644 --- a/src/common/interfaces.ts +++ b/src/common/interfaces.ts @@ -54,7 +54,7 @@ export interface SessionTokenProps { } export interface GetterSetter { - get: () => Awaitable | Awaitable; + get: () => Awaitable; set: (entity: T) => Awaitable; }