Skip to content

Commit

Permalink
build: bump PAPI (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
tien authored Jul 30, 2024
1 parent 0176d65 commit b32ecc2
Show file tree
Hide file tree
Showing 13 changed files with 757 additions and 195 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
dist
3 changes: 3 additions & 0 deletions apps/example/.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 apps/example/.papi/descriptors/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.1.0-autogenerated.15663640930135754644",
"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 added apps/example/.papi/metadata/kusama.scale
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions apps/example/.papi/polkadot-api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 0,
"descriptorPath": ".papi/descriptors",
"entries": {
"polkadot": {
"chain": "polkadot",
"metadata": ".papi/metadata/polkadot.scale"
},
"kusama": {
"chain": "ksmcc3",
"metadata": ".papi/metadata/kusama.scale"
},
"westend": {
"chain": "westend2",
"metadata": ".papi/metadata/westend.scale"
}
}
}
Binary file removed apps/example/kusama.scale
Binary file not shown.
3 changes: 2 additions & 1 deletion apps/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"postinstall": "npx papi"
},
"dependencies": {
"@polkadot-api/descriptors": "portal:.papi/descriptors",
"@reactive-dot/react": "workspace:^",
"@walletconnect/modal": "^2.6.2",
"@walletconnect/universal-provider": "^2.14.0",
"date-fns": "^3.6.0",
"polkadot-api": "^0.11.2",
"polkadot-api": "^0.12.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13",
Expand Down
14 changes: 0 additions & 14 deletions apps/example/polkadot-api.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
"@walletconnect/modal": "^2.6.2",
"@walletconnect/universal-provider": "^2.14.0",
"eslint": "^9.8.0",
"polkadot-api": "^0.11.2",
"polkadot-api": "^0.12.1",
"typescript": "^5.5.4"
},
"peerDependencies": {
"@walletconnect/modal": "2.x",
"@walletconnect/universal-provider": "2.x",
"polkadot-api": "^0.11.2"
"polkadot-api": "^0.12.1"
},
"peerDependenciesMeta": {
"@walletconnect/modal": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@tsconfig/strictest": "^2.0.5",
"@types/react": "^18.3.3",
"eslint": "^9.8.0",
"polkadot-api": "^0.11.2",
"polkadot-api": "^0.12.1",
"react": "^18.3.1",
"typescript": "^5.5.4"
},
Expand Down
Loading

0 comments on commit b32ecc2

Please sign in to comment.