fixes for npm module
This commit is contained in:
parent
a5215078dd
commit
798f2edb5a
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"name": "@blockworks-foundation/mango-v3-reimbursement-lib",
|
||||
"license": "MIT",
|
||||
"version": "1.0.3",
|
||||
"type": "module",
|
||||
"version": "1.0.5",
|
||||
"files": [
|
||||
"dist/**/*"
|
||||
],
|
||||
|
|
|
@ -30,11 +30,11 @@ const CLUSTER_URL =
|
|||
const PAYER_KEYPAIR =
|
||||
process.env.PAYER_KEYPAIR_OVERRIDE || process.env.MB_PAYER_KEYPAIR;
|
||||
const GROUP_NUM = Number(process.env.GROUP_NUM || 5);
|
||||
const CLUSTER: Cluster =
|
||||
const CLUSTER: any =
|
||||
(process.env.CLUSTER_OVERRIDE as Cluster) || "mainnet-beta";
|
||||
const MANGO_V3_CLUSTER: Cluster =
|
||||
(process.env.MANGO_V3_CLUSTER_OVERRIDE as Cluster) || "mainnet";
|
||||
const MANGO_V3_GROUP_NAME: Cluster =
|
||||
const MANGO_V3_GROUP_NAME: any =
|
||||
(process.env.MANGO_V3_GROUP_NAME_OVERRIDE as Cluster) || "mainnet.1";
|
||||
|
||||
const options = AnchorProvider.defaultOptions();
|
||||
|
|
|
@ -1,26 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"noImplicitAny": false,
|
||||
"sourceMap": true,
|
||||
"target": "es6",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"incremental": true,
|
||||
"types": ["mocha", "chai"],
|
||||
"typeRoots": ["./node_modules/@types"]
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"allowJs": true,
|
||||
"outDir": "./dist",
|
||||
"strict": false,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"downlevelIteration": true
|
||||
},
|
||||
"include": ["ts/client/src"],
|
||||
"include": ["ts/client/src/*.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue