From 23f8b202fdc25eba134d7666fe5c54282e161fc0 Mon Sep 17 00:00:00 2001 From: Khang Nguyen Truong Date: Sun, 21 Apr 2024 04:03:05 +0700 Subject: [PATCH] Update package.json version to 1.1.0, add .npmrc.example file, and update README.md with installation instructions --- .npmrc.example | 2 ++ README.md | 9 +++++---- package.json | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 .npmrc.example diff --git a/.npmrc.example b/.npmrc.example new file mode 100644 index 0000000..2051664 --- /dev/null +++ b/.npmrc.example @@ -0,0 +1,2 @@ +//npm.pkg.github.com/:_authToken= +@keohanoi:registry=https://npm.pkg.github.com \ No newline at end of file diff --git a/README.md b/README.md index 833ef9a..9f4a8ef 100644 --- a/README.md +++ b/README.md @@ -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 `` 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"; diff --git a/package.json b/package.json index 5331511..88cbeb3 100644 --- a/package.json +++ b/package.json @@ -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",