@farcaster/frame-sdk 0.0.0-canary-20250507182913 → 0.0.0-canary-20250508001237

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/sdk.js CHANGED
@@ -1,4 +1,5 @@
1
- import { AddFrame, SignIn } from '@farcaster/frame-core';
1
+ import { AddFrame, SignIn, } from '@farcaster/frame-core';
2
+ import { proxy } from 'comlink';
2
3
  import { EventEmitter } from 'eventemitter3';
3
4
  import { frameHost } from './frameHost';
4
5
  import { provider } from './provider';
@@ -108,6 +109,9 @@ export const sdk = {
108
109
  wallet: {
109
110
  ethProvider: provider,
110
111
  },
112
+ setShareStateProvider: (fn) => {
113
+ frameHost.setShareStateProvider.bind(frameHost)(proxy(fn));
114
+ },
111
115
  };
112
116
  // Required to pass SSR
113
117
  if (typeof document !== 'undefined') {