diff --git a/package.json b/package.json index e48cafd..4ad028c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-azure-maps", - "version": "0.4.5", + "version": "0.4.6", "description": "React Wrapper for Azure Maps", "keywords": [ "react", diff --git a/preview/react-preview.jsx b/preview/react-preview.jsx index c8fa3a9..04d697d 100644 --- a/preview/react-preview.jsx +++ b/preview/react-preview.jsx @@ -1,10 +1,10 @@ import React from 'react' import { createRoot } from 'react-dom/client' -import { AzureMap, AzureMapsProvider } from '../dist/react-azure-maps.es5' +import { AzureMap, AzureMapsProvider, AuthenticationType } from '../dist/react-azure-maps.es5' const option = { authOptions: { - authType: 'subscriptionKey', + authType: AuthenticationType.subscriptionKey, subscriptionKey: '' } }