diff --git a/client-js/README.md b/client-js/README.md index f435357f..ee22513d 100644 --- a/client-js/README.md +++ b/client-js/README.md @@ -15,8 +15,8 @@ It can be treated as a deploy builder for all of the possible interactions: ## Usage -1. To install, run `npm i -S capser-cep78-js-client`. -2. Import the contract in your code `import { CEP78Client } from 'capser-cep78-js-client'` +1. To install, run `npm i -S casper-cep78-js-client`. +2. Import the contract in your code `import { CEP78Client } from 'casper-cep78-js-client'` 3. If you want to install it, look at the `install` method and all of the possible configuration options (`InstallArgs`). 4. If you want to start working with a previously installed contract, use the `setContractHash(contractHash)` method. diff --git a/client-js/package.json b/client-js/package.json index ba96fd96..0a8270a7 100644 --- a/client-js/package.json +++ b/client-js/package.json @@ -1,10 +1,12 @@ { + "name": "casper-cep78-js-client", - "version": "1.0.0", + "version": "1.0.1", "description": "CEP78 Enhanced NFT JS Client", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { + "prepublishOnly": "npm run build && npm run test", "dev": "tsc --watch", "build": "tsc", "test": "jest",