@pushprotocol/restapi
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -5,2 +5,6 @@ # Changelog | ||
## [0.0.3](https://github.com/ethereum-push-notification-service/sdk/compare/restapi-0.0.2...restapi-0.0.3) (2022-10-05) | ||
## [0.0.2](https://github.com/ethereum-push-notification-service/sdk/compare/restapi-0.0.1...restapi-0.0.2) (2022-10-05) | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "@pushprotocol/restapi", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
# restapi | ||
This package gives access to EPNS backend APIs | ||
This package gives access to Push backend APIs | ||
@@ -116,3 +116,3 @@ ## How to use in your app? | ||
const channelsData = await PushAPI.channels.search({ | ||
query: 'epns', // a search query | ||
query: 'push', // a search query | ||
page: 1, // page index | ||
@@ -155,3 +155,3 @@ limit: 20, // no of items per page | ||
| userAddress* | string | - | user address (CAIP) | | | ||
| verifyingContractAddress | string | - | EPNS communicator contract address| | ||
| verifyingContractAddress | string | - | Push communicator contract address| | ||
| onSuccess | function | - | on success callback | | ||
@@ -183,3 +183,3 @@ | onError | function | - | on error callback | | ||
| userAddress* | string | - | user address (CAIP) | | | ||
| verifyingContractAddress | string | - | EPNS communicator contract address| | ||
| verifyingContractAddress | string | - | Push communicator contract address| | ||
| onSuccess | function | - | on success callback | | ||
@@ -191,3 +191,3 @@ | onError | function | - | on error callback | | ||
<sup>*</sup>EPNS communicator contract address | ||
<sup>*</sup>Push communicator contract address | ||
``` | ||
@@ -457,3 +457,3 @@ ETH Mainnet - 0xb3971BCef2D791bc4027BbfedFb47319A4AAaaAa | ||
#### **parsing notifications** | ||
Utils method to parse raw EPNS Feeds API response into a pre-defined shape as below. | ||
Utils method to parse raw Push Feeds API response into a pre-defined shape as below. | ||
```typescript | ||
@@ -460,0 +460,0 @@ // fetch some raw feeds data |
110393