@koralabs/kora-labs-common 2.3.0 → 2.4.0

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.
@@ -244,19 +244,17 @@ export declare enum OAuthSocial {
244
244
  'soundcloud' = 17,
245
245
  'paypal' = 18
246
246
  }
247
- export interface OAuthTokenMessage {
248
- error?: string;
249
- username?: string;
250
- token?: string;
251
- identifier?: string;
252
- social: OAuthSocial;
253
- }
254
247
  export interface OAuthToken {
255
248
  identifier: string;
256
249
  username: string;
257
250
  token: string;
251
+ refresh_token: string;
252
+ expiredAt: string;
258
253
  social: OAuthSocial;
259
254
  }
255
+ export interface OAuthTokenMessage extends Partial<OAuthToken> {
256
+ error?: string;
257
+ }
260
258
  export interface ProtectedWord {
261
259
  word: string;
262
260
  algorithms: ('modifier' | 'badword' | 'suggestive' | 'hatespeech' | 'vulnerable')[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koralabs/kora-labs-common",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Kora Labs Common Utilities",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",