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

@open-social-protocol/osp-api-index-types

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-social-protocol/osp-api-index-types - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

12

CHANGELOG.md
# @open-social-protocol/osp-api-index-types
## 0.0.3
### Patch Changes
- api up
## 0.0.2
### Patch Changes
- optimize feed api
## 0.0.1

@@ -4,0 +16,0 @@

35

dist/index.js

@@ -35,3 +35,2 @@ var __defProp = Object.defineProperty;

MegaphoneStatusEnum: () => MegaphoneStatusEnum,
OperateTypeEnum: () => OperateTypeEnum,
OwnerStatusEnum: () => OwnerStatusEnum,

@@ -71,7 +70,2 @@ ProfileRankingEnum: () => ProfileRankingEnum,

})(SyncStatus || {});
var OperateTypeEnum = /* @__PURE__ */ ((OperateTypeEnum2) => {
OperateTypeEnum2["DRAFT"] = "DRAFT";
OperateTypeEnum2["INDEX"] = "INDEX";
return OperateTypeEnum2;
})(OperateTypeEnum || {});
var ThirdAuthSourceEnum = /* @__PURE__ */ ((ThirdAuthSourceEnum2) => {

@@ -91,2 +85,3 @@ ThirdAuthSourceEnum2["EXTERNAL_WALLET"] = "EXTERNAL_WALLET";

ActivityCategoryEnum2["POLL"] = "POLL";
ActivityCategoryEnum2["COMMENT"] = "COMMENT";
return ActivityCategoryEnum2;

@@ -96,2 +91,3 @@ })(ActivityCategoryEnum || {});

CategoryEnum2["POST"] = "POST";
CategoryEnum2["COMMENT"] = "COMMENT";
CategoryEnum2["ANSWER"] = "ANSWER";

@@ -137,4 +133,2 @@ CategoryEnum2["QUESTION"] = "QUESTION";

var ReactionKindEnum = /* @__PURE__ */ ((ReactionKindEnum2) => {
ReactionKindEnum2["COMMENT"] = "COMMENT";
ReactionKindEnum2["REPLY"] = "REPLY";
ReactionKindEnum2["LIKE"] = "LIKE";

@@ -475,8 +469,8 @@ ReactionKindEnum2["SHARE"] = "SHARE";

* @name GetNftByTokenId
* @summary /meta/{type}/{token_id}
* @request GET:/meta/{type}/{token_id}
* @summary /meta/{chain_id}/{type}/{token_id}
* @request GET:/meta/{chain_id}/{type}/{token_id}
* @secure
*/
getNftByTokenId: (tokenId, type, params = {}) => this.request({
path: `/meta/${type}/${tokenId}`,
getNftByTokenId: (chainId, tokenId, type, params = {}) => this.request({
path: `/meta/${chainId}/${type}/${tokenId}`,
method: "GET",

@@ -492,8 +486,8 @@ secure: true,

* @name GetJoinNftByCommunityIdAndTokenId
* @summary /meta/{community_id}/join/{token_id}
* @request GET:/meta/{community_id}/join/{token_id}
* @summary /meta/{chain_id}/{community_id}/join/{token_id}
* @request GET:/meta/{chain_id}/{community_id}/join/{token_id}
* @secure
*/
getJoinNftByCommunityIdAndTokenId: (communityId, tokenId, params = {}) => this.request({
path: `/meta/${communityId}/join/${tokenId}`,
getJoinNftByCommunityIdAndTokenId: (chainId, communityId, tokenId, params = {}) => this.request({
path: `/meta/${chainId}/${communityId}/join/${tokenId}`,
method: "GET",

@@ -509,8 +503,8 @@ secure: true,

* @name GetFollowNftByProfileIdAndTokenId
* @summary /meta/{profile_id}/follow/{token_id}
* @request GET:/meta/{profile_id}/follow/{token_id}
* @summary /meta/{chain_id}/{profile_id}/follow/{token_id}
* @request GET:/meta/{chain_id}/{profile_id}/follow/{token_id}
* @secure
*/
getFollowNftByProfileIdAndTokenId: (profileId, tokenId, params = {}) => this.request({
path: `/meta/${profileId}/follow/${tokenId}`,
getFollowNftByProfileIdAndTokenId: (chainId, profileId, tokenId, params = {}) => this.request({
path: `/meta/${chainId}/${profileId}/follow/${tokenId}`,
method: "GET",

@@ -1595,3 +1589,2 @@ secure: true,

MegaphoneStatusEnum,
OperateTypeEnum,
OwnerStatusEnum,

@@ -1598,0 +1591,0 @@ ProfileRankingEnum,

2

package.json
{
"name": "@open-social-protocol/osp-api-index-types",
"version": "0.0.1",
"version": "0.0.3",
"description": "open social protocol index server api",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is too big to display

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