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

@atproto/api

Package Overview
Dependencies
Maintainers
4
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.11.0 to 0.11.1

6

CHANGELOG.md
# @atproto/api
## 0.11.1
### Patch Changes
- [#2312](https://github.com/bluesky-social/atproto/pull/2312) [`219480764`](https://github.com/bluesky-social/atproto/commit/2194807644cbdb0021e867437693300c1b0e55f5) Thanks [@pfrazee](https://github.com/pfrazee)! - Fixed an issue that would cause agent clones to drop the PDS URI config.
## 0.11.0

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

@@ -11,2 +11,3 @@ import { Headers } from '@atproto/xrpc';

links?: Links;
contact?: Contact;
did: string;

@@ -31,1 +32,7 @@ [k: string]: unknown;

export declare function validateLinks(v: unknown): ValidationResult;
export interface Contact {
email?: string;
[k: string]: unknown;
}
export declare function isContact(v: unknown): v is Contact;
export declare function validateContact(v: unknown): ValidationResult;

4

package.json
{
"name": "@atproto/api",
"version": "0.11.0",
"version": "0.11.1",
"license": "MIT",

@@ -32,3 +32,3 @@ "description": "Client library for atproto and Bluesky",

"@atproto/lex-cli": "^0.3.2",
"@atproto/dev-env": "^0.2.38"
"@atproto/dev-env": "^0.2.39"
},

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

@@ -94,2 +94,3 @@ import { ErrorResponseBody, errorResponseBody } from '@atproto/xrpc'

inst.pdsUrl = this.pdsUrl
inst.api.xrpc.uri = this.pdsUrl || this.service
}

@@ -96,0 +97,0 @@

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

links?: Links
contact?: Contact
did: string

@@ -60,1 +61,18 @@ [k: string]: unknown

}
export interface Contact {
email?: string
[k: string]: unknown
}
export function isContact(v: unknown): v is Contact {
return (
isObj(v) &&
hasProp(v, '$type') &&
v.$type === 'com.atproto.server.describeServer#contact'
)
}
export function validateContact(v: unknown): ValidationResult {
return lexicons.validate('com.atproto.server.describeServer#contact', v)
}

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

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