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

@dapr/dapr-dev

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dapr/dapr-dev - npm Package Compare versions

Comparing version 3.2.0-20231026074626-0fb83c1 to 3.2.0-20231106162154-66d4bd0

2

package.json
{
"name": "@dapr/dapr-dev",
"version": "3.2.0-20231026074626-0fb83c1",
"version": "3.2.0-20231106162154-66d4bd0",
"description": "The official Dapr (https://dapr.io) SDK for Node.js",

@@ -5,0 +5,0 @@ "types": "./build/index.d.ts",

@@ -236,3 +236,3 @@ "use strict";

function getClientOptions(clientOptions, defaultCommunicationProtocol, defaultLoggerOptions) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
const clientCommunicationProtocol = (_a = clientOptions === null || clientOptions === void 0 ? void 0 : clientOptions.communicationProtocol) !== null && _a !== void 0 ? _a : defaultCommunicationProtocol;

@@ -265,3 +265,3 @@ // We decide the host/port/endpoint here

actor: clientOptions === null || clientOptions === void 0 ? void 0 : clientOptions.actor,
daprApiToken: clientOptions === null || clientOptions === void 0 ? void 0 : clientOptions.daprApiToken,
daprApiToken: (_e = clientOptions === null || clientOptions === void 0 ? void 0 : clientOptions.daprApiToken) !== null && _e !== void 0 ? _e : Settings_util_1.Settings.getDefaultApiToken(),
maxBodySizeMb: clientOptions === null || clientOptions === void 0 ? void 0 : clientOptions.maxBodySizeMb,

@@ -268,0 +268,0 @@ };

import CommunicationProtocolEnum from "../enum/CommunicationProtocol.enum";
export declare class Settings {
private static readonly defaultAppId;
private static readonly defaultApiToken;
private static readonly defaultHost;

@@ -23,2 +24,3 @@ private static readonly defaultHttpAppPort;

static getAppId(): string;
static getDefaultApiToken(): string | undefined;
static getDefaultHost(): string;

@@ -25,0 +27,0 @@ static getDefaultHttpPort(): string;

@@ -37,2 +37,5 @@ "use strict";

}
static getDefaultApiToken() {
return process.env.DAPR_API_TOKEN || Settings.defaultApiToken;
}
static getDefaultHost() {

@@ -101,2 +104,3 @@ return Settings.defaultHost;

Settings.defaultAppId = "my-dapr-app";
Settings.defaultApiToken = undefined;
Settings.defaultHost = "127.0.0.1";

@@ -103,0 +107,0 @@ Settings.defaultHttpAppPort = "3000";

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "3.2.0-20231026074626-0fb83c1";
export declare const SDK_VERSION = "3.2.0-20231106162154-66d4bd0";
export declare const SDK_PACKAGE_NAME = "@dapr/dapr-dev";

@@ -18,3 +18,3 @@ "use strict";

// It is not checked in to the git repository.
exports.SDK_VERSION = "3.2.0-20231026074626-0fb83c1";
exports.SDK_VERSION = "3.2.0-20231106162154-66d4bd0";
exports.SDK_PACKAGE_NAME = "@dapr/dapr-dev";
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