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

@awell-health/awell-sdk

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awell-health/awell-sdk

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Awell SDK (JavaScript)

A JavaScript SDK built with https://genql.dev/. The SDK is auto-generated and should make calling Awell's API easier if if you are on a JavaScript stack.

The SDK can translates JavaScript code into GraphQL queries, enabling auto completion and validation for the GraphQL queries. Additional benefits:

  • Type safe
  • Only generate the client once, only when the schema changes and not every time a query is changed
  • No runtime dependencies (not even graphql)

For Awell

Todo

  • Review
  • Create NPM package (see ""Installation)" so the package can be used as desribed in "Usage"

Generate the SDK client

Run yarn generate-sdk

Note: make sure environment variables in .env are set.

For users

Installation

yarn add @awell-health/awell-sdk

Usage

Learn more here.

Remember to always call the SDK on the server to keep your API key secure.

import { AwellSdk } from '@awell-health/awell-sdk'

// Create the SDK
const sdk = new AwellSdk({
  environment: 'production-eu',
  apiKey: 'YOUR_API_KEY',
})

// Perform your query our mutation
sdk.orchestration.query({
  publishedPathwayDefinitions: {
    publishedPathwayDefinitions: {
      id: true,
      title: true,
      version: true,
      release_id: true,
    },
  },
})

FAQs

Package last updated on 06 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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