@vechain/sdk-hardhat-plugin
Advanced tools
Comparing version 1.0.0-beta.27 to 1.0.0-beta.29
@@ -71,2 +71,3 @@ "use strict"; | ||
var import_sdk_ethers_adapter = require("@vechain/sdk-ethers-adapter"); | ||
var import_sdk_errors2 = require("@vechain/sdk-errors"); | ||
(0, import_config2.extendEnvironment)((hre) => { | ||
@@ -135,3 +136,7 @@ const networkName = hre.network.name; | ||
getImpersonatedSigner: (_address) => { | ||
throw new Error("Not implemented yet"); | ||
throw new import_sdk_errors2.FunctionNotImplemented( | ||
"getImpersonatedSigner()", | ||
"Method not implemented", | ||
{ functionName: "getImpersonatedSigner" } | ||
); | ||
}, | ||
@@ -138,0 +143,0 @@ getContractAtFromArtifact: import_helpers2.getContractAtFromArtifact.bind( |
{ | ||
"name": "@vechain/sdk-hardhat-plugin", | ||
"version": "1.0.0-beta.27", | ||
"version": "1.0.0-beta.29", | ||
"description": "This module allows to create smart contracts and interact with them using the vechain SDK and Hardhat", | ||
@@ -19,5 +19,5 @@ "author": "vechain Foundation", | ||
"private": false, | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -31,2 +31,4 @@ "dist", | ||
"scripts": { | ||
"start-thor-solo": "echo 'Starting thor solo node ...' && docker compose up -d --wait && echo '\nThor solo node started ...'", | ||
"stop-thor-solo": "echo 'Stopping thor solo node ...' && docker compose down && echo 'Thor solo node stopped ...'", | ||
"build": "rm -rf ./dist && tsup-node src/index.ts --format cjs,esm --dts", | ||
@@ -37,7 +39,9 @@ "lint": "eslint --ext .ts src --ext .ts tests", | ||
"test:integration": "rm -rf ./coverageIntegration && jest --coverage --coverageDirectory=coverageIntegration --group=integration", | ||
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit" | ||
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit", | ||
"test:solo": "(yarn start-thor-solo && yarn test && yarn stop-thor-solo) || yarn stop-thor-solo" | ||
}, | ||
"dependencies": { | ||
"@vechain/sdk-network": "1.0.0-beta.27", | ||
"@vechain/sdk-ethers-adapter": "1.0.0-beta.27" | ||
"@vechain/sdk-network": "1.0.0-beta.29", | ||
"@vechain/sdk-errors": "1.0.0-beta.29", | ||
"@vechain/sdk-ethers-adapter": "1.0.0-beta.29" | ||
}, | ||
@@ -44,0 +48,0 @@ "devDependencies": { |
@@ -21,2 +21,3 @@ import { | ||
* @returns The wallet. | ||
* @throws {JSONRPCInternalError} | ||
*/ | ||
@@ -23,0 +24,0 @@ const createWalletFromHardhatNetworkConfig = ( |
@@ -29,2 +29,3 @@ import { createWalletFromHardhatNetworkConfig } from './helpers'; | ||
import { type FactoryOptions } from '@nomicfoundation/hardhat-ethers/src/types'; | ||
import { FunctionNotImplemented } from '@vechain/sdk-errors'; | ||
@@ -143,3 +144,7 @@ /** | ||
getImpersonatedSigner: (_address: string) => { | ||
throw new Error('Not implemented yet'); | ||
throw new FunctionNotImplemented( | ||
'getImpersonatedSigner()', | ||
'Method not implemented', | ||
{ functionName: 'getImpersonatedSigner' } | ||
); | ||
}, | ||
@@ -146,0 +151,0 @@ |
Sorry, the diff of this file is not supported yet
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
31078
633
3
+ Added@vechain/sdk-core@1.0.0-beta.29(transitive)
+ Added@vechain/sdk-errors@1.0.0-beta.29(transitive)
+ Added@vechain/sdk-ethers-adapter@1.0.0-beta.29(transitive)
+ Added@vechain/sdk-logging@1.0.0-beta.29(transitive)
+ Added@vechain/sdk-network@1.0.0-beta.29(transitive)
- Removed@vechain/sdk-core@1.0.0-beta.27(transitive)
- Removed@vechain/sdk-errors@1.0.0-beta.27(transitive)
- Removed@vechain/sdk-ethers-adapter@1.0.0-beta.27(transitive)
- Removed@vechain/sdk-logging@1.0.0-beta.27(transitive)
- Removed@vechain/sdk-network@1.0.0-beta.27(transitive)