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

@vechain/connex

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vechain/connex - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

71

index.d.ts

@@ -384,3 +384,3 @@ /**

origin: string
delegator?: string
delegator?: string | null
nonce: string

@@ -530,3 +530,3 @@ dependsOn: string | null

*/
delegate(handler: SigningService.DelegationHandler): this
delegate(handler: DelegationHandler): this

@@ -537,3 +537,3 @@ /**

*/
request(msg: SigningService.TxMessage): Promise<SigningService.TxResponse>
request(msg: TxMessage): Promise<TxResponse>
}

@@ -559,3 +559,3 @@

*/
request(msg: SigningService.CertMessage): Promise<SigningService.CertResponse>
request(msg: CertMessage): Promise<CertResponse>
}

@@ -567,43 +567,38 @@

namespace SigningService {
type TxMessage = Array<{
to: string | null
value: string | number
data?: string
/**
* comment to the clause
*/
comment?: string
}>
type TxMessage = Array<Thor.Clause & {
/** comment to the clause */
comment?: string
/** as the hint for wallet to decode clause data */
abi?: object
}>
type CertMessage = {
purpose: 'identification' | 'agreement'
payload: {
type: 'text'
content: string
}
type CertMessage = {
purpose: 'identification' | 'agreement'
payload: {
type: 'text'
content: string
}
}
type TxResponse = {
txid: string
type TxResponse = {
txid: string
signer: string
}
type CertResponse = {
annex: {
domain: string
timestamp: number
signer: string
}
signature: string
}
type CertResponse = {
annex: {
domain: string
timestamp: number
signer: string
}
signature: string
}
/**
* returns object contains signature of fee delegator
* @param unsignedTx.raw RLP-encoded unsigned tx in hex form
* @param unsignedTx.origin address of intended tx origin
*/
type DelegationHandler = (unsignedTx: { raw: string, origin: string }) => Promise<{ signature: string }>
}
/**
* returns object contains signature of fee delegator
* @param unsignedTx.raw RLP-encoded unsigned tx in hex form
* @param unsignedTx.origin address of intended tx origin
*/
type DelegationHandler = (unsignedTx: { raw: string, origin: string }) => Promise<{ signature: string }>
}

@@ -610,0 +605,0 @@ type ErrorType = 'BadParameter' | 'Rejected'

{
"name": "@vechain/connex",
"version": "1.3.1",
"version": "1.3.2",
"description": "Standard interface to connect DApp with VeChain and user",

@@ -5,0 +5,0 @@ "main": "index.js",

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