Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 1.1 KB

File metadata and controls

13 lines (10 loc) · 1.1 KB

shopify.utils

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.

Back to shopifyApi