@farcaster/miniapp-sdk 0.1.0 → 0.1.2

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.
package/dist/back.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const createBack = ({ miniAppHost, emitter }) => {
2
- let teardownWebNavigation = undefined;
2
+ let teardownWebNavigation;
3
3
  let backCb = null;
4
4
  return {
5
5
  visible: false,
@@ -39,7 +39,7 @@ export const createBack = ({ miniAppHost, emitter }) => {
39
39
  },
40
40
  };
41
41
  };
42
- function setupWebBack({ emitter, back, }) {
42
+ function setupWebBack({ emitter, back }) {
43
43
  const navigation = getWebNavigation();
44
44
  if (navigation) {
45
45
  return setupNavigationApi({ emitter, back, navigation });
package/dist/endpoint.js CHANGED
@@ -12,7 +12,6 @@ const mockEndpoint = {
12
12
  };
13
13
  const webViewEndpoint = {
14
14
  postMessage: (data) => {
15
- console.debug('[webview:req]', data);
16
15
  window.ReactNativeWebView.postMessage(JSON.stringify(data));
17
16
  },
18
17
  addEventListener: (_, listener, ...args) => {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { sdk } from './sdk.ts';
2
- export * from './miniAppHost.ts';
3
- export * from './sdk.ts';
4
2
  export * from '@farcaster/miniapp-core';
3
+ export * from './miniAppHost.ts';
5
4
  export * as QuickAuth from './quickAuth.ts';
6
5
  export { quickAuth } from './quickAuth.ts';
6
+ export * from './sdk.ts';
7
7
  export default sdk;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { sdk } from "./sdk.js";
2
- export * from "./miniAppHost.js";
3
- export * from "./sdk.js";
4
2
  export * from '@farcaster/miniapp-core';
3
+ export * from "./miniAppHost.js";
5
4
  export * as QuickAuth from "./quickAuth.js";
6
5
  export { quickAuth } from "./quickAuth.js";
6
+ export * from "./sdk.js";
7
7
  export default sdk;