@next-core/brick-kit 2.154.16 → 2.154.18
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.bundle.js +7 -2
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/types/hooks/useProvider/useProviderTypes.d.ts +1 -1
- package/dist/types/hooks/useProvider/useProviderTypes.d.ts.map +1 -1
- package/dist/types/internal/evaluate.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/index.esm.js
CHANGED
|
@@ -2580,7 +2580,12 @@ function evaluate(raw) {
|
|
|
2580
2580
|
return getDynamicReadOnlyProxy({
|
|
2581
2581
|
get(target, key) {
|
|
2582
2582
|
var pkg = customProcessorRegistry.get(key);
|
|
2583
|
-
|
|
2583
|
+
|
|
2584
|
+
if (!pkg) {
|
|
2585
|
+
throw new Error("'PROCESSORS.".concat(key, "' is not registered! Have you installed the relevant brick package of '").concat(key.replace(/[A-Z]/g, m => "-".concat(m.toLowerCase())), "-NB'?"));
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
return getDynamicReadOnlyProxy({
|
|
2584
2589
|
get(t, k) {
|
|
2585
2590
|
return pkg.get(k);
|
|
2586
2591
|
},
|
|
@@ -2589,7 +2594,7 @@ function evaluate(raw) {
|
|
|
2589
2594
|
return Array.from(pkg.keys());
|
|
2590
2595
|
}
|
|
2591
2596
|
|
|
2592
|
-
})
|
|
2597
|
+
});
|
|
2593
2598
|
},
|
|
2594
2599
|
|
|
2595
2600
|
ownKeys() {
|