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

@trayio/cdk-dsl

Package Overview
Dependencies
Maintainers
4
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trayio/cdk-dsl - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

dist/connector/operation/OperationHandlerTest.d.ts

@@ -118,2 +118,3 @@ import * as O from 'fp-ts/Option';

}
export type OperationHandlerTestRegistryOnRegistrationFunction<AUTH, IN, OUT> = (reference: OperationHandlerReference<AUTH, IN, OUT>) => void;
export declare class OperationHandlerTestRegistry {

@@ -123,6 +124,9 @@ private static instance;

static resolve<AUTH, IN, OUT>(reference: OperationHandlerReference<AUTH, IN, OUT>): O.Option<OperationHandlerTest<AUTH, IN, OUT, unknown>>;
static onRegistration<AUTH, IN, OUT>(onRegistrationFunction: OperationHandlerTestRegistryOnRegistrationFunction<AUTH, IN, OUT>): void;
private registry;
private observers;
private constructor();
private register;
private resolve;
private onRegistration;
}

@@ -129,0 +133,0 @@ export type OperationHandlerTestSetup<AUTH, IN, OUT, TCTX> = (handlerTest: OperationHandlerTestAuthConfiguration<AUTH, IN, OUT>) => OperationHandlerTest<AUTH, IN, OUT, TCTX>;

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

static register(handlerTest) {
return OperationHandlerTestRegistry.instance.register(handlerTest);
OperationHandlerTestRegistry.instance.register(handlerTest);
}

@@ -196,7 +196,13 @@ static resolve(reference) {

}
static onRegistration(onRegistrationFunction) {
OperationHandlerTestRegistry.instance.onRegistration(onRegistrationFunction);
}
constructor() {
this.registry = new Map();
this.observers = [];
}
register(handlerTest) {
this.registry.set(handlerTest.handlerReference.name, handlerTest);
const { handlerReference } = handlerTest;
this.registry.set(handlerReference.name, handlerTest);
this.observers.forEach((observer) => observer(handlerReference));
}

@@ -210,2 +216,5 @@ resolve(reference) {

}
onRegistration(onRegistrationFunction) {
this.observers.push(onRegistrationFunction);
}
}

@@ -212,0 +221,0 @@ exports.OperationHandlerTestRegistry = OperationHandlerTestRegistry;

2

package.json
{
"name": "@trayio/cdk-dsl",
"version": "0.0.6",
"version": "0.0.7",
"description": "CDK DSL Interface for building connectors",

@@ -5,0 +5,0 @@ "exports": {

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