New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/relayer

Package Overview
Dependencies
Maintainers
5
Versions
524
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.28.0 to 0.29.0

26

CHANGELOG.md
# @0xsequence/relayer
## 0.29.0
### Minor Changes
- major architectural changes in Sequence design
- only one API instance, API is no longer a per-chain service
- separate per-chain indexer service, API no longer handles indexing
- single contract metadata service, API no longer serves metadata
chaind package has been removed, indexer and metadata packages have been added
stronger typing with new explicit ChainId type
multicall fixes and improvements
forbid "wait" transactions in sendTransactionBatch calls
### Patch Changes
- Updated dependencies [undefined]
- @0xsequence/config@0.29.0
- @0xsequence/transactions@0.29.0
- @0xsequence/abi@0.29.0
- @0xsequence/utils@0.29.0
## 0.28.0

@@ -4,0 +30,0 @@

6

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

@@ -285,3 +285,3 @@ 'use strict';

/* eslint-disable */
// sequence-relayer v0.4.0 6b6303fe186386d98b2bc79678870dbad2d3cf60
// sequence-relayer v0.4.0 fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2
// --

@@ -295,3 +295,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

const WebRPCSchemaHash = "6b6303fe186386d98b2bc79678870dbad2d3cf60"; //
const WebRPCSchemaHash = "fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2"; //
// Types

@@ -548,3 +548,3 @@ //

if (typeof metaTxnHash !== 'string') {
console.log("computing id", metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions);
console.log('computing id', metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions);
return this.waitReceipt(transactions.computeMetaTxnHash(config.addressOf(metaTxnHash.config, metaTxnHash.context), metaTxnHash.chainId, ...metaTxnHash.transactions));

@@ -551,0 +551,0 @@ }

@@ -285,3 +285,3 @@ 'use strict';

/* eslint-disable */
// sequence-relayer v0.4.0 6b6303fe186386d98b2bc79678870dbad2d3cf60
// sequence-relayer v0.4.0 fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2
// --

@@ -295,3 +295,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

const WebRPCSchemaHash = "6b6303fe186386d98b2bc79678870dbad2d3cf60"; //
const WebRPCSchemaHash = "fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2"; //
// Types

@@ -548,3 +548,3 @@ //

if (typeof metaTxnHash !== 'string') {
console.log("computing id", metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions);
console.log('computing id', metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions);
return this.waitReceipt(transactions.computeMetaTxnHash(config.addressOf(metaTxnHash.config, metaTxnHash.context), metaTxnHash.chainId, ...metaTxnHash.transactions));

@@ -551,0 +551,0 @@ }

@@ -277,3 +277,3 @@ import { providers, ethers, Signer } from 'ethers';

/* eslint-disable */
// sequence-relayer v0.4.0 6b6303fe186386d98b2bc79678870dbad2d3cf60
// sequence-relayer v0.4.0 fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2
// --

@@ -287,3 +287,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

const WebRPCSchemaHash = "6b6303fe186386d98b2bc79678870dbad2d3cf60"; //
const WebRPCSchemaHash = "fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2"; //
// Types

@@ -540,3 +540,3 @@ //

if (typeof metaTxnHash !== 'string') {
console.log("computing id", metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions);
console.log('computing id', metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions);
return this.waitReceipt(computeMetaTxnHash(addressOf(metaTxnHash.config, metaTxnHash.context), metaTxnHash.chainId, ...metaTxnHash.transactions));

@@ -543,0 +543,0 @@ }

@@ -0,0 +0,0 @@ import { ethers, providers } from "ethers";

@@ -0,0 +0,0 @@ import { ethers, providers } from 'ethers';

@@ -0,0 +0,0 @@ import { TransactionResponse } from '@ethersproject/providers';

@@ -0,0 +0,0 @@ import { TransactionResponse, BlockTag, Provider } from '@ethersproject/providers';

@@ -0,0 +0,0 @@ import { TransactionResponse } from '@ethersproject/providers';

export declare const WebRPCVersion = "v1";
export declare const WebRPCSchemaVersion = "v0.4.0";
export declare const WebRPCSchemaHash = "6b6303fe186386d98b2bc79678870dbad2d3cf60";
export declare const WebRPCSchemaHash = "fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2";
export declare enum ETHTxnStatus {

@@ -43,5 +43,10 @@ UNKNOWN = "UNKNOWN",

commitHash: string;
senders: Array<string>;
senders: Array<SenderStatus>;
checks: RuntimeChecks;
}
export interface SenderStatus {
index: number;
address: string;
active: boolean;
}
export interface RuntimeChecks {

@@ -73,3 +78,3 @@ }

id: number;
txnHash?: string;
txnHash: string;
txnNonce: string;

@@ -76,0 +81,0 @@ metaTxnID?: string;

{
"name": "@0xsequence/relayer",
"version": "0.28.0",
"version": "0.29.0",
"description": "relayer sub-package for Sequence",

@@ -20,7 +20,6 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/relayer",

"dependencies": {
"@0xsequence/abi": "^0.28.0",
"@0xsequence/chaind": "^0.28.0",
"@0xsequence/config": "^0.28.0",
"@0xsequence/transactions": "^0.28.0",
"@0xsequence/utils": "^0.28.0",
"@0xsequence/abi": "^0.29.0",
"@0xsequence/config": "^0.29.0",
"@0xsequence/transactions": "^0.29.0",
"@0xsequence/utils": "^0.29.0",
"@ethersproject/providers": "^5.0.24",

@@ -27,0 +26,0 @@ "ethers": "^5.0.32",

@@ -24,7 +24,3 @@ import { TransactionResponse } from '@ethersproject/providers'

const FAILED_STATUSES = [
proto.ETHTxnStatus.FAILED,
proto.ETHTxnStatus.PARTIALLY_FAILED,
proto.ETHTxnStatus.DROPPED
]
const FAILED_STATUSES = [proto.ETHTxnStatus.FAILED, proto.ETHTxnStatus.PARTIALLY_FAILED, proto.ETHTxnStatus.DROPPED]

@@ -49,3 +45,3 @@ export interface RpcRelayerOptions extends BaseRelayerOptions {

if (typeof metaTxnHash !== 'string') {
console.log("computing id", metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions)
console.log('computing id', metaTxnHash.config, metaTxnHash.context, metaTxnHash.chainId, ...metaTxnHash.transactions)
return this.waitReceipt(

@@ -99,3 +95,3 @@ computeMetaTxnHash(addressOf(metaTxnHash.config, metaTxnHash.context), metaTxnHash.chainId, ...metaTxnHash.transactions)

threshold: config.threshold,
chainId: config.chainId,
chainId: config.chainId
},

@@ -102,0 +98,0 @@ payload: encoded

/* eslint-disable */
// sequence-relayer v0.4.0 6b6303fe186386d98b2bc79678870dbad2d3cf60
// sequence-relayer v0.4.0 fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2
// --

@@ -14,3 +14,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

// Schema hash generated from your RIDL schema
export const WebRPCSchemaHash = "6b6303fe186386d98b2bc79678870dbad2d3cf60"
export const WebRPCSchemaHash = "fc9652e2bc0c3df8d1ce0b4a8e24ab8790e4dae2"

@@ -65,6 +65,12 @@

commitHash: string
senders: Array<string>
senders: Array<SenderStatus>
checks: RuntimeChecks
}
export interface SenderStatus {
index: number
address: string
active: boolean
}
export interface RuntimeChecks {

@@ -101,3 +107,3 @@ }

id: number
txnHash?: string
txnHash: string
txnNonce: string

@@ -104,0 +110,0 @@ metaTxnID?: string

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