@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 +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
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) {
|