@tryvira/sdk 0.1.36 → 0.1.37

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 +6 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -110,7 +110,12 @@ const imported = await vira.importPack({
110
110
  });
111
111
 
112
112
  const packId = String(imported.body.pack.id);
113
- await vira.installPack(packId, {});
113
+ // The second argument is the variables dictionary itself.
114
+ // Do not wrap it in `{ variables: ... }`.
115
+ await vira.installPack(packId, {
116
+ region: "eu",
117
+ response_style: "concise",
118
+ });
114
119
  const evaluation = await vira.evaluatePack(packId, {
115
120
  evaluationId: "evaluation-from-vira-provider",
116
121
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/sdk",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Typed Vira SDK for connect-once, observation and governed runtime execution.",
5
5
  "keywords": ["vira", "ai-governance", "ai-runtime", "semantic-routing"],
6
6
  "engines": {"node": ">=20"},