@8ms/helpers 1.1.75 → 1.1.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,5 +16,5 @@ export declare type GetConfig = {
16
16
  /**
17
17
  * Using the response from Parameter Store and format it ready to be used with Google API.
18
18
  */
19
- declare const getConfig: (parameter: GetConfig) => Config;
19
+ declare const getConfig: ({ parameter }: GetConfig) => Config;
20
20
  export default getConfig;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
4
  * Using the response from Parameter Store and format it ready to be used with Google API.
5
5
  */
6
- const getConfig = (parameter) => {
6
+ const getConfig = ({ parameter }) => {
7
7
  // Format the private key to be in the same format as required by Google
8
8
  const privateKey = parameter['private_key'].replace(/\\n/g, '\n');
9
9
  const response = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "1.1.75",
4
+ "version": "1.1.76",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"