Skip to content

Commit

Permalink
chore: update deps and migrate to papi 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala committed Jul 26, 2024
1 parent 5067d2a commit 35abaf6
Show file tree
Hide file tree
Showing 13 changed files with 438 additions and 393 deletions.
3 changes: 3 additions & 0 deletions .papi/descriptors/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!package.json
24 changes: 24 additions & 0 deletions .papi/descriptors/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.1.0-autogenerated.6814650378879291997",
"name": "@polkadot-api/descriptors",
"files": [
"dist"
],
"exports": {
".": {
"module": "./dist/index.mjs",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"browser": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"peerDependencies": {
"polkadot-api": "*"
}
}
Binary file renamed dot.scale → .papi/metadata/dot.scale
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions .papi/polkadot-api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version": 0,
"descriptorPath": ".papi/descriptors",
"entries": {
"wnd": {
"chain": "westend2",
"metadata": ".papi/metadata/wnd.scale"
},
"wndAssethub": {
"wsUrl": "wss://westend-asset-hub-rpc.polkadot.io",
"metadata": ".papi/metadata/wndAssethub.scale"
},
"dot": {
"chain": "polkadot",
"metadata": ".papi/metadata/dot.scale"
},
"ksm": {
"chain": "ksmcc3",
"metadata": ".papi/metadata/ksm.scale"
},
"dotAh": {
"wsUrl": "wss://polkadot-asset-hub-rpc.polkadot.io",
"metadata": ".papi/metadata/dotAh.scale"
},
"ksmAh": {
"wsUrl": "wss://kusama-asset-hub-rpc.polkadot.io",
"metadata": ".papi/metadata/ksmAh.scale"
},
"roc": {
"chain": "rococo_v2_2",
"metadata": ".papi/metadata/roc.scale"
},
"rocAh": {
"wsUrl": "wss://asset-hub-rococo-rpc.dwellir.com",
"metadata": ".papi/metadata/rocAh.scale"
}
}
}
54 changes: 10 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,72 +12,38 @@
"preview": "vite preview"
},
"dependencies": {
"@polkadot-api/descriptors": "^0.0.1",
"@polkadot-api/descriptors": "file:.papi/descriptors",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.400.0",
"polkadot-api": "^0.11.0",
"lucide-react": "^0.416.0",
"polkadot-api": "^0.12.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rxjs": "^7.8.1",
"tailwind-merge": "^2.4.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@types/node": "^20.14.11",
"@types/node": "^20.14.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.39",
"postcss": "^8.4.40",
"prettier": "^3.3.3",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.3",
"vite": "^5.3.4"
"tailwindcss": "^3.4.7",
"typescript": "^5.5.4",
"vite": "^5.3.5"
},
"prettier": {
"printWidth": 80,
"semi": false,
"trailingComma": "all"
},
"polkadot-api": {
"wnd": {
"chain": "westend2",
"metadata": "wnd.scale"
},
"wndAssethub": {
"wsUrl": "wss://westend-asset-hub-rpc.polkadot.io",
"metadata": "wndAssethub.scale"
},
"dot": {
"chain": "polkadot",
"metadata": "dot.scale"
},
"ksm": {
"chain": "ksmcc3",
"metadata": "ksm.scale"
},
"dotAh": {
"wsUrl": "wss://polkadot-asset-hub-rpc.polkadot.io",
"metadata": "dotAh.scale"
},
"ksmAh": {
"wsUrl": "wss://kusama-asset-hub-rpc.polkadot.io",
"metadata": "ksmAh.scale"
},
"roc": {
"chain": "rococo_v2_2",
"metadata": "roc.scale"
},
"rocAh": {
"wsUrl": "wss://asset-hub-rococo-rpc.dwellir.com",
"metadata": "rocAh.scale"
}
},
"packageManager": "[email protected]+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394"
"packageManager": "[email protected]+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
}
Loading

0 comments on commit 35abaf6

Please sign in to comment.