@farcaster/frame-wagmi-connector 1.0.0 → 1.0.1
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 +2 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -4
- package/src/index.ts +3 -5
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// Deprecation warning
|
|
2
2
|
if (typeof console !== 'undefined' && console.warn) {
|
|
3
|
-
console.warn('
|
|
4
|
-
'See https://github.com/farcasterxyz/frames/blob/main/MIGRATION.md for migration guide.');
|
|
3
|
+
console.warn('@farcaster/frame-wagmi-connector is deprecated. Please use @farcaster/miniapp-wagmi-connector instead.');
|
|
5
4
|
}
|
|
6
5
|
// Re-export everything from miniapp-wagmi-connector
|
|
7
6
|
export * from '@farcaster/miniapp-wagmi-connector';
|
|
@@ -13,9 +12,8 @@ export const farcasterFrame = () => {
|
|
|
13
12
|
if (!farcasterFrameWarningShown &&
|
|
14
13
|
typeof console !== 'undefined' &&
|
|
15
14
|
console.warn) {
|
|
16
|
-
console.warn('[DEPRECATION WARNING] farcasterFrame() is deprecated. Please use farcasterMiniApp() instead. ' +
|
|
17
|
-
'Import from @farcaster/miniapp-wagmi-connector.');
|
|
18
15
|
farcasterFrameWarningShown = true;
|
|
16
|
+
console.warn('farcasterFrame() is deprecated. Please use the new import syntax from @farcaster/miniapp-wagmi-connector.');
|
|
19
17
|
}
|
|
20
18
|
return _farcasterFrame();
|
|
21
19
|
};
|