1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

chore: update sdk to main.105 (#13472)

* chore: update sdk version

* fix: sdk breaking changes
This commit is contained in:
Andreas Coroiu
2025-02-19 15:46:43 +01:00
committed by GitHub
parent ae38e40859
commit 9c102f056c
4 changed files with 11 additions and 11 deletions

View File

@@ -827,9 +827,9 @@ export class AddEditComponent implements OnInit, OnDestroy {
private async generateSshKey(showNotification: boolean = true) { private async generateSshKey(showNotification: boolean = true) {
await firstValueFrom(this.sdkService.client$); await firstValueFrom(this.sdkService.client$);
const sshKey = generate_ssh_key("Ed25519"); const sshKey = generate_ssh_key("Ed25519");
this.cipher.sshKey.privateKey = sshKey.private_key; this.cipher.sshKey.privateKey = sshKey.privateKey;
this.cipher.sshKey.publicKey = sshKey.public_key; this.cipher.sshKey.publicKey = sshKey.publicKey;
this.cipher.sshKey.keyFingerprint = sshKey.key_fingerprint; this.cipher.sshKey.keyFingerprint = sshKey.fingerprint;
if (showNotification) { if (showNotification) {
this.toastService.showToast({ this.toastService.showToast({

View File

@@ -104,9 +104,9 @@ export class SshKeySectionComponent implements OnInit {
await firstValueFrom(this.sdkService.client$); await firstValueFrom(this.sdkService.client$);
const sshKey = generate_ssh_key("Ed25519"); const sshKey = generate_ssh_key("Ed25519");
this.sshKeyForm.setValue({ this.sshKeyForm.setValue({
privateKey: sshKey.private_key, privateKey: sshKey.privateKey,
publicKey: sshKey.public_key, publicKey: sshKey.publicKey,
keyFingerprint: sshKey.key_fingerprint, keyFingerprint: sshKey.fingerprint,
}); });
} }
} }

8
package-lock.json generated
View File

@@ -24,7 +24,7 @@
"@angular/platform-browser": "18.2.13", "@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13", "@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13", "@angular/router": "18.2.13",
"@bitwarden/sdk-internal": "0.2.0-main.38", "@bitwarden/sdk-internal": "0.2.0-main.105",
"@electron/fuses": "1.8.0", "@electron/fuses": "1.8.0",
"@emotion/css": "11.13.5", "@emotion/css": "11.13.5",
"@koa/multer": "3.0.2", "@koa/multer": "3.0.2",
@@ -4471,9 +4471,9 @@
"link": true "link": true
}, },
"node_modules/@bitwarden/sdk-internal": { "node_modules/@bitwarden/sdk-internal": {
"version": "0.2.0-main.38", "version": "0.2.0-main.105",
"resolved": "https://registry.npmjs.org/@bitwarden/sdk-internal/-/sdk-internal-0.2.0-main.38.tgz", "resolved": "https://registry.npmjs.org/@bitwarden/sdk-internal/-/sdk-internal-0.2.0-main.105.tgz",
"integrity": "sha512-bkN+BZC0YA4k0To8QiT33UTZX8peKDXud8Gzq3UHNPlU/vMSkP3Wn8q0GezzmYN3UNNIWXfreNCS0mJ+S51j/Q==", "integrity": "sha512-MaQFJbuKTCbN9oZC/+opYVeegaNNJpiUv9/zx+gu8KxWmX0hyEkNPtHKxBjDt3kLLz69CudDtUxEgqOfcDsYAw==",
"license": "GPL-3.0" "license": "GPL-3.0"
}, },
"node_modules/@bitwarden/vault": { "node_modules/@bitwarden/vault": {

View File

@@ -156,7 +156,7 @@
"@angular/platform-browser": "18.2.13", "@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13", "@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13", "@angular/router": "18.2.13",
"@bitwarden/sdk-internal": "0.2.0-main.38", "@bitwarden/sdk-internal": "0.2.0-main.105",
"@electron/fuses": "1.8.0", "@electron/fuses": "1.8.0",
"@emotion/css": "11.13.5", "@emotion/css": "11.13.5",
"@koa/multer": "3.0.2", "@koa/multer": "3.0.2",