New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rockset

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rockset - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

2

package.json
{
"name": "rockset",
"version": "2.0.1",
"version": "2.1.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "description": "Client for querying Rockset and interacting with the Rockset API.",

@@ -23,12 +23,25 @@

### Using Require
```js
const rockset = require("rockset").default(apikey, "https://api.rs2.usw2.rockset.com");
await rockset.queries.query({
sql: { query: "Select count(*) from _events" }
});
```
### Using ES6 Import
```ts
import rocksetConfigure from "rockset";
const rockset = rocksetConfigure(apikey, "https://api.rs2.usw2.rockset.com");
await rockset.queries.query({
sql: {
query
}
sql: { query: "Select count(*) from _events" }
});
```
### Custom Fetch Function
To supply a custom fetch function, we pass it in as the last parameter to rocksetConfigure.

@@ -35,0 +48,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc