@monei-js/components 1.7.6 → 1.7.7

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.
package/dist/utils.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CSSObject } from '../types/css';
2
2
  import { GetPaymentMethodsResponse } from './types';
3
3
  export declare const transformStyle: (style: CSSObject) => any;
4
- export declare const loadScript: (src: string, nonce?: string | undefined, dataset?: Record<string, string | undefined> | undefined, forceReload?: boolean | undefined) => Promise<void>;
4
+ export declare const loadScript: (src: string, nonce?: string | undefined, dataset?: Record<string, string | undefined> | undefined, forceReload?: boolean | undefined) => Promise<HTMLScriptElement>;
5
5
  export declare const stringify: (obj: Record<string, any>) => string;
6
6
  export declare const fixLocalstorage: () => Storage;
7
7
  export declare const getClientEnv: () => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monei-js/components",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "author": "MONEI <support@monei.com> (https://monei.com)",
5
5
  "description": "MONEI UI Components enable you to collect sensitive payment information using customizable UI components.",
6
6
  "homepage": "https://monei.com",