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

@microsoft/teamsfx-api

Package Overview
Dependencies
Maintainers
4
Versions
1333
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/teamsfx-api - npm Package Compare versions

Comparing version 0.3.1-alpha.0aa8dd45.0 to 0.3.1-alpha.3152c304.0

build/utils/crypto.d.ts

2

build/context.d.ts

@@ -5,2 +5,3 @@ import { Inputs, PluginConfig, ProjectSettings, ReadonlySolutionConfig, SolutionConfig } from "./types";

import { UserInteraction } from "./qm";
import { CryptoProvider } from "./utils";
export interface Context {

@@ -18,2 +19,3 @@ root: string;

ui?: UserInteraction;
cryptoProvider?: CryptoProvider;
}

@@ -20,0 +22,0 @@ export interface SolutionContext extends Context {

@@ -22,3 +22,5 @@ import { Result } from "neverthrow";

getQuestionsForUserTask?: (router: FunctionRouter, inputs: Inputs) => Promise<Result<QTreeNode | undefined, FxError>>;
encrypt: (plaintext: string, inputs: Inputs) => Promise<Result<string, FxError>>;
decrypt: (ciphertext: string, inputs: Inputs) => Promise<Result<string, FxError>>;
}
//# sourceMappingURL=core.d.ts.map

@@ -12,2 +12,3 @@ import { UserInteraction } from "../qm/ui";

export * from "./tree";
export * from "./crypto";
export interface Tools {

@@ -14,0 +15,0 @@ logProvider: LogProvider;

@@ -11,2 +11,3 @@ // Copyright (c) Microsoft Corporation.

tslib_1.__exportStar(require("./tree"), exports);
tslib_1.__exportStar(require("./crypto"), exports);
//# sourceMappingURL=index.js.map

@@ -52,2 +52,12 @@ import { TokenCredential } from "@azure/core-http";

setSubscription(subscriptionId: string): Promise<void>;
/**
* Get account information
*/
getAccountInfo(): Record<string, string> | undefined;
/**
* Get user select subscription, tenant information
* @param triggerUI whether means trigger login or select subscription workflow when user has not logged in or selected subscription
* @returns SubscriptionInfo.subscriptionId === "", means user does not select subscription
*/
getSelectedSubscription(triggerUI?: boolean): Promise<SubscriptionInfo | undefined>;
}

@@ -54,0 +64,0 @@ /**

6

package.json
{
"name": "@microsoft/teamsfx-api",
"version": "0.3.1-alpha.0aa8dd45.0",
"version": "0.3.1-alpha.3152c304.0",
"description": "teamsfx framework api",

@@ -24,3 +24,3 @@ "main": "build/index.js",

"doc": "typedoc",
"test:unit": "nyc mocha --no-timeouts --require ts-node/register tests/**/*.ts",
"test:unit": "nyc mocha --no-timeouts --require ts-node/register \"tests/**/*.ts\"",
"prepublishOnly": "npm run test:unit && npm run build",

@@ -64,3 +64,3 @@ "precommit": "lint-staged"

},
"gitHead": "7bffbfd960de254e8be834c63289f807fa83ea44",
"gitHead": "c55b88e419fcc8840c7c1034818155da69faef9f",
"publishConfig": {

@@ -67,0 +67,0 @@ "access": "public"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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