@vechain/connex-framework
Advanced tools
Comparing version 2.0.12 to 2.1.0
/// <reference types="@vechain/connex-types" /> | ||
/** Connex driver interface */ | ||
declare namespace Connex { | ||
interface Driver { | ||
interface Driver extends Connex.Signer { | ||
readonly genesis: Thor.Block; | ||
@@ -22,4 +22,2 @@ /** current known head */ | ||
filterTransferLogs(arg: Driver.FilterTransferLogsArg, cacheHints?: string[]): Promise<Thor.Filter.Row<'transfer'>[]>; | ||
signTx(msg: Vendor.TxMessage, options: Driver.TxOptions): Promise<Vendor.TxResponse>; | ||
signCert(msg: Vendor.CertMessage, option: Driver.CertOptions): Promise<Vendor.CertResponse>; | ||
} | ||
@@ -51,20 +49,3 @@ namespace Driver { | ||
}; | ||
type TxOptions = { | ||
signer?: string; | ||
gas?: number; | ||
dependsOn?: string; | ||
link?: string; | ||
comment?: string; | ||
delegator?: { | ||
url: string; | ||
signer?: string; | ||
}; | ||
onAccepted?: () => void; | ||
}; | ||
type CertOptions = { | ||
signer?: string; | ||
link?: string; | ||
onAccepted?: () => void; | ||
}; | ||
} | ||
} |
/// <reference types="@vechain/connex-types" /> | ||
export declare function newVendor(driver: Connex.Driver): Connex.Vendor; | ||
export declare function newTxSigningService(readyDriver: Promise<Connex.Driver>, msg: Connex.Vendor.TxMessage): Connex.Vendor.TxSigningService; | ||
export declare function newVendor(driver: Connex.Signer): Connex.Vendor; | ||
export declare function newTxSigningService(readyDriver: Promise<Connex.Signer>, msg: Connex.Vendor.TxMessage): Connex.Vendor.TxSigningService; |
{ | ||
"name": "@vechain/connex-framework", | ||
"version": "2.0.12", | ||
"version": "2.1.0", | ||
"description": "A library implements VeChain Connex interface", | ||
@@ -35,3 +35,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@vechain/connex-types": "^2.0.12", | ||
"@vechain/connex-types": "^2.1.0", | ||
"bignumber.js": "^7.2.1", | ||
@@ -41,4 +41,3 @@ "thor-devkit": "^2.0.5", | ||
}, | ||
"sideEffects": false, | ||
"gitHead": "8c6f2e9a8e7a2836e91388281c088552bf8f64c3" | ||
"sideEffects": false | ||
} |
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
172077
2068
Updated@vechain/connex-types@^2.1.0