@supacloud/app 0.6.0 → 0.6.1

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/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,7 +31,9 @@ Use one `around(context, next)` function for cross-cutting behavior at the
31
31
  module, route, command, or job boundary:
32
32
 
33
33
  ```ts
34
- const auditAspect = async (context, next) => {
34
+ import type { Aspect } from "@supacloud/app";
35
+
36
+ const auditAspect: Aspect = async (context, next) => {
35
37
  const result = await next();
36
38
  await audit.write(context, result);
37
39
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/app",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Angular-style application metadata for SupaCloud: modules, DI tokens, providers, scopes, controllers and commands",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",