@mistcash/config 0.1.0-beta

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/jest.config.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ preset: 'ts-jest',
3
+ testEnvironment: 'node',
4
+ roots: ['<rootDir>/src', '<rootDir>/tests']
5
+ }
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@mistcash/config",
3
+ "version": "0.1.0-beta",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "MIST SDK config",
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.mjs",
10
+ "types": "dist/index.d.ts",
11
+ "dependencies": {
12
+ "starknet": "^7.6.4"
13
+ },
14
+ "devDependencies": {
15
+ "@types/jest": "^29.5.0",
16
+ "jest": "^29.5.0",
17
+ "tsup": "^8.0.0",
18
+ "typescript": "^5.0.0"
19
+ },
20
+ "scripts": {
21
+ "build": "tsup src/index.ts --format cjs,esm --dts",
22
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
23
+ "test": "jest",
24
+ "test:watch": "jest --watch",
25
+ "clean": "rm -rf dist"
26
+ }
27
+ }
package/readme.md ADDED
@@ -0,0 +1,25 @@
1
+ # @mistcash/config
2
+
3
+ MIST SDK config
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ pnpm add @mistcash/config
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import { CHAMBER_ABI, CHAMBER_ADDR_MAINNET, ChamberTypedContract } from '@mistcash/config';
15
+
16
+ // Do something with the ABIs and other config data
17
+ ```
18
+
19
+ ## Contributing
20
+
21
+ Head over to https://github.com/mistcash/sdk for details.
22
+
23
+ ## License
24
+
25
+ MIT