@neondatabase/serverless
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -318,3 +318,3 @@ // Type definitions for pg 8.6 | ||
*/ | ||
webSocketConstructor: typeof CustomWebSocket | undefined; | ||
webSocketConstructor: any; //typeof CustomWebSocket | undefined; | ||
@@ -321,0 +321,0 @@ /** |
{ | ||
"name": "@neondatabase/serverless", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"author": "Neon", | ||
@@ -5,0 +5,0 @@ "description": "node-postgres via WebSockets from neon.tech", |
@@ -119,8 +119,10 @@ # @neondatabase/serverless [BETA] | ||
The code is at https://github.com/neondatabase/serverless. Most of the interesting parts are in `shims/net/index.ts`. | ||
The code is at https://github.com/neondatabase/serverless. Most of the interesting parts are in `shims/net/index.ts` and `export/index.ts`. | ||
* To update the npm package, run `npm run export`, then `cd dist/npm` and `npm publish`. | ||
* To run or deploy the test app on Cloudflare, create a `.dev.vars` file containing `DATABASE_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`. | ||
* To run or deploy the simple test app on Cloudflare, create a `.dev.vars` file containing `DATABASE_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`. | ||
* To run the test app in a browser, create a `.dev.vars` file as above, run `npm run start` and visit `http://localhost:7070/dist/deploy/` (to include debug output and avoid minification, use `npm run startDebug` instead). | ||
* To run the latencies test app in a browser, create a `.dev.vars` file as above, run `npm run browser` and visit `http://localhost:7070/dist/browser/`. To include debug output and avoid minification, use `npm run browserDebug` instead. | ||
* To run the latencies test app in node, create a `.dev.vars` file as above and run `npm run node`. To include debug output and avoid minification, use `npm run nodeDebug` instead. |
Sorry, the diff of this file is too big to display
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
127
172781
940