@aws-appsync/utils
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -25,2 +25,14 @@ export * from './resolver-return-types'; | ||
/** | ||
* Encodes string to a base64 string | ||
* @param {string} value - string to be encoded | ||
* @returns {string} - base64 encode string | ||
*/ | ||
base64Encode(bytes: string): string; | ||
/** | ||
* Decodes a base64 encoded string | ||
* @param {string} value - base64 encoded string | ||
* @returns {string} - base64 decoded string | ||
*/ | ||
base64Decode(value: string): string; | ||
/** | ||
* Returns a 128-bit randomly generated UUID. | ||
@@ -27,0 +39,0 @@ * @returns {string} - Randomly generated UUID |
{ | ||
"name": "@aws-appsync/utils", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "This project contains type definitions for AppSync resolver types.", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "91ed7ea4079fb05b059a40e3c29f82004bdd960b" | ||
"gitHead": "69a356912aa5e6f41a615fb5a858f8d270483218" | ||
} |
@@ -28,4 +28,15 @@ export * from './resolver-return-types'; | ||
// TODO: base64Encode(bytes: byte[]): string | ||
// TODO: base64Decode(value: string): byte[] | ||
/** | ||
* Encodes string to a base64 string | ||
* @param {string} value - string to be encoded | ||
* @returns {string} - base64 encode string | ||
*/ | ||
base64Encode(bytes: string): string; | ||
/** | ||
* Decodes a base64 encoded string | ||
* @param {string} value - base64 encoded string | ||
* @returns {string} - base64 decoded string | ||
*/ | ||
base64Decode(value: string): string; | ||
@@ -32,0 +43,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
118661
16
2492