sparkbun 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
package/src/bun/proc/native.ts
CHANGED
|
@@ -2595,7 +2595,10 @@ export const Session = {
|
|
|
2595
2595
|
|
|
2596
2596
|
// Stub: native side accepts this parameter but never calls it.
|
|
2597
2597
|
// Remove when native wrappers are recompiled without it.
|
|
2598
|
-
const webviewDecideNavigation =
|
|
2598
|
+
const webviewDecideNavigation = new JSCallback(
|
|
2599
|
+
() => 1,
|
|
2600
|
+
{ args: [FFIType.u32, FFIType.cstring], returns: FFIType.u32 },
|
|
2601
|
+
);
|
|
2599
2602
|
|
|
2600
2603
|
const webviewEventHandler = (id: number, eventName: string, detail: string) => {
|
|
2601
2604
|
BrowserView.ensureWrapped(id);
|