@atproto/xrpc
Advanced tools
Comparing version 0.4.1 to 0.4.2
# @atproto/xrpc | ||
## 0.4.2 | ||
### Patch Changes | ||
- Updated dependencies []: | ||
- @atproto/lexicon@0.3.2 | ||
## 0.4.1 | ||
@@ -4,0 +11,0 @@ |
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
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
1992010
Updated@atproto/lexicon@^0.3.2