@polinetwork/backend 0.5.0 → 0.5.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.
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/package.json +1 -1
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/constants.ts"],"sourcesContent":["export { TRPC_PATH, AUTH_PATH } from \"./constants\"\nexport { type AppRouter } from \"./routers\"\
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/constants.ts"],"sourcesContent":["export { TRPC_PATH, AUTH_PATH } from \"./constants\"\nexport { type AppRouter } from \"./routers\"\nimport type { telegramPlugin } from \"./auth/plugins/telegram\"\n\nexport type TelegramPlugin = typeof telegramPlugin\n","export const TRPC_PATH = \"/api/trpc\";\nexport const AUTH_PATH = \"/api/auth\";\n\nexport const TRUSTED_ORIGINS = [\n \"http://localhost:3001\",\n \"http://localhost:3002\",\n \"http://localhost:3003\",\n \"http://localhost:5173\",\n \"http://localhost:5174\",\n \"http://localhost:5175\",\n]\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,YAAY;AAClB,IAAM,YAAY;","names":[]}
|
package/dist/index.d.cts
CHANGED
|
@@ -281,7 +281,7 @@ declare const telegramPlugin: () => {
|
|
|
281
281
|
} & {
|
|
282
282
|
use: any[];
|
|
283
283
|
};
|
|
284
|
-
path: "/telegram/link";
|
|
284
|
+
path: "/telegram/link/start";
|
|
285
285
|
};
|
|
286
286
|
verifyLink: {
|
|
287
287
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
@@ -321,9 +321,11 @@ declare const telegramPlugin: () => {
|
|
|
321
321
|
} & {
|
|
322
322
|
use: any[];
|
|
323
323
|
};
|
|
324
|
-
path: "/telegram/link/:code";
|
|
324
|
+
path: "/telegram/link/verify/:code";
|
|
325
325
|
};
|
|
326
326
|
};
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
|
|
329
|
+
type TelegramPlugin = typeof telegramPlugin;
|
|
330
|
+
|
|
331
|
+
export { AUTH_PATH, type AppRouter, TRPC_PATH, type TelegramPlugin };
|
package/dist/index.d.ts
CHANGED
|
@@ -281,7 +281,7 @@ declare const telegramPlugin: () => {
|
|
|
281
281
|
} & {
|
|
282
282
|
use: any[];
|
|
283
283
|
};
|
|
284
|
-
path: "/telegram/link";
|
|
284
|
+
path: "/telegram/link/start";
|
|
285
285
|
};
|
|
286
286
|
verifyLink: {
|
|
287
287
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
@@ -321,9 +321,11 @@ declare const telegramPlugin: () => {
|
|
|
321
321
|
} & {
|
|
322
322
|
use: any[];
|
|
323
323
|
};
|
|
324
|
-
path: "/telegram/link/:code";
|
|
324
|
+
path: "/telegram/link/verify/:code";
|
|
325
325
|
};
|
|
326
326
|
};
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
|
|
329
|
+
type TelegramPlugin = typeof telegramPlugin;
|
|
330
|
+
|
|
331
|
+
export { AUTH_PATH, type AppRouter, TRPC_PATH, type TelegramPlugin };
|