vona-core 5.0.63 → 5.0.65

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.
@@ -13,5 +13,5 @@ export declare class BeanBaseSimple extends BeanSimple {
13
13
  get $beanInstanceKey(): string;
14
14
  protected get $beanOptions(): IDecoratorBeanOptionsBase;
15
15
  get $onionName(): string;
16
- protected get $onionOptions(): unknown | undefined;
16
+ get $onionOptions(): unknown | undefined;
17
17
  }
@@ -2,7 +2,7 @@ import type * as ModuleInfo from '@cabloy/module-info';
2
2
  import type { IModule } from '@cabloy/module-info';
3
3
  import type { BinaryToTextEncoding, HashOptions } from 'node:crypto';
4
4
  import type { IInstanceRecord, TypeMonkeyName, VonaConfigEnv, VonaContext } from '../../types/index.ts';
5
- import type { IBeanScopeRecord, TypeBeanScopeRecordKeys } from '../bean/type.ts';
5
+ import type { IBeanRecord, IBeanScopeRecord, TypeBeanScopeRecordKeys } from '../bean/type.ts';
6
6
  import type { IBeanSceneRecord } from '../decorator/interface/beanOptions.ts';
7
7
  import type { ZodLocaleErrors } from './zod-enhance.ts';
8
8
  import { BeanSimple } from '../bean/beanSimple.ts';
@@ -59,7 +59,7 @@ export declare function disposeInstance(instance: any): Promise<void>;
59
59
  export declare function polyfillDispose(instance: any): void;
60
60
  export declare function pathToHref(fileName: string): string;
61
61
  export declare function prepareEnv(env: Partial<NodeJS.ProcessEnv>): VonaConfigEnv;
62
- export declare function beanFullNameFromOnionName(onionName: string, sceneName: keyof IBeanSceneRecord): string;
62
+ export declare function beanFullNameFromOnionName(onionName: string, sceneName: keyof IBeanSceneRecord): keyof IBeanRecord;
63
63
  export declare function onionNameFromBeanFullName(beanFullName: string, sceneName: keyof IBeanSceneRecord): string;
64
64
  export declare function filterHeaders(headers: object | undefined, whitelist: string[]): {} | undefined;
65
65
  export declare function combineFilePathSafe(dir: string, file: string): string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-core",
3
3
  "type": "module",
4
- "version": "5.0.63",
4
+ "version": "5.0.65",
5
5
  "description": "vona",
6
6
  "publishConfig": {
7
7
  "access": "public"