@aryaminus/controlkeel-opencode 0.3.19 → 0.3.21

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.
@@ -331,8 +331,8 @@ export class GovernedCFAgent extends Agent<Env, { cwd: string }> {
331
331
  }
332
332
 
333
333
  private async validateAction(action: string, payload: any) {
334
- const stub = this.env.CK_GOVERNANCE.get(this.env.CK_GOVERNANCE.idFromName("default"));
335
- return await stub.validate({ action, payload, context: this.state });
334
+ const governanceObject = this.env.CK_GOVERNANCE.get(this.env.CK_GOVERNANCE.idFromName("default"));
335
+ return await governanceObject.validate({ action, payload, context: this.state });
336
336
  }
337
337
 
338
338
  private async log(action: string, payload: any) {
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "url": "git+https://github.com/aryaminus/controlkeel.git"
36
36
  },
37
37
  "type": "module",
38
- "version": "0.3.19"
38
+ "version": "0.3.21"
39
39
  }