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.2.1-alpha.15 to 3.0.0

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.2.1-alpha.15+ef3fed3b",
"version": "3.0.0",
"description": "The Dataplane API for Notifi",

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

"dependencies": {
"@notifi-network/notifi-graphql": "^2.2.1-alpha.15+ef3fed3b"
"@notifi-network/notifi-graphql": "^3.0.0"
},

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

"homepage": "https://github.com/notifi-network/notifi-sdk-ts#readme",
"gitHead": "ef3fed3bf7163352c537cfcef1829b30e805e973"
"gitHead": "06be91701874716f81401700aa326144ffb86afc"
}

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