UNPKG

@azure/cosmos

Version:
1 lines 728 B
{"version":3,"file":"DataEncryptionKey-browser.mjs","sourceRoot":"","sources":["../../../../src/encryption/EncryptionKey/DataEncryptionKey-browser.mts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,kEAAkE;AAClE,MAAM,OAAgB,iBAAiB;CAAG;AAE1C,MAAM,UAAU,UAAU,CAAC,UAAkB,EAAE,IAAY;IACzD,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;AACrF,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// eslint-disable-next-line @typescript-eslint/no-extraneous-class\nexport abstract class DataEncryptionKey {}\n\nexport function createHmac(_algorithm: string, _key: Buffer): Promise<Buffer> {\n throw new Error(\"Client-side hmac generator not supported in browser environment\");\n}\n"]}