
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@appmate/wishlist-hydrogen
Advanced tools
Integrate Wishlist King into your Shopify Hydrogen project.
Install package with npm i @appmate/wishlist-hydrogen
.
Setup a Wishlist King client in server.ts
.
// Create a client
const { wishlistKing } = createWishlistClient({
shopDomain: "your-domain.myshopify.com",
// Make sure your session stores the customer id.
customerId: session.get("customerId"),
cache: caches.open("wishlist-king"),
request,
waitUntil,
});
// Add client to request handler
const handleRequest = createRequestHandler({
build: remixBuild,
mode: process.env.NODE_ENV,
getLoadContext: () => ({
// Keep your current context and add wishlistKing
wishlistKing,
}),
});
Add type definition in remix.env.d.ts
.
declare module "@shopify/remix-oxygen" {
export interface AppLoadContext {
// ...
wishlistKing: WishlistClient;
}
}
Copy file components/WishlistButton.tsx
from examples.
Copy file components/WishlistGrid.tsx
from examples.
Copy file components/WishlistLink.tsx
from examples.
Render your main layout inside the WishlistProvider
.
<WishlistProvider>{/* Add your layout here */}</WishlistProvider>
Copy file routes/($locale).wishlists.$wishlistHandle.tsx
from examples.
Render WishlistLink
in header.
<WishlistLink />
Render WishlistButton
on product page.
<WishlistButton productId={product.id} variantId={selectedVariant?.id} />
FAQs
Wishlist King SDK for Shopify Hydrogen
The npm package @appmate/wishlist-hydrogen receives a total of 402 weekly downloads. As such, @appmate/wishlist-hydrogen popularity was classified as not popular.
We found that @appmate/wishlist-hydrogen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.