Rename contracts package

This commit is contained in:
Franck 2021-12-07 12:15:57 +11:00
parent 77e242a110
commit 271829abf6
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "@status-waku-voting/contracts", "name": "@dappconnect/vote-sdk-contracts",
"version": "0.0.1", "version": "0.0.1",
"main": "index.js", "main": "index.js",
"repository": "git@github.com:EthWorks/status-waku-voting.git", "repository": "git@github.com:EthWorks/status-waku-voting.git",

View File

@ -41,7 +41,7 @@
"typescript": "^4.3.5" "typescript": "^4.3.5"
}, },
"dependencies": { "dependencies": {
"@status-waku-voting/contracts": "^0.0.1", "@dappconnect/vote-sdk-contracts": "^0.0.1",
"eth-sig-util": "^3.0.1", "eth-sig-util": "^3.0.1",
"ethers": "^5.4.4", "ethers": "^5.4.4",
"js-waku": "^0.11.0", "js-waku": "^0.11.0",

View File

@ -1,4 +1,4 @@
import { VotingContract } from '@status-waku-voting/contracts/abi' import { VotingContract } from '@dappconnect/vote-sdk-contracts/abi'
import { WakuMessaging } from './WakuMessaging' import { WakuMessaging } from './WakuMessaging'
import { Contract, Wallet, BigNumber, ethers, utils } from 'ethers' import { Contract, Wallet, BigNumber, ethers, utils } from 'ethers'
import { Waku, WakuMessage } from 'js-waku' import { Waku, WakuMessage } from 'js-waku'