@lijuhong1981/jsgif 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -485,7 +485,7 @@ function GifPlayer(options = {}) {
485
485
  return new Promise(function (resolve, reject) {
486
486
  try {
487
487
  if (data instanceof ArrayBuffer)
488
- data = new Uint8Array(arraybuffer);
488
+ data = new Uint8Array(data);
489
489
  STREAM = new Stream(data);
490
490
  reset();
491
491
  parseHeader();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lijuhong1981/jsgif",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "> TODO: description",
5
5
  "author": "lijuhong1981",
6
6
  "homepage": "https://github.com/lijuhong1981/jslibs#readme",