@notifi-network/notifi-dataplane
Advanced tools
Comparing version 0.90.2 to 0.90.4
@@ -0,26 +1,29 @@ | ||
import { Types } from 'notifi-graphql/dist'; | ||
export interface FusionMessage { | ||
eventTypeId: string; | ||
variablesJson: any; | ||
variablesJson: object | VariablesJsonPayload; | ||
specificWallets?: ReadonlyArray< | ||
Readonly<{ | ||
walletPublicKey: string; | ||
// NOTE: Blockchain duplicated here because there would be a circular reference otherwise | ||
walletBlockchain: | ||
| 'SOLANA' | ||
| 'ETHEREUM' | ||
| 'AVALANCHE' | ||
| 'APTOS' | ||
| 'ACALA' | ||
| 'POLYGON' | ||
| 'ARBITRUM' | ||
| 'BINANCE' | ||
| 'NEAR' | ||
| 'OPTIMISM' | ||
| 'INJECTIVE' | ||
| 'OSMOSIS' | ||
| 'NIBIRU' | ||
| 'SUI' | ||
| 'ZKSYNC'; | ||
walletBlockchain: Types.WalletBlockchain; | ||
}> | ||
>; | ||
} | ||
export type OptionalTargetType = 'Sms' | 'Telegram' | 'Discord' | 'Email'; | ||
export type VariablesJsonPayload = { Platform: TargetVariables } & { | ||
[key in OptionalTargetType]?: TargetVariables; | ||
}; | ||
/** | ||
* @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.2", | ||
"version": "0.90.4", | ||
"description": "The Dataplane API for Notifi", | ||
@@ -24,2 +24,5 @@ "main": "./dist/index.js", | ||
}, | ||
"dependencies": { | ||
"@notifi-network/notifi-graphql": "^0.90.4" | ||
}, | ||
"repository": { | ||
@@ -35,3 +38,3 @@ "type": "git", | ||
"homepage": "https://github.com/notifi-network/notifi-sdk-ts#readme", | ||
"gitHead": "565f9b0cdcd4eb40512b8116253a2fa9fe22a9ff" | ||
"gitHead": "66aa45e6e8b75a7215f91a1f4e1c8e4cddd74d01" | ||
} |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
345539
7244
1
3
+ Added@graphql-typed-document-node/core@3.2.0(transitive)
+ Added@notifi-network/notifi-graphql@0.90.8(transitive)
+ Addedcross-fetch@3.2.0(transitive)
+ Addedgraphql@16.10.0(transitive)
+ Addedgraphql-request@6.1.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)