Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ If you use LIFF Mock with Pluggable SDK mode, you have to install `IsInClientMod

```ts
import liff from '@line/liff/core';
import IsInClientModule from "@line/liff/is-in-client";
import IsInClientModule from '@line/liff/is-in-client';
import { LiffMockPlugin } from '@line/liff-mock';

liff.use(new IsInClientModule()); // <-- Please install IsInClientModule before LiffMockPlugin
liff.use(new IsInClientModule()); // <-- Please install IsInClientModule before LiffMockPlugin
liff.use(new LiffMockPlugin());

liff.init({
Expand All @@ -54,11 +54,11 @@ console.log(profile);

## CDN

https://unpkg.com/@line/liff-mock@1.0.3/dist/umd/liff-mock.js
https://unpkg.com/@line/liff-mock@1.0.4/dist/umd/liff-mock.js

```html
<!-- in <head> tag -->
<script src="https://unpkg.com/@line/liff-mock@1.0.3/dist/umd/liff-mock.js"></script>
<script src="https://unpkg.com/@line/liff-mock@1.0.4/dist/umd/liff-mock.js"></script>
```

```js
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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@line/liff-mock",
"version": "1.0.3",
"version": "1.0.4",
"description": "Make testing your LIFF app easy",
"main": "dist/index.js",
"unpkg": "dist/umd/liff-mock.js",
Expand Down