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

@atproto/api

Package Overview
Dependencies
Maintainers
3
Versions
163
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.3.0 to 0.3.1

dist/client/types/app/bsky/graph/defs.d.ts

67

dist/client/index.d.ts

@@ -78,5 +78,12 @@ import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';

import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
import * as AppBskyGraphGetList from './types/app/bsky/graph/getList';
import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes';
import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists';
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
import * as AppBskyGraphList from './types/app/bsky/graph/list';
import * as AppBskyGraphListitem from './types/app/bsky/graph/listitem';
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList';
import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor';
import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList';
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';

@@ -171,2 +178,3 @@ import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';

export * as AppBskyGraphBlock from './types/app/bsky/graph/block';
export * as AppBskyGraphDefs from './types/app/bsky/graph/defs';
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';

@@ -176,5 +184,12 @@ export * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks';

export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
export * as AppBskyGraphGetList from './types/app/bsky/graph/getList';
export * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes';
export * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists';
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
export * as AppBskyGraphList from './types/app/bsky/graph/list';
export * as AppBskyGraphListitem from './types/app/bsky/graph/listitem';
export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
export * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList';
export * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor';
export * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList';
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';

@@ -199,2 +214,5 @@ export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';

};
export declare const APP_BSKY_GRAPH: {
DefsModlist: string;
};
export declare class AtpBaseClient {

@@ -444,2 +462,4 @@ xrpc: XrpcClient;

follow: FollowRecord;
list: ListRecord;
listitem: ListitemRecord;
constructor(service: AtpServiceClient);

@@ -449,5 +469,10 @@ getBlocks(params?: AppBskyGraphGetBlocks.QueryParams, opts?: AppBskyGraphGetBlocks.CallOptions): Promise<AppBskyGraphGetBlocks.Response>;

getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
getList(params?: AppBskyGraphGetList.QueryParams, opts?: AppBskyGraphGetList.CallOptions): Promise<AppBskyGraphGetList.Response>;
getListMutes(params?: AppBskyGraphGetListMutes.QueryParams, opts?: AppBskyGraphGetListMutes.CallOptions): Promise<AppBskyGraphGetListMutes.Response>;
getLists(params?: AppBskyGraphGetLists.QueryParams, opts?: AppBskyGraphGetLists.CallOptions): Promise<AppBskyGraphGetLists.Response>;
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
muteActor(data?: AppBskyGraphMuteActor.InputSchema, opts?: AppBskyGraphMuteActor.CallOptions): Promise<AppBskyGraphMuteActor.Response>;
muteActorList(data?: AppBskyGraphMuteActorList.InputSchema, opts?: AppBskyGraphMuteActorList.CallOptions): Promise<AppBskyGraphMuteActorList.Response>;
unmuteActor(data?: AppBskyGraphUnmuteActor.InputSchema, opts?: AppBskyGraphUnmuteActor.CallOptions): Promise<AppBskyGraphUnmuteActor.Response>;
unmuteActorList(data?: AppBskyGraphUnmuteActorList.InputSchema, opts?: AppBskyGraphUnmuteActorList.CallOptions): Promise<AppBskyGraphUnmuteActorList.Response>;
}

@@ -496,2 +521,44 @@ export declare class BlockRecord {

}
export declare class ListRecord {
_service: AtpServiceClient;
constructor(service: AtpServiceClient);
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
cursor?: string;
records: {
uri: string;
value: AppBskyGraphList.Record;
}[];
}>;
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
uri: string;
cid: string;
value: AppBskyGraphList.Record;
}>;
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphList.Record, headers?: Record<string, string>): Promise<{
uri: string;
cid: string;
}>;
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
}
export declare class ListitemRecord {
_service: AtpServiceClient;
constructor(service: AtpServiceClient);
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
cursor?: string;
records: {
uri: string;
value: AppBskyGraphListitem.Record;
}[];
}>;
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
uri: string;
cid: string;
value: AppBskyGraphListitem.Record;
}>;
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphListitem.Record, headers?: Record<string, string>): Promise<{
uri: string;
cid: string;
}>;
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
}
export declare class NotificationNS {

@@ -498,0 +565,0 @@ _service: AtpServiceClient;

2

dist/client/types/app/bsky/actor/defs.d.ts
import { ValidationResult } from '@atproto/lexicon';
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
import * as AppBskyGraphDefs from '../graph/defs';
export interface ProfileViewBasic {

@@ -46,2 +47,3 @@ did: string;

muted?: boolean;
mutedByList?: AppBskyGraphDefs.ListViewBasic;
blockedBy?: boolean;

@@ -48,0 +50,0 @@ blocking?: string;

@@ -5,2 +5,3 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon';

did: string;
displayName?: string;
description?: string;

@@ -7,0 +8,0 @@ descriptionFacets?: AppBskyRichtextFacet.Main[];

2

package.json
{
"name": "@atproto/api",
"version": "0.3.0",
"version": "0.3.1",
"main": "dist/index.js",

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

@@ -9,2 +9,3 @@ /**

import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
import * as AppBskyGraphDefs from '../graph/defs'

@@ -87,2 +88,3 @@ export interface ProfileViewBasic {

muted?: boolean
mutedByList?: AppBskyGraphDefs.ListViewBasic
blockedBy?: boolean

@@ -89,0 +91,0 @@ blocking?: string

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 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