Skip to content

Commit

Permalink
Update package.json version to 1.1.0, add .npmrc.example file, and up…
Browse files Browse the repository at this point in the history
…date README.md with installation instructions
  • Loading branch information
keohanoi committed Apr 20, 2024
1 parent df7cd4c commit 23f8b20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .npmrc.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//npm.pkg.github.com/:_authToken=<YOUR_GITHUB_TOKEN>
@keohanoi:registry=https://npm.pkg.github.com
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# First Step
## Install
# Installation
```bash
npm install @keohanoi/injective-operator@latest
```

```bash
cp ./.npmrc.example .npmrc
```
Open `.npmrc` file and replace `<YOUR_GITHUB_TOKEN>` with your own github token.
# Example
These examples are using for an CW20 contract whose msg is defined here: [CW20 Msg](https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw20-base/src/msg.rs)
## Injective Protocol
### Store Code
```typescript
import { InjectiveOperator, Network, MsgStoreCode } from "@keohanoi/injective-operator";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keohanoi/injective-operator",
"version": "1.0.13",
"version": "1.1.0",
"description": "Injective Operator",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 23f8b20

Please sign in to comment.