Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pushprotocol/restapi

Package Overview
Dependencies
Maintainers
1
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pushprotocol/restapi - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [0.6.4](https://github.com/ethereum-push-notification-service/push-sdk/compare/restapi-0.6.3...restapi-0.6.4) (2023-02-21)
## [0.6.3](https://github.com/ethereum-push-notification-service/push-sdk/compare/restapi-0.6.2...restapi-0.6.3) (2023-02-21)

@@ -7,0 +11,0 @@

2

package.json
{
"name": "@pushprotocol/restapi",
"version": "0.6.3",
"version": "0.6.4",
"type": "commonjs",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -1,5 +0,5 @@

import { AccountEnvOptionsType, IGroup } from '../../types';
import { AccountEnvOptionsType, GroupDTO } from '../../types';
/**
* GET /v1/chat/groups/<chatId>
*/
export declare const getGroup: (options: AccountEnvOptionsType, chatId: string) => Promise<IGroup>;
export declare const getGroup: (options: AccountEnvOptionsType, chatId: string) => Promise<GroupDTO>;

@@ -1,4 +0,4 @@

import { Chat, IFeeds, IMessageIPFS, IUser } from '../../types';
import { IFeeds, IMessageIPFS, IUser } from '../../types';
declare type InboxListsType = {
lists: Chat[];
lists: IFeeds[];
user: string;

@@ -5,0 +5,0 @@ toDecrypt: boolean;

@@ -108,15 +108,2 @@ export declare type ApiNotificationType = {

}
export interface IInboxChat {
timestamp: number;
fromDID: string;
toDID: string;
fromCAIP10: string;
toCAIP10: string;
lastMessage: string;
messageType: string;
encType: string;
signature: string;
signatureType: string;
encryptedSecret: string;
}
export interface IMessageIPFS {

@@ -149,15 +136,3 @@ fromCAIP10: string;

cid?: string;
groupInformation?: {
groupName: string;
groupDescription: string;
groupImage: string;
groupMembers: UserInfo[];
isPublic: boolean;
contractAddressNFT: string;
numberOfNFTs: number;
contractAddressERC20: string;
numberOfERC20: number;
verificationProof: string;
groupCreator: string;
};
groupInformation?: GroupDTO;
}

@@ -183,15 +158,2 @@ export interface IUser {

}
export interface IGroup {
members: Array<Member>;
admins: Array<string>;
contractAddressNFT?: string;
numberOfNFTs?: number;
contractAddressERC20?: string;
numberOfERC20?: number;
groupImage: string;
groupName: string;
groupDescription: string;
groupCreator: string;
isPublic: boolean;
}
export interface GroupDTO {

@@ -268,27 +230,1 @@ members: {

}
export interface Chat {
did: string;
wallets: string;
profilePicture: string | null;
publicKey: string | null;
about: string | null;
name: string | null;
threadhash: string | null;
intent: string | null;
intentSentBy: string | null;
intentTimestamp: Date;
combinedDID: string;
groupInformation?: {
groupName: string;
groupDescription: string;
groupImage: string;
groupMembers: UserInfo[];
isPublic: boolean;
contractAddressNFT: string;
numberOfNFTs: number;
contractAddressERC20: string;
numberOfERC20: number;
verificationProof: string;
groupCreator: string;
};
}

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc