I hereby claim:
- I am bkspace on github.
- I am bkspace (https://keybase.io/bkspace) on keybase.
- I have a public key ASCRTIorCsfX9NP_SzjocolxSC5M04diX9i0vhPVQOB1aAo
To claim this, I am signing this object:
| {% liquid | |
| assign discounts = shop.metafields.discount_kit.discount_information.value.discounts | |
| assign current_date = 'now' | date: '%s' | times: 1 | |
| assign matched_config_ids = "" | |
| for discount in discounts | |
| assign config = discount.discountNode.config.value | |
| assign starts_at = discount.startsAt | date: '%s' | times: 1 | |
| assign ends_at = discount.endsAt | date: '%s' | times: 1 |
| cargo build --target wasm32-wasip1 --release | |
| wasm-opt -Oz --output $1 $1 --enable-bulk-memory |
| {% liquid | |
| assign discounts = shop.metafields.discount_kit.campaign.value.discounts | |
| assign current_date = 'now' | date: '%s' | times: 1 | |
| # Initialize an array to store discount distances | |
| assign discount_distances = '' | |
| for discount in discounts | |
| assign config = discount.discountNode.config.value | |
| assign starts_at = discount.startsAt | date: '%s' | times: 1 |
| name: Function Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| SHOPIFY_API_KEY: ${{ secrets.SHOPIFY_API_KEY }} | |
| SHOPIFY_FUNCTION_ID: ${{ secrets.SHOPIFY_FUNCTION_KEY }} |
| import qualified Data.Text as T | |
| import Language.Plutus.Contract hiding (when) | |
| import Language.PlutusTx.Prelude | |
| import Playground.Contract | |
| -- | A 'Contract' that logs a message. | |
| hello :: Contract BlockchainActions T.Text () | |
| hello = logInfo @String "Hello, world" | |
| endpoints :: Contract BlockchainActions T.Text () |
| import { useEffect, useContext } from 'react' | |
| import Router, { useRouter } from 'next/router' | |
| import { Context as AppBridgeContext } from '@shopify/app-bridge-react' | |
| import { Redirect } from '@shopify/app-bridge/actions' | |
| import { RoutePropagator as ShopifyRoutePropagator } from '@shopify/app-bridge-react' | |
| const RoutePropagator = () => { | |
| const router = useRouter() | |
| const { route } = router | |
| const appBridge = useContext(AppBridgeContext) |
I hereby claim:
To claim this, I am signing this object: