@devvit/public-api 0.11.0-next-2024-07-19-2d16f5c95.0 → 0.11.0-next-2024-07-22-4764a9e68.0
Sign up to get free protection for your applications and to get access to all the features.
- package/devvit/internals/context.js +1 -0
- package/meta.json +41 -12
- package/meta.min.json +6 -6
- package/package.json +7 -7
- package/public-api.d.ts +1246 -1124
- package/public-api.iife.js +4410 -4114
- package/public-api.min.js +1 -1
- package/public-api.min.js.map +2 -2
- package/types/context.d.ts +1 -1
package/types/context.d.ts
CHANGED
@@ -129,7 +129,7 @@ export type ContextAPIClients = {
|
|
129
129
|
*/
|
130
130
|
useForm: <const T extends Form | FormFunction = Form | FormFunction>(form: T, onSubmit: (values: FormToFormValues<T>) => void | Promise<void>) => FormKey;
|
131
131
|
/**
|
132
|
-
* A hook
|
132
|
+
* A hook for managing a realtime pubsub channel between Block renders.
|
133
133
|
* This is only available within a Block Component.
|
134
134
|
*/
|
135
135
|
useChannel: <Message extends JSONValue = JSONValue>(options: ChannelOptions<Message>) => UseChannelResult<Message>;
|