@giphy/js-util
Advanced tools
Comparing version 1.6.0 to 1.7.0
declare type GiphySDKRequestHeader = 'X-GIPHY-SDK-NAME' | 'X-GIPHY-SDK-VERSION' | 'X-GIPHY-SDK-PLATFORM'; | ||
export declare const getGiphySDKRequestHeaders: () => any; | ||
export declare const appendGiphySDKRequestHeader: (key: GiphySDKRequestHeader, value: string) => any; | ||
export declare const appendGiphySDKRequestParam: (key: GiphySDKRequestHeader, value: string) => any; | ||
export {}; |
@@ -14,2 +14,5 @@ "use strict"; | ||
}; | ||
exports.appendGiphySDKRequestParam = function (key, value) { | ||
return exports.getGiphySDKRequestHeaders().set(key, value); | ||
}; | ||
//# sourceMappingURL=sdk-headers.js.map |
@@ -11,3 +11,3 @@ { | ||
"name": "@giphy/js-util", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"main": "dist/index.js", | ||
@@ -30,3 +30,3 @@ "description": "Shared giphy js utils", | ||
}, | ||
"gitHead": "fdcd4970ae3cb0b1122e133e4df7bb25fa7392d4" | ||
"gitHead": "b732692aa77d078c80e9ced9deea14c62cce67fc" | ||
} |
@@ -15,1 +15,4 @@ type GiphySDKRequestHeader = 'X-GIPHY-SDK-NAME' | 'X-GIPHY-SDK-VERSION' | 'X-GIPHY-SDK-PLATFORM' | ||
getGiphySDKRequestHeaders().set(key, value) | ||
export const appendGiphySDKRequestParam = (key: GiphySDKRequestHeader, value: string) => | ||
getGiphySDKRequestHeaders().set(key, value) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54132
1053