pomelo-io / bounties-issues-dev

Dev repo for bounties
0 stars 0 forks source link

💰 5 USDT Bounty - "Attempted import error: 'WalletPluginScatter' is.." #110

Closed PomeloBounties closed 8 months ago

PomeloBounties commented 8 months ago

Bounty

Attempted import error: 'WalletPluginScatter' is not exported created by @DenisCarriere on Pomelo Bounties

Summary

Solve "Attempted import error: 'WalletPluginScatter' is not exported" error by debugging the rollup configuration of wallet-plugin-anchor and wallet-plugin-scatter, ensuring all necessary rollup imports are present, and making necessary changes to the config.ts file.

Apply

https://bounties.pomelo.io/afc2cbd4dba3

Original Issue

https://github.com/wharfkit/wallet-plugin-scatter/issues/2

Title

Attempted import error: 'WalletPluginScatter' is not exported

Body

Looks like some rollup build issue, the wallet-plugin-anchor seems to work fine, but all other plugins not.

Some rollup imports missing

import commonjs from '@rollup/plugin-commonjs'
import nodePolyfills from 'rollup-plugin-polyfill-node'
import resolve from '@rollup/plugin-node-resolve'

❌ error

Attempted import error: 'WalletPluginWombat' is not exported from '@wharfkit/wallet-plugin-wombat' (imported as 'WalletPluginWombat').

Import trace for requested module:
./utils/config.ts
./app/(user-profile)/my-wallets/page.tsx

./utils/config.ts
Attempted import error: 'WalletPluginTokenPocket' is not exported from '@wharfkit/wallet-plugin-tokenpocket' (imported as 'WalletPluginTokenPocket').

Import trace for requested module:
./utils/config.ts
./app/(user-profile)/my-wallets/page.tsx

./utils/config.ts
Attempted import error: 'WalletPluginScatter' is not exported from '@wharfkit/wallet-plugin-scatter' (imported as 'WalletPluginScatter').

Reward

5.0000 USDT

Note

For technical discussion use the original issue. This issue is for tracking the bounty application and implementation progress.

PomeloBounties commented 8 months ago

Bounty funded with 5.0000 USDT!

Apply here

PomeloBounties commented 8 months ago

Bounty closed

PomeloBounties commented 8 months ago

Bounty funds withdrawn!