@hazeljs/guardrails 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -90,13 +90,13 @@ export class ChatController {
90
90
 
91
91
  ```typescript
92
92
  import { Controller, Post, Body } from '@hazeljs/core';
93
- import { AIService, AITask } from '@hazeljs/ai';
93
+ import { AIEnhancedService, AITask } from '@hazeljs/ai';
94
94
  import { GuardrailsService, GuardrailInput, GuardrailOutput } from '@hazeljs/guardrails';
95
95
 
96
96
  @Controller({ path: '/chat' })
97
97
  export class ChatController {
98
98
  constructor(
99
- private aiService: AIService,
99
+ public aiService: AIEnhancedService,
100
100
  private guardrailsService: GuardrailsService
101
101
  ) {}
102
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazeljs/guardrails",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Content safety, PII handling, and output validation for HazelJS AI applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "homepage": "https://hazeljs.ai",
53
53
  "peerDependencies": {
54
- "@hazeljs/core": "^1.0.1"
54
+ "@hazeljs/core": "^1.0.2"
55
55
  },
56
56
  "gitHead": "083b94562940a86c8e0a8cd81988d04b541608ac"
57
57
  }