diff --git a/package.json b/package.json index 661b5d4..3cf04bd 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ ], "repository": "https://github.com/jcam1/sdks.git", "license": "MIT", - "version": "1.2.0", + "version": "1.3.0", "engines": { "node": "^20.12.0", "yarn": "^1.22.22" diff --git a/packages/core/README.md b/packages/core/README.md index 5e5ae9d..379e3f2 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -1,7 +1,7 @@ # JPYC Core SDK ![build](https://github.com/jcam1/sdks/actions/workflows/check.yml/badge.svg) -[![Node version](https://img.shields.io/node/v/@jpyc/sdk-core.svg?style=flat)](https://nodejs.org/download/) +[![npm version](https://badge.fury.io/js/@jpyc%2Fsdk-core.svg)](https://badge.fury.io/js/@jpyc%2Fsdk-core) JPYC core SDK implements a set of constants, types and functions, commonly used across different SDK versions. diff --git a/packages/core/index.ts b/packages/core/index.ts deleted file mode 100644 index 9f7b4d8..0000000 --- a/packages/core/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as dotenv from 'dotenv'; - -dotenv.config(); - -export * from './src'; diff --git a/packages/core/package.json b/packages/core/package.json index 5d81f27..f2bef5b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -3,7 +3,7 @@ "description": "Core SDK for JPYC protocol", "repository": "https://github.com/jcam1/sdks.git", "license": "MIT", - "version": "1.0.0", + "version": "1.1.0", "publishConfig": { "access": "public" }, @@ -11,6 +11,8 @@ "node": "^20.12.0", "yarn": "^1.22.22" }, + "main": "dist/src", + "types": "dist/types/src", "scripts": { "docs": "typedoc", "compile": "tsc", diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index e5c6e4e..3fd513a 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,3 +1,7 @@ +import * as dotenv from 'dotenv'; + +dotenv.config(); + export * from './addresses'; export * from './chains'; export * from './types';