Skip to content

Commit 0b00888

Browse files
fix(deep-link): typo in js bindings for is_registered command (#1404)
* fix: typo * rebuild + changefile * fix changefile --------- Co-authored-by: FabianLars <[email protected]>
1 parent f69a780 commit 0b00888

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"deep-link-js": patch
3+
---
4+
5+
Fixed a typo in the `deep-link` js bindings causing `isRegistered` to not work.

plugins/deep-link/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/deep-link/guest-js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export async function unregister(protocol: string): Promise<null> {
7676
* @since 2.0.0
7777
*/
7878
export async function isRegistered(protocol: string): Promise<boolean> {
79-
return await invoke("plugin:deep-link|i_registered", { protocol });
79+
return await invoke("plugin:deep-link|is_registered", { protocol });
8080
}
8181

8282
/**

0 commit comments

Comments
 (0)