From 0a72bc746c2c5618fd8a1a67916c4a8efdca20d1 Mon Sep 17 00:00:00 2001 From: valadaptive Date: Sat, 28 Sep 2024 15:41:32 -0400 Subject: [PATCH] Re-add types exports for browser --- etc/browser/avsc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/browser/avsc.js b/etc/browser/avsc.js index fbb29af4..1ad278cc 100644 --- a/etc/browser/avsc.js +++ b/etc/browser/avsc.js @@ -8,6 +8,7 @@ */ let containers = require('../../lib/containers'), + types = require('../../lib/types'), stream = require('stream'); /** Transform stream which lazily reads a blob's contents. */ @@ -104,5 +105,7 @@ function createBlobEncoder(schema, opts) { module.exports = { createBlobDecoder, createBlobEncoder, - streams: containers.streams + streams: containers.streams, + Type: types.Type, + types: types.builtins, };