@0xsequence/signhub
Advanced tools
Comparing version 1.10.15 to 2.0.0
@@ -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]) | ||
} | ||
} |
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
49523
+ Added@0xsequence/abi@2.0.0(transitive)
+ Added@0xsequence/core@2.0.0(transitive)
+ Added@0xsequence/utils@2.0.0(transitive)
+ Added@adraffy/ens-normalize@1.10.1(transitive)
+ Added@noble/curves@1.2.0(transitive)
+ Added@noble/hashes@1.3.2(transitive)
+ Added@types/node@22.7.5(transitive)
+ Addedaes-js@4.0.0-beta.5(transitive)
+ Addedethers@6.13.4(transitive)
+ Addedjs-base64@3.7.7(transitive)
+ Addedtslib@2.7.0(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedws@8.17.1(transitive)
- Removed@0xsequence/abi@1.10.15(transitive)
- Removed@0xsequence/core@1.10.15(transitive)
- Removed@ethersproject/abi@5.7.0(transitive)
- Removed@ethersproject/abstract-provider@5.7.0(transitive)
- Removed@ethersproject/abstract-signer@5.7.0(transitive)
- Removed@ethersproject/address@5.7.0(transitive)
- Removed@ethersproject/base64@5.7.0(transitive)
- Removed@ethersproject/basex@5.7.0(transitive)
- Removed@ethersproject/bignumber@5.7.0(transitive)
- Removed@ethersproject/bytes@5.7.0(transitive)
- Removed@ethersproject/constants@5.7.0(transitive)
- Removed@ethersproject/contracts@5.7.0(transitive)
- Removed@ethersproject/hash@5.7.0(transitive)
- Removed@ethersproject/hdnode@5.7.0(transitive)
- Removed@ethersproject/json-wallets@5.7.0(transitive)
- Removed@ethersproject/keccak256@5.7.0(transitive)
- Removed@ethersproject/logger@5.7.0(transitive)
- Removed@ethersproject/networks@5.7.1(transitive)
- Removed@ethersproject/pbkdf2@5.7.0(transitive)
- Removed@ethersproject/properties@5.7.0(transitive)
- Removed@ethersproject/providers@5.7.2(transitive)
- Removed@ethersproject/random@5.7.0(transitive)
- Removed@ethersproject/rlp@5.7.0(transitive)
- Removed@ethersproject/sha2@5.7.0(transitive)
- Removed@ethersproject/signing-key@5.7.0(transitive)
- Removed@ethersproject/solidity@5.7.0(transitive)
- Removed@ethersproject/strings@5.7.0(transitive)
- Removed@ethersproject/transactions@5.7.0(transitive)
- Removed@ethersproject/units@5.7.0(transitive)
- Removed@ethersproject/wallet@5.7.0(transitive)
- Removed@ethersproject/web@5.7.1(transitive)
- Removed@ethersproject/wordlists@5.7.0(transitive)
- Removedaes-js@3.0.0(transitive)
- Removedbech32@1.1.4(transitive)
- Removedbn.js@4.12.05.2.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedelliptic@6.5.4(transitive)
- Removedethers@5.7.2(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjs-sha3@0.8.0(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedscrypt-js@3.0.1(transitive)
- Removedws@7.4.6(transitive)
Updated@0xsequence/core@2.0.0
Updatedethers@^6.13.0