diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index e2e031a1..3db2cb56 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -794,6 +794,20 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.41.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.41.1.tgz", + "integrity": "sha512-y5CbN44M+pUCdGDlZFzGGBSKCA4A/J2ZH4edTYSSxFg7ce1Xt3GtydbVKWLlzL+INfFIZAEg1ZV6hh9+QQf9YQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "dev": true, diff --git a/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json b/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json index 9b88cffe..b9bf0b6f 100644 --- a/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +++ b/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json @@ -1 +1 @@ -{"version":"3.2.2","results":[[":tests/readme.test.js",{"duration":0,"failed":true}]]} \ No newline at end of file +{"version":"3.2.2","results":[[":tests/readme.test.js",{"duration":15.052396000000044,"failed":false}]]} \ No newline at end of file diff --git a/node_modules/@rollup/rollup-linux-x64-musl/README.md b/node_modules/@rollup/rollup-linux-x64-musl/README.md new file mode 100644 index 00000000..5848a6c6 --- /dev/null +++ b/node_modules/@rollup/rollup-linux-x64-musl/README.md @@ -0,0 +1,3 @@ +# `@rollup/rollup-linux-x64-musl` + +This is the **x86_64-unknown-linux-musl** binary for `rollup` diff --git a/node_modules/@rollup/rollup-linux-x64-musl/package.json b/node_modules/@rollup/rollup-linux-x64-musl/package.json new file mode 100644 index 00000000..959e2306 --- /dev/null +++ b/node_modules/@rollup/rollup-linux-x64-musl/package.json @@ -0,0 +1,22 @@ +{ + "name": "@rollup/rollup-linux-x64-musl", + "version": "4.41.1", + "os": [ + "linux" + ], + "cpu": [ + "x64" + ], + "files": [ + "rollup.linux-x64-musl.node" + ], + "description": "Native bindings for Rollup", + "author": "Lukas Taegert-Atkinson", + "homepage": "https://rollupjs.org/", + "license": "MIT", + "repository": "rollup/rollup", + "libc": [ + "musl" + ], + "main": "./rollup.linux-x64-musl.node" +} \ No newline at end of file diff --git a/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node b/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node new file mode 100644 index 00000000..c5ce3a9c Binary files /dev/null and b/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node differ diff --git a/readme.md b/readme.md index 4b7dd29c..14071a16 100644 --- a/readme.md +++ b/readme.md @@ -52,4 +52,56 @@ Authorization: Bearer {your_access_token} ### Versioning - Current API Version: `v1` -- Deprecated versions will be announced with a 6-month deprecation notice \ No newline at end of file +- Deprecated versions will be announced with a 6-month deprecation notice + +## Server Integration + +### Overview +This section provides guidance for integrating and connecting to our server infrastructure. + +### Connection Configuration +- Supported protocols: HTTPS, WebSocket +- Default port: 443 (HTTPS) +- Connection timeout: 30 seconds + +### Server Setup + +#### Prerequisites +- Ensure network connectivity +- Verify firewall settings +- Have valid authentication credentials + +#### Connection Methods + +##### 1. Direct HTTPS Connection +```javascript +const serverConnection = { + host: 'api.example.com', + protocol: 'https:', + port: 443, + timeout: 30000 // 30 seconds +}; +``` + +##### 2. Secure WebSocket Connection +```javascript +const wsConnection = { + host: 'ws.example.com', + protocol: 'wss:', + port: 443, + secure: true +}; +``` + +### Connection Error Handling +- Implement robust error handling +- Log connection attempts and failures +- Provide clear error messages +- Implement automatic reconnection strategies + +### Best Practices +1. Use environment-specific configuration +2. Securely manage connection credentials +3. Implement connection pooling +4. Monitor connection health +5. Use connection timeouts \ No newline at end of file