Comments (6)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs
from alchemy-sdk-js.
@elie222 Thanks for filing the bug report! We'll get to debugging this in the coming weeks.
from alchemy-sdk-js.
Hi @elie222 , I am looking into this. I would be interested in more information about your setup. A minimal example for me runs successfully.
To attempt to repro, I ran
mkdir repro
cd repro
npm init --yes
npm add alchemy-sdk jest
mkdir tests
echo 'it("imports alchemy-sdk", () => console.log(require("alchemy-sdk")));' > tests/index.test.js
npx jest
Doing so successfully runs the Jest test, importing alchemy-sdk
and logging its contents to console.
In particular, I would be interested in how you are starting your Jest tests, if you're using any transpilers like Babel or TypeScript, and if you have any nondefault settings in your Jest config.
from alchemy-sdk-js.
from alchemy-sdk-js.
@elie222 Have you tried some of the steps from the discussion links on this SO post? This seems more like an issue with how next.js and jest are importing the modules, since the Alchemy SDK exports cjs
, es
, and esm
dists in the final build.
from alchemy-sdk-js.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs
from alchemy-sdk-js.
Related Issues (20)
- Invalid URL error returned for core methods in v3 HOT 6
- Vulnerable Axios Version Used HOT 4
- Support for Edge Runtime HOT 3
- Incorrect type HOT 2
- Missing response error If invoking SDK rpc functions within an AWS lambda HOT 9
- FR: NFT API avalanche support? HOT 1
- getNftsForOwnerIterator return type doesn't change when `omitMetadata = true` HOT 2
- FR: Support New Polygon Testnet Amoy HOT 2
- Cannot read properties of undefined (reading 'safelistRequestStatus') HOT 6
- TypeError: Cannot read properties of undefined (reading 'address') HOT 2
- Error messages not bubbled up to caller when making API calls via the sdk HOT 3
- getNFTsForOwner returns incorrect JSON results when withMetadata=false HOT 2
- FR: Support for Polygon zkEVM's Cardona network (Sepolia-based) HOT 1
- FR: remove @ethersproject/providers as a dependency in favor of ethers HOT 3
- getOwnersForContract returns the same list of addresses for any block height HOT 2
- FR: StarkNet support HOT 2
- FR: Blast Network Support HOT 1
- js-sha3 does not provide an export named 'default' HOT 1
- Server-Side Request Forgery in axios HOT 2
- Subscribe to pending transactions with from/toAddress does not work anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alchemy-sdk-js.