Skip to content

Commit

Permalink
fix: 에러 메시지 일관성 및 사소한 타이핑 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSeob committed Feb 11, 2021
1 parent 8a2f30e commit 37c0bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function loadTossPayments(clientKey: string): Promise<TossPaymentsI
if (window.TossPayments !== undefined) {
resolve(window.TossPayments(clientKey));
} else {
reject(new Error('[TossPayments] 인스턴스 초기화에 실패했습니다.'));
reject(new Error('[TossPayments.js] 인스턴스 초기화에 실패했습니다.'));
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion types/index.test.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare const SCRIPT_URL = "//web.tosspayments.com/sdk/alpha/tosspayments.js";
declare const SCRIPT_URL = "https://js.tosspayments.com/v1";
declare function dispatchLoadEvent(): void;

0 comments on commit 37c0bb1

Please sign in to comment.