Skip to content

[FEATURE REQUEST] Added a new interface to the openim-sdk-core project and packaged to generate openIM.wasm file, which cannot be referenced in the front-end project #1003

@lilijiang135

Description

@lilijiang135

Why this feature?

在openim-sdk-core项目中增加了新的接口,并打包生成openIM.wasm文件,无法在前端项目中引用,会报错没有改方法。
新增的接口如下:
js.Global().Set("getSelectUsers", js.FuncOf(wrapperUser.GetSelectUsers))
这个新增接口做了测试,是可以正常使用的。
目前就是前端项目引用新生成的openIM.wasm文件,会显示没有该方法。
会是什么原因呢?请求大佬的帮助

Suggested Solution

前端项目可以正常引用新生成的openIM.wasm文件

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions