@tiledesk/tiledesk-tybot-connector 2.1.8 → 2.1.9

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/TdCache.js +4 -0
  2. package/package.json +1 -1
package/TdCache.js CHANGED
@@ -127,6 +127,10 @@ class TdCache {
127
127
  return JSON.parse(value);
128
128
  }
129
129
 
130
+ async expire(key, seconds) {
131
+ await this.client.expire(key, seconds);
132
+ }
133
+
130
134
  async del(key) {
131
135
  await this.client.del(key);
132
136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {