Skip to content

Commit 9892c38

Browse files
author
gosomi
committed
readme 추가
1 parent afce7d4 commit 9892c38

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-10
lines changed

README.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,45 @@
11
# Bootpay Server Rest Client [![alt text](https://cdn.bootpay.co.kr/icon/npm.svg)](https://www.npmjs.com/package/@bootpay/server-rest-client)
22

3-
### 1.0.8 ( Stable )
4-
readme 업데이트
3+
### 1.0.9 ( Stable )
4+
5+
* 결제 취소시 taxFree 값 추가
6+
7+
### 1.0.8
8+
9+
readme 업데이트
510
precompile 옵션 변경
611

7-
### 1.0.7
12+
### 1.0.7
13+
814
requestPayment params 데이터를 전달되도록 변경
915

1016
### 1.0.6
17+
1118
* axios instance로 생성, interceptor가 global 영향을 받지 않도록 수정
1219

13-
### 1.0.4
20+
### 1.0.4
21+
1422
* isBlank {} 체크 못하는 버그 수정
1523
* subscribe payment ( 정기결제 ) extra 추가
1624

17-
### 1.0.3
25+
### 1.0.3
26+
1827
* extra를 underscore로 보내는 로직 추가
1928

20-
### 1.0.2
29+
### 1.0.2
30+
2131
* item 정보를 underscore로 보내는 로직 추가
22-
* user_info 정보를 underscore로 보내는 로직 추가
32+
* user_info 정보를 underscore로 보내는 로직 추가
33+
34+
### 1.0.0
2335

24-
### 1.0.0
2536
* typescript로 코딩이 되어있습니다
2637
* d.ts 파일이 첨부되어 typescript로도 코딩이 가능합니다.
2738

28-
## 샘플 코드
39+
## 샘플 코드
40+
2941
### NPM으로 다운 받은 경우
42+
3043
```nodejs
3144
const RestClient = require('@bootpay/server-rest-client').RestClient
3245
@@ -48,19 +61,23 @@ RestClient.getAccessToken().then(
4861
)
4962
});
5063
```
64+
5165
### github으로 바로 다운 받은 경우
5266

5367
먼저 패키지를 모두 설치합니다
68+
5469
```bash
5570
yarn install
5671
```
5772

5873
이후 빌드를 해서 dist로 js로 컴파일 합니다.
74+
5975
```bash
6076
npm run build
6177
```
6278

6379
그리고 dist로 output 된 패키지를 상대 경로로 가져와서 사용합니다.
80+
6481
```nodejs
6582
const RestClient = require('./dist/bootpay').RestClient
6683

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bootpay/server-rest-client",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Bootpay Server Rest Client Javasrcipt Library",
55
"main": "dist/bootpay.js",
66
"types": "dist/bootpay.d.ts",

0 commit comments

Comments
 (0)