rehive 3.1.2 → 3.1.4
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/README.md +12 -0
- 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/README.md
CHANGED
|
@@ -591,6 +591,18 @@ node scripts/extract-api-methods.js
|
|
|
591
591
|
npm run dev
|
|
592
592
|
```
|
|
593
593
|
|
|
594
|
+
### Publishing
|
|
595
|
+
|
|
596
|
+
```bash
|
|
597
|
+
# Bump version (choose one)
|
|
598
|
+
npm version patch # e.g. 3.1.4 → 3.1.5
|
|
599
|
+
npm version minor # e.g. 3.1.4 → 3.2.0
|
|
600
|
+
npm version major # e.g. 3.1.4 → 4.0.0
|
|
601
|
+
|
|
602
|
+
# Publish to npm (builds automatically via prepublishOnly)
|
|
603
|
+
npm publish
|
|
604
|
+
```
|
|
605
|
+
|
|
594
606
|
## Documentation
|
|
595
607
|
|
|
596
608
|
- **[API Methods Overview](./docs/api-methods-overview.md)** - Complete list of all available API methods
|
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;
|