UNPKG

near-safe

Version:

An SDK for controlling Ethereum Smart Accounts via ERC4337 from a Near Account.

75 lines (74 loc) 2.18 kB
{ "name": "near-safe", "version": "0.10.0", "license": "MIT", "description": "An SDK for controlling Ethereum Smart Accounts via ERC4337 from a Near Account.", "author": "bh2smith", "repository": { "type": "git", "url": "https://github.com/BitteProtocol/near-safe" }, "bugs": { "url": "https://github.com/BitteProtocol/near-safe/issues" }, "engines": { "node": ">=20.0.0" }, "keywords": [ "near", "ethereum", "safe", "account-abstraction", "erc4337", "chain-signatures" ], "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "build": "rm -fr dist/* && yarn build:esm && yarn build:cjs", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "build:deployments": "tsx scripts/safe-deployments.ts && prettier --write 'src/_gen/**/*.ts'", "start": "yarn example", "example": "tsx examples/send-tx.ts", "lint": "prettier --check '{src,examples,tests}/**/*.{js,jsx,ts,tsx}' && eslint . --ignore-pattern dist/", "fmt": "prettier --write '{src,examples,tests}/**/*.{js,jsx,ts,tsx}' && yarn lint --fix", "test": "jest", "all": "yarn fmt && yarn lint && yarn build" }, "dependencies": { "@safe-global/safe-gateway-typescript-sdk": "^3.22.6", "glob": "^11.0.1", "near-api-js": "^5.0.1", "near-ca": "^0.10.0", "semver": "^7.7.2", "viem": "^2.29.3" }, "devDependencies": { "@duneanalytics/client-sdk": "^0.2.5", "@safe-global/safe-deployments": "^1.37.23", "@safe-global/safe-modules-deployments": "^2.2.4", "@types/jest": "^29.5.14", "@types/node": "^22.15.8", "@types/semver": "^7.5.8", "@types/yargs": "^17.0.33", "@typescript-eslint/eslint-plugin": "^8.32.1", "@typescript-eslint/parser": "^8.32.1", "dotenv": "^16.4.5", "eslint": "^9.26.0", "eslint-plugin-import": "^2.31.0", "jest": "^29.7.0", "prettier": "^3.3.3", "ts-jest": "^29.3.3", "tsx": "^4.19.2", "typescript": "^5.7.3", "yargs": "^17.7.2" }, "resolutions": { "glob": "^11.0.1" } }