Skip to content

Commit

Permalink
fix: update imports from ethr-did-registry and bump package
Browse files Browse the repository at this point in the history
  • Loading branch information
nickreynolds committed Sep 1, 2022
1 parent 7760a21 commit ec6ea8a
Show file tree
Hide file tree
Showing 6 changed files with 610 additions and 10 deletions.
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/index.module.js"
"import": "./lib/index.modern.js"
}
},
"typesVersions": {
"*": {
"lib/index.d.ts": [
"lib/index.d.ts"
],
"*": [
"./lib/index.d.js"
]
}
},
"repository": {
Expand Down Expand Up @@ -98,7 +108,6 @@
"@ethersproject/contracts": "^5.6.2",
"@ethersproject/providers": "^5.6.8",
"@ethersproject/transactions": "^5.6.2",
"did-resolver": "^4.0.0",
"ethr-did-registry": "^1.0.0"
"did-resolver": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/resolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Contract, ContractFactory } from '@ethersproject/contracts'
import { Resolvable, Resolver } from 'did-resolver'
import { getResolver } from '../resolver'
import { EthrDidController } from '../controller'
import { EthereumDIDRegistry } from 'ethr-did-registry'
import { default as EthereumDIDRegistry } from '../config/EthereumDIDRegistry.json'
import { interpretIdentifier, stringToBytes32 } from '../helpers'
import { createProvider, sleep, startMining, stopMining } from './testUtils'
import { nullAddress } from '../helpers'
Expand Down
Loading

0 comments on commit ec6ea8a

Please sign in to comment.