@use-tusk/drift-node-sdk 0.1.13 → 0.1.15
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.
- package/README.md +17 -1
- package/dist/index.cjs +31479 -11030
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -4
- package/dist/index.d.ts +1 -7
- package/dist/index.js +31448 -10988
- package/dist/index.js.map +1 -1
- package/package.json +14 -11
package/README.md
CHANGED
|
@@ -12,10 +12,25 @@
|
|
|
12
12
|
|
|
13
13
|
The Node.js Tusk Drift SDK enables fast and deterministic API testing by capturing and replaying API calls made to/from your service. Automatically record real-world API calls, then replay them as tests using the [Tusk CLI](https://github.com/Use-Tusk/tusk-drift-cli) to find regressions. During replay, all outbound requests are intercepted with recorded data to ensure consistent behavior without side-effects.
|
|
14
14
|
|
|
15
|
+
<div align="center">
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
<p><a href="https://github.com/Use-Tusk/drift-node-demo">Try it on a demo repo →</a></p>
|
|
20
|
+
|
|
21
|
+
</div>
|
|
22
|
+
|
|
15
23
|
## Documentation
|
|
16
24
|
|
|
17
25
|
For comprehensive guides and API reference, visit our [full documentation](https://docs.usetusk.ai/api-tests/installation#setup).
|
|
18
26
|
|
|
27
|
+
### SDK Guides
|
|
28
|
+
|
|
29
|
+
- [Initialization Guide](docs/initialization.md) - Set up the SDK in your Node.js application
|
|
30
|
+
- [Environment Variables](docs/environment-variables.md) - Environment variables reference
|
|
31
|
+
- [Quick Start Guide](docs/quickstart.md) - Record and replay your first trace
|
|
32
|
+
- [Troubleshooting Guide](docs/troubleshooting.md) - Common issues and solutions
|
|
33
|
+
|
|
19
34
|
## Requirements
|
|
20
35
|
|
|
21
36
|
Tusk Drift currently supports the following packages and versions:
|
|
@@ -25,8 +40,9 @@ Tusk Drift currently supports the following packages and versions:
|
|
|
25
40
|
- **PG**: `pg@8.x`, `pg-pool@2.x-3.x`
|
|
26
41
|
- **Firestore**: `@google-cloud/firestore@7.x`
|
|
27
42
|
- **Postgres**: `postgres@3.x`
|
|
28
|
-
- **MySQL**: `mysql2@3.x`
|
|
43
|
+
- **MySQL**: `mysql2@3.x`, `mysql@2.x`
|
|
29
44
|
- **IORedis**: `ioredis@4.x-5.x`
|
|
45
|
+
- **Upstash Redis**: `@upstash/redis@1.x`
|
|
30
46
|
- **GraphQL**: `graphql@15.x-16.x`
|
|
31
47
|
- **Prisma**: `prisma@5.x-6.x`
|
|
32
48
|
- **JSON Web Tokens**: `jsonwebtoken@5.x-9.x`
|