We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abb0594 commit 6f5d793Copy full SHA for 6f5d793
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "ffc-wechat-miniprogram-sdk",
3
- "version": "0.0.9",
+ "version": "0.0.10",
4
"description": "https://github.com/feature-flags-co/ffc-wechat-miniprogram-sdk",
5
"main": "build/index.js",
6
"miniprogram": "build",
src/ffc.ts
@@ -108,7 +108,7 @@ export class Ffc {
108
});
109
}
110
111
- on(name: string, cb: (change: IFeatureFlagChange) => void) {
+ on(name: string, cb: (changes: IFeatureFlagChange | IFeatureFlagChange[]) => void) {
112
eventHub.subscribe(name, cb);
113
114
0 commit comments