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

@roadwork/dapr-js-sdk

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roadwork/dapr-js-sdk - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

build/types/DaprInvokerCallback.type.d.ts
import express from 'express';
export declare type TypeDaprInvokerCallback = (req: express.Request, res: express.Response) => Promise<any>;
export declare type TypeDaprInvokerCallback = (req: express.Request, res: express.Response) => Promise<any | void>;
{
"name": "@roadwork/dapr-js-sdk",
"version": "0.1.3",
"version": "0.1.4",
"description": "An unofficial Dapr (https://dapr.io) SDK for Node.js",

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

@@ -13,5 +13,6 @@ # Dapr Node.js SDK

import Dapr from "@roadwork/dapr-js-sdk";
import express from "express";
import express from "express"; // starts the dapr listener on the app port
const client = new Dapr();
const client = new Dapr("<dapr_url>", "<dapr_port>");
await client.initialize();

@@ -18,0 +19,0 @@ // Pub / Sub

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