Skip to content

Commit cc10797

Browse files
committed
Update version, prepare for publish
1 parent a207385 commit cc10797

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@ To run the code in this repository, you must have Node.js 10+ on your computer a
150150
### SDK Installation
151151

152152
```bash
153-
npm install <raiden_npm_package>
153+
npm install raiden-ts
154154
```
155155

156156
Then in your JavaScript or TypeScript project:
157157

158158
```typescript
159-
import { Raiden } from 'raiden';
159+
import { Raiden } from 'raiden-ts';
160160

161161
# async factory
162162
const raiden = await Raiden.create(web3.currentProvider, 0, localStorage);

raiden/package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "raiden",
3-
"version": "0.0.1",
4-
"description": "Raiden Light Client library and utilities",
2+
"name": "raiden-ts",
3+
"version": "0.1.0",
4+
"description": "Raiden Light Client Typescript/Javascript SDK",
55
"main": "dist:cjs/index.js",
66
"module": "dist/index.js",
77
"esnext": "dist/index.js",
@@ -14,7 +14,8 @@
1414
"lint": "eslint src/**/*.ts",
1515
"clean": "rimraf dist/ dist:cjs/ contracts/ .coverage/",
1616
"contracts": "typechain --target=ethers 'src/abi/*.json' --outDir contracts",
17-
"postinstall": "npm run build"
17+
"postinstall": "npm run build",
18+
"prepare": "npm run clean && npm run build"
1819
},
1920
"repository": {
2021
"type": "git",

0 commit comments

Comments
 (0)