UNPKG

@alcorexchange/alcor-swap-sdk

Version:

​​ **npm** ``` npm i @alcorexchange/alcor-swap-sdk ``` **yarn** ``` yarn add @alcorexchange/alcor-swap-sdk ``` ## Usage ### Import:

89 lines (88 loc) 2.62 kB
{ "name": "@alcorexchange/alcor-swap-sdk", "version": "1.1.4", "description": "", "main": "build/index.js", "module": "build/esm/index.js", "browser": "build/esm/index.js", "exports": { ".": { "browser": "./build/esm/index.js", "node": "./build/index.js", "import": "./build/esm/index.js", "require": "./build/index.js", "types": "./build/index.d.ts" }, "./package.json": "./package.json", "./*": "./*" }, "files": [ "build/**/*" ], "sideEffects": false, "scripts": { "start:dev": "npx nodemon", "build": "rimraf ./build && babel src --out-dir build --extensions \".ts\" && BABEL_ENV=esm babel src --out-dir build/esm --extensions \".ts\" && tsc --emitDeclarationOnly && cp wasm-route-finder/pkg/*.wasm wasm-route-finder/pkg/*.js build/utils/ && cp wasm-route-finder/pkg/*.wasm wasm-route-finder/pkg/*.js build/esm/utils/", "start": "npm run build && node build/index.js", "lint": "eslint . --ext .ts", "prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/alcorexchange/alcor-v2-sdk" }, "keywords": [ "alcor", "antelope", "eosio", "amm", "dex" ], "author": "alcorexchange", "license": "ISC", "bugs": { "url": "https://github.com/alcorexchange/alcor-v2-sdk/issues" }, "homepage": "https://github.com/alcorexchange/alcor-v2-sdk#readme", "devDependencies": { "@babel/cli": "^7.28.6", "@babel/core": "^7.28.6", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.26.0", "@babel/preset-typescript": "^7.28.5", "@types/big.js": "^4.0.5", "@types/jest": "^29.2.6", "@types/node": "^18.11.18", "@typescript-eslint/eslint-plugin": "^5.48.2", "@typescript-eslint/parser": "^5.48.2", "dotenv": "^16.3.1", "enf-eosjs": "^23.0.0", "eslint": "^8.32.0", "ethers": "^5.0.8", "jest": "^28.1.1", "mongoose": "5.13.14", "nodemon": "^2.0.20", "prettier": "^2.7.1", "redis": "^4.6.10", "rimraf": "^4.1.1", "ts-jest": "^28.0.4", "ts-node": "^10.9.2", "typescript": "^4.9.4", "workerpool": "^9.2.0" }, "dependencies": { "@msgpack/msgpack": "^3.1.2", "big.js": "^5.2.2", "decimal.js-light": "^2.5.0", "eos-common": "^0.12.0", "eosjs": "^22.1.0", "eosjs-account-name": "2.3.0", "lodash": "^4.17.21", "mnemonist": "^0.39.8", "node-fetch": "2", "tiny-invariant": "^1.1.0", "tiny-warning": "^1.0.3", "toformat": "^2.0.0" } }