@fnlb-project/shared 1.0.4 → 1.0.6

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.
@@ -1,6 +1,11 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
3
  declare enum GeneralErrorCodes {
4
+ GenericUnknown = "net.fnlb.errors.generic.unknown",
5
+ GenericInternalError = "net.fnlb.errors.generic.internal_error",
6
+ GenericValidationFailed = "net.fnlb.errors.generic.validation_failed",
7
+ GenericParseFailed = "net.fnlb.errors.generic.parse_failed",
8
+ GenericNotFound = "net.fnlb.errors.generic.not_found",
4
9
  CommonInvalidRequest = "net.fnlb.errors.common.invalid_request",
5
10
  CommonUnableToProcessRequest = "net.fnlb.errors.common.unable_to_process_request",
6
11
  CommonInvalidFieldsLength = "net.fnlb.errors.common.invalid_body_fields_length",
@@ -31,6 +36,11 @@ declare const ErrorCodes: {
31
36
  readonly LoginInvalidCredentials: InputErrorCodes.LoginInvalidCredentials;
32
37
  readonly LoginInvalidEmail: InputErrorCodes.LoginInvalidEmail;
33
38
  readonly LoginInvalidOrUsedEmail: InputErrorCodes.LoginInvalidOrUsedEmail;
39
+ readonly GenericUnknown: GeneralErrorCodes.GenericUnknown;
40
+ readonly GenericInternalError: GeneralErrorCodes.GenericInternalError;
41
+ readonly GenericValidationFailed: GeneralErrorCodes.GenericValidationFailed;
42
+ readonly GenericParseFailed: GeneralErrorCodes.GenericParseFailed;
43
+ readonly GenericNotFound: GeneralErrorCodes.GenericNotFound;
34
44
  readonly CommonInvalidRequest: GeneralErrorCodes.CommonInvalidRequest;
35
45
  readonly CommonUnableToProcessRequest: GeneralErrorCodes.CommonUnableToProcessRequest;
36
46
  readonly CommonInvalidFieldsLength: GeneralErrorCodes.CommonInvalidFieldsLength;
@@ -56,6 +66,26 @@ declare enum ErrorTypes {
56
66
  Input = "input"
57
67
  }
58
68
  declare const errorMap: {
69
+ readonly "net.fnlb.errors.generic.unknown": {
70
+ readonly type: ErrorTypes.General;
71
+ readonly message: "An unknown error occurred. This may be due to an unexpected condition in the server.";
72
+ };
73
+ readonly "net.fnlb.errors.generic.internal_error": {
74
+ readonly type: ErrorTypes.General;
75
+ readonly message: "An internal server error occurred. This may be due to an unhandled exception. Please try again.";
76
+ };
77
+ readonly "net.fnlb.errors.generic.validation_failed": {
78
+ readonly type: ErrorTypes.General;
79
+ readonly message: "Validation of the request data failed.";
80
+ };
81
+ readonly "net.fnlb.errors.generic.parse_failed": {
82
+ readonly type: ErrorTypes.General;
83
+ readonly message: "The request could not be parsed. This may be due to a malformed input or an unsupported data format.";
84
+ };
85
+ readonly "net.fnlb.errors.generic.not_found": {
86
+ readonly type: ErrorTypes.General;
87
+ readonly message: "The requested resource does not exist.";
88
+ };
59
89
  readonly "net.fnlb.errors.common.invalid_request": {
60
90
  readonly type: ErrorTypes.General;
61
91
  readonly message: "The request is not valid.";
@@ -1 +1 @@
1
- var t;((n)=>{n.CommonInvalidRequest="net.fnlb.errors.common.invalid_request";n.CommonUnableToProcessRequest="net.fnlb.errors.common.unable_to_process_request";n.CommonInvalidFieldsLength="net.fnlb.errors.common.invalid_body_fields_length";n.CommonRateLimitExceeded="net.fnlb.errors.common.rate_limit_exceeded";n.CommonUnableToSaveToDatabase="net.fnlb.errors.common.unable_to_save_to_database";n.AuthInvalidToken="net.fnlb.errors.auth.invalid_token";n.AuthInvalidAPIToken="net.fnlb.errors.auth.invalid_api_token";n.AuthInvalidCaptchaToken="net.fnlb.errors.auth.invalid_captcha_token";n.AuthUnauthorized="net.fnlb.errors.auth.unauthorized";n.AuthUserBanned="net.fnlb.errors.auth.user_banned";n.Oauth2InvalidCode="net.fnlb.errors.oauth2.invalid_code";n.Oauth2InvalidScope="net.fnlb.errors.oauth2.invalid_scope";n.Oauth2TokenInvalid="net.fnlb.errors.oauth2.token_invalid";n.Oauth2UnableToFetchUser="net.fnlb.errors.oauth2.unable_to_fetch_user";n.Oauth2UnableToFetchConnections="net.fnlb.errors.oauth2.unable_to_fetch_connections";n.Oauth2UserWithoutConnection="net.fnlb.errors.oauth2.user_without_connection";n.Oauth2ConnectionNotVerified="net.fnlb.errors.oauth2.connection_not_verified";n.ReleaseNotFound="net.fnlb.errors.release.no_release_found";n.ReleaseVersionAlreadyExists="net.fnlb.errors.release.version_already_exists"})(t||={});var o;((a)=>{a.LoginInvalidCredentials="net.fnlb.errors.login.invalid_credentials";a.LoginInvalidEmail="net.fnlb.errors.login.invalid_email";a.LoginInvalidOrUsedEmail="net.fnlb.errors.login.invalid_or_used_email"})(o||={});var e={...t,...o};var i={[e.CommonInvalidRequest]:{type:"general",message:"The request is not valid."},[e.CommonUnableToProcessRequest]:{type:"general",message:"Unable to process the request. Please try again."},[e.CommonInvalidFieldsLength]:{type:"general",message:"The body fields have an invalid length."},[e.CommonRateLimitExceeded]:{type:"general",message:"You are being rate limited."},[e.CommonUnableToSaveToDatabase]:{type:"general",message:"Unable to save changes. Please check all fields."},[e.AuthInvalidToken]:{type:"general",message:"Invalid token provided."},[e.AuthInvalidAPIToken]:{type:"general",message:"Invalid API token provided."},[e.AuthInvalidCaptchaToken]:{type:"general",message:"Sorry, the captcha was not resolved correctly. Please try again."},[e.AuthUnauthorized]:{type:"general",message:"You are not authorized to perform this action."},[e.AuthUserBanned]:{type:"general",message:"Your account is banned from the service."},[e.LoginInvalidCredentials]:{type:"input",message:"The email or password is incorrect"},[e.LoginInvalidEmail]:{type:"input",message:"The email is invalid."},[e.LoginInvalidOrUsedEmail]:{type:"input",message:"The email is invalid or is already used."},[e.Oauth2InvalidCode]:{type:"general",message:"Unable to verify your request at this moment. Please try again later."},[e.Oauth2InvalidScope]:{type:"general",message:"Invalid scope provided."},[e.Oauth2TokenInvalid]:{type:"general",message:"Unable to verify Oauth2 token. Please try again later."},[e.Oauth2UnableToFetchUser]:{type:"general",message:"Unable to obtain user information. Please try again later."},[e.Oauth2UnableToFetchConnections]:{type:"general",message:"Unable to obtain user connections. Please try again later."},[e.Oauth2UserWithoutConnection]:{type:"general",message:"User does not have connections. Please try again later."},[e.Oauth2ConnectionNotVerified]:{type:"general",message:"User does have a connection, but the connection is not verified. Please try again later."},[e.ReleaseNotFound]:{type:"general",message:"Sorry, no release found. Please try again later."},[e.ReleaseVersionAlreadyExists]:{type:"general",message:"Release version already exists."}};class l{static getError(s){return i[s]}}export{l as ErrorHandler};
1
+ var t;((n)=>{n.GenericUnknown="net.fnlb.errors.generic.unknown";n.GenericInternalError="net.fnlb.errors.generic.internal_error";n.GenericValidationFailed="net.fnlb.errors.generic.validation_failed";n.GenericParseFailed="net.fnlb.errors.generic.parse_failed";n.GenericNotFound="net.fnlb.errors.generic.not_found";n.CommonInvalidRequest="net.fnlb.errors.common.invalid_request";n.CommonUnableToProcessRequest="net.fnlb.errors.common.unable_to_process_request";n.CommonInvalidFieldsLength="net.fnlb.errors.common.invalid_body_fields_length";n.CommonRateLimitExceeded="net.fnlb.errors.common.rate_limit_exceeded";n.CommonUnableToSaveToDatabase="net.fnlb.errors.common.unable_to_save_to_database";n.AuthInvalidToken="net.fnlb.errors.auth.invalid_token";n.AuthInvalidAPIToken="net.fnlb.errors.auth.invalid_api_token";n.AuthInvalidCaptchaToken="net.fnlb.errors.auth.invalid_captcha_token";n.AuthUnauthorized="net.fnlb.errors.auth.unauthorized";n.AuthUserBanned="net.fnlb.errors.auth.user_banned";n.Oauth2InvalidCode="net.fnlb.errors.oauth2.invalid_code";n.Oauth2InvalidScope="net.fnlb.errors.oauth2.invalid_scope";n.Oauth2TokenInvalid="net.fnlb.errors.oauth2.token_invalid";n.Oauth2UnableToFetchUser="net.fnlb.errors.oauth2.unable_to_fetch_user";n.Oauth2UnableToFetchConnections="net.fnlb.errors.oauth2.unable_to_fetch_connections";n.Oauth2UserWithoutConnection="net.fnlb.errors.oauth2.user_without_connection";n.Oauth2ConnectionNotVerified="net.fnlb.errors.oauth2.connection_not_verified";n.ReleaseNotFound="net.fnlb.errors.release.no_release_found";n.ReleaseVersionAlreadyExists="net.fnlb.errors.release.version_already_exists"})(t||={});var o;((a)=>{a.LoginInvalidCredentials="net.fnlb.errors.login.invalid_credentials";a.LoginInvalidEmail="net.fnlb.errors.login.invalid_email";a.LoginInvalidOrUsedEmail="net.fnlb.errors.login.invalid_or_used_email"})(o||={});var e={...t,...o};var i={[e.GenericUnknown]:{type:"general",message:"An unknown error occurred. This may be due to an unexpected condition in the server."},[e.GenericInternalError]:{type:"general",message:"An internal server error occurred. This may be due to an unhandled exception. Please try again."},[e.GenericValidationFailed]:{type:"general",message:"Validation of the request data failed."},[e.GenericParseFailed]:{type:"general",message:"The request could not be parsed. This may be due to a malformed input or an unsupported data format."},[e.GenericNotFound]:{type:"general",message:"The requested resource does not exist."},[e.CommonInvalidRequest]:{type:"general",message:"The request is not valid."},[e.CommonUnableToProcessRequest]:{type:"general",message:"Unable to process the request. Please try again."},[e.CommonInvalidFieldsLength]:{type:"general",message:"The body fields have an invalid length."},[e.CommonRateLimitExceeded]:{type:"general",message:"You are being rate limited."},[e.CommonUnableToSaveToDatabase]:{type:"general",message:"Unable to save changes. Please check all fields."},[e.AuthInvalidToken]:{type:"general",message:"Invalid token provided."},[e.AuthInvalidAPIToken]:{type:"general",message:"Invalid API token provided."},[e.AuthInvalidCaptchaToken]:{type:"general",message:"Sorry, the captcha was not resolved correctly. Please try again."},[e.AuthUnauthorized]:{type:"general",message:"You are not authorized to perform this action."},[e.AuthUserBanned]:{type:"general",message:"Your account is banned from the service."},[e.LoginInvalidCredentials]:{type:"input",message:"The email or password is incorrect"},[e.LoginInvalidEmail]:{type:"input",message:"The email is invalid."},[e.LoginInvalidOrUsedEmail]:{type:"input",message:"The email is invalid or is already used."},[e.Oauth2InvalidCode]:{type:"general",message:"Unable to verify your request at this moment. Please try again later."},[e.Oauth2InvalidScope]:{type:"general",message:"Invalid scope provided."},[e.Oauth2TokenInvalid]:{type:"general",message:"Unable to verify Oauth2 token. Please try again later."},[e.Oauth2UnableToFetchUser]:{type:"general",message:"Unable to obtain user information. Please try again later."},[e.Oauth2UnableToFetchConnections]:{type:"general",message:"Unable to obtain user connections. Please try again later."},[e.Oauth2UserWithoutConnection]:{type:"general",message:"User does not have connections. Please try again later."},[e.Oauth2ConnectionNotVerified]:{type:"general",message:"User does have a connection, but the connection is not verified. Please try again later."},[e.ReleaseNotFound]:{type:"general",message:"Sorry, no release found. Please try again later."},[e.ReleaseVersionAlreadyExists]:{type:"general",message:"Release version already exists."}};class r{static getError(s){return i[s]}}export{r as ErrorHandler};
@@ -47,6 +47,11 @@ export declare enum CategoryConfigTriggerAction {
47
47
  Whitelist = 11
48
48
  }
49
49
  export declare enum GeneralErrorCodes {
50
+ GenericUnknown = "net.fnlb.errors.generic.unknown",
51
+ GenericInternalError = "net.fnlb.errors.generic.internal_error",
52
+ GenericValidationFailed = "net.fnlb.errors.generic.validation_failed",
53
+ GenericParseFailed = "net.fnlb.errors.generic.parse_failed",
54
+ GenericNotFound = "net.fnlb.errors.generic.not_found",
50
55
  CommonInvalidRequest = "net.fnlb.errors.common.invalid_request",
51
56
  CommonUnableToProcessRequest = "net.fnlb.errors.common.unable_to_process_request",
52
57
  CommonInvalidFieldsLength = "net.fnlb.errors.common.invalid_body_fields_length",
@@ -77,6 +82,11 @@ export declare const ErrorCodes: {
77
82
  readonly LoginInvalidCredentials: InputErrorCodes.LoginInvalidCredentials;
78
83
  readonly LoginInvalidEmail: InputErrorCodes.LoginInvalidEmail;
79
84
  readonly LoginInvalidOrUsedEmail: InputErrorCodes.LoginInvalidOrUsedEmail;
85
+ readonly GenericUnknown: GeneralErrorCodes.GenericUnknown;
86
+ readonly GenericInternalError: GeneralErrorCodes.GenericInternalError;
87
+ readonly GenericValidationFailed: GeneralErrorCodes.GenericValidationFailed;
88
+ readonly GenericParseFailed: GeneralErrorCodes.GenericParseFailed;
89
+ readonly GenericNotFound: GeneralErrorCodes.GenericNotFound;
80
90
  readonly CommonInvalidRequest: GeneralErrorCodes.CommonInvalidRequest;
81
91
  readonly CommonUnableToProcessRequest: GeneralErrorCodes.CommonUnableToProcessRequest;
82
92
  readonly CommonInvalidFieldsLength: GeneralErrorCodes.CommonInvalidFieldsLength;
@@ -1 +1 @@
1
- var v;((_)=>{_[_.Public=0]="Public";_[_.Private=1]="Private"})(v||={});var d;((u)=>{u[u.Offline=0]="Offline";u[u.Booting=1]="Booting";u[u.Available=2]="Available";u[u.Busy=3]="Busy";u[u.Disconnected=4]="Disconnected"})(d||={});var x;((b)=>{b.Win="WIN";b.Mac="MAC";b.Psn="PSN";b.Xbl="XBL";b.Swt="SWT";b.Ios="IOS";b.And="AND";b.Ps5="PS5";b.Xsx="XSX"})(x||={});var p;((_)=>{_[_.Public=0]="Public";_[_.Private=1]="Private"})(p||={});var f;((m)=>{m[m.Equals=0]="Equals";m[m.Includes=1]="Includes";m[m.StartsWith=2]="StartsWith";m[m.EndsWith=3]="EndsWith"})(f||={});var U;((l)=>{l[l.ChatBan=0]="ChatBan";l[l.Kick=1]="Kick";l[l.Block=2]="Block";l[l.RemoveFriend=3]="RemoveFriend";l[l.AddFriend=4]="AddFriend";l[l.Promote=5]="Promote";l[l.Copy=6]="Copy";l[l.Mimic=7]="Mimic";l[l.Hide=8]="Hide";l[l.Show=9]="Show";l[l.Blacklist=10]="Blacklist";l[l.Whitelist=11]="Whitelist"})(U||={});var h;((n)=>{n.CommonInvalidRequest="net.fnlb.errors.common.invalid_request";n.CommonUnableToProcessRequest="net.fnlb.errors.common.unable_to_process_request";n.CommonInvalidFieldsLength="net.fnlb.errors.common.invalid_body_fields_length";n.CommonRateLimitExceeded="net.fnlb.errors.common.rate_limit_exceeded";n.CommonUnableToSaveToDatabase="net.fnlb.errors.common.unable_to_save_to_database";n.AuthInvalidToken="net.fnlb.errors.auth.invalid_token";n.AuthInvalidAPIToken="net.fnlb.errors.auth.invalid_api_token";n.AuthInvalidCaptchaToken="net.fnlb.errors.auth.invalid_captcha_token";n.AuthUnauthorized="net.fnlb.errors.auth.unauthorized";n.AuthUserBanned="net.fnlb.errors.auth.user_banned";n.Oauth2InvalidCode="net.fnlb.errors.oauth2.invalid_code";n.Oauth2InvalidScope="net.fnlb.errors.oauth2.invalid_scope";n.Oauth2TokenInvalid="net.fnlb.errors.oauth2.token_invalid";n.Oauth2UnableToFetchUser="net.fnlb.errors.oauth2.unable_to_fetch_user";n.Oauth2UnableToFetchConnections="net.fnlb.errors.oauth2.unable_to_fetch_connections";n.Oauth2UserWithoutConnection="net.fnlb.errors.oauth2.user_without_connection";n.Oauth2ConnectionNotVerified="net.fnlb.errors.oauth2.connection_not_verified";n.ReleaseNotFound="net.fnlb.errors.release.no_release_found";n.ReleaseVersionAlreadyExists="net.fnlb.errors.release.version_already_exists"})(h||={});var s;((a)=>{a.LoginInvalidCredentials="net.fnlb.errors.login.invalid_credentials";a.LoginInvalidEmail="net.fnlb.errors.login.invalid_email";a.LoginInvalidOrUsedEmail="net.fnlb.errors.login.invalid_or_used_email"})(s||={});var q={...h,...s};var O;((m)=>{m.Username="username";m.Email="email";m.Password="password";m.Shared="shared"})(O||={});var k;((_)=>{_.General="general";_.Input="input"})(k||={});var I;((e)=>{e.Default="en";e.De="de";e.Es="es";e.Fr="fr";e.It="it";e.Pl="pl";e.Pt="pt";e.Tr="tr"})(I||={});export{I as Locales,s as InputErrorCodes,h as GeneralErrorCodes,k as ErrorTypes,O as ErrorInputTypes,q as ErrorCodes,f as CategoryConfigTriggerStringDetectionMethod,U as CategoryConfigTriggerAction,x as CategoryConfigSupportedPlatforms,p as CategoryConfigPartyPrivacy,v as BotTypes,d as BotStatus};
1
+ var d;((m)=>{m[m.Public=0]="Public";m[m.Private=1]="Private"})(d||={});var v;((_)=>{_[_.Offline=0]="Offline";_[_.Booting=1]="Booting";_[_.Available=2]="Available";_[_.Busy=3]="Busy";_[_.Disconnected=4]="Disconnected"})(v||={});var x;((u)=>{u.Win="WIN";u.Mac="MAC";u.Psn="PSN";u.Xbl="XBL";u.Swt="SWT";u.Ios="IOS";u.And="AND";u.Ps5="PS5";u.Xsx="XSX"})(x||={});var f;((m)=>{m[m.Public=0]="Public";m[m.Private=1]="Private"})(f||={});var p;((e)=>{e[e.Equals=0]="Equals";e[e.Includes=1]="Includes";e[e.StartsWith=2]="StartsWith";e[e.EndsWith=3]="EndsWith"})(p||={});var U;((n)=>{n[n.ChatBan=0]="ChatBan";n[n.Kick=1]="Kick";n[n.Block=2]="Block";n[n.RemoveFriend=3]="RemoveFriend";n[n.AddFriend=4]="AddFriend";n[n.Promote=5]="Promote";n[n.Copy=6]="Copy";n[n.Mimic=7]="Mimic";n[n.Hide=8]="Hide";n[n.Show=9]="Show";n[n.Blacklist=10]="Blacklist";n[n.Whitelist=11]="Whitelist"})(U||={});var h;((l)=>{l.GenericUnknown="net.fnlb.errors.generic.unknown";l.GenericInternalError="net.fnlb.errors.generic.internal_error";l.GenericValidationFailed="net.fnlb.errors.generic.validation_failed";l.GenericParseFailed="net.fnlb.errors.generic.parse_failed";l.GenericNotFound="net.fnlb.errors.generic.not_found";l.CommonInvalidRequest="net.fnlb.errors.common.invalid_request";l.CommonUnableToProcessRequest="net.fnlb.errors.common.unable_to_process_request";l.CommonInvalidFieldsLength="net.fnlb.errors.common.invalid_body_fields_length";l.CommonRateLimitExceeded="net.fnlb.errors.common.rate_limit_exceeded";l.CommonUnableToSaveToDatabase="net.fnlb.errors.common.unable_to_save_to_database";l.AuthInvalidToken="net.fnlb.errors.auth.invalid_token";l.AuthInvalidAPIToken="net.fnlb.errors.auth.invalid_api_token";l.AuthInvalidCaptchaToken="net.fnlb.errors.auth.invalid_captcha_token";l.AuthUnauthorized="net.fnlb.errors.auth.unauthorized";l.AuthUserBanned="net.fnlb.errors.auth.user_banned";l.Oauth2InvalidCode="net.fnlb.errors.oauth2.invalid_code";l.Oauth2InvalidScope="net.fnlb.errors.oauth2.invalid_scope";l.Oauth2TokenInvalid="net.fnlb.errors.oauth2.token_invalid";l.Oauth2UnableToFetchUser="net.fnlb.errors.oauth2.unable_to_fetch_user";l.Oauth2UnableToFetchConnections="net.fnlb.errors.oauth2.unable_to_fetch_connections";l.Oauth2UserWithoutConnection="net.fnlb.errors.oauth2.user_without_connection";l.Oauth2ConnectionNotVerified="net.fnlb.errors.oauth2.connection_not_verified";l.ReleaseNotFound="net.fnlb.errors.release.no_release_found";l.ReleaseVersionAlreadyExists="net.fnlb.errors.release.version_already_exists"})(h||={});var s;((a)=>{a.LoginInvalidCredentials="net.fnlb.errors.login.invalid_credentials";a.LoginInvalidEmail="net.fnlb.errors.login.invalid_email";a.LoginInvalidOrUsedEmail="net.fnlb.errors.login.invalid_or_used_email"})(s||={});var c={...h,...s};var k;((e)=>{e.Username="username";e.Email="email";e.Password="password";e.Shared="shared"})(k||={});var t;((m)=>{m.General="general";m.Input="input"})(t||={});var I;((b)=>{b.Default="en";b.De="de";b.Es="es";b.Fr="fr";b.It="it";b.Pl="pl";b.Pt="pt";b.Tr="tr"})(I||={});export{I as Locales,s as InputErrorCodes,h as GeneralErrorCodes,t as ErrorTypes,k as ErrorInputTypes,c as ErrorCodes,p as CategoryConfigTriggerStringDetectionMethod,U as CategoryConfigTriggerAction,x as CategoryConfigSupportedPlatforms,f as CategoryConfigPartyPrivacy,d as BotTypes,v as BotStatus};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fnlb-project/shared",
3
3
  "description": "FNLB Shared Library",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -18,16 +18,16 @@
18
18
  "files": ["dist"],
19
19
  "exports": {
20
20
  "./errors": {
21
- "default": "./dist/errors/index.js",
22
- "types": "./dist/errors/index.d.ts"
21
+ "types": "./dist/errors/index.d.ts",
22
+ "default": "./dist/errors/index.js"
23
23
  },
24
24
  "./types": {
25
- "default": "./dist/types/index.js",
26
- "types": "./dist/types/index.d.ts"
25
+ "types": "./dist/types/index.d.ts",
26
+ "default": "./dist/types/index.js"
27
27
  },
28
28
  "./util": {
29
- "default": "./dist/util/index.js",
30
- "types": "./dist/util/index.d.ts"
29
+ "types": "./dist/util/index.d.ts",
30
+ "default": "./dist/util/index.js"
31
31
  }
32
32
  },
33
33
  "devDependencies": {