@occtoo/destination-client
Advanced tools
Comparing version 0.0.23 to 0.0.24
{ | ||
"name": "@occtoo/destination-client", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "CLI", |
@@ -24,5 +24,5 @@ <p align="center"> | ||
<h2 id="getting-started">Installation and Usage</h2> | ||
<h2 id="getting-started">Getting started</h2> | ||
First, put your Occtoo destination values in a `.env` file: | ||
First, put your Occtoo Destination values in a `.env` file: | ||
@@ -40,3 +40,3 @@ ```bash | ||
Install the package: | ||
Then, install the package: | ||
@@ -47,3 +47,3 @@ ```bash | ||
Then, import the `DestinationClient` class to create a new destination client and use it to query your destination endpoints. Using a RSC in Next.js, for example: | ||
Lastly, import the `DestinationClient` class to create a new destination client and use it to query your destination endpoints. Using a RSC in Next.js, for example: | ||
@@ -113,2 +113,4 @@ ```javascript | ||
<h2 id="authentication">Authentication</h2> | ||
If you are using a protected destination, you can pass client credentials to the `DestinationClient`. | ||
@@ -142,3 +144,3 @@ Credentials can be generated in the Occtoo Studio. | ||
Authorization: "Bearer <access_token>", | ||
} | ||
}, | ||
}); | ||
@@ -151,3 +153,3 @@ ``` | ||
```bash | ||
npx @occtoo/destination-client --generate | ||
npx @occtoo/destination-client generate | ||
``` | ||
@@ -158,2 +160,2 @@ | ||
- [Occtoo docs](https://docs.occtoo.com/) | ||
- [Occtoo website](https://www.occtoo.com/) | ||
- [Occtoo website](https://www.occtoo.com/) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26688
155