Skip to content

Commit f0b50e1

Browse files
committed
fix: Unkown -> Unknown
1 parent 23cf88b commit f0b50e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/juno-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default class JunoModule {
224224
});
225225
} else {
226226
// Function wasn't found in the module.
227-
throw new JunoError(ErrorTypes.UnkownFunction);
227+
throw new JunoError(ErrorTypes.UnknownFunction);
228228
}
229229
}
230230

src/utils/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ export const ResponseTypes = {
3030
export const ErrorTypes = {
3131
MalformedRequest: 0,
3232
InvalidRequestId: 1,
33-
UnkownRequest: 2,
33+
UnknownRequest: 2,
3434
UnregisteredModule: 3,
35-
UnkownModule: 4,
36-
UnkownFunction: 5,
35+
UnknownModule: 4,
36+
UnknownFunction: 5,
3737
InvalidModuleId: 6,
3838
DuplicateModule: 7,
3939
};

0 commit comments

Comments
 (0)