@extrahorizon/javascript-sdk 8.9.0-dev-145-1e2d040 → 8.9.0-dev-147-660f81f
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/CHANGELOG.md +2 -0
- package/build/index.cjs.js +5 -1
- package/build/index.mjs +5 -2
- package/build/types/errors.d.ts +3 -0
- package/build/types/version.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -24,6 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
24
24
|
- Corrected the types for the `findFirst` (based) methods to indicate they may return `undefined` when no results are found.
|
|
25
25
|
- Corrected the types of the `schema` property in the `exh.templates.*`
|
|
26
26
|
- Corrected the types of `exh.mails.*`
|
|
27
|
+
- Bumped axios version to `0.30.3` to resolve warning about `CVE-2026-25639`
|
|
28
|
+
- Bumped qs version to `6.14.2` to resolve warning about `CVE-2026-2391`
|
|
27
29
|
|
|
28
30
|
|
|
29
31
|
## [8.8.2]
|
package/build/index.cjs.js
CHANGED
|
@@ -673,6 +673,8 @@ class RefreshTokenUnknownError extends BadRequestError {
|
|
|
673
673
|
}
|
|
674
674
|
class RefreshTokenExpiredError extends BadRequestError {
|
|
675
675
|
}
|
|
676
|
+
class LambdaInvocationError extends BadRequestError {
|
|
677
|
+
}
|
|
676
678
|
class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
677
679
|
constructor(apiError) {
|
|
678
680
|
super(apiError);
|
|
@@ -934,6 +936,7 @@ const ErrorClassMap = {
|
|
|
934
936
|
1003: TemplateFillingError,
|
|
935
937
|
1004: TemplateSyntaxError,
|
|
936
938
|
1005: TemplateResolvingError,
|
|
939
|
+
1405: LambdaInvocationError,
|
|
937
940
|
2605: InvalidTokenError,
|
|
938
941
|
2606: UnauthorizedTokenError,
|
|
939
942
|
2607: TokenNotDeleteableError,
|
|
@@ -5612,7 +5615,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5612
5615
|
};
|
|
5613
5616
|
};
|
|
5614
5617
|
|
|
5615
|
-
const version = '8.9.0-dev-
|
|
5618
|
+
const version = '8.9.0-dev-147-660f81f';
|
|
5616
5619
|
|
|
5617
5620
|
/**
|
|
5618
5621
|
* Create ExtraHorizon client.
|
|
@@ -5838,6 +5841,7 @@ exports.InvalidPresenceTokenError = InvalidPresenceTokenError;
|
|
|
5838
5841
|
exports.InvalidReceiptDataError = InvalidReceiptDataError;
|
|
5839
5842
|
exports.InvalidRequestError = InvalidRequestError;
|
|
5840
5843
|
exports.InvalidTokenError = InvalidTokenError;
|
|
5844
|
+
exports.LambdaInvocationError = LambdaInvocationError;
|
|
5841
5845
|
exports.LocalizationKeyMissingError = LocalizationKeyMissingError;
|
|
5842
5846
|
exports.LockedDocumentError = LockedDocumentError;
|
|
5843
5847
|
exports.LoginFreezeError = LoginFreezeError;
|
package/build/index.mjs
CHANGED
|
@@ -643,6 +643,8 @@ class RefreshTokenUnknownError extends BadRequestError {
|
|
|
643
643
|
}
|
|
644
644
|
class RefreshTokenExpiredError extends BadRequestError {
|
|
645
645
|
}
|
|
646
|
+
class LambdaInvocationError extends BadRequestError {
|
|
647
|
+
}
|
|
646
648
|
class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
647
649
|
constructor(apiError) {
|
|
648
650
|
super(apiError);
|
|
@@ -904,6 +906,7 @@ const ErrorClassMap = {
|
|
|
904
906
|
1003: TemplateFillingError,
|
|
905
907
|
1004: TemplateSyntaxError,
|
|
906
908
|
1005: TemplateResolvingError,
|
|
909
|
+
1405: LambdaInvocationError,
|
|
907
910
|
2605: InvalidTokenError,
|
|
908
911
|
2606: UnauthorizedTokenError,
|
|
909
912
|
2607: TokenNotDeleteableError,
|
|
@@ -5582,7 +5585,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5582
5585
|
};
|
|
5583
5586
|
};
|
|
5584
5587
|
|
|
5585
|
-
const version = '8.9.0-dev-
|
|
5588
|
+
const version = '8.9.0-dev-147-660f81f';
|
|
5586
5589
|
|
|
5587
5590
|
/**
|
|
5588
5591
|
* Create ExtraHorizon client.
|
|
@@ -5762,4 +5765,4 @@ const parseStoredCredentials = (fileContent) => exhCredentialsDecoder(fileConten
|
|
|
5762
5765
|
.filter(line => line.length === 2)
|
|
5763
5766
|
.reduce((memo, [key, value]) => ({ ...memo, [key]: value }), {}));
|
|
5764
5767
|
|
|
5765
|
-
export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidTokenError, JSONSchemaType, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PasswordError, PaymentIntentCreationSchemaPaymentMethodType, PaymentIntentCreationSchemaSetupPaymentMethodReuse, PinCodesNotEnabledError, PlayStoreTransactionAlreadyLinked, ProfileActivity, ProfileAlreadyExistsError, QueuedMailStatus, RefreshTokenExpiredError, RefreshTokenUnknownError, RemoveFieldError, RequestAbortedError, ResourceAlreadyExistsError, ResourceUnknownError, Results, ServerError, ServiceNotFoundError, ServiceUnavailableError, StatusInUseError, StripePaymentMethodError, StripeRequestError, SubscriptionEntitlementSource, SubscriptionEntitlementStatus, SubscriptionEntitlementStatusCategory, SubscriptionEventSource, SubscriptionEventType, SupportedLanguageCodes, TaskStatus, TemplateFillingError, TemplateResolvingError, TemplateSyntaxError, TokenNotDeleteableError, TokenPermission, TooManyFailedAttemptsError, UnauthorizedClientError, UnauthorizedError, UnauthorizedTokenError, UnknownReceiptTransactionError, UnsupportedGrantError, UnsupportedGrantTypeError, UnsupportedResponseTypeError, UserNotAuthenticatedError, createClient, createOAuth1Client, createOAuth2Client, createProxyClient, findAllGeneric, findAllIterator, getMockSdkOAuth2 as getMockSdk, getMockSdkOAuth1, getMockSdkOAuth2, getMockSdkProxy, parseGlobalPermissions, parseStoredCredentials, recursiveMap, rqlBuilder, rqlParser };
|
|
5768
|
+
export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidTokenError, JSONSchemaType, LambdaInvocationError, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PasswordError, PaymentIntentCreationSchemaPaymentMethodType, PaymentIntentCreationSchemaSetupPaymentMethodReuse, PinCodesNotEnabledError, PlayStoreTransactionAlreadyLinked, ProfileActivity, ProfileAlreadyExistsError, QueuedMailStatus, RefreshTokenExpiredError, RefreshTokenUnknownError, RemoveFieldError, RequestAbortedError, ResourceAlreadyExistsError, ResourceUnknownError, Results, ServerError, ServiceNotFoundError, ServiceUnavailableError, StatusInUseError, StripePaymentMethodError, StripeRequestError, SubscriptionEntitlementSource, SubscriptionEntitlementStatus, SubscriptionEntitlementStatusCategory, SubscriptionEventSource, SubscriptionEventType, SupportedLanguageCodes, TaskStatus, TemplateFillingError, TemplateResolvingError, TemplateSyntaxError, TokenNotDeleteableError, TokenPermission, TooManyFailedAttemptsError, UnauthorizedClientError, UnauthorizedError, UnauthorizedTokenError, UnknownReceiptTransactionError, UnsupportedGrantError, UnsupportedGrantTypeError, UnsupportedResponseTypeError, UserNotAuthenticatedError, createClient, createOAuth1Client, createOAuth2Client, createProxyClient, findAllGeneric, findAllIterator, getMockSdkOAuth2 as getMockSdk, getMockSdkOAuth1, getMockSdkOAuth2, getMockSdkProxy, parseGlobalPermissions, parseStoredCredentials, recursiveMap, rqlBuilder, rqlParser };
|
package/build/types/errors.d.ts
CHANGED
|
@@ -154,6 +154,8 @@ export declare class RefreshTokenUnknownError extends BadRequestError {
|
|
|
154
154
|
}
|
|
155
155
|
export declare class RefreshTokenExpiredError extends BadRequestError {
|
|
156
156
|
}
|
|
157
|
+
export declare class LambdaInvocationError extends BadRequestError {
|
|
158
|
+
}
|
|
157
159
|
export declare class FirebaseInvalidPlatformDataError extends BadRequestError {
|
|
158
160
|
notificationId?: string;
|
|
159
161
|
errors?: NotificationV2Error[];
|
|
@@ -338,6 +340,7 @@ export declare const ErrorClassMap: {
|
|
|
338
340
|
1003: typeof TemplateFillingError;
|
|
339
341
|
1004: typeof TemplateSyntaxError;
|
|
340
342
|
1005: typeof TemplateResolvingError;
|
|
343
|
+
1405: typeof LambdaInvocationError;
|
|
341
344
|
2605: typeof InvalidTokenError;
|
|
342
345
|
2606: typeof UnauthorizedTokenError;
|
|
343
346
|
2607: typeof TokenNotDeleteableError;
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.9.0-dev-
|
|
1
|
+
export declare const version = "8.9.0-dev-147-660f81f";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.9.0-dev-
|
|
3
|
+
"version": "8.9.0-dev-147-660f81f",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"build"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"axios": "0.30.
|
|
35
|
+
"axios": "0.30.3",
|
|
36
36
|
"buffer": "6.0.3",
|
|
37
37
|
"fflate": "0.8.2",
|
|
38
38
|
"form-data": "4.0.4",
|
|
39
39
|
"platform-specific": "1.1.0",
|
|
40
|
-
"qs": "6.14.
|
|
40
|
+
"qs": "6.14.2",
|
|
41
41
|
"typescript-json-decoder": "1.0.11"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|