@0xsequence/relayer
Advanced tools
Comparing version 0.10.6 to 0.10.7
# @0xsequence/relayer | ||
## 0.10.7 | ||
### Patch Changes | ||
- allow provider transport to force disconnect | ||
- Updated dependencies [undefined] | ||
- @0xsequence/abi@0.10.7 | ||
- @0xsequence/chaind@0.10.7 | ||
- @0xsequence/config@0.10.7 | ||
- @0xsequence/transactions@0.10.7 | ||
## 0.10.6 | ||
@@ -4,0 +15,0 @@ |
@@ -217,5 +217,5 @@ 'use strict'; | ||
// TODO: Add compatiblity for different refund options | ||
const tokenFee = (await this.chaindService.tokenFee()).fee; // No gas refund required | ||
const tokenFee = await this.chaindService.tokenFee(); // No gas refund required | ||
if (tokenFee === ethers.ethers.constants.AddressZero) { | ||
if (!tokenFee.isFee || tokenFee.fee === ethers.ethers.constants.AddressZero) { | ||
return [[]]; | ||
@@ -233,3 +233,3 @@ } | ||
const res = await this.chaindService.estimateMetaTxnGasReceipt({ | ||
feeToken: tokenFee, | ||
feeToken: tokenFee.fee, | ||
call: { | ||
@@ -236,0 +236,0 @@ contract: addr, |
@@ -217,5 +217,5 @@ 'use strict'; | ||
// TODO: Add compatiblity for different refund options | ||
const tokenFee = (await this.chaindService.tokenFee()).fee; // No gas refund required | ||
const tokenFee = await this.chaindService.tokenFee(); // No gas refund required | ||
if (tokenFee === ethers.ethers.constants.AddressZero) { | ||
if (!tokenFee.isFee || tokenFee.fee === ethers.ethers.constants.AddressZero) { | ||
return [[]]; | ||
@@ -233,3 +233,3 @@ } | ||
const res = await this.chaindService.estimateMetaTxnGasReceipt({ | ||
feeToken: tokenFee, | ||
feeToken: tokenFee.fee, | ||
call: { | ||
@@ -236,0 +236,0 @@ contract: addr, |
@@ -209,5 +209,5 @@ import { ethers } from 'ethers'; | ||
// TODO: Add compatiblity for different refund options | ||
const tokenFee = (await this.chaindService.tokenFee()).fee; // No gas refund required | ||
const tokenFee = await this.chaindService.tokenFee(); // No gas refund required | ||
if (tokenFee === ethers.constants.AddressZero) { | ||
if (!tokenFee.isFee || tokenFee.fee === ethers.constants.AddressZero) { | ||
return [[]]; | ||
@@ -225,3 +225,3 @@ } | ||
const res = await this.chaindService.estimateMetaTxnGasReceipt({ | ||
feeToken: tokenFee, | ||
feeToken: tokenFee.fee, | ||
call: { | ||
@@ -228,0 +228,0 @@ contract: addr, |
{ | ||
"name": "@0xsequence/relayer", | ||
"version": "0.10.6", | ||
"version": "0.10.7", | ||
"description": "relayer sub-package for Sequence", | ||
@@ -16,6 +16,6 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/relayer", | ||
"dependencies": { | ||
"@0xsequence/abi": "^0.10.6", | ||
"@0xsequence/chaind": "^0.10.6", | ||
"@0xsequence/config": "^0.10.6", | ||
"@0xsequence/transactions": "^0.10.6", | ||
"@0xsequence/abi": "^0.10.7", | ||
"@0xsequence/chaind": "^0.10.7", | ||
"@0xsequence/config": "^0.10.7", | ||
"@0xsequence/transactions": "^0.10.7", | ||
"ethers": "^5.0.32", | ||
@@ -22,0 +22,0 @@ "fetch-ponyfill": "^7.1.0" |
@@ -52,6 +52,6 @@ import { TransactionResponse, Provider, BlockTag } from '@ethersproject/providers' | ||
// TODO: Add compatiblity for different refund options | ||
const tokenFee = (await this.chaindService.tokenFee()).fee | ||
const tokenFee = await this.chaindService.tokenFee() | ||
// No gas refund required | ||
if (tokenFee === ethers.constants.AddressZero) { | ||
if (!tokenFee.isFee || tokenFee.fee === ethers.constants.AddressZero) { | ||
return [[]] | ||
@@ -70,3 +70,3 @@ } | ||
const res = await this.chaindService.estimateMetaTxnGasReceipt({ | ||
feeToken: tokenFee, | ||
feeToken: tokenFee.fee, | ||
call: { | ||
@@ -73,0 +73,0 @@ contract: addr, |
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
62188
Updated@0xsequence/abi@^0.10.7
Updated@0xsequence/chaind@^0.10.7
Updated@0xsequence/config@^0.10.7