Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/signhub

Package Overview
Dependencies
Maintainers
6
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/signhub - npm Package Compare versions

Comparing version 1.10.15 to 2.0.0

6

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

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

}
sign(message, metadata) {
sign(message) {
return this.signer.signMessage(message);

@@ -35,3 +35,3 @@ }

suffix() {
return [2];
return new Uint8Array([2]);
}

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

static randomTag() {
return `default-${ethers.ethers.utils.hexlify(ethers.ethers.utils.randomBytes(8)).slice(2)}`;
return `default-${ethers.ethers.hexlify(ethers.ethers.randomBytes(8)).slice(2)}`;
}

@@ -76,0 +76,0 @@ pullId() {

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

}
sign(message, metadata) {
sign(message) {
return this.signer.signMessage(message);

@@ -35,3 +35,3 @@ }

suffix() {
return [2];
return new Uint8Array([2]);
}

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

static randomTag() {
return `default-${ethers.ethers.utils.hexlify(ethers.ethers.utils.randomBytes(8)).slice(2)}`;
return `default-${ethers.ethers.hexlify(ethers.ethers.randomBytes(8)).slice(2)}`;
}

@@ -76,0 +76,0 @@ pullId() {

@@ -25,3 +25,3 @@ import { ethers } from 'ethers';

}
sign(message, metadata) {
sign(message) {
return this.signer.signMessage(message);

@@ -31,3 +31,3 @@ }

suffix() {
return [2];
return new Uint8Array([2]);
}

@@ -69,3 +69,3 @@ }

static randomTag() {
return `default-${ethers.utils.hexlify(ethers.utils.randomBytes(8)).slice(2)}`;
return `default-${ethers.hexlify(ethers.randomBytes(8)).slice(2)}`;
}

@@ -72,0 +72,0 @@ pullId() {

@@ -13,5 +13,5 @@ import { ethers } from 'ethers';

decorateTransactions(bundle: commons.transaction.IntendedTransactionBundle, _metadata: object): Promise<commons.transaction.IntendedTransactionBundle>;
sign(message: ethers.utils.BytesLike, metadata: object): Promise<ethers.utils.BytesLike>;
sign(message: ethers.BytesLike): Promise<ethers.BytesLike>;
notifyStatusChange(_i: string, _s: Status, _m: object): void;
suffix(): ethers.BytesLike;
}
{
"name": "@0xsequence/signhub",
"version": "1.10.15",
"version": "2.0.0",
"description": "orchestrates a series of signers, provides visibility into the signing process, and to the signers themselves",

@@ -12,4 +12,4 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/signhub",

"dependencies": {
"ethers": "^5.5.2",
"@0xsequence/core": "1.10.15"
"ethers": "^6.13.0",
"@0xsequence/core": "2.0.0"
},

@@ -26,6 +26,6 @@ "peerDependencies": {},

"scripts": {
"test": "yarn test:file tests/**/*.spec.ts",
"test": "pnpm test:file tests/**/*.spec.ts",
"test:file": "TS_NODE_PROJECT=../../tsconfig.test.json mocha -r ts-node/register --timeout 30000",
"test:coverage": "nyc yarn test"
"test:coverage": "nyc pnpm test"
}
}

@@ -73,3 +73,3 @@ import { ethers } from 'ethers'

private static randomTag(): string {
return `default-${ethers.utils.hexlify(ethers.utils.randomBytes(8)).slice(2)}`
return `default-${ethers.hexlify(ethers.randomBytes(8)).slice(2)}`
}

@@ -76,0 +76,0 @@

@@ -32,3 +32,3 @@ import { ethers } from 'ethers'

sign(message: ethers.utils.BytesLike, metadata: object): Promise<ethers.utils.BytesLike> {
sign(message: ethers.BytesLike): Promise<ethers.BytesLike> {
return this.signer.signMessage(message)

@@ -40,4 +40,4 @@ }

suffix(): ethers.BytesLike {
return [2]
return new Uint8Array([2])
}
}
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