@accelbyte/sdk 0.1.1-alpha.48 → 0.1.1-alpha.51

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ### 0.1.1-alpha.51 - 2023-01-06
2
+
3
+ - Deprecate justice-js-common-utils
4
+
5
+ ### 0.1.1-alpha.50 - 2023-01-04
6
+
7
+ - Fix build error
8
+
9
+ ### 0.1.1-alpha.49 - 2023-01-03
10
+
11
+ - Update dependency versions
12
+
1
13
  ### 0.1.1-alpha.48 - 2022-12-27
2
14
 
3
15
  - Fix user is unable to activate 2fa with email due to missing `content-type: application/x-www-form-urlencoded`
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { AxiosResponse, AxiosInstance, Method, AxiosRequestConfig, AxiosError } from 'axios';
2
2
  import * as zod from 'zod';
3
3
  import { z, ZodError } from 'zod';
4
- import { RegexGeneratorParam } from 'justice-js-common-utils';
5
4
 
6
5
  declare type IResponseError = Error | {
7
6
  name: string;
@@ -56422,6 +56421,36 @@ declare class IamHelper {
56422
56421
  static currentUserCanOrder(user: UserResponseV3 | null): boolean;
56423
56422
  }
56424
56423
 
56424
+ /*
56425
+ *
56426
+ * Copyright (c) 2021-2022 AccelByte Inc. All Rights Reserved.
56427
+ * This is licensed software from AccelByte Inc, for limitations
56428
+ * and restrictions contact your company contract manager.
56429
+ *
56430
+ */
56431
+
56432
+
56433
+ declare const LetterCaseEnum = Enum('lowercase', 'uppercase', 'mixed', 'any')
56434
+ type LetterCaseType = keyof typeof LetterCaseEnum
56435
+ declare const CharacterLocationEnum = Enum('anywhere', 'middle')
56436
+ type CharacterLocationType = keyof typeof CharacterLocationEnum
56437
+
56438
+ interface RegexGeneratorParam {
56439
+ regex: string
56440
+ maxRepeatingAlphaNum: number
56441
+ maxRepeatingSpecialCharacter: number
56442
+ minCharType: number
56443
+ letterCase: LetterCaseType
56444
+ specialCharacterLocation: CharacterLocationType
56445
+ allowUnicode: boolean
56446
+ allowLetter: boolean
56447
+ allowDigit: boolean
56448
+ allowSpace: boolean
56449
+ allowAllSpecialCharacters?: boolean
56450
+ isCustomRegex: boolean
56451
+ specialCharacters: string[]
56452
+ }
56453
+
56425
56454
  declare const ValidateableInputField: z.ZodEnum<["username", "displayName", "password", "email"]>;
56426
56455
  declare type ValidateableInputField = z.infer<typeof ValidateableInputField>;
56427
56456
  declare class InputValidationHelper {