Skip to content

Commit

Permalink
Merge branch 'release/1.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
onetechnical committed Apr 28, 2021
2 parents 0dadb96 + 728db30 commit ff9604c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.9.1

## Changed

- Changed our browser bundle from webpack's `window` type to `UMD`, which fixes issues when using
the library from React ([#352](https://github.com/algorand/js-algorand-sdk/issues/352)).

# 1.9.0

## Added
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# js-algorand-sdk

[![Build Status](https://travis-ci.com/algorand/js-algorand-sdk.svg?branch=master)](https://travis-ci.com/algorand/js-algorand-sdk) [![npm version](https://badge.fury.io/js/algosdk.svg)](https://badge.fury.io/js/algosdk)
[![Build Status](https://travis-ci.com/algorand/js-algorand-sdk.svg?branch=master)](https://travis-ci.com/algorand/js-algorand-sdk) [![npm version](https://badge.fury.io/js/algosdk.svg)](https://www.npmjs.com/package/algosdk)

AlgoSDK is a javascript library for communicating with the Algorand network for modern browsers and node.js.
AlgoSDK is the official JavaScript library for communicating with the Algorand network. It's designed for modern browsers and node.js.

## Installation

Expand All @@ -12,6 +12,8 @@ AlgoSDK is a javascript library for communicating with the Algorand network for
$ npm install algosdk
```

> This package provides TypeScript types, but you will need TypeScript version 4.2 or higher to use them properly.
### Browser

Include a minified browser bundle directly in your HTML like so:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "algosdk",
"version": "1.9.0",
"description": "algosdk is Algorand's official javascript SDK",
"version": "1.9.1",
"description": "The official JavaScript SDK for Algorand",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/browser/algosdk.min.js",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
filename: 'algosdk.min.js',
path: path.resolve(__dirname, 'dist/browser'),
library: {
type: 'window',
type: 'umd',
name: 'algosdk',
},
},
Expand Down

0 comments on commit ff9604c

Please sign in to comment.