@notifi-network/notifi-node
Advanced tools
Comparing version
@@ -14,3 +14,3 @@ import { Authorization } from '../types'; | ||
walletBlockchain: 'SOLANA'; | ||
value: number; | ||
healthValue: number; | ||
}>) => Promise<void>; | ||
@@ -17,0 +17,0 @@ deleteUserAlert: (jwt: string, params: Readonly<{ |
@@ -12,4 +12,4 @@ "use strict"; | ||
}; | ||
this.sendSimpleHealthThreshold = async (jwt, { key, walletPublicKey, walletBlockchain, value }) => { | ||
const message = (0, types_1.newSimpleHealthThresholdMessage)({ value }); | ||
this.sendSimpleHealthThreshold = async (jwt, { key, walletPublicKey, walletBlockchain, healthValue }) => { | ||
const message = (0, types_1.newSimpleHealthThresholdMessage)({ healthValue }); | ||
const input = { | ||
@@ -34,2 +34,2 @@ walletPublicKey, | ||
exports.default = NotifiClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTm90aWZpQ2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbGliL2NsaWVudC9Ob3RpZmlDbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw0Q0FJc0I7QUFDdEIsb0NBQTBFO0FBRzFFLE1BQU0sWUFBWTtJQUNoQixZQUFvQixDQUFZO1FBQVosTUFBQyxHQUFELENBQUMsQ0FBVztRQUVoQyxVQUFLLEdBS3lCLEtBQUssRUFBRSxFQUFFLEdBQUcsRUFBRSxNQUFNLEVBQUUsRUFBRSxFQUFFO1lBQ3RELE1BQU0sS0FBSyxHQUFHLEVBQUUsR0FBRyxFQUFFLE1BQU0sRUFBRSxDQUFDO1lBQzlCLE9BQU8sTUFBTSxJQUFBLGdDQUFvQixFQUFDLElBQUksQ0FBQyxDQUFDLEVBQUUsRUFBRSxLQUFLLEVBQUUsQ0FBQyxDQUFDO1FBQ3ZELENBQUMsQ0FBQztRQUVGLDhCQUF5QixHQVFKLEtBQUssRUFDeEIsR0FBRyxFQUN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QUMsTUFBTSxFQUFFO2dCQUNYLE1BQU0sSUFBSSxLQUFLLENBQUMscUJBQXFCLENBQUMsQ0FBQzthQUN4QztRQUNILENBQUMsQ0FBQztRQUVGLG9CQUFlLEdBS3NCLEtBQUssRUFBRSxHQUFHLEVBQUUsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFO1lBQzlELE1BQU0sSUFBQSwrQkFBbUIsRUFBQyxJQUFJLENBQUMsQ0FBQyxFQUFFLEdBQUcsRUFBRSxFQUFFLE9BQU8sRUFBRSxDQUFDLENBQUM7WUFDcEQsT0FBTyxPQUFPLENBQUM7UUFDakIsQ0FBQyxDQUFDO0lBOUNpQyxDQUFDO0NBK0NyQztBQUVELGtCQUFlLFlBQVksQ0FBQyJ9 |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Message } from './Message'; | ||
export declare type SimpleHealthThresholdMessagePayload = Readonly<{ | ||
value: number; | ||
template?: string; | ||
healthValue: number; | ||
targetTemplates?: Readonly<{ | ||
[TargetType in 'SMS' | 'Email' | 'Telegram']?: string; | ||
}>; | ||
templateVariables?: Record<string, string>; | ||
}>; | ||
@@ -6,0 +9,0 @@ export declare type SimpleHealthThresholdMessage = Message<'SIMPLE_HEALTH_THRESHOLD', SimpleHealthThresholdMessagePayload>; |
@@ -11,2 +11,2 @@ "use strict"; | ||
exports.newSimpleHealthThresholdMessage = newSimpleHealthThresholdMessage; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2ltcGxlSGVhbHRoVGhyZXNob2xkTWVzc2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi90eXBlcy9TaW1wbGVIZWFsdGhUaHJlc2hvbGRNZXNzYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQVdBLE1BQU0sK0JBQStCLEdBQUcsQ0FDdEMsT0FBNEMsRUFDZCxFQUFFO0lBQ2hDLE9BQU87UUFDTCxJQUFJLEVBQUUseUJBQXlCO1FBQy9CLE9BQU87S0FDUixDQUFDO0FBQ0osQ0FBQyxDQUFDO0FBRU8sMEVBQStCIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2ltcGxlSGVhbHRoVGhyZXNob2xkTWVzc2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi90eXBlcy9TaW1wbGVIZWFsdGhUaHJlc2hvbGRNZXNzYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWVBLE1BQU0sK0JBQStCLEdBQUcsQ0FDdEMsT0FBNEMsRUFDZCxFQUFFO0lBQ2hDLE9BQU87UUFDTCxJQUFJLEVBQUUseUJBQXlCO1FBQy9CLE9BQU87S0FDUixDQUFDO0FBQ0osQ0FBQyxDQUFDO0FBRU8sMEVBQStCIn0= |
{ | ||
"name": "@notifi-network/notifi-node", | ||
"version": "0.6.0", | ||
"version": "0.6.2-alpha.4+31fc5bf", | ||
"description": "The node.js library for server-initiated pushes", | ||
@@ -34,3 +34,3 @@ "author": "juni-notifi <hyungjoon.kim@notifi.network>", | ||
}, | ||
"gitHead": "28f60369e4536c2e24b0a7d34c7a1d089fd82a2d" | ||
"gitHead": "31fc5bf8f246291873b5f14d9426ef13295923f0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
44413
0.67%269
1.13%1
Infinity%