@oddington/sdk 0.1.26 → 0.1.27
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.
- package/dist/browser.js +119 -107
- package/dist/index.js +4 -4
- package/dist/types/shared/inbox-contract.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** The bounded ask/digest contract. Authorization and durable effects belong to
|
|
2
2
|
* the server; constructing a value here grants no publication authority. */
|
|
3
|
+
import { type File } from './files-contract.js';
|
|
3
4
|
export type JsonValue = null | boolean | number | string | JsonValue[] | JsonObject;
|
|
4
5
|
export type JsonObject = {
|
|
5
6
|
[key: string]: JsonValue;
|
|
@@ -303,7 +304,9 @@ export declare function recordsBlock(value: Omit<Extract<InboxBlock, {
|
|
|
303
304
|
}>;
|
|
304
305
|
export declare function fileBlock(value: Omit<Extract<InboxBlock, {
|
|
305
306
|
kind: 'files';
|
|
306
|
-
}>, 'kind'>
|
|
307
|
+
}>, 'kind' | 'files'> & {
|
|
308
|
+
files: Array<File | InboxFile>;
|
|
309
|
+
}): Extract<InboxBlock, {
|
|
307
310
|
kind: 'files';
|
|
308
311
|
}>;
|
|
309
312
|
export declare function asksBlock(value: Omit<Extract<InboxBlock, {
|