This object contains generic helper functions that might simplify app code.
Property | Description |
---|---|
sanitizeShop | Validates and sanitizes Shopify shop domains to make user input safer. |
sanitizeHost | Validates and sanitizes the host argument from Shopify for embedded apps. |
validateHmac | Validates the HMAC signature in requests from Shopify. |
versionCompatible | Checks whether the current library version is equal to or newer than the given API version. |
versionPriorTo | Checks whether the current library version is older than the given API version. |