Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
update adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Aug 21, 2024
1 parent fad373a commit 98f9b6d
Show file tree
Hide file tree
Showing 5 changed files with 344 additions and 16 deletions.
6 changes: 3 additions & 3 deletions packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"access": "public"
},
"dependencies": {
"@polkadot/api": "^10.9.1",
"@polkadot/extension-inject": "^0.46.5",
"@polkadot/types-augment": "^10.9.1"
"@polkadot/api": "^12.4.2",
"@polkadot/extension-inject": "^0.52.3",
"@polkadot/types-augment": "^12.4.2"
},
"scripts": {
"prebuild": "rm -rf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es6",
"target": "ES2022",
"outDir": "build",
"rootDir": "src",
"moduleResolution": "node",
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@
"@polkadot/types": "^12.3.1",
"@polkadot/util": "^13.0.2",
"deepmerge": "^4.3.1",
"superstruct": "^1.0.3"
"superstruct": "^2.0.2"
}
}
2 changes: 0 additions & 2 deletions packages/snap/src/util/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const SignaturePayloadJSONSchema = type({
version: number()
});

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
export const validSignPayloadJSONSchema: Describe<{
payload: SignerPayloadJSON;
}> = object({
Expand Down
Loading

0 comments on commit 98f9b6d

Please sign in to comment.