pols-validator 2.3.0 → 2.3.1

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/rules.js CHANGED
@@ -408,7 +408,7 @@ class PRules extends rulesEngine_1.PRulesEngine {
408
408
  });
409
409
  }
410
410
  join(separator) {
411
- return this.isArray().add(this.split.name, (wrapper) => {
411
+ return this.isArray().add(this.join.name, (wrapper) => {
412
412
  wrapper.value = wrapper.value.join(separator);
413
413
  });
414
414
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pols-validator",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/rules.ts CHANGED
@@ -405,7 +405,7 @@ export class PRules extends PRulesEngine {
405
405
  }
406
406
 
407
407
  join(separator: string) {
408
- return this.isArray().add(this.split.name, (wrapper: PRulesWrapper<unknown[]>) => {
408
+ return this.isArray().add(this.join.name, (wrapper: PRulesWrapper<unknown[]>) => {
409
409
  wrapper.value = wrapper.value.join(separator) as any
410
410
  })
411
411
  }