npm package diff
Package: @forge/bridge
Versions: 5.0.1-next.0 - 5.1.0-next.1
File: package/out/router/router.d.ts
Index: package/out/router/router.d.ts
===================================================================
--- package/out/router/router.d.ts
+++ package/out/router/router.d.ts
@@ -1,9 +1,8 @@
import { NavigationLocation } from './types';
-declare type Navigate = (location: string | NavigationLocation) => Promise<void>;
export declare const router: {
- navigate: Navigate;
- open: Navigate;
+ getUrl: (location: NavigationLocation) => Promise<URL | null>;
+ navigate: (location: string | NavigationLocation) => Promise<void>;
+ open: (location: string | NavigationLocation) => Promise<void>;
reload: () => Promise<void>;
};
-export {};
//# sourceMappingURL=router.d.ts.map
\ No newline at end of file