@accelbyte/sdk 0.1.1-alpha.50 → 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 +4 -0
- package/dist/index.d.ts +30 -1
- package/dist/index.es.js +1456 -1048
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1456 -1048
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
- package/dist/index.browser.es.js +0 -42242
- package/dist/index.browser.es.js.map +0 -1
package/CHANGELOG.md
CHANGED
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 {
|