@aws-amplify/auth
Version:
Auth category of aws-amplify
1 lines • 656 B
Source Map (JSON)
{"version":3,"file":"index.native.mjs","sources":["../../../../../../src/providers/cognito/utils/textEncoder/index.native.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { loadBuffer } from '@aws-amplify/react-native';\nexport const textEncoder = {\n convert(input) {\n const Buffer = loadBuffer();\n return new Buffer(input, 'utf8');\n },\n};\n"],"names":[],"mappings":";;AAAA;AACA;AAEY,MAAC,WAAW,GAAG;AAC3B,IAAI,OAAO,CAAC,KAAK,EAAE;AACnB,QAAQ,MAAM,MAAM,GAAG,UAAU,EAAE;AACnC,QAAQ,OAAO,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC;AACxC,KAAK;AACL;;;;"}