Skip to content

Commit

Permalink
Merge pull request #35 from Qimath/master
Browse files Browse the repository at this point in the history
setMessageText adjustment
  • Loading branch information
baptistejamin authored Apr 10, 2024
2 parents 3204e5f + d51f108 commit 87a5a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crisp-sdk-web",
"version": "1.0.23",
"version": "1.0.24",
"description": "Include Crisp chat widget inside web frameworks.",
"keywords": [
"crisp",
Expand Down
2 changes: 1 addition & 1 deletion src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class CrispMessage {
this.parent = crisp;
}

fillText(content: string) {
setMessageText(content: string) {
this.parent.createSingletonIfNecessary();

window.$crisp.push(["set", "message:text", [content]]);
Expand Down

0 comments on commit 87a5a8e

Please sign in to comment.