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

botbuilder-core

Package Overview
Dependencies
Maintainers
3
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-core - npm Package Compare versions

Comparing version 4.21.1-rc to 4.21.1-rc2

2

_ts3.4/lib/botComponent.d.ts

@@ -11,3 +11,3 @@ import * as z from 'zod';

export declare abstract class BotComponent {
static z: z.ZodType<BotComponent, z.ZodTypeDef>;
static z: z.ZodType<BotComponent, z.ZodTypeDef, BotComponent>;
abstract configureServices(services: ServiceCollection, configuration: Configuration): void;

@@ -14,0 +14,0 @@ }

@@ -6,68 +6,36 @@ import * as z from 'zod';

declare const TypedOptions: z.ZodObject<{
OAuthApiEndpoint: z.ZodUnion<[
OAuthApiEndpoint: z.ZodOptional<z.ZodString>;
BotOpenIdMetadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
ChannelService: z.ZodOptional<z.ZodString>;
ValidateAuthority: z.ZodOptional<z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
BotOpenIdMetadata: z.ZodUnion<[
z.ZodUnion<[
z.ZodString,
z.ZodNull
]>,
z.ZodUndefined
]>;
ChannelService: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
ValidateAuthority: z.ZodUnion<[
z.ZodUnion<[
z.ZodString,
z.ZodBoolean
]>,
z.ZodUndefined
]>;
ToChannelFromBotLoginUrl: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
ToChannelFromBotOAuthScope: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
ToBotFromChannelTokenIssuer: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
OAuthUrl: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
ToBotFromChannelOpenIdMetadataUrl: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
ToBotFromEmulatorOpenIdMetadataUrl: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
CallerId: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
CertificateThumbprint: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
CertificatePrivateKey: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
}, {
strict: true;
}, {
z.ZodBoolean
]>>;
ToChannelFromBotLoginUrl: z.ZodOptional<z.ZodString>;
ToChannelFromBotOAuthScope: z.ZodOptional<z.ZodString>;
ToBotFromChannelTokenIssuer: z.ZodOptional<z.ZodString>;
OAuthUrl: z.ZodOptional<z.ZodString>;
ToBotFromChannelOpenIdMetadataUrl: z.ZodOptional<z.ZodString>;
ToBotFromEmulatorOpenIdMetadataUrl: z.ZodOptional<z.ZodString>;
CallerId: z.ZodOptional<z.ZodString>;
CertificateThumbprint: z.ZodOptional<z.ZodString>;
CertificatePrivateKey: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
OAuthApiEndpoint?: string;
BotOpenIdMetadata?: string;
ChannelService?: string;
OAuthApiEndpoint?: string;
ValidateAuthority?: string | boolean;
ToChannelFromBotLoginUrl?: string;
ToChannelFromBotOAuthScope?: string;
ToBotFromChannelTokenIssuer?: string;
OAuthUrl?: string;
ToBotFromChannelOpenIdMetadataUrl?: string;
ToBotFromEmulatorOpenIdMetadataUrl?: string;
CallerId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}, {
OAuthApiEndpoint?: string;
BotOpenIdMetadata?: string;
ChannelService?: string;
ValidateAuthority?: string | boolean;

@@ -81,2 +49,4 @@ ToChannelFromBotLoginUrl?: string;

CallerId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}>;

@@ -83,0 +53,0 @@ /**

@@ -5,31 +5,16 @@ import * as z from 'zod';

declare const TypedConfig: z.ZodObject<{
MicrosoftAppId: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
MicrosoftAppPassword: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
MicrosoftAppType: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
MicrosoftAppTenantId: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
CertificateThumbprint: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
CertificatePrivateKey: z.ZodUnion<[
z.ZodString,
z.ZodUndefined
]>;
}, {
strict: true;
}, {
MicrosoftAppId: z.ZodOptional<z.ZodString>;
MicrosoftAppPassword: z.ZodOptional<z.ZodString>;
MicrosoftAppType: z.ZodOptional<z.ZodString>;
MicrosoftAppTenantId: z.ZodOptional<z.ZodString>;
CertificateThumbprint: z.ZodOptional<z.ZodString>;
CertificatePrivateKey: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
MicrosoftAppId?: string;
MicrosoftAppPassword?: string;
MicrosoftAppType?: string;
MicrosoftAppTenantId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}, {
MicrosoftAppId?: string;

@@ -39,2 +24,4 @@ MicrosoftAppPassword?: string;

MicrosoftAppTenantId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}>;

@@ -41,0 +28,0 @@ /**

@@ -11,3 +11,3 @@ import * as z from 'zod';

export declare abstract class BotComponent {
static z: z.ZodType<BotComponent, z.ZodTypeDef>;
static z: z.ZodType<BotComponent, z.ZodTypeDef, BotComponent>;
abstract configureServices(services: ServiceCollection, configuration: Configuration): void;

@@ -14,0 +14,0 @@ }

@@ -6,23 +6,33 @@ import * as z from 'zod';

declare const TypedOptions: z.ZodObject<{
OAuthApiEndpoint: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
BotOpenIdMetadata: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodUndefined]>;
ChannelService: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
ValidateAuthority: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodUndefined]>;
ToChannelFromBotLoginUrl: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
ToChannelFromBotOAuthScope: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
ToBotFromChannelTokenIssuer: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
OAuthUrl: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
ToBotFromChannelOpenIdMetadataUrl: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
ToBotFromEmulatorOpenIdMetadataUrl: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
CallerId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
CertificateThumbprint: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
CertificatePrivateKey: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
}, {
strict: true;
}, {
OAuthApiEndpoint: z.ZodOptional<z.ZodString>;
BotOpenIdMetadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
ChannelService: z.ZodOptional<z.ZodString>;
ValidateAuthority: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
ToChannelFromBotLoginUrl: z.ZodOptional<z.ZodString>;
ToChannelFromBotOAuthScope: z.ZodOptional<z.ZodString>;
ToBotFromChannelTokenIssuer: z.ZodOptional<z.ZodString>;
OAuthUrl: z.ZodOptional<z.ZodString>;
ToBotFromChannelOpenIdMetadataUrl: z.ZodOptional<z.ZodString>;
ToBotFromEmulatorOpenIdMetadataUrl: z.ZodOptional<z.ZodString>;
CallerId: z.ZodOptional<z.ZodString>;
CertificateThumbprint: z.ZodOptional<z.ZodString>;
CertificatePrivateKey: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
OAuthApiEndpoint?: string;
BotOpenIdMetadata?: string;
ChannelService?: string;
OAuthApiEndpoint?: string;
ValidateAuthority?: string | boolean;
ToChannelFromBotLoginUrl?: string;
ToChannelFromBotOAuthScope?: string;
ToBotFromChannelTokenIssuer?: string;
OAuthUrl?: string;
ToBotFromChannelOpenIdMetadataUrl?: string;
ToBotFromEmulatorOpenIdMetadataUrl?: string;
CallerId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}, {
OAuthApiEndpoint?: string;
BotOpenIdMetadata?: string;
ChannelService?: string;
ValidateAuthority?: string | boolean;

@@ -36,2 +46,4 @@ ToChannelFromBotLoginUrl?: string;

CallerId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}>;

@@ -38,0 +50,0 @@ /**

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

// Throw a new error with the validation details prominently featured.
if (z.instanceof(z.ZodError).check(err)) {
if (z.instanceof(z.ZodError).safeParse(err).success) {
throw new Error(JSON.stringify(err.errors, null, 2));

@@ -129,0 +129,0 @@ }

@@ -5,13 +5,16 @@ import * as z from 'zod';

declare const TypedConfig: z.ZodObject<{
MicrosoftAppId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
MicrosoftAppPassword: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
MicrosoftAppType: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
MicrosoftAppTenantId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
CertificateThumbprint: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
CertificatePrivateKey: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
}, {
strict: true;
}, {
MicrosoftAppId: z.ZodOptional<z.ZodString>;
MicrosoftAppPassword: z.ZodOptional<z.ZodString>;
MicrosoftAppType: z.ZodOptional<z.ZodString>;
MicrosoftAppTenantId: z.ZodOptional<z.ZodString>;
CertificateThumbprint: z.ZodOptional<z.ZodString>;
CertificatePrivateKey: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
MicrosoftAppId?: string;
MicrosoftAppPassword?: string;
MicrosoftAppType?: string;
MicrosoftAppTenantId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}, {
MicrosoftAppId?: string;

@@ -21,2 +24,4 @@ MicrosoftAppPassword?: string;

MicrosoftAppTenantId?: string;
CertificateThumbprint?: string;
CertificatePrivateKey?: string;
}>;

@@ -23,0 +28,0 @@ /**

@@ -5,3 +5,3 @@ {

"description": "Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.",
"version": "4.21.1-rc",
"version": "4.21.1-rc2",
"license": "MIT",

@@ -31,8 +31,8 @@ "keywords": [

"dependencies": {
"botbuilder-dialogs-adaptive-runtime-core": "4.21.1-rc.preview",
"botbuilder-stdlib": "4.21.1-rc.internal",
"botframework-connector": "4.21.1-rc",
"botframework-schema": "4.21.1-rc",
"botbuilder-dialogs-adaptive-runtime-core": "4.21.1-rc2.preview",
"botbuilder-stdlib": "4.21.1-rc2.internal",
"botframework-connector": "4.21.1-rc2",
"botframework-schema": "4.21.1-rc2",
"uuid": "^8.3.2",
"zod": "~1.11.17"
"zod": "^3.22.4"
},

@@ -39,0 +39,0 @@ "devDependencies": {

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

// Throw a new error with the validation details prominently featured.
if (z.instanceof(z.ZodError).check(err)) {
if (z.instanceof(z.ZodError).safeParse(err).success) {
throw new Error(JSON.stringify(err.errors, null, 2));

@@ -179,0 +179,0 @@ }

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