@revenium/perplexity 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,15 +17,15 @@ A lightweight, production-ready middleware that adds **Revenium metering and tra
17
17
 
18
18
  ## 📋 Table of Contents
19
19
 
20
- - [Installation](#-installation)
21
- - [Three Ways to Use This Middleware](#-three-ways-to-use-this-middleware)
22
- - [Option 1: New Project with npm Package](#option-1-new-project-with-npm-package-recommended)
23
- - [Option 2: Clone and Use Locally](#option-2-clone-and-use-locally)
24
- - [Option 3: Add to Existing Project](#option-3-add-to-existing-project)
25
- - [Quick Start](#-quick-start)
26
- - [API Reference](#-api-reference)
27
- - [Examples](#-examples)
28
- - [Environment Variables](#-environment-variables)
20
+ - [Installation](https://github.com/revenium/revenium-middleware-perplexity-node#-installation)
21
+ - [Three Ways to Use This Middleware](https://github.com/revenium/revenium-middleware-perplexity-node#-three-ways-to-use-this-middleware)
22
+ - [Option 1: New Project with npm Package](https://github.com/revenium/revenium-middleware-perplexity-node#option-1-new-project-with-npm-package-recommended)
23
+ - [Option 2: Clone and Use Locally](https://github.com/revenium/revenium-middleware-perplexity-node#option-2-clone-and-use-locally)
24
+ - [Option 3: Add to Existing Project](https://github.com/revenium/revenium-middleware-perplexity-node#option-3-add-to-existing-project)
25
+ - [Quick Start](https://github.com/revenium/revenium-middleware-perplexity-node#-quick-start)
26
+ - [API Reference](https://github.com/revenium/revenium-middleware-perplexity-node#-api-reference)
27
+ - [Examples](https://github.com/revenium/revenium-middleware-perplexity-node#-examples)
28
+ - [Environment Variables](https://github.com/revenium/revenium-middleware-perplexity-node#-environment-variables)
29
29
 
30
30
  ## 📦 Installation
31
31
 
@@ -386,7 +386,7 @@ console.log(result.transactionId);
386
386
  **Parameters:**
387
387
 
388
388
  - `messages` - Array of message objects with `role` and `content`
389
- - `model` - Perplexity model to use (see [Available Models](#available-models))
389
+ - `model` - Perplexity model to use (see [Available Models](https://github.com/revenium/revenium-middleware-perplexity-node#available-models))
390
390
  - `maxTokens` - Maximum tokens to generate (optional)
391
391
  - `temperature` - Sampling temperature 0-2 (optional)
392
392
  - `topP` - Nucleus sampling parameter (optional)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revenium/perplexity",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "NodeJS middleware for Perplexity AI API with Revenium metering",
5
5
  "homepage": "https://github.com/revenium/revenium-middleware-perplexity-node#readme",
6
6
  "bugs": {