vona-core 5.0.110 → 5.0.111

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -917,11 +917,12 @@ function __prepareInjectSelectorInfo_init(beanInstance, useOptions) {
917
917
  const withSelector = init.withSelector ?? false;
918
918
  const _args = init.args ?? [init.arg];
919
919
  if (!_args) return;
920
- const args = _args.map(arg => evaluateExpressions(arg, {
921
- self: beanInstance,
922
- app: beanInstance.app,
923
- ctx: beanInstance.ctx
924
- }));
920
+ const context = {
921
+ self: {
922
+ ...beanInstance
923
+ }
924
+ };
925
+ const args = _args.map(arg => evaluateExpressions(arg, context));
925
926
  return {
926
927
  withSelector,
927
928
  args
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-core",
3
3
  "type": "module",
4
- "version": "5.0.110",
4
+ "version": "5.0.111",
5
5
  "description": "vona",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -33,7 +33,7 @@
33
33
  "@cabloy/module-info-pro": "^1.0.40",
34
34
  "@cabloy/set": "^1.0.18",
35
35
  "@cabloy/type-fest": "^5.3.1",
36
- "@cabloy/utils": "^1.0.49",
36
+ "@cabloy/utils": "^2.0.1",
37
37
  "@cabloy/word-utils": "^2.0.1",
38
38
  "@cabloy/zod-errors-custom": "^2.0.4",
39
39
  "@cabloy/zod-openapi": "^1.0.8",