Skip to content

Commit

Permalink
chore(): 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteKiwi committed Mar 5, 2022
1 parent f445c65 commit 8038c8d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
39 changes: 18 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,26 @@ async function main() {
const theCampClient = new TheCampClient();

await theCampClient.login({
id: 'id@test.com',
password: '{password}',
id: 'email@test.com',
password: 'password',
});

await theCampClient.sendLetter(
{
성분: '예비군인/훈련병',
군종: '육군',
이름: '홍길동',
입영부대: '육군훈련소-논산',
관계: '',
생년월일: '2001-01-01',
입영일: '2022-02-14',
전화번호: '01012341234',
},
{
작성자: '장지훈',
제목: `내용은 곧 제목`,
내용: `제목은
내용`,
},
);
const soldierIdentifier = await theCampClient.registerSoldier({
성분: '예비군인/훈련병',
군종: '육군',
이름: '홍길동',
입영부대: '육군훈련소-논산',
관계: '',
생년월일: '2001-11-26',
입영일: '2022-02-14',
전화번호: '01094862564',
});

await theCampClient.sendLetter(soldierIdentifier, {
작성자: '장지훈',
제목: `내용은 곧 제목22`,
내용: `제목은 곧 내용`,
});
}
main();

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": "the-camp",
"version": "0.0.3",
"version": "1.0.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "[email protected]:whitekiwi/the-camp.git",
Expand Down

0 comments on commit 8038c8d

Please sign in to comment.