@farcaster/frame-sdk 0.0.34 → 0.0.35

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/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { AddFrame, ComposeCast, Context, FrameNotificationDetails, Ready, SetPrimaryButtonOptions, SignIn, Swap, ViewProfile, ViewToken } from '@farcaster/frame-core';
2
2
  import type { EventEmitter } from 'eventemitter3';
3
- import type { Provider } from 'ox';
3
+ import type * as Provider from 'ox/Provider';
4
4
  declare global {
5
5
  interface Window {
6
6
  ReactNativeWebView: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farcaster/frame-sdk",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "comlink": "^4.4.2",
23
23
  "eventemitter3": "^5.0.1",
24
24
  "ox": "^0.4.4",
25
- "@farcaster/frame-core": "0.0.31"
25
+ "@farcaster/frame-core": "0.0.32"
26
26
  },
27
27
  "scripts": {
28
28
  "clean": "rm -rf dist",
package/src/provider.ts CHANGED
@@ -8,7 +8,9 @@ import type {
8
8
  EIP1193Provider,
9
9
  EIP6963ProviderDetail,
10
10
  } from 'mipd'
11
- import { Provider, RpcRequest, RpcResponse } from 'ox'
11
+ import * as Provider from 'ox/Provider'
12
+ import * as RpcRequest from 'ox/RpcRequest'
13
+ import * as RpcResponse from 'ox/RpcResponse'
12
14
  import { frameHost } from './frameHost'
13
15
 
14
16
  const emitter = Provider.createEmitter()
package/src/types.ts CHANGED
@@ -11,7 +11,7 @@ import type {
11
11
  ViewToken,
12
12
  } from '@farcaster/frame-core'
13
13
  import type { EventEmitter } from 'eventemitter3'
14
- import type { Provider } from 'ox'
14
+ import type * as Provider from 'ox/Provider'
15
15
 
16
16
  declare global {
17
17
  interface Window {