Skip to content

Commit

Permalink
Merge branch 'master' into ci/docs-generation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux authored Jan 29, 2024
2 parents 959425c + f8fe7bf commit ea7ae7c
Show file tree
Hide file tree
Showing 6 changed files with 905 additions and 1,080 deletions.
9 changes: 9 additions & 0 deletions .changeset/funny-feet-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@celo/wallet-hsm-azure': patch
---

Bump all @azure packages to latest versions. These includes several major bumps which should not affect use in this library. For More details
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/CHANGELOG.md
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/BREAKING_CHANGES.md
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/CHANGELOG.md
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/CHANGELOG.md
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"beta-enter": "bash scripts/beta-mode.sh",
"beta-exit": "yarn changeset pre exit && git commit -am 'Complete beta mode'",
"version-and-reinstall": "yarn changeset version && yarn install --no-immutable",
"celocli": "yarn workspace @celo/celocli run --silent celocli",
"deprecate-sdks": "ts-node ./scripts/unpublish-sdks.ts"
"celocli": "yarn workspace @celo/celocli run --silent celocli"
},
"workspaces": {
"packages": [
Expand All @@ -43,7 +42,6 @@
"@changesets/changelog-github": "^0.5.0",
"@types/jest": "^29.1.1",
"@types/node": "18.7.16",
"@types/prompt": "1.1.1",
"@types/semver": "7.3.8",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
Expand All @@ -57,7 +55,6 @@
"jest": "^29.0.2",
"prettier": "^2.7.1",
"pretty-quick": "^2.0.1",
"prompt": "1.2.0",
"semver": "7.5.2",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
Expand Down
10 changes: 5 additions & 5 deletions packages/sdk/wallets/wallet-hsm-azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"sdk"
],
"scripts": {
"build": "tsc -b .",
"clean": "tsc -b . --clean",
"build": "yarn run --top-level tsc -b .",
"clean": "yarn run --top-level tsc -b . --clean",
"docs": "yarn run --top-level typedoc",
"test": "yarn run --top-level jest --runInBand",
"lint": "yarn run --top-level eslint -c .eslintrc.js ",
"prepublishOnly": "yarn build"
},
"dependencies": {
"@azure/identity": "^1.1.0",
"@azure/keyvault-keys": "^4.1.0",
"@azure/keyvault-secrets": "^4.1.0",
"@azure/identity": "^4.0.1",
"@azure/keyvault-keys": "^4.7.2",
"@azure/keyvault-secrets": "^4.7.0",
"@celo/base": "^6.0.0",
"@celo/connect": "^5.1.1",
"@celo/utils": "^5.0.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ export class AzureKeyVaultClient {
}
const signingAlgorithm = SIGNING_ALGORITHM_FOR[curve]
const cryptographyClient = await this.getCryptographyClient(keyName)
const signResult = await cryptographyClient.sign(
// @ts-ignore-next-line (ECDSA256 is not included in the client enum but is valid)
signingAlgorithm,
new Uint8Array(message)
)
const signResult = await cryptographyClient.sign(signingAlgorithm, new Uint8Array(message))
// The output of this will be a 64 byte array.
// The first 32 are the value for R and the rest is S
if (
Expand Down
81 changes: 0 additions & 81 deletions scripts/deprecate-sdks.ts

This file was deleted.

Loading

0 comments on commit ea7ae7c

Please sign in to comment.