@edirect/tokenization 0.0.8 → 0.0.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.
package/dist/index.js CHANGED
@@ -212,6 +212,7 @@ var TokenizationApp = class {
212
212
  notFound: {}
213
213
  };
214
214
  traverse(payload, (value, path) => {
215
+ if (!value) return;
215
216
  if (this.evaluator.shouldTokenizeField(config, path)) {
216
217
  const fromCache = this.cache.get(value.toString());
217
218
  if (fromCache) {
package/dist/index.mjs CHANGED
@@ -186,6 +186,7 @@ var TokenizationApp = class {
186
186
  notFound: {}
187
187
  };
188
188
  traverse(payload, (value, path) => {
189
+ if (!value) return;
189
190
  if (this.evaluator.shouldTokenizeField(config, path)) {
190
191
  const fromCache = this.cache.get(value.toString());
191
192
  if (fromCache) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edirect/tokenization",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Javascript library for tokenization service",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",