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

@atproto/api

Package Overview
Dependencies
Maintainers
2
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.0.3 to 0.0.4

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

9

dist/client/index.d.ts

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

import * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
import * as AppBskyGraphMute from './types/app/bsky/graph/mute';
import * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
import * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';

@@ -110,2 +113,5 @@ import * as AppBskyNotificationList from './types/app/bsky/notification/list';

export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
export * as AppBskyGraphMute from './types/app/bsky/graph/mute';
export * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';

@@ -368,2 +374,5 @@ export * as AppBskyNotificationList from './types/app/bsky/notification/list';

getMemberships(params?: AppBskyGraphGetMemberships.QueryParams, opts?: AppBskyGraphGetMemberships.CallOptions): Promise<AppBskyGraphGetMemberships.Response>;
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
mute(data?: AppBskyGraphMute.InputSchema, opts?: AppBskyGraphMute.CallOptions): Promise<AppBskyGraphMute.Response>;
unmute(data?: AppBskyGraphUnmute.InputSchema, opts?: AppBskyGraphUnmute.CallOptions): Promise<AppBskyGraphUnmute.Response>;
}

@@ -370,0 +379,0 @@ export declare class AssertionRecord {

1

dist/client/types/app/bsky/actor/getProfile.d.ts

@@ -35,3 +35,4 @@ import { Headers } from '@atproto/xrpc';

member?: string;
muted?: boolean;
[k: string]: unknown;
}

@@ -13,3 +13,8 @@ import * as AppBskySystemDeclRef from '../system/declRef';

avatar?: string;
viewer?: ViewerState;
[k: string]: unknown;
}
export interface ViewerState {
muted?: boolean;
[k: string]: unknown;
}

@@ -53,3 +53,4 @@ import * as AppBskyEmbedImages from '../embed/images';

downvote?: string;
muted?: boolean;
[k: string]: unknown;
}

2

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

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

@@ -64,2 +64,5 @@ /**

import * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes'
import * as AppBskyGraphMute from './types/app/bsky/graph/mute'
import * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute'
import * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'

@@ -128,2 +131,5 @@ import * as AppBskyNotificationList from './types/app/bsky/notification/list'

export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes'
export * as AppBskyGraphMute from './types/app/bsky/graph/mute'
export * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute'
export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'

@@ -1088,2 +1094,35 @@ export * as AppBskyNotificationList from './types/app/bsky/notification/list'

}
getMutes(
params?: AppBskyGraphGetMutes.QueryParams,
opts?: AppBskyGraphGetMutes.CallOptions,
): Promise<AppBskyGraphGetMutes.Response> {
return this._service.xrpc
.call('app.bsky.graph.getMutes', params, undefined, opts)
.catch((e) => {
throw AppBskyGraphGetMutes.toKnownErr(e)
})
}
mute(
data?: AppBskyGraphMute.InputSchema,
opts?: AppBskyGraphMute.CallOptions,
): Promise<AppBskyGraphMute.Response> {
return this._service.xrpc
.call('app.bsky.graph.mute', opts?.qp, data, opts)
.catch((e) => {
throw AppBskyGraphMute.toKnownErr(e)
})
}
unmute(
data?: AppBskyGraphUnmute.InputSchema,
opts?: AppBskyGraphUnmute.CallOptions,
): Promise<AppBskyGraphUnmute.Response> {
return this._service.xrpc
.call('app.bsky.graph.unmute', opts?.qp, data, opts)
.catch((e) => {
throw AppBskyGraphUnmute.toKnownErr(e)
})
}
}

@@ -1090,0 +1129,0 @@

@@ -49,3 +49,4 @@ /**

member?: string
muted?: boolean
[k: string]: unknown
}

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

avatar?: string
viewer?: ViewerState
[k: string]: unknown
}
export interface ViewerState {
muted?: boolean
[k: string]: unknown
}

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

/** A text segment. Start is inclusive, end is exclusive. */
export interface TextSlice {

@@ -64,3 +65,4 @@ start: number

downvote?: string
muted?: boolean
[k: string]: unknown
}

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

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