osra 0.6.14 → 0.6.15

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.
@@ -0,0 +1,10 @@
1
+ import { OSRA_BOX } from '../types.js';
2
+ export type QuotedBox = {
3
+ [OSRA_BOX]: 'quoted';
4
+ box: 'revivable' | 'quoted';
5
+ value: Record<string, unknown>;
6
+ };
7
+ export declare const isQuotedBox: (value: unknown) => value is QuotedBox;
8
+ export declare const isQuotingBoxes: () => boolean;
9
+ export declare const withQuotedBoxes: <T>(fn: () => T) => T;
10
+ export declare const outsideQuoting: <T>(fn: () => T) => T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osra",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "Easy communication between workers",
5
5
  "homepage": "https://github.com/banou26/osra#readme",
6
6
  "bugs": {