Skip to content

Commit

Permalink
[PM-13377] Update links to sm sdk (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton authored Dec 12, 2024
1 parent 2f1243d commit 108200c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/architecture/mobile-clients/android/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The lowest level of the data layer are the "data source" classes. These are the
that include data persisted in [Room](https://developer.android.com/jetpack/androidx/releases/room)
/ [SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences),
data retrieved from network requests using [Retrofit](https://github.com/square/retrofit), and data
retrieved via interactions with the [Bitwarden SDK](https://github.com/bitwarden/sdk).
retrieved via interactions with the [Bitwarden SDK](https://github.com/bitwarden/sdk-internal).

Note that these data sources are constructed in a manner that adheres to a very important principle
of the app: **that function calls should not throw exceptions** (see the
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/mobile-clients/ios/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ data sources as well as higher-level "repository" and "service" classes.
The lowest level of the core layer are the data model objects. These are the raw sources of data
that include data retrieved or sent via network requests, data persisted with
[CoreData](https://developer.apple.com/documentation/coredata/), and data that is used to interact
with the [Bitwarden SDK](https://github.com/bitwarden/sdk).
with the [Bitwarden SDK](https://github.com/bitwarden/sdk-internal).

The models are roughly organized based on their use and type:

Expand Down
10 changes: 4 additions & 6 deletions docs/architecture/sdk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ internal private items.

## Architecture

The Bitwarden SDK is structured as a single [Git repository](https://github.com/bitwarden/sdk) with
multiple internal crates. Please review the `README` in the repository for up to date information
about the different crates.
The Bitwarden SDK is structured as a single
[Git repository](https://github.com/bitwarden/sdk-internal) with multiple internal crates. Please
review the `README` in the repository for up to date information about the different crates.

We generally strive towards extracting features into separate crates to keep the `bitwarden-core`
crate as lean as possible. This has multiple benefits such as faster compile-time and clear
Expand Down Expand Up @@ -98,9 +98,7 @@ WebAssembly module that can be used in JavaScript / TypeScript. To ensure compat
browsers that do not support WebAssembly, we also generate a JavaScript module from the WebAssembly
that can be used as a fallback.

The WebAssembly module is published on [npm](https://www.npmjs.com/package/@bitwarden/sdk-wasm) and
prerelease builds are published on
[GitHub Packages](https://github.com/bitwarden/sdk/pkgs/npm/sdk-wasm).
The WebAssembly module is published on [npm](https://www.npmjs.com/package/@bitwarden/sdk-internal).

### C bindings

Expand Down
8 changes: 5 additions & 3 deletions docs/architecture/sdk/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ There may be certain functionality that is actively being developed and is not y
cases, they should be marked as such and gated behind a `unstable` feature flag. Consuming client
applications should avoid merging changes that depend on these features into `main`.

To track breaking changes, we use a [changelog file in the `bitwarden` crate][changelog]. This file
should be updated with noteworthy changes for each PR.
## Public APIs

[changelog]: https://github.com/bitwarden/sdk/blob/main/crates/bitwarden/CHANGELOG.md
To track breaking changes to the public APIs for Secrets Manager, we use a [changelog file in the
`bitwarden` crate][changelog]. This file should be updated with noteworthy changes.

[changelog]: https://github.com/bitwarden/sdk-sm/blob/main/crates/bitwarden/CHANGELOG.md
4 changes: 2 additions & 2 deletions docs/getting-started/sdk/secrets-manager/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This section contains development information for the Bitwarden Secrets Manager
wrappers, and integrations based on the SDK.

For more in-depth documentation please review the [SDK Architecture](../../../architecture/sdk),
Secrets Manager SDK project's [`README`](https://github.com/bitwarden/sdk).
Secrets Manager SDK project's [`README`](https://github.com/bitwarden/sdk-sm).

## Requirements

Expand All @@ -19,7 +19,7 @@ See the [Tools and Libraries](../../tools/index.md) page for more information.
1. Clone the repository:

```bash
git clone https://github.com/bitwarden/sdk.git
git clone https://github.com/bitwarden/sdk-sm.git
cd sdk
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ the map settings available:

- **bwSecretId**: This is the UUID of the secret in Secrets Manager. This can found under the secret
name in the Secrets Manager web portal or by using the
[Bitwarden Secrets Manager CLI](https://github.com/bitwarden/sdk/releases).
[Bitwarden Secrets Manager CLI](https://github.com/bitwarden/sdk-sm/releases).
- **secretKeyName**: The resulting key inside the Kubernetes secret that replaces the UUID

Note that the custom mapping is made available on the generated secret for informational purposes in
Expand Down

0 comments on commit 108200c

Please sign in to comment.