mirror of
https://github.com/FlipsideCrypto/sdk.git
synced 2026-02-06 10:46:43 +00:00
JS Update entry point path
Hey there Flipside gang! I was working on a little side project that uses ShroomDK and ran into some issues with importing the module. In my node modules, the index of the package is found in @flipsidecrypto/sdk/dist/src/index.js, but the base package.json has the main and type entry points as just dist/index.js. Making the change I've proposed solves the issue in my case. I'm not entirely sure if this is a common issue for people as I did not find anyone else mentioning it in #sdk-help, but figured I would raise this issue if others are indeed facing the same problem.
This commit is contained in:
parent
03de65053f
commit
c99a573fdf
@ -2,8 +2,8 @@
|
||||
"name": "@flipsidecrypto/sdk",
|
||||
"version": "1.1.1",
|
||||
"description": "The official Flipside Crypto SDK",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"main": "dist/src/index.js",
|
||||
"types": "dist/src/index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/flipsidecrypto/sdk.git"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user