Initial commit: n8n Strike API node
- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
24
node_modules/@n8n/tournament/dist/FunctionEvaluator.js
generated
vendored
Normal file
24
node_modules/@n8n/tournament/dist/FunctionEvaluator.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FunctionEvaluator = void 0;
|
||||
class FunctionEvaluator {
|
||||
constructor(instance) {
|
||||
this.instance = instance;
|
||||
this._codeCache = {};
|
||||
}
|
||||
getFunction(expr) {
|
||||
if (expr in this._codeCache) {
|
||||
return this._codeCache[expr];
|
||||
}
|
||||
const [code] = this.instance.getExpressionCode(expr);
|
||||
const func = new Function('E', code + ';');
|
||||
this._codeCache[expr] = func;
|
||||
return func;
|
||||
}
|
||||
evaluate(expr, data) {
|
||||
const fn = this.getFunction(expr);
|
||||
return fn.call(data, this.instance.errorHandler);
|
||||
}
|
||||
}
|
||||
exports.FunctionEvaluator = FunctionEvaluator;
|
||||
//# sourceMappingURL=FunctionEvaluator.js.map
|
||||
Reference in New Issue
Block a user