Skip to content

Commit

Permalink
update sdk to pass location in postmessage (#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-jake authored Nov 6, 2024
1 parent 28e8f2d commit a696e53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ describe('Communicator', () => {
version: VERSION,
metadata: appMetadata,
preference,
location: 'http://localhost:3000/',
},
},
urlOrigin
Expand Down Expand Up @@ -145,6 +146,7 @@ describe('Communicator', () => {
version: VERSION,
metadata: appMetadata,
preference,
location: 'http://localhost:3000/',
},
},
urlOrigin
Expand All @@ -167,6 +169,7 @@ describe('Communicator', () => {
version: VERSION,
metadata: appMetadata,
preference,
location: 'http://localhost:3000/',
},
},
urlOrigin
Expand Down
1 change: 1 addition & 0 deletions packages/wallet-sdk/src/core/communicator/Communicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export class Communicator {
version: VERSION,
metadata: this.metadata,
preference: this.preference,
location: window.location.toString(),
},
});
})
Expand Down

0 comments on commit a696e53

Please sign in to comment.