@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.
@@ -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'>): Extract<InboxBlock, {
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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddington/sdk",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "OS routine and response-handler SDK",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",