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

embassy

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embassy - npm Package Versions

2

2.0.4

Diff

Changelog

Source

[v2.0.4] = 2021-08-16

Fixed

  • Upgraded dependencies with security issues
tomfrost
published 2.0.3 •

Changelog

Source

[v2.0.3] - 2021-04-27

Fixed

  • Typescript build now uses CommonJS module types for higher compatibility
tomfrost
published 2.0.2 •

Changelog

Source

[v2.0.2] - 2021-04-23

Fixed

  • Typescript types are now published with the package
tomfrost
published 2.0.1 •

Changelog

Source

[v2.0.1] - 2021-01-14

Fixed

  • Updated build settings to include documentation. Intellisense in editors can now show TSDoc data.
  • Corrected public/private scope issues in Token.js that exposed two private functions to the public and included them in the API documentation.
tomfrost
published 2.0.0 •

Changelog

Source

[v2.0.0] - 2021-01-13

Changes

  • Embassy has been completely rewritten in TypeScript. While the API is similar to previous versions, there was no attempt to maintain backward-compatibility for this first major release. Notable changes follow.
  • Permissions have been changed to scopes, which can be granted and revoked as plain strings
  • Claims can now be read and written directly on a token.claims object without accessor functions
  • HMAC signing and verification is now supported
tomfrost
published 0.3.1 •

Changelog

Source

[v0.3.1]

Fixed

  • Updated all dependencies to resolve security warnings
tomfrost
published 0.3.0 •

Changelog

Source

[v0.3.0]

Added

  • refreshPermissions, getPrivKey, and getPubKey are now called with the Token object itself as the final argument.
tomfrost
published 0.2.2 •

Changelog

Source

[v0.2.2]

Fixed

  • options.getPrivKey is now called when a public key for the same KID already exists
tomfrost
published 0.2.1 •

Changelog

Source

[v0.2.1]

Fixed

  • sign() can now be called when an exp claim is already set. Embassy will delete the existing claim before calculating the new one and signing.
tomfrost
published 0.2.0 •

Changelog

Source

[v0.2.0]

Added

  • The getPrivKey option to dynamically load a private signing key.

Changed

  • The sign() function now only throws if the subject is not found. Key resolution errors are rejections with a KeyNotFoundError.
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