@oasisprotocol/sapphire-wagmi-v2
Version:
Wagmi & Viem support for the Oasis Sapphire ParaTime.
82 lines • 2.36 kB
JSON
{
"type": "module",
"name": "@oasisprotocol/sapphire-wagmi-v2",
"license": "Apache-2.0",
"version": "3.0.1",
"description": "Wagmi & Viem support for the Oasis Sapphire ParaTime.",
"homepage": "https://github.com/oasisprotocol/sapphire-paratime/tree/main/integrations/wagmi-v2",
"repository": {
"type": "git",
"url": "https://github.com/oasisprotocol/sapphire-paratime.git"
},
"keywords": [
"sapphire",
"paratime",
"oasis",
"web3",
"viem",
"wagmi"
],
"files": [
"dist",
"!dist/*.tsbuildinfo",
"src"
],
"sideEffects": false,
"main": "./dist/_cjs/index.js",
"module": "./dist/_esm/index.js",
"types": "./dist/_types/index.d.ts",
"typings": "./dist/_types/index.d.ts",
"exports": {
"node": {
"import": "./dist/_esm/index.js",
"types": "./dist/_types/index.d.ts"
},
"types": "./dist/_types/index.d.ts",
"default": "./dist/_esm/index.js"
},
"dependencies": {
"@wagmi/core": "2.x",
"viem": "2.x",
"@oasisprotocol/sapphire-paratime": "^2.3.0",
"@oasisprotocol/sapphire-viem-v2": "^2.1.0"
},
"peerDependencies": {
"@wagmi/core": "2.x",
"typescript": ">=5.0.4",
"viem": "2.x",
"wagmi": "2.x",
"@oasisprotocol/sapphire-paratime": "^2.3.0",
"@oasisprotocol/sapphire-viem-v2": "^2.1.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"@wagmi/core": {
"optional": true
},
"@oasisprotocol/sapphire-paratime": {
"optional": true
},
"@oasisprotocol/sapphire-viem-v2": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^1.7.0",
"@types/node": "^18.19.31",
"ts-node": "^10.9.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"@walletconnect/ethereum-provider": "^2.23.0"
},
"scripts": {
"lint": "biome check .",
"format": "biome format --write .",
"build": "npm run clean && npm run build:esm && npm run build:types",
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./dist/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/_esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/_types --emitDeclarationOnly --declaration --declarationMap",
"clean": "rm -rf dist"
}
}