hierarchical-approval 4.1.4 → 4.2.0
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 +14 -0
- package/dist/plugins/scheduler.cjs +1 -0
- package/dist/plugins/scheduler.cjs.map +1 -1
- package/dist/plugins/scheduler.d.cts +3 -1
- package/dist/plugins/scheduler.d.ts +3 -1
- package/dist/plugins/scheduler.js +1 -1
- package/dist/plugins/scheduler.js.map +1 -1
- package/dist/plugins/webhook.cjs +30 -1
- package/dist/plugins/webhook.cjs.map +1 -1
- package/dist/plugins/webhook.d.cts +1 -1
- package/dist/plugins/webhook.d.ts +1 -1
- package/dist/plugins/webhook.js +30 -1
- package/dist/plugins/webhook.js.map +1 -1
- package/dist/testing.cjs +1 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/testing.js
CHANGED
|
@@ -5269,7 +5269,7 @@ var ApprovalTestKit = class {
|
|
|
5269
5269
|
for (const level of open) {
|
|
5270
5270
|
const approverId = approverMap[level.level];
|
|
5271
5271
|
if (!approverId) {
|
|
5272
|
-
throw new
|
|
5272
|
+
throw new ApprovalValidationError(
|
|
5273
5273
|
`No approver provided for level ${level.level}. Pass all levels in approverMap.`
|
|
5274
5274
|
);
|
|
5275
5275
|
}
|