vona-module-a-orm 5.0.80 → 5.0.82

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -257,8 +257,9 @@ let ServiceDatabase = (_dec$r = Service(), _dec2$r = BeanInfo({
257
257
  return defaultClient(this.ctx);
258
258
  }
259
259
  // check instance
260
- if (!isNil(this.ctx.instanceName)) {
261
- const configInstanceBase = this.$scope.instance.service.instance.getConfigInstanceBase(this.ctx.instanceName);
260
+ const instanceName = this.ctx.instanceName;
261
+ if (!isNil(instanceName)) {
262
+ const configInstanceBase = this.$scope.instance.service.instance.getConfigInstanceBase(instanceName);
262
263
  if (configInstanceBase?.isolate) {
263
264
  return configInstanceBase.isolateClient;
264
265
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-orm",
3
3
  "type": "module",
4
- "version": "5.0.80",
4
+ "version": "5.0.82",
5
5
  "title": "a-orm",
6
6
  "vonaModule": {
7
7
  "capabilities": {