@tiledesk/tiledesk-tybot-connector 0.2.45 → 0.2.46

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  available on:
6
6
  ▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
7
7
 
8
+ # v0.2.46
9
+ - added isNull isUndefined conditions
10
+
8
11
  # v0.2.45
9
12
  - Fix: JSON.stringify. Removed String(#1) convertion
10
13
 
@@ -145,6 +145,14 @@ class TiledeskExpression {
145
145
  name: "isEmpty",
146
146
  applyPattern: "#1 === \"\""
147
147
  },
148
+ "isNull": {
149
+ name: "isNull",
150
+ applyPattern: "#1 === null"
151
+ },
152
+ "isUndefined": {
153
+ name: "isUndefined",
154
+ applyPattern: "#1 === undefined"
155
+ },
148
156
  "matches": {
149
157
  name: "matches",
150
158
  applyPattern: "#1.match(String(#2)) ? true : false"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.45",
3
+ "version": "0.2.46",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {