Skip to content

Commit

Permalink
update fincode 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
p29hieu committed Jul 28, 2024
1 parent 7b4a424 commit f621df3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fincode",
"version": "2.0.1",
"version": "2.0.2",
"description": "Type scripts for Fincode",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class FincodeClientService {
private isLiveMode: boolean;

constructor(config: Config) {
if (!this.publicKey) {
if (!config.publicKey) {
throw new Error("publicKey must be required");
}
this.isLiveMode = config.isLiveMode || false;
Expand Down

0 comments on commit f621df3

Please sign in to comment.