UNPKG

@renegade-fi/core

Version:
13 lines 476 B
import { withdrawRequest, } from "../actions/withdrawRequest.js"; import { ConfigRequiredError } from "../errors/base.js"; export function withdrawRequestMutationOptions(config) { return { mutationFn(variables) { if (!config) throw new ConfigRequiredError("withdrawRequest"); return withdrawRequest(config, variables); }, mutationKey: ["withdrawRequest"], }; } //# sourceMappingURL=withdrawRequest.js.map