squarefi-bff-api-module 1.11.0 → 1.11.2

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.
@@ -1,5 +1,5 @@
1
1
  import { API } from './types';
2
- export declare const telegramSignInPath = "/auth/sign-in/telegram";
2
+ export declare const telegramSignInPath = "/auth/signin/telegram";
3
3
  export declare const telegramSignUpPath = "/auth/sign-up/telegram";
4
4
  export declare const refreshTokenPath = "/auth/refresh/refresh-token";
5
5
  export declare const auth: {
package/dist/api/auth.js CHANGED
@@ -14,7 +14,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.auth = exports.refreshTokenPath = exports.telegramSignUpPath = exports.telegramSignInPath = void 0;
15
15
  const apiClientFactory_1 = require("../utils/apiClientFactory");
16
16
  const converters_1 = require("../utils/converters");
17
- exports.telegramSignInPath = '/auth/sign-in/telegram';
17
+ // export const telegramSignInPath = '/auth/sign-in/telegram'; V2 path
18
+ exports.telegramSignInPath = '/auth/signin/telegram'; // V1 path
18
19
  exports.telegramSignUpPath = '/auth/sign-up/telegram';
19
20
  exports.refreshTokenPath = '/auth/refresh/refresh-token';
20
21
  exports.auth = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/api/auth.ts CHANGED
@@ -3,7 +3,9 @@ import { API } from './types';
3
3
  import { apiClientV1, apiClientV2 } from '../utils/apiClientFactory';
4
4
  import { convertPhoneToSupabaseFormat } from '../utils/converters';
5
5
 
6
- export const telegramSignInPath = '/auth/sign-in/telegram';
6
+ // export const telegramSignInPath = '/auth/sign-in/telegram'; V2 path
7
+ export const telegramSignInPath = '/auth/signin/telegram'; // V1 path
8
+
7
9
  export const telegramSignUpPath = '/auth/sign-up/telegram';
8
10
  export const refreshTokenPath = '/auth/refresh/refresh-token';
9
11