From 8c51b669c6e8f2a2595b96baf50b546b1a318686 Mon Sep 17 00:00:00 2001 From: William Reynolds Date: Sat, 4 Jan 2020 13:48:22 -0600 Subject: [PATCH] feat(identity): rename exported uri In order to export the URI of any instance, they should be uniquely named. While URIs should typically not be used directly, they may be valuable when writing adaptors. BREAKING CHANGE: URI is now exported from Identity as MAYBE_URI (constant) and MaybeURI (type) --- src/instance/Identity.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/instance/Identity.ts b/src/instance/Identity.ts index a098bab..c212dde 100644 --- a/src/instance/Identity.ts +++ b/src/instance/Identity.ts @@ -6,8 +6,11 @@ declare module '../HKT' { } } -export const URI = 'Identity' -export type URI = typeof URI +const URI = 'Identity' +type URI = typeof URI + +export const IDENTITY_URI = URI +export type IdentityURI = URI /** * A simple wrapper around a value which provides no special behavior.