Socket
Socket
Sign inDemoInstall

@aries-framework/action-menu

Package Overview
Dependencies
4
Maintainers
3
Versions
272
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aries-framework/action-menu

<h1 align="c


Version published
Weekly downloads
0
Maintainers
3
Created
Weekly downloads
 

Changelog

Source

0.4.2 (2023-10-05)

Bug Fixes

  • askar: throw error if imported wallet exists (#1593) (c2bb2a5)
  • cheqd: changed the name formatting to a encoded hex value (#1574) (d299f55)
  • core: remove node-fetch dependency (#1578) (9ee2ce7)
  • do not send package via outdated session (#1559) (de6a735)
  • duplicate service ids in connections protocol (#1589) (dd75be8)
  • implicit invitation to specific service (#1592) (4071dc9)
  • log and throw on WebSocket sending errors (#1573) (11050af)
  • oob: support oob with connection and messages (#1558) (9732ce4)
  • service validation in OOB invitation objects (#1575) (91a9434)
  • update tsyringe for ts 5 support (#1588) (296955b)

Features

  • allow connection invitation encoded in oob url param (#1583) (9d789fa)

Readme

Source


Hyperledger Aries logo

Aries Framework JavaScript Action Menu Module

License typescript @aries-framework/action-menu version


Action Menu module for Aries Framework JavaScript. Implements Aries RFC 0509.

Installation

Make sure you have set up the correct version of Aries Framework JavaScript according to the AFJ repository. To find out which version of AFJ you need to have installed you can run the following command. This will list the required peer dependency for @aries-framework/core.

npm info "@aries-framework/action-menu" peerDependencies

Then add the action-menu module to your project.

yarn add @aries-framework/action-menu

Quick start

In order for this module to work, we have to inject it into the agent to access agent functionality. See the example for more information.

Example of usage

import { ActionMenuModule } from '@aries-framework/action-menu'

const agent = new Agent({
  config: {
    /* config */
  },
  dependencies: agentDependencies,
  modules: {
    actionMenu: new ActionMenuModule(),
    /* other custom modules */
  },
})

await agent.initialize()

// To request root menu to a given connection (menu will be received
// asynchronously in a ActionMenuStateChangedEvent)
await agent.modules.actionMenu.requestMenu({ connectionId })

// To select an option from the action menu
await agent.modules.actionMenu.performAction({
  connectionId,
  performedAction: { name: 'option-1' },
})

FAQs

Last updated on 05 Oct 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc