Function: decryptPushPayload() ​
ts
function decryptPushPayload(key, wire): IPushPayload | null;Defined in: pushCrypto.ts:151
Open a push with this device's secret. null when it was not sealed with it, was altered, or is not a payload.
Parameters ​
| Parameter | Type |
|---|---|
key | string |
wire | unknown |
Returns ​
IPushPayload | null