Issue on docs - parameters to disable telemetry are incorrect
- Dominant language
- JavaScript
- Stars
- 337
- Forks
- 792
- Avg merge
- 17h 23m
- Merged PRs (30d)
- 49
Description
Path: /base-account/more/telemetry
This snippet below taken directly from the docs doesn't appear to be correct.
```
import { createCoinbaseWalletSDK } from "@coinbase/wallet-sdk";
const sdk = createCoinbaseWalletSDK({
appName: "My App",
appLogoUrl: "https://example.com/logo.png",
telemetry: false,
});
const provider = sdk.makeProvider();
```
In my app I tried to do the following, but there's two issues with it - the typescript interface for `createCoinbaseWalletSDK()` neither supports a `telemetry` parameter or exposes a `makeProvider()` function.
```
import { createCoinbaseWalletSDK } from '@coinbase/wallet-sdk';
const coinbaseSdk = createCoinbaseWalletSDK({
appName: this.appName,
appLogoUrl: this.appLogoUrl,
telemetry: false,
});
return coinbaseSdk.makeProvider();
```
I'm using the latest `@coinbase/wallet-sdk@4.3.7`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.