@farcaster/frame-sdk 0.1.1 → 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/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  // Deprecation warning
2
2
  if (typeof console !== 'undefined' && console.warn) {
3
- console.warn('[DEPRECATION WARNING] @farcaster/frame-sdk is deprecated. Please migrate to @farcaster/miniapp-sdk. ' +
4
- 'See https://github.com/farcasterxyz/frames/blob/main/MIGRATION.md for migration guide.');
3
+ console.warn('@farcaster/frame-sdk is deprecated. Please use @farcaster/miniapp-sdk instead.');
5
4
  }
6
5
  // Re-export everything from miniapp-sdk
7
6
  export * from '@farcaster/miniapp-sdk';
@@ -16,9 +15,8 @@ export const frameHost = new Proxy(miniAppHost, {
16
15
  if (!frameHostWarningShown &&
17
16
  typeof console !== 'undefined' &&
18
17
  console.warn) {
19
- console.warn('[DEPRECATION WARNING] frameHost is deprecated. Please use miniAppHost instead. ' +
20
- 'Import from @farcaster/miniapp-sdk and use miniAppHost.');
21
18
  frameHostWarningShown = true;
19
+ console.warn('frameHost is deprecated. Please use miniAppHost instead.');
22
20
  }
23
21
  return Reflect.get(target, prop, receiver);
24
22
  },