diff --git a/.changeset/quiet-gifts-watch.md b/.changeset/quiet-gifts-watch.md new file mode 100644 index 00000000..c22233ce --- /dev/null +++ b/.changeset/quiet-gifts-watch.md @@ -0,0 +1,5 @@ +--- +"frog": patch +--- + +Fixed an issue where `verifyOrigin` constructor parameter was not populated in some of the handlers. diff --git a/src/frog-base.tsx b/src/frog-base.tsx index 5aead784..f82e034c 100644 --- a/src/frog-base.tsx +++ b/src/frog-base.tsx @@ -526,6 +526,7 @@ export class FrogBase< (this.hubApiUrl ? { apiUrl: this.hubApiUrl } : undefined), secret: this.secret, verify, + verifyOrigin: this.verifyOrigin, }), }) @@ -608,6 +609,7 @@ export class FrogBase< (this.hubApiUrl ? { apiUrl: this.hubApiUrl } : undefined), secret: this.secret, verify, + verifyOrigin: this.verifyOrigin, }), contextHono: c, initialState: this._initialState, @@ -1130,6 +1132,7 @@ export class FrogBase< (this.hubApiUrl ? { apiUrl: this.hubApiUrl } : undefined), secret: this.secret, verify, + verifyOrigin: this.verifyOrigin, }), contextHono: c, initialState: this._initialState, @@ -1167,6 +1170,7 @@ export class FrogBase< (this.hubApiUrl ? { apiUrl: this.hubApiUrl } : undefined), secret: this.secret, verify, + verifyOrigin: this.verifyOrigin, }), contextHono: c, initialState: this._initialState,