Files
klz-cables.com/.pnpm-store/v10/files/22/0fb2d2b3b9562d16d69f066a4e417089613a4755be5d50ce9949afdf089505858e76147b952a9153d7c75fea93982f8227a77f22a74cb9b53bf8bd4e1b51cc
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

1 line
844 B
Plaintext

{"version":3,"sources":["../../../src/utilities/telemetry/oneWayHash.ts"],"sourcesContent":["import type { BinaryLike } from 'crypto'\n\nimport { createHash } from 'crypto'\n\nexport const oneWayHash = (data: BinaryLike, secret: string): string => {\n const hash = createHash('sha256')\n\n // prepend value with payload secret. This ensure one-way.\n hash.update(secret)\n\n // Update is an append operation, not a replacement. The secret from the prior\n // update is still present!\n hash.update(data)\n return hash.digest('hex')\n}\n"],"names":["createHash","oneWayHash","data","secret","hash","update","digest"],"mappings":"AAEA,SAASA,UAAU,QAAQ,SAAQ;AAEnC,OAAO,MAAMC,aAAa,CAACC,MAAkBC;IAC3C,MAAMC,OAAOJ,WAAW;IAExB,0DAA0D;IAC1DI,KAAKC,MAAM,CAACF;IAEZ,8EAA8E;IAC9E,2BAA2B;IAC3BC,KAAKC,MAAM,CAACH;IACZ,OAAOE,KAAKE,MAAM,CAAC;AACrB,EAAC"}