- 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>
37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
(function (factory) {
|
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
var v = factory(require, exports);
|
|
if (v !== undefined) module.exports = v;
|
|
}
|
|
else if (typeof define === "function" && define.amd) {
|
|
define(["require", "exports"], factory);
|
|
}
|
|
})(function (require, exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.runExecutionDataV0ToV1 = runExecutionDataV0ToV1;
|
|
function runExecutionDataV0ToV1(data) {
|
|
const destinationNodeV0 = data.startData?.destinationNode;
|
|
const originalDestinationNodeV0 = data.startData?.originalDestinationNode;
|
|
return {
|
|
...data,
|
|
version: 1,
|
|
startData: {
|
|
...data.startData,
|
|
destinationNode: destinationNodeV0
|
|
? {
|
|
nodeName: destinationNodeV0,
|
|
mode: 'inclusive',
|
|
}
|
|
: undefined,
|
|
originalDestinationNode: originalDestinationNodeV0
|
|
? {
|
|
nodeName: originalDestinationNodeV0,
|
|
mode: 'inclusive',
|
|
}
|
|
: undefined,
|
|
},
|
|
};
|
|
}
|
|
});
|
|
//# sourceMappingURL=run-execution-data.v1.js.map
|