Skip to content

Commit

Permalink
feat(*): update polkadot dependencies
Browse files Browse the repository at this point in the history
update expected polkadot dependency versions
  • Loading branch information
polymath-eric committed May 14, 2024
1 parent 3919435 commit db86dc0
Show file tree
Hide file tree
Showing 5 changed files with 444 additions and 373 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
},
"private": true,
"dependencies": {
"@polkadot/api": "^10.9.1",
"@polkadot/extension-dapp": "^0.46.5",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/api": "^11.0.3",
"@polkadot/extension-dapp": "^0.47.4",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"cross-fetch": "^3.1.5",
"tslib": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('ApprovalSigningManager Class', () => {

describe('method signPayload', () => {
it('should return a signed payload and an incremental ID', async () => {
const payload = {
const payload: SignerPayloadJSON = {
specVersion: '0x00000bba',
transactionVersion: '0x00000002',
address: accounts[0].address,
Expand Down
8 changes: 4 additions & 4 deletions packages/local-signing-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"@polymeshassociation/signing-manager-types": "^3.2.0"
},
"peerDependencies": {
"@polkadot/api": "^10.9.1",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "12.4.2",
"@polkadot/api": "^11.0.3",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polymeshassociation/polymesh-sdk": ">=15.0.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { signedExtensions } from '@polymeshassociation/signing-manager-types';

import { PrivateKey } from '../types';
import { KeyringSigner, LocalSigningManager } from './local-signing-manager';
import { HexString } from '@polkadot/util/types';

Check warning on line 10 in packages/local-signing-manager/src/lib/local-signing-manager.spec.ts

View workflow job for this annotation

GitHub Actions / Linting and testing

'HexString' is defined but never used

jest.mock('@polkadot/util-crypto', () => ({
...jest.requireActual('@polkadot/util-crypto'),
Expand Down Expand Up @@ -223,7 +224,7 @@ describe('class KeyringSigner', () => {

describe('method signPayload', () => {
it('should return a signed payload and an incremental ID', async () => {
const payload = {
const payload: SignerPayloadJSON = {
specVersion: '0x00000bb9',
transactionVersion: '0x00000002',
address,
Expand Down
Loading

0 comments on commit db86dc0

Please sign in to comment.