From 900e766190dcba9a7c1eaf4535cc4c78f7c4b9c5 Mon Sep 17 00:00:00 2001 From: daishi Date: Wed, 18 Nov 2020 17:54:26 +0900 Subject: [PATCH] export subscribe --- .size-snapshot.json | 18 +++++++++--------- src/index.ts | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.size-snapshot.json b/.size-snapshot.json index 79094651..372b2ab0 100644 --- a/.size-snapshot.json +++ b/.size-snapshot.json @@ -1,8 +1,8 @@ { "index.js": { - "bundled": 4699, - "minified": 2008, - "gzipped": 887, + "bundled": 4728, + "minified": 2036, + "gzipped": 894, "treeshaked": { "rollup": { "code": 61, @@ -14,13 +14,13 @@ } }, "index.cjs.js": { - "bundled": 5315, - "minified": 2339, - "gzipped": 978 + "bundled": 5351, + "minified": 2372, + "gzipped": 985 }, "index.iife.js": { - "bundled": 5653, - "minified": 1837, - "gzipped": 851 + "bundled": 5691, + "minified": 1856, + "gzipped": 857 } } diff --git a/src/index.ts b/src/index.ts index f775575d..1c4b83e7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -159,4 +159,4 @@ const useProxy = (proxy: T): T => { return createDeepProxy(snapshot, affected, proxyCache) } -export { createProxy as proxy, useProxy } +export { createProxy as proxy, useProxy, subscribe as subscribeProxy }