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

@atproto/xrpc

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto/xrpc - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

7

CHANGELOG.md
# @atproto/xrpc
## 0.4.2
### Patch Changes
- Updated dependencies []:
- @atproto/lexicon@0.3.2
## 0.4.1

@@ -4,0 +11,0 @@

8

dist/types.d.ts
import { z } from 'zod';
import { ValidationError } from '@atproto/lexicon';
export declare type QueryParams = Record<string, any>;
export declare type Headers = Record<string, string>;
export type QueryParams = Record<string, any>;
export type Headers = Record<string, string>;
export interface CallOptions {

@@ -14,3 +14,3 @@ encoding?: string;

}
export declare type FetchHandler = (httpUri: string, httpMethod: string, httpHeaders: Headers, httpReqBody: any) => Promise<FetchHandlerResponse>;
export type FetchHandler = (httpUri: string, httpMethod: string, httpHeaders: Headers, httpReqBody: any) => Promise<FetchHandlerResponse>;
export declare const errorResponseBody: z.ZodObject<{

@@ -26,3 +26,3 @@ error: z.ZodOptional<z.ZodString>;

}>;
export declare type ErrorResponseBody = z.infer<typeof errorResponseBody>;
export type ErrorResponseBody = z.infer<typeof errorResponseBody>;
export declare enum ResponseType {

@@ -29,0 +29,0 @@ Unknown = 1,

Dual MIT/Apache-2.0 License
Copyright (c) 2022-2023 Bluesky PBC, and Contributors
Copyright (c) 2022-2024 Bluesky PBC, and Contributors

@@ -5,0 +5,0 @@ Except as otherwise noted in individual files, this software is licensed under the MIT license (<http://opensource.org/licenses/MIT>), or the Apache License, Version 2.0 (<http://www.apache.org/licenses/LICENSE-2.0>).

{
"name": "@atproto/xrpc",
"version": "0.4.1",
"version": "0.4.2",
"license": "MIT",

@@ -19,3 +19,3 @@ "description": "atproto HTTP API (XRPC) client library",

"zod": "^3.21.4",
"@atproto/lexicon": "^0.3.1"
"@atproto/lexicon": "^0.3.2"
},

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

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