@openpeepshq/client 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22397,7 +22397,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
22397
22397
  success: boolean;
22398
22398
  message?: string | undefined;
22399
22399
  key?: string | undefined;
22400
- }, undefined, undefined>;
22400
+ }, undefined, {
22401
+ directory?: "true";
22402
+ }>;
22401
22403
  findById: import("@openpeepshq/fetch-client").TypedNoPayloadEndpoint<{
22402
22404
  id: string;
22403
22405
  type: "guest" | "local" | "federated";
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@openpeepshq/client",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "dependencies": {
8
- "@openpeepshq/common": "^0.11.0",
8
+ "@openpeepshq/common": "^0.12.0",
9
9
  "@openpeepshq/fetch-client": "^0.2.1"
10
10
  },
11
11
  "main": "./dist/index.js",
@@ -120,7 +120,11 @@ export const profiles = (
120
120
  ),
121
121
  },
122
122
 
123
- list: allpeepNoPayloadEndpoint<PublicProfile[]>(rawClient, '/profiles'),
123
+ list: allpeepNoPayloadEndpoint<
124
+ PublicProfile[],
125
+ undefined,
126
+ { directory?: 'true' }
127
+ >(rawClient, '/profiles'),
124
128
  findById: allpeepNoPayloadEndpoint<PublicProfile, { id: string }>(
125
129
  rawClient,
126
130
  '/profiles/:id',