ethr-did-resolver
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -10,3 +10,3 @@ import { Base58 } from '@ethersproject/basex'; | ||
function _extends() { | ||
_extends = Object.assign || function (target) { | ||
_extends = Object.assign ? Object.assign.bind() : function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -24,3 +24,2 @@ var source = arguments[i]; | ||
}; | ||
return _extends.apply(this, arguments); | ||
@@ -27,0 +26,0 @@ } |
{ | ||
"name": "ethr-did-resolver", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Resolve DID documents for ethereum addresses and public keys", | ||
"type": "module", | ||
"source": "src/index.ts", | ||
"main": "lib/index.js", | ||
"module": "lib/index.module.js", | ||
"unpkg": "lib/index.umd.js", | ||
"types": "lib/index.d.ts", | ||
"umd:main": "lib/index.umd.js", | ||
"main": "./lib/index.cjs", | ||
"module": "./lib/index.module.js", | ||
"unpkg": "./lib/index.umd.js", | ||
"types": "./lib/index.d.ts", | ||
"umd:main": "./lib/index.umd.js", | ||
"exports": { | ||
".": { | ||
"require": "./lib/index.cjs", | ||
"import": "./lib/index.module.js" | ||
} | ||
}, | ||
"repository": { | ||
@@ -44,8 +51,7 @@ "type": "git", | ||
"test": "jest", | ||
"test:ci": "jest --coverage && codecov", | ||
"build:js": "microbundle --compress=false", | ||
"build": "yarn lint && yarn build:js", | ||
"test:ci": "jest --coverage", | ||
"build": "microbundle --compress=false", | ||
"format": "prettier --write \"src/**/*.[jt]s\"", | ||
"lint": "eslint --ignore-pattern \"src/**/*.test.[jt]s\" \"src/**/*.[jt]s\"", | ||
"prepublishOnly": "yarn build:js && yarn test:ci && yarn format && yarn lint", | ||
"prepublishOnly": "yarn test:ci && yarn format && yarn lint", | ||
"release": "semantic-release --debug" | ||
@@ -67,35 +73,34 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "7.16.7", | ||
"@babel/preset-env": "7.16.7", | ||
"@babel/preset-typescript": "7.16.7", | ||
"@babel/core": "7.18.2", | ||
"@babel/preset-env": "7.18.2", | ||
"@babel/preset-typescript": "7.17.12", | ||
"@semantic-release/changelog": "6.0.1", | ||
"@semantic-release/git": "10.0.1", | ||
"@types/jest": "27.4.0", | ||
"@typescript-eslint/eslint-plugin": "5.8.1", | ||
"@typescript-eslint/parser": "5.8.1", | ||
"babel-jest": "27.4.5", | ||
"codecov": "3.8.2", | ||
"eslint": "8.6.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-jest": "25.3.4", | ||
"@types/jest": "28.1.1", | ||
"@typescript-eslint/eslint-plugin": "5.27.0", | ||
"@typescript-eslint/parser": "5.27.0", | ||
"babel-jest": "28.1.0", | ||
"eslint": "8.17.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-jest": "26.5.3", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"ganache-cli": "^6.12.2", | ||
"jest": "27.4.5", | ||
"microbundle": "0.14.2", | ||
"prettier": "2.5.1", | ||
"semantic-release": "18.0.1", | ||
"typescript": "4.5.4" | ||
"ganache": "7.2.0", | ||
"jest": "28.1.0", | ||
"microbundle": "0.15.0", | ||
"prettier": "2.6.2", | ||
"semantic-release": "19.0.2", | ||
"typescript": "4.7.3" | ||
}, | ||
"dependencies": { | ||
"@ethersproject/abi": "^5.5.0", | ||
"@ethersproject/abstract-signer": "^5.5.0", | ||
"@ethersproject/address": "^5.5.0", | ||
"@ethersproject/basex": "^5.5.0", | ||
"@ethersproject/bignumber": "^5.5.0", | ||
"@ethersproject/contracts": "^5.5.0", | ||
"@ethersproject/providers": "^5.5.0", | ||
"@ethersproject/transactions": "^5.5.0", | ||
"did-resolver": "^3.1.5", | ||
"@ethersproject/abi": "^5.6.3", | ||
"@ethersproject/abstract-signer": "^5.6.2", | ||
"@ethersproject/address": "^5.6.1", | ||
"@ethersproject/basex": "^5.6.1", | ||
"@ethersproject/bignumber": "^5.6.2", | ||
"@ethersproject/contracts": "^5.6.2", | ||
"@ethersproject/providers": "^5.6.8", | ||
"@ethersproject/transactions": "^5.6.2", | ||
"did-resolver": "^3.2.2", | ||
"ethr-did-registry": "^0.0.3" | ||
} | ||
} |
@@ -117,5 +117,5 @@ [![npm](https://img.shields.io/npm/dt/ethr-did-resolver.svg)](https://www.npmjs.com/package/ethr-did-resolver) | ||
{ name: "mainnet", provider: web3.currentProvider }, | ||
{ name: "0x4", rpcUrl: "https://rinkeby.infura.io/v3/<YOUR PROJECT ID>" } | ||
{ name: "rsk:testnet", chainId: "0x1f", rpcUrl: "https://did.testnet.rsk.co:4444" } | ||
{ name: "development", rpcUrl: "http://localhost:7545", registry: "0xdca7ef03e98e0dc2b855be647c39abe984fcf21b" } | ||
{ name: "0x4", rpcUrl: "https://rinkeby.infura.io/v3/<YOUR PROJECT ID>" }, | ||
{ name: "rsk:testnet", chainId: "0x1f", rpcUrl: "https://did.testnet.rsk.co:4444" }, | ||
{ name: "development", rpcUrl: "http://localhost:7545", registry: "0xdca7ef03e98e0dc2b855be647c39abe984fcf21b" }, | ||
{ name: "myprivatenet", chainId: 123456, rpcUrl: "https://my.private.net.json.rpc.url" } | ||
@@ -122,0 +122,0 @@ ] |
import { ExternalProvider, JsonRpcProvider, Web3Provider } from '@ethersproject/providers' | ||
import ganache from 'ganache-cli' | ||
import ganache from 'ganache' | ||
@@ -7,2 +7,3 @@ export function createProvider(): JsonRpcProvider { | ||
ganache.provider({ | ||
logging: { quiet: true }, | ||
accounts: [ | ||
@@ -9,0 +10,0 @@ { |
declare module 'ganache-cli' | ||
declare module 'ethr-did-registry' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
559651
19
6497
Yes
Updated@ethersproject/abi@^5.6.3
Updated@ethersproject/basex@^5.6.1
Updateddid-resolver@^3.2.2