@atproto/api
Advanced tools
Comparing version 0.13.16 to 0.13.17
# @atproto/api | ||
## 0.13.17 | ||
### Patch Changes | ||
- [#2978](https://github.com/bluesky-social/atproto/pull/2978) [`a4b528e5f`](https://github.com/bluesky-social/atproto/commit/a4b528e5f51c8bfca56b293b0059b88d138ec421) Thanks [@rafaelbsky](https://github.com/rafaelbsky)! - Add searchStarterPacks and searchStarterPacksSkeleton | ||
- [#3056](https://github.com/bluesky-social/atproto/pull/3056) [`2e7aa211d`](https://github.com/bluesky-social/atproto/commit/2e7aa211d2cbc629899c7f87f1713b13b932750b) Thanks [@rafaelbsky](https://github.com/rafaelbsky)! - Add com.atproto.temp.addReservedHandle lexicon | ||
## 0.13.16 | ||
@@ -4,0 +12,0 @@ |
@@ -17,2 +17,8 @@ /** | ||
export declare function validateSkeletonSearchActor(v: unknown): ValidationResult; | ||
export interface SkeletonSearchStarterPack { | ||
uri: string; | ||
[k: string]: unknown; | ||
} | ||
export declare function isSkeletonSearchStarterPack(v: unknown): v is SkeletonSearchStarterPack; | ||
export declare function validateSkeletonSearchStarterPack(v: unknown): ValidationResult; | ||
//# sourceMappingURL=defs.d.ts.map |
@@ -7,2 +7,4 @@ "use strict"; | ||
exports.validateSkeletonSearchActor = validateSkeletonSearchActor; | ||
exports.isSkeletonSearchStarterPack = isSkeletonSearchStarterPack; | ||
exports.validateSkeletonSearchStarterPack = validateSkeletonSearchStarterPack; | ||
const util_1 = require("../../../../util"); | ||
@@ -26,2 +28,10 @@ const lexicons_1 = require("../../../../lexicons"); | ||
} | ||
function isSkeletonSearchStarterPack(v) { | ||
return ((0, util_1.isObj)(v) && | ||
(0, util_1.hasProp)(v, '$type') && | ||
v.$type === 'app.bsky.unspecced.defs#skeletonSearchStarterPack'); | ||
} | ||
function validateSkeletonSearchStarterPack(v) { | ||
return lexicons_1.lexicons.validate('app.bsky.unspecced.defs#skeletonSearchStarterPack', v); | ||
} | ||
//# sourceMappingURL=defs.js.map |
{ | ||
"name": "@atproto/api", | ||
"version": "0.13.16", | ||
"version": "0.13.17", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Client library for atproto and Bluesky", |
@@ -342,3 +342,3 @@ # ATP API | ||
If you environment doesn't have a built-in `fetch` implementation, you'll need | ||
If your environment doesn't have a built-in `fetch` implementation, you'll need | ||
to provide one. This will typically be done through a polyfill. | ||
@@ -348,3 +348,3 @@ | ||
If you want to provide you own `fetch` implementation, you can do so by | ||
If you want to provide your own `fetch` implementation, you can do so by | ||
instantiating the sessionManager with a custom fetch implementation: | ||
@@ -351,0 +351,0 @@ |
@@ -42,1 +42,25 @@ /** | ||
} | ||
export interface SkeletonSearchStarterPack { | ||
uri: string | ||
[k: string]: unknown | ||
} | ||
export function isSkeletonSearchStarterPack( | ||
v: unknown, | ||
): v is SkeletonSearchStarterPack { | ||
return ( | ||
isObj(v) && | ||
hasProp(v, '$type') && | ||
v.$type === 'app.bsky.unspecced.defs#skeletonSearchStarterPack' | ||
) | ||
} | ||
export function validateSkeletonSearchStarterPack( | ||
v: unknown, | ||
): ValidationResult { | ||
return lexicons.validate( | ||
'app.bsky.unspecced.defs#skeletonSearchStarterPack', | ||
v, | ||
) | ||
} |
@@ -10,3 +10,3 @@ import { TestNetworkNoAppView } from '@atproto/dev-env' | ||
network = await TestNetworkNoAppView.create({ | ||
dbPostgresSchema: 'bsky_agent', | ||
dbPostgresSchema: 'api_moderation_prefs', | ||
}) | ||
@@ -13,0 +13,0 @@ }) |
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
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
Sorry, the diff of this file is not supported yet
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 too big to display
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
4567176
1312
100218