Socket
Socket
Sign inDemoInstall

@0xsequence/relayer

Package Overview
Dependencies
Maintainers
3
Versions
475
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/relayer - npm Package Compare versions

Comparing version 0.10.6 to 0.10.7

11

CHANGELOG.md
# @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 @@

6

dist/0xsequence-relayer.cjs.dev.js

@@ -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,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc