You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -389,7 +389,7 @@ You can override the default server globally by passing a server name to the `se
389
389
#### Example
390
390
391
391
```typescript
392
-
import { SDK } from"@speakeasy-api/code-samples";
392
+
import { SDK } from"@speakeasyapi/code-samples";
393
393
import { openAsBlob } from"node:fs";
394
394
395
395
const sdk =newSDK({
@@ -419,7 +419,7 @@ run();
419
419
420
420
The default server can also be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:
421
421
```typescript
422
-
import { SDK } from"@speakeasy-api/code-samples";
422
+
import { SDK } from"@speakeasyapi/code-samples";
423
423
import { openAsBlob } from"node:fs";
424
424
425
425
const sdk =newSDK({
@@ -464,8 +464,8 @@ custom header and a timeout to requests and how to use the `"requestError"` hook
// fetcher takes a function that has the same signature as native `fetch`.
@@ -510,7 +510,7 @@ This SDK supports the following security schemes globally:
510
510
511
511
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
512
512
```typescript
513
-
import { SDK } from"@speakeasy-api/code-samples";
513
+
import { SDK } from"@speakeasyapi/code-samples";
514
514
import { openAsBlob } from"node:fs";
515
515
516
516
const sdk =newSDK({
@@ -547,7 +547,7 @@ You can pass a logger that matches `console`'s interface as an SDK option.
547
547
> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
0 commit comments