Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@superfaceai/one-sdk

Package Overview
Dependencies
Maintainers
3
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superfaceai/one-sdk - npm Package Versions

1
14

1.1.0

Diff

Changelog

Source

[1.1.0] - 2021-12-22

Added

  • Pass integration parameters in perform

Fixed

  • Display query parameters in URL with DEBUG=superface:http:sensitive
superface-bot
published 1.1.0-rc.0 •

superface-bot
published 1.0.1 •

Changelog

Source

[1.0.1] - 2021-11-24

Added

  • Use JSON Pointer (arrays not supported) to specify api token location in body

Fixed

  • ProfileParameterValidator now resolves named models before field references
  • Buffer serialization in request body
  • undefined values are removed when stringifying records
superface-bot
published 1.0.1-rc.1 •

superface-bot
published 1.0.1-rc.0 •

superface-bot
published 1.0.0 •

Changelog

Source

[1.0.0] - 2021-11-04

Added

  • Module for mocking of Superface components
  • MapInterpreter now supports integration parameters

Changed

  • Removed unnecessary result propagation in interpreter - using stackTop.result instead
  • Terminal outcome statements should now correctly exit from iteration
  • MappedHTTPErrors and MappedErrors are handled a little better
  • Parser uses AST metadata to check if source was changed
  • Profile provider resolves integration parameters and fallback to default during bind

Removed

  • replaced zod with ast validations
  • deprecated cacheBoundProfileProvider function on SuperfaceClient

Fixed

  • operation call no longer overwrites already mapped result
  • caller scope no longer leaks into operation callees
  • result variable no longer has special meaning
  • outcome.data is no longer overwritten by result
  • fail correctly sets outcome.error in caller
  • errors are passed correctly through multiple levels of operation calls
  • inline calls throw error when they fail
  • Integration parameters are passed from super.json to BoundProfileProvider
superface-bot
published 0.0.41-beta.6 •

superface-bot
published 0.0.41-beta.4 •

superface-bot
published 0.0.41-beta.3 •

superface-bot
published 0.0.41-beta.2 •

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