rehive 3.1.2 → 3.1.3
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.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +10 -0
- package/dist/react.d.ts +10 -0
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12886,6 +12886,13 @@ interface AuthState {
|
|
|
12886
12886
|
}
|
|
12887
12887
|
type SessionListener = (session: AuthSession | null) => void;
|
|
12888
12888
|
type ErrorListener = (error: Error | null) => void;
|
|
12889
|
+
type RegisterCompanyParams = Omit<RegisterCompany, 'company' | 'email' | 'password'> & {
|
|
12890
|
+
company: {
|
|
12891
|
+
id: string;
|
|
12892
|
+
} & Record<string, any>;
|
|
12893
|
+
email: string;
|
|
12894
|
+
password: string;
|
|
12895
|
+
};
|
|
12889
12896
|
|
|
12890
12897
|
/**
|
|
12891
12898
|
* Rehive Platform User API with improved Developer Experience (DX).
|
|
@@ -60867,6 +60874,7 @@ declare class RehiveClient {
|
|
|
60867
60874
|
readonly auth: {
|
|
60868
60875
|
login: (params: Login) => Promise<AuthSession>;
|
|
60869
60876
|
register: (params: Register) => Promise<void>;
|
|
60877
|
+
registerCompany: (params: RegisterCompanyParams) => Promise<void>;
|
|
60870
60878
|
logout: () => Promise<void>;
|
|
60871
60879
|
refresh: () => Promise<void>;
|
|
60872
60880
|
getActiveSession: () => AuthSession | null;
|
|
@@ -60993,6 +61001,7 @@ declare class RehiveClient {
|
|
|
60993
61001
|
private authenticatedFetch;
|
|
60994
61002
|
private login;
|
|
60995
61003
|
private register;
|
|
61004
|
+
private registerCompany;
|
|
60996
61005
|
private logout;
|
|
60997
61006
|
private refresh;
|
|
60998
61007
|
private subscribeToSession;
|
package/dist/index.d.ts
CHANGED
|
@@ -12886,6 +12886,13 @@ interface AuthState {
|
|
|
12886
12886
|
}
|
|
12887
12887
|
type SessionListener = (session: AuthSession | null) => void;
|
|
12888
12888
|
type ErrorListener = (error: Error | null) => void;
|
|
12889
|
+
type RegisterCompanyParams = Omit<RegisterCompany, 'company' | 'email' | 'password'> & {
|
|
12890
|
+
company: {
|
|
12891
|
+
id: string;
|
|
12892
|
+
} & Record<string, any>;
|
|
12893
|
+
email: string;
|
|
12894
|
+
password: string;
|
|
12895
|
+
};
|
|
12889
12896
|
|
|
12890
12897
|
/**
|
|
12891
12898
|
* Rehive Platform User API with improved Developer Experience (DX).
|
|
@@ -60867,6 +60874,7 @@ declare class RehiveClient {
|
|
|
60867
60874
|
readonly auth: {
|
|
60868
60875
|
login: (params: Login) => Promise<AuthSession>;
|
|
60869
60876
|
register: (params: Register) => Promise<void>;
|
|
60877
|
+
registerCompany: (params: RegisterCompanyParams) => Promise<void>;
|
|
60870
60878
|
logout: () => Promise<void>;
|
|
60871
60879
|
refresh: () => Promise<void>;
|
|
60872
60880
|
getActiveSession: () => AuthSession | null;
|
|
@@ -60993,6 +61001,7 @@ declare class RehiveClient {
|
|
|
60993
61001
|
private authenticatedFetch;
|
|
60994
61002
|
private login;
|
|
60995
61003
|
private register;
|
|
61004
|
+
private registerCompany;
|
|
60996
61005
|
private logout;
|
|
60997
61006
|
private refresh;
|
|
60998
61007
|
private subscribeToSession;
|