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

@cloudquery/plugin-config-ui-connector

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudquery/plugin-config-ui-connector - npm Package Compare versions

Comparing version 0.2.16 to 0.2.17-rc.0

16

dist/index.d.ts

@@ -42,7 +42,2 @@ /**

context: 'standalone' | 'wizard';
/** Rudderstack config */
rudderstackConfig?: {
dataPlaneUrl: string;
key: string;
};
/** Whether the destination is managed (using Neon) */

@@ -125,3 +120,3 @@ isManagedDestination?: boolean;

*/
export declare function getPluginUiMessageHandler(): MessageHandler<"loaded" | "cancel" | "close" | "height_changed" | "validation_passed" | "validation_failed" | "open_url" | "ready" | "current_values" | "api_call_request" | "api_call_abort_request" | "go_to_previous_step" | "delete" | "submitted" | "submit_failed" | "show_toast" | "show_lightbox", PluginUiMessagePayload, "submit_failed" | "init" | "validate" | "request_current_values" | "api_call_response" | "auth_connector_result" | "is_busy", FormMessagePayload>;
export declare function getPluginUiMessageHandler(): MessageHandler<"loaded" | "cancel" | "close" | "height_changed" | "validation_passed" | "validation_failed" | "open_url" | "ready" | "current_values" | "api_call_request" | "api_call_abort_request" | "go_to_previous_step" | "delete" | "submitted" | "submit_failed" | "show_toast" | "show_lightbox" | "track_event", PluginUiMessagePayload, "submit_failed" | "init" | "validate" | "request_current_values" | "api_call_response" | "auth_connector_result" | "is_busy", FormMessagePayload>;

@@ -366,2 +361,9 @@ /**

};
/**
* Payload for the 'track_event' message type.
*/
track_event: {
event: string;
properties: Record<string, any>;
};
};

@@ -382,4 +384,4 @@

*/
export declare const pluginUiMessageTypes: readonly ["height_changed", "validation_passed", "validation_failed", "open_url", "loaded", "ready", "current_values", "api_call_request", "api_call_abort_request", "go_to_previous_step", "delete", "cancel", "submitted", "submit_failed", "close", "show_toast", "show_lightbox"];
export declare const pluginUiMessageTypes: readonly ["height_changed", "validation_passed", "validation_failed", "open_url", "loaded", "ready", "current_values", "api_call_request", "api_call_abort_request", "go_to_previous_step", "delete", "cancel", "submitted", "submit_failed", "close", "show_toast", "show_lightbox", "track_event"];
export { }

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

!function(e,s){if("object"==typeof exports&&"object"==typeof module)module.exports=s();else if("function"==typeof define&&define.amd)define([],s);else{var t=s();for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}(this,(()=>(()=>{"use strict";var e={d:(s,t)=>{for(var a in t)e.o(t,a)&&!e.o(s,a)&&Object.defineProperty(s,a,{enumerable:!0,get:t[a]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},s={};e.r(s),e.d(s,{MessageHandler:()=>n,formMessageTypes:()=>i,getPluginUiMessageHandler:()=>o,pluginUiMessageTypes:()=>a});const t="plugin-ui-connector-iframe",a=["height_changed","validation_passed","validation_failed","open_url","loaded","ready","current_values","api_call_request","api_call_abort_request","go_to_previous_step","delete","cancel","submitted","submit_failed","close","show_toast","show_lightbox"],i=["init","validate","submit_failed","request_current_values","api_call_response","auth_connector_result","is_busy"];class n{constructor(e,s,t){this.callbacks=new Map,this.sendMessageTypes=new Set,this.receiveMessageTypes=new Set,this.sendMessageTypes=new Set(e),this.receiveMessageTypes=new Set(s),this.sendMessageWindow=t,window.addEventListener("message",this.handleMessage.bind(this))}sendMessage(e,...s){if(!this.sendMessageTypes.has(e))throw new Error(`Unknown send message type: ${String(e)}`);this.sendMessageWindow.postMessage({type:e,payload:s[0],id:t},"*")}subscribeToMessage(e,s){if(!this.receiveMessageTypes.has(e))throw new Error(`Unknown receive message type: ${String(e)}`);const t=this.callbacks.get(e);return t?t.push(s):this.callbacks.set(e,[s]),()=>{const t=this.callbacks.get(e);t&&this.callbacks.set(e,t.filter((e=>e!==s)))}}subscribeToMessageOnce(e,s){const t=a=>{s(a);const i=this.callbacks.get(e);i&&this.callbacks.set(e,i.filter((e=>e!==t)))};return this.subscribeToMessage(e,t)}handleMessage(e){const{id:s}=e.data;if(s!==t)return;const a=e.data.type,i=this.callbacks.get(a);if(i)for(const s of i)s(e.data.payload)}}function o(){return new n(a,i,window.parent)}return s})()));
!function(e,s){if("object"==typeof exports&&"object"==typeof module)module.exports=s();else if("function"==typeof define&&define.amd)define([],s);else{var t=s();for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}(this,(()=>(()=>{"use strict";var e={d:(s,t)=>{for(var a in t)e.o(t,a)&&!e.o(s,a)&&Object.defineProperty(s,a,{enumerable:!0,get:t[a]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},s={};e.r(s),e.d(s,{MessageHandler:()=>n,formMessageTypes:()=>i,getPluginUiMessageHandler:()=>o,pluginUiMessageTypes:()=>a});const t="plugin-ui-connector-iframe",a=["height_changed","validation_passed","validation_failed","open_url","loaded","ready","current_values","api_call_request","api_call_abort_request","go_to_previous_step","delete","cancel","submitted","submit_failed","close","show_toast","show_lightbox","track_event"],i=["init","validate","submit_failed","request_current_values","api_call_response","auth_connector_result","is_busy"];class n{constructor(e,s,t){this.callbacks=new Map,this.sendMessageTypes=new Set,this.receiveMessageTypes=new Set,this.sendMessageTypes=new Set(e),this.receiveMessageTypes=new Set(s),this.sendMessageWindow=t,window.addEventListener("message",this.handleMessage.bind(this))}sendMessage(e,...s){if(!this.sendMessageTypes.has(e))throw new Error(`Unknown send message type: ${String(e)}`);this.sendMessageWindow.postMessage({type:e,payload:s[0],id:t},"*")}subscribeToMessage(e,s){if(!this.receiveMessageTypes.has(e))throw new Error(`Unknown receive message type: ${String(e)}`);const t=this.callbacks.get(e);return t?t.push(s):this.callbacks.set(e,[s]),()=>{const t=this.callbacks.get(e);t&&this.callbacks.set(e,t.filter((e=>e!==s)))}}subscribeToMessageOnce(e,s){const t=a=>{s(a);const i=this.callbacks.get(e);i&&this.callbacks.set(e,i.filter((e=>e!==t)))};return this.subscribeToMessage(e,t)}handleMessage(e){const{id:s}=e.data;if(s!==t)return;const a=e.data.type,i=this.callbacks.get(a);if(i)for(const s of i)s(e.data.payload)}}function o(){return new n(a,i,window.parent)}return s})()));
{
"name": "@cloudquery/plugin-config-ui-connector",
"description": "Plugin configuration UI connector for CloudQuery Cloud App",
"version": "0.2.16",
"version": "0.2.17-rc.0",
"private": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"keywords": [

@@ -10,0 +12,0 @@ "javascript",

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