Skip to content

Commit c6805c4

Browse files
committed
hints
1 parent ebb990f commit c6805c4

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

packages/node-sdk/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ To get started you need to obtain your secret key from the
2020
[environment settings](https://app.bucket.co/envs/current/settings/app-environments)
2121
in Bucket.
2222

23-
> [!CAUTION]
24-
> Secret keys are meant for use in server side SDKs only.
25-
> Secret keys offer the users the ability to obtain
26-
> information that is often sensitive and thus should not be used in
27-
> client-side applications.
23+
{% hint style="danger" %}
24+
Secret keys are meant for use in server side SDKs only.
25+
Secret keys offer the users the ability to obtain
26+
information that is often sensitive and thus should not be used in
27+
client-side applications.
28+
{% endhint %}
2829

2930
Bucket will load settings through the various environment variables automatically (see [Configuring](#configuring) below).
3031

packages/node-sdk/src/client.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,6 @@ export class BucketClient {
250250
* set to be used in subsequent calls.
251251
* For example, for evaluating feature targeting or tracking events.
252252
*
253-
* @param enableTracking - Whether to track feature.
254-
* @param context - The user/company/otherContext to bind to the client.
255-
*
256253
* @returns A new client bound with the arguments given.
257254
* @throws An error if the user/company is given but their ID is not a string.
258255
* @remarks
@@ -425,8 +422,6 @@ export class BucketClient {
425422
/**
426423
* Gets the evaluated feature for the current context which includes the user, company, and custom context.
427424
*
428-
* @param enableTracking - Whether to track feature.
429-
* @param context - The context to evaluate the features for.
430425
* @returns The evaluated features.
431426
* @remarks
432427
* Call `initialize` before calling this method to ensure the feature definitions are cached, no features will be returned otherwise.
@@ -1131,7 +1126,6 @@ export class BoundBucketClient {
11311126
* Create a new client bound with the additional context.
11321127
* Note: This performs a shallow merge for user/company/other individually.
11331128
*
1134-
* @param context User/company/other context to bind to the client object
11351129
* @returns new client bound with the additional context
11361130
*/
11371131
public bindClient({

0 commit comments

Comments
 (0)