Socket
Socket
Sign inDemoInstall

@linear/sdk

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linear/sdk - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "@linear/sdk",
"version": "0.0.1",
"version": "0.0.2",
"description": "Linear API SDK",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -39,2 +39,16 @@ # @linear/sdk

If you want to be more specific on return values with your queries, you can also pass GraphQL query with the query call:
```js
// Get project id for an issue
const issue = await linear.getIssue(issueId, "{ id project { id } }");
console.log(issue.project.id);
// Fetch project states with associated projects ids
const states = await linear.client.query.projectStates(
{},
`{ id name project { id } }`
);
```
## Documentation

@@ -41,0 +55,0 @@

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

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