Skip to content

Commit 5441972

Browse files
fix the import statement in the Usage section (#4)
1 parent e603929 commit 5441972

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ yarn add @originjs/crypto-js-wasm
5151
在使用各算法前需调用一次对应的`loadWasm()`,或调用`loadAllWasm()`以加载所有算法的WebAssembly文件。
5252

5353
```javascript
54-
import CryptoJSW from 'crypto-js-wasm';
54+
import CryptoJSW from '@originjs/crypto-js-wasm';
5555

5656
// (可选) 加载所有 wasm 文件
5757
await CryptoJSW.loadAllWasm();

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ yarn add @originjs/crypto-js-wasm
5151
Note that the async function `loadWasm()` should be called once (and once only!) for each algorithm that will be used, unless `loadAllWasm()` is called at the very beginning.
5252

5353
```javascript
54-
import CryptoJSW from 'crypto-js-wasm';
54+
import CryptoJSW from '@originjs/crypto-js-wasm';
5555

5656
// (Optional) load all wasm files
5757
await CryptoJSW.loadAllWasm();

0 commit comments

Comments
 (0)