-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support for sharing google consent mode with other apps such as Luxury Checkout through a cookie set for the same domain.
- Loading branch information
Showing
7 changed files
with
366 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// We use a require here to avoid typescript complaining of `package.json` is not | ||
// under rootDir that we would get if we used an import. Typescript apparently ignores | ||
// requires. | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const { name, version } = require('../../package.json'); | ||
|
||
export const PACKAGE_VERSION = version as string; | ||
export const PACKAGE_NAME = name as string; | ||
export const PACKAGE_NAME_VERSION = `${PACKAGE_NAME}@${PACKAGE_VERSION}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.