Skip to content

Commit

Permalink
v2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
danakt committed Feb 28, 2020
1 parent c5c7cf4 commit 3d4e38c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ bridge.send('VKWebAppInit');
bridge.subscribe(e => console.log(e));
```

For use in a browser, include the file [`dist/index.umd.js`](https://unpkg.com/@vkontakte/vk-bridge/dist/index.umd.js) and use as follows
For use in a browser, include the file [`dist/browser.min.js`](https://unpkg.com/@vkontakte/vk-bridge/dist/browser.min.js) and use as follows

```html
<script src="dist/index.umd.js"></script>
<script src="https://unpkg.com/@vkontakte/vk-bridge/dist/browser.min.js"></script>

<script>
// Sends event to client
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vkontakte/vk-bridge",
"version": "2.0.4",
"version": "2.0.5",
"description": "Connects a Mini App with VK client",
"main": "dist/index.js",
"browser": "dist/index.umd.js",
Expand Down

0 comments on commit 3d4e38c

Please sign in to comment.