@gelatonetwork/relay-sdk
Advanced tools
Comparing version 1.0.1-3 to 1.0.1-4
@@ -16,3 +16,2 @@ "use strict"; | ||
const transferFrom_1 = require("./transferFrom"); | ||
// TODO: JSDOC | ||
/** | ||
@@ -19,0 +18,0 @@ * @function |
@@ -24,3 +24,3 @@ "use strict"; | ||
const verifyingContract = (0, constants_1.getRelayAddress)(struct.chainId); | ||
const domain = (0, utils_2.getEIP712Domain)("GelatoRelay", "1", struct.chainId, verifyingContract); | ||
const domain = (0, utils_2.getEIP712Domain)("GelatoRelayWithTransferFrom", "1", struct.chainId, verifyingContract); | ||
return { | ||
@@ -27,0 +27,0 @@ domain, |
@@ -16,5 +16,5 @@ "use strict"; | ||
const getFeeToken = (chainId, address) => __awaiter(void 0, void 0, void 0, function* () { | ||
const sponsorBalance = yield (0, _1balance_sdk_1.getSponsorBalance)(chainId, address); | ||
const sponsorBalance = yield _1balance_sdk_1.OneBalanceSDK.getSponsorBalance(chainId, address); | ||
return (0, utils_1.getAddress)(sponsorBalance.token.address); | ||
}); | ||
exports.getFeeToken = getFeeToken; |
{ | ||
"name": "@gelatonetwork/relay-sdk", | ||
"version": "1.0.1-3", | ||
"version": "1.0.1-4", | ||
"description": "SDK to integrate with Gelato Relay", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51032
628