Skip to content

Commit

Permalink
chore(deps): update polkadot dependencies (#529)
Browse files Browse the repository at this point in the history
* chore(deps): update polkadot dependencies
* fix: add skipLibCheck

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Raphael Flechtner <[email protected]>
  • Loading branch information
3 people authored Jun 8, 2022
1 parent e44191e commit 95948de
Show file tree
Hide file tree
Showing 14 changed files with 392 additions and 366 deletions.
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"homepage": "https://github.com/KILTprotocol/sdk-js#readme",
"dependencies": {
"@kiltprotocol/sdk-js": "workspace:*",
"@polkadot/keyring": "^7.1.2",
"@polkadot/types": "^5.4.1",
"@polkadot/util": "^7.1.2",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"@polkadot/util": "^9.0.0",
"typescript-logging": "^0.6.4",
"@polkadot/util-crypto": "^7.6.1",
"@polkadot/util-crypto": "^9.0.0",
"testcontainers": "^8.6.1"
}
}
10 changes: 5 additions & 5 deletions packages/chain-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"@kiltprotocol/config": "workspace:*",
"@kiltprotocol/types": "workspace:*",
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api": "^7.10.1",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "^7.10.1",
"@polkadot/util": "^8.4.1",
"@polkadot/api": "^8.0.0",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"@polkadot/util": "^9.0.0",
"typescript-logging": "^0.6.4"
}
}
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/api-augment": "^8.0.0",
"typescript-logging": "^0.6.4"
}
}
14 changes: 7 additions & 7 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
"@kiltprotocol/did": "workspace:*",
"@kiltprotocol/types": "workspace:*",
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api": "^7.10.1",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "^7.10.1",
"@polkadot/types-known": "^7.10.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"@polkadot/api": "^8.0.0",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"@polkadot/types-known": "^8.0.0",
"@polkadot/util": "^9.0.0",
"@polkadot/util-crypto": "^9.0.0",
"tweetnacl": "^1.0.3",
"typescript-logging": "^0.6.4"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/did/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"@kiltprotocol/config": "workspace:*",
"@kiltprotocol/types": "workspace:*",
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api": "^7.10.1",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "^7.10.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"@polkadot/api": "^8.0.0",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"@polkadot/util": "^9.0.0",
"@polkadot/util-crypto": "^9.0.0",
"cbor": "^8.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@kiltprotocol/did": "workspace:*",
"@kiltprotocol/types": "workspace:*",
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/util": "^8.4.1"
"@polkadot/api-augment": "^8.0.0",
"@polkadot/util": "^9.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/sdk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"@kiltprotocol/messaging": "workspace:*",
"@kiltprotocol/types": "workspace:*",
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api-augment": "^7.10.1"
"@polkadot/api-augment": "^8.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"homepage": "https://github.com/KILTprotocol/sdk-js#readme",
"dependencies": {
"@kiltprotocol/types": "workspace:*",
"@polkadot/api": "^7.10.1",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/types": "^7.10.1"
"@polkadot/api": "^8.0.0",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/types": "^8.0.0"
},
"devDependencies": {
"rimraf": "^3.0.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"bugs": "https://github.com/KILTprotocol/sdk-js/issues",
"homepage": "https://github.com/KILTprotocol/sdk-js#readme",
"dependencies": {
"@polkadot/api": "^7.10.1",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "^7.10.1",
"@polkadot/api": "^8.0.0",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
},
"dependencies": {
"@kiltprotocol/types": "workspace:*",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "^7.10.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"@polkadot/util": "^9.0.0",
"@polkadot/util-crypto": "^9.0.0",
"tweetnacl": "^1.0.3",
"uuid": "^8.1.0"
}
Expand Down
10 changes: 1 addition & 9 deletions packages/utils/src/Crypto.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,7 @@ describe('helper functions', () => {

it('converts buffer to Uint8Array', () => {
const testarray = [1, 2, 3, 4, 5]
expect(Crypto.coToUInt8(Buffer.from(testarray))).toMatchInlineSnapshot(`
Uint8Array [
1,
2,
3,
4,
5,
]
`)
expect(Crypto.coToUInt8(Buffer.from(testarray))).toBeInstanceOf(Uint8Array)
expect(Crypto.coToUInt8(Uint8Array.from(testarray))).toMatchInlineSnapshot(`
Uint8Array [
1,
Expand Down
10 changes: 5 additions & 5 deletions packages/vc-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@kiltprotocol/did": "workspace:*",
"@kiltprotocol/types": "workspace:*",
"@kiltprotocol/utils": "workspace:*",
"@polkadot/api-augment": "^7.10.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "^7.10.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"@polkadot/api-augment": "^8.0.0",
"@polkadot/keyring": "^9.0.0",
"@polkadot/types": "^8.0.0",
"@polkadot/util": "^9.0.0",
"@polkadot/util-crypto": "^9.0.0",
"jsonld": "^2.0.2",
"jsonld-signatures": "^5.0.0",
"vc-js": "^0.6.4"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"importHelpers": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true
"noUnusedLocals": true,
"skipLibCheck": true
},
"exclude": [
"node_modules",
Expand Down
Loading

0 comments on commit 95948de

Please sign in to comment.