chunk-VA6DWDJF.js•1.22 kB
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkJ3FJQ5OVjs = require('./chunk-J3FJQ5OV.js');
var _chunkYHV4C6SXjs = require('./chunk-YHV4C6SX.js');
var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
// src/txnhelper.plugin.ts
var _core = require('@goat-sdk/core');
var TransactionHelperPlugin = class extends _core.PluginBase {
static {
_chunk7QVYU63Ejs.__name.call(void 0, this, "TransactionHelperPlugin");
}
/**
* Initializes the TransactionHelperPlugin by invoking the PluginBase constructor
* with the identifier "txnhelper" and an instance of TransactionHelperService
* using the provided parameters and a new TransactionHelperApi instance.
*/
constructor(params) {
super("txnhelper", [
new (0, _chunkYHV4C6SXjs.TransactionHelperService)(new (0, _chunkJ3FJQ5OVjs.TransactionHelperApi)(), params)
]);
}
supportsChain(chain) {
return chain.type === "solana";
}
};
function txnhelper() {
return new TransactionHelperPlugin();
}
_chunk7QVYU63Ejs.__name.call(void 0, txnhelper, "txnhelper");
exports.TransactionHelperPlugin = TransactionHelperPlugin; exports.txnhelper = txnhelper;
//# sourceMappingURL=chunk-VA6DWDJF.js.map