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

@atproto/api

Package Overview
Dependencies
Maintainers
0
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto/api - npm Package Compare versions

Comparing version 0.13.20 to 0.13.21

dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts

6

CHANGELOG.md
# @atproto/api
## 0.13.21
### Patch Changes
- [#3250](https://github.com/bluesky-social/atproto/pull/3250) [`dced566de`](https://github.com/bluesky-social/atproto/commit/dced566de5079ef4208801db476a7e7416f5e5aa) Thanks [@haileyok](https://github.com/haileyok)! - add trending topics
## 0.13.20

@@ -4,0 +10,0 @@

@@ -23,2 +23,11 @@ /**

export declare function validateSkeletonSearchStarterPack(v: unknown): ValidationResult;
export interface TrendingTopic {
topic: string;
displayName?: string;
description?: string;
link: string;
[k: string]: unknown;
}
export declare function isTrendingTopic(v: unknown): v is TrendingTopic;
export declare function validateTrendingTopic(v: unknown): ValidationResult;
//# sourceMappingURL=defs.d.ts.map

@@ -9,2 +9,4 @@ "use strict";

exports.validateSkeletonSearchStarterPack = validateSkeletonSearchStarterPack;
exports.isTrendingTopic = isTrendingTopic;
exports.validateTrendingTopic = validateTrendingTopic;
const util_1 = require("../../../../util");

@@ -36,2 +38,10 @@ const lexicons_1 = require("../../../../lexicons");

}
function isTrendingTopic(v) {
return ((0, util_1.isObj)(v) &&
(0, util_1.hasProp)(v, '$type') &&
v.$type === 'app.bsky.unspecced.defs#trendingTopic');
}
function validateTrendingTopic(v) {
return lexicons_1.lexicons.validate('app.bsky.unspecced.defs#trendingTopic', v);
}
//# sourceMappingURL=defs.js.map

2

package.json
{
"name": "@atproto/api",
"version": "0.13.20",
"version": "0.13.21",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Client library for atproto and Bluesky",

@@ -66,1 +66,21 @@ /**

}
export interface TrendingTopic {
topic: string
displayName?: string
description?: string
link: string
[k: string]: unknown
}
export function isTrendingTopic(v: unknown): v is TrendingTopic {
return (
isObj(v) &&
hasProp(v, '$type') &&
v.$type === 'app.bsky.unspecced.defs#trendingTopic'
)
}
export function validateTrendingTopic(v: unknown): ValidationResult {
return lexicons.validate('app.bsky.unspecced.defs#trendingTopic', v)
}

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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 too big to display

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

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