pacc 8.0.3 → 8.0.4

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/README.md CHANGED
@@ -751,6 +751,7 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
751
751
  * `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
752
752
  * `primitive` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** 
753
753
  * `toInternal` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** 
754
+ * `toExternal` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** 
754
755
 
755
756
  ## raiseOnUnknownType
756
757
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
package/src/types.mjs CHANGED
@@ -7,6 +7,7 @@ import { parseBytes } from "./bytes.mjs";
7
7
  * @property {string} name
8
8
  * @property {boolean} [primitive]
9
9
  * @property {Function} [toInternal]
10
+ * @property {Function} [toExternal]
10
11
  */
11
12
 
12
13
  const emptyStringIsUndefined = value =>
package/types/types.d.mts CHANGED
@@ -65,5 +65,6 @@ export type Type = {
65
65
  name: string;
66
66
  primitive?: boolean;
67
67
  toInternal?: Function;
68
+ toExternal?: Function;
68
69
  };
69
70
  import { parseBytes } from "./bytes.mjs";