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

@notifi-network/notifi-dataplane

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notifi-network/notifi-dataplane - npm Package Compare versions

Comparing version 2.1.1-alpha.7 to 2.2.1-alpha.3

33

lib/types/FusionMessage.ts
import { Types } from 'notifi-graphql/dist';
// If payload type undefined, fallback to object by default
export interface FusionMessage<T extends object = object> {
export interface FusionMessage {
eventTypeId: string;
variablesJson: VariablesJsonPayload<T>;
variablesJson: object;
idempotencyKey?: string;
specificWallets?: ReadonlyArray<

@@ -16,26 +14,1 @@ Readonly<{

}
export type VariablesJsonPayload<T extends object> =
T extends CommunityManagerJsonPayload ? CommunityManagerJsonPayload : object;
export type CommunityManagerJsonPayload = {
campaignId: string;
Platform: TargetVariables;
} & {
[key in OptionalTargetType]?: TargetVariables;
};
export type OptionalTargetType = 'Sms' | 'Telegram' | 'Discord' | 'Email';
/**
* @param message - only plain text is supported.
* @param message__markdown - markdown string here will be converted to html.
* @param sourceMessage - usually to be html format source.
*/
export type TargetVariables = {
subject?: string;
message?: string;
message__markdown?: string;
sourceMessage?: string;
[key: string]: string | undefined;
};

6

package.json
{
"name": "@notifi-network/notifi-dataplane",
"version": "2.1.1-alpha.7+ac678e3e",
"version": "2.2.1-alpha.3+e0dd1924",
"description": "The Dataplane API for Notifi",

@@ -25,3 +25,3 @@ "main": "./dist/index.js",

"dependencies": {
"@notifi-network/notifi-graphql": "^2.1.1-alpha.7+ac678e3e"
"@notifi-network/notifi-graphql": "^2.2.1-alpha.3+e0dd1924"
},

@@ -38,3 +38,3 @@ "repository": {

"homepage": "https://github.com/notifi-network/notifi-sdk-ts#readme",
"gitHead": "ac678e3edfada599cf8e5947685d9c4c1a38f85f"
"gitHead": "e0dd1924061d75a5b4494a2d12a495d82391ac34"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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