moost 0.6.1 → 0.6.2

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.cjs CHANGED
@@ -202,7 +202,8 @@ const scopeVarsMap = /* @__PURE__ */ new Map();
202
202
  let logger;
203
203
  try {
204
204
  const ctxLogger = event === "error" ? getDefaultLogger(INFACT_BANNER) : (0, __wooksjs_event_core.useLogger)();
205
- logger = typeof ctxLogger.topic === "function" ? ctxLogger.topic(INFACT_BANNER) : ctxLogger;
205
+ const withTopic = ctxLogger;
206
+ logger = typeof withTopic.topic === "function" ? withTopic.topic(INFACT_BANNER) : ctxLogger;
206
207
  } catch (error) {
207
208
  logger = getDefaultLogger(INFACT_BANNER);
208
209
  }
package/dist/index.mjs CHANGED
@@ -179,7 +179,8 @@ const scopeVarsMap = /* @__PURE__ */ new Map();
179
179
  let logger;
180
180
  try {
181
181
  const ctxLogger = event === "error" ? getDefaultLogger(INFACT_BANNER) : useLogger$1();
182
- logger = typeof ctxLogger.topic === "function" ? ctxLogger.topic(INFACT_BANNER) : ctxLogger;
182
+ const withTopic = ctxLogger;
183
+ logger = typeof withTopic.topic === "function" ? withTopic.topic(INFACT_BANNER) : ctxLogger;
183
184
  } catch (error) {
184
185
  logger = getDefaultLogger(INFACT_BANNER);
185
186
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moost",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "moost",
5
5
  "keywords": [
6
6
  "composables",
@@ -46,15 +46,15 @@
46
46
  "@prostojs/infact": "^0.4.1",
47
47
  "@prostojs/logger": "^0.4.3",
48
48
  "@prostojs/mate": "^0.4.0",
49
- "@wooksjs/event-core": "^0.7.3",
49
+ "@wooksjs/event-core": "^0.7.4",
50
50
  "hookable": "^5.5.3",
51
- "wooks": "^0.7.3"
51
+ "wooks": "^0.7.4"
52
52
  },
53
53
  "devDependencies": {
54
- "@wooksjs/event-http": "^0.7.3",
55
- "@wooksjs/http-body": "^0.7.3",
54
+ "@wooksjs/event-http": "^0.7.4",
55
+ "@wooksjs/http-body": "^0.7.4",
56
56
  "vitest": "3.2.4",
57
- "@moostjs/event-http": "^0.6.1"
57
+ "@moostjs/event-http": "^0.6.2"
58
58
  },
59
59
  "scripts": {
60
60
  "pub": "pnpm publish --access public",