Skip to content

Commit

Permalink
Release Web SDK version as 0.0.5 .
Browse files Browse the repository at this point in the history
  • Loading branch information
zenoslin committed Feb 18, 2022
1 parent eb3741f commit 14d212e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@

### Bug Fixes

- Fix some static functions that eliminate the side effects caused by the `Asyncify` module in emscripten miss in the Typescript decorator.
- Fix some static functions that eliminate the side effects caused by the `Asyncify` module in emscripten miss in the Typescript decorator.

## 0.0.5

### Bug Fixes

- Fix `PAGImage.fromSource` miss rewind `Asyncify` currData.
8 changes: 7 additions & 1 deletion web/CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@

### Bug Fixes

- 修复消除 emscripten 中 `Asyncify` 模块带来副作用的Typescript 装饰器遗漏了静态方法
- 修复消除 emscripten 中 `Asyncify` 模块带来副作用的Typescript 装饰器遗漏了静态方法

## 0.0.5

### Bug Fixes

- 修复 `PAGImage``fromSource` 方法没有回溯 `Asyncify` 的状态
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libpag",
"version": "0.0.4",
"version": "0.0.5",
"description": "Portable Animated Graphics",
"main": "lib/libpag.cjs.js",
"module": "lib/libpag.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function wasmAwaitRewind(constructor: any) {
};

staticFunctions.forEach((name) => proxyFn(constructor, name));
functions.forEach((name) => proxyFn(constructor.prototype, name))
functions.forEach((name) => proxyFn(constructor.prototype, name));
}

export function wasmAsyncMethod(target: any, propertyKey: string, descriptor: PropertyDescriptor) {
Expand Down

0 comments on commit 14d212e

Please sign in to comment.