@atproto/api
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -64,2 +64,3 @@ import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc'; | ||
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'; | ||
import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts'; | ||
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'; | ||
@@ -155,2 +156,3 @@ import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'; | ||
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'; | ||
export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts'; | ||
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'; | ||
@@ -355,2 +357,3 @@ export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'; | ||
getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>; | ||
getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>; | ||
getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>; | ||
@@ -357,0 +360,0 @@ getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>; |
{ | ||
"name": "@atproto/api", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -85,2 +85,3 @@ /** | ||
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread' | ||
import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts' | ||
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy' | ||
@@ -178,2 +179,3 @@ import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline' | ||
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread' | ||
export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts' | ||
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy' | ||
@@ -1123,2 +1125,13 @@ export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline' | ||
getPosts( | ||
params?: AppBskyFeedGetPosts.QueryParams, | ||
opts?: AppBskyFeedGetPosts.CallOptions, | ||
): Promise<AppBskyFeedGetPosts.Response> { | ||
return this._service.xrpc | ||
.call('app.bsky.feed.getPosts', params, undefined, opts) | ||
.catch((e) => { | ||
throw AppBskyFeedGetPosts.toKnownErr(e) | ||
}) | ||
} | ||
getRepostedBy( | ||
@@ -1125,0 +1138,0 @@ params?: AppBskyFeedGetRepostedBy.QueryParams, |
@@ -15,3 +15,3 @@ /** | ||
earliest?: string | ||
/** The latest commit you in the commit range (inclusive */ | ||
/** The latest commit in the commit range (inclusive) */ | ||
latest?: string | ||
@@ -18,0 +18,0 @@ } |
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2025059
284
38820