@fabriktor/fx 0.0.7 → 0.0.9
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/src/fx.d.ts +3 -3
- package/dist/src/fx.js +2 -2
- package/dist/src/index.d.ts +4 -4
- package/dist/src/index.js +4 -4
- package/dist/src/session/session.d.ts +2 -2
- package/dist/src/users/users.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/fx.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UsersOperator } from "@fabriktor/client";
|
|
2
|
-
import type { AuthOperator } from "./auth/auth";
|
|
3
|
-
import type { SessionFX, SessionFXOperator } from "./session/session";
|
|
4
|
-
import type { UsersFX, UsersFXOperator } from "./users/users";
|
|
2
|
+
import type { AuthOperator } from "./auth/auth.js";
|
|
3
|
+
import type { SessionFX, SessionFXOperator } from "./session/session.js";
|
|
4
|
+
import type { UsersFX, UsersFXOperator } from "./users/users.js";
|
|
5
5
|
export type FXOptions = {
|
|
6
6
|
base_url: string;
|
|
7
7
|
auth: AuthOperator;
|
package/dist/src/fx.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// not use this file except in compliance with the License. You may obtain
|
|
5
5
|
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
6
|
import { newHTTPClient, newUsersClient } from "@fabriktor/client";
|
|
7
|
-
import { newSessionFX } from "./session/session";
|
|
8
|
-
import { newUsersFX } from "./users/users";
|
|
7
|
+
import { newSessionFX } from "./session/session.js";
|
|
8
|
+
import { newUsersFX } from "./users/users.js";
|
|
9
9
|
export class FX {
|
|
10
10
|
users;
|
|
11
11
|
session;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./auth/auth";
|
|
2
|
-
export * from "./fx";
|
|
3
|
-
export * from "./session/session";
|
|
4
|
-
export * from "./users/users";
|
|
1
|
+
export * from "./auth/auth.js";
|
|
2
|
+
export * from "./fx.js";
|
|
3
|
+
export * from "./session/session.js";
|
|
4
|
+
export * from "./users/users.js";
|
package/dist/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./auth/auth";
|
|
2
|
-
export * from "./fx";
|
|
3
|
-
export * from "./session/session";
|
|
4
|
-
export * from "./users/users";
|
|
1
|
+
export * from "./auth/auth.js";
|
|
2
|
+
export * from "./fx.js";
|
|
3
|
+
export * from "./session/session.js";
|
|
4
|
+
export * from "./users/users.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InUser, UpsertResult } from "@fabriktor/schema";
|
|
2
2
|
import type { Op } from "@fabriktor/client";
|
|
3
|
-
import type { AuthEmailOptions, AuthOperator } from "../auth/auth";
|
|
4
|
-
import type { UsersFXOperator } from "../users/users";
|
|
3
|
+
import type { AuthEmailOptions, AuthOperator } from "../auth/auth.js";
|
|
4
|
+
import type { UsersFXOperator } from "../users/users.js";
|
|
5
5
|
export type SignInMode = "email" | "username";
|
|
6
6
|
export type SignInOptions = {
|
|
7
7
|
mode: SignInMode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InUser, OperationResult, UpsertResult } from "@fabriktor/schema";
|
|
2
2
|
import type { Op, UsersOperator } from "@fabriktor/client";
|
|
3
|
-
import type { AuthOperator } from "../auth/auth";
|
|
3
|
+
import type { AuthOperator } from "../auth/auth.js";
|
|
4
4
|
export type UsersFXOptions = {
|
|
5
5
|
base_url: string;
|
|
6
6
|
auth: AuthOperator;
|