@notifi-network/notifi-dataplane
Advanced tools
Comparing version 0.90.8 to 0.90.9-alpha.8
import { Types } from 'notifi-graphql/dist'; | ||
// If payload type undefined, fallback to default CommunityManagerJsonPayload | ||
export interface FusionMessage<T extends object = CommunityManagerJsonPayload> { | ||
export interface FusionMessage { | ||
eventTypeId: string; | ||
variablesJson: VariablesJsonPayload<T>; | ||
variablesJson: object; | ||
specificWallets?: ReadonlyArray< | ||
@@ -14,21 +13,1 @@ Readonly<{ | ||
} | ||
export type VariablesJsonPayload<T extends object> = | ||
T extends CommunityManagerJsonPayload ? CommunityManagerJsonPayload : object; | ||
export type CommunityManagerJsonPayload = { 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. | ||
*/ | ||
export type TargetVariables = { | ||
subject?: string; | ||
message?: string; | ||
message__markdown?: string; | ||
[key: string]: string | undefined; | ||
}; |
{ | ||
"name": "@notifi-network/notifi-dataplane", | ||
"version": "0.90.8", | ||
"version": "0.90.9-alpha.8+24cef384", | ||
"description": "The Dataplane API for Notifi", | ||
@@ -25,3 +25,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@notifi-network/notifi-graphql": "^0.90.8" | ||
"@notifi-network/notifi-graphql": "^0.90.9-alpha.8+24cef384" | ||
}, | ||
@@ -38,3 +38,3 @@ "repository": { | ||
"homepage": "https://github.com/notifi-network/notifi-sdk-ts#readme", | ||
"gitHead": "284bc26cd4f16995fafc7c59ce04601c4d2b5841" | ||
"gitHead": "24cef384b68235f4cf1a137a9656a435cfce1272" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
376287
12
7803
3
+ Added@notifi-network/notifi-graphql@0.90.9-alpha.29(transitive)
+ Addedgraphql-ws@5.16.1(transitive)
- Removed@notifi-network/notifi-graphql@0.90.8(transitive)
Updated@notifi-network/notifi-graphql@^0.90.9-alpha.8+24cef384