@tma.js/bridge 2.0.0 → 2.0.1

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.
@@ -12,7 +12,7 @@ export declare function decodeBase64UrlFp(value: string): E.Either<DecodeBase64U
12
12
  /**
13
13
  * @see decodeBase64UrlFp
14
14
  */
15
- export declare const decodeBase64Url: (value: string) => DOMException;
15
+ export declare const decodeBase64Url: (value: string) => string;
16
16
  /**
17
17
  * Creates a base-64-url encoded ASCII string from the passed value.
18
18
  * @param value - the value to encode.
@@ -13,7 +13,7 @@ export declare const retrieveLaunchParamsFp: () => E.Either<RetrieveLaunchParams
13
13
  /**
14
14
  * @see retrieveLaunchParamsFp
15
15
  */
16
- export declare const retrieveLaunchParams: () => RetrieveLaunchParamsError;
16
+ export declare const retrieveLaunchParams: () => RetrieveLaunchParamsResult;
17
17
  /**
18
18
  * @returns Raw init data from any known source.
19
19
  */
@@ -29,4 +29,4 @@ export declare function retrieveRawLaunchParamsFp(): E.Either<RetrieveRawLaunchP
29
29
  /**
30
30
  * @see retrieveRawLaunchParamsFp
31
31
  */
32
- export declare const retrieveRawLaunchParams: () => LaunchParamsRetrieveError;
32
+ export declare const retrieveRawLaunchParams: () => string;
@@ -14,7 +14,7 @@ export declare function createStartParamFp(value: unknown): E.Either<Error, stri
14
14
  /**
15
15
  * @see createStartParamFp
16
16
  */
17
- export declare const createStartParam: (value: unknown) => Error;
17
+ export declare const createStartParam: (value: unknown) => string;
18
18
  /**
19
19
  * @see decodeStartParamFp
20
20
  */