blockintel-gate-sdk 0.3.4 → 0.3.6

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
@@ -1990,10 +1990,26 @@ function createGateClient(config) {
1990
1990
  return new GateClient(config);
1991
1991
  }
1992
1992
 
1993
+ // src/client/Gate.ts
1994
+ var Gate = class {
1995
+ apiKey;
1996
+ constructor(opts) {
1997
+ this.apiKey = opts?.apiKey ?? process.env.BLOCKINTEL_API_KEY;
1998
+ }
1999
+ /**
2000
+ * Guard a signing operation. In passthrough mode, executes the callback.
2001
+ * For full Gate integration, use GateClient with evaluate() before sending.
2002
+ */
2003
+ async guard(_ctx, cb) {
2004
+ return cb();
2005
+ }
2006
+ };
2007
+
1993
2008
  exports.BlockIntelAuthError = BlockIntelAuthError;
1994
2009
  exports.BlockIntelBlockedError = BlockIntelBlockedError;
1995
2010
  exports.BlockIntelStepUpRequiredError = BlockIntelStepUpRequiredError;
1996
2011
  exports.BlockIntelUnavailableError = BlockIntelUnavailableError;
2012
+ exports.Gate = Gate;
1997
2013
  exports.GateClient = GateClient;
1998
2014
  exports.GateError = GateError;
1999
2015
  exports.GateErrorCode = GateErrorCode;