@thunderid/browser 0.11.2 → 0.11.4
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/dist/FetchHttpClient.d.ts +0 -17
- package/dist/FetchHttpClient.d.ts.map +1 -1
- package/dist/ThunderIDBrowserClient.d.ts +0 -17
- package/dist/ThunderIDBrowserClient.d.ts.map +1 -1
- package/dist/cjs/index.cjs +0 -136
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/constants/Hooks.d.ts +0 -17
- package/dist/constants/Hooks.d.ts.map +1 -1
- package/dist/constants/SPAConstants.d.ts +0 -17
- package/dist/constants/SPAConstants.d.ts.map +1 -1
- package/dist/index.d.ts +0 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -136
- package/dist/index.js.map +1 -1
- package/dist/models/BrowserConfig.d.ts +0 -17
- package/dist/models/BrowserConfig.d.ts.map +1 -1
- package/dist/models/BrowserStorage.d.ts +0 -17
- package/dist/models/BrowserStorage.d.ts.map +1 -1
- package/dist/models/SignInConfig.d.ts +0 -17
- package/dist/models/SignInConfig.d.ts.map +1 -1
- package/dist/models/SignOutError.d.ts +0 -17
- package/dist/models/SignOutError.d.ts.map +1 -1
- package/dist/models/TokenExchangeConfig.d.ts +0 -17
- package/dist/models/TokenExchangeConfig.d.ts.map +1 -1
- package/dist/models/config.d.ts +0 -17
- package/dist/models/config.d.ts.map +1 -1
- package/dist/stores/LocalStore.d.ts +0 -17
- package/dist/stores/LocalStore.d.ts.map +1 -1
- package/dist/stores/MemoryStore.d.ts +0 -17
- package/dist/stores/MemoryStore.d.ts.map +1 -1
- package/dist/stores/SessionStore.d.ts +0 -17
- package/dist/stores/SessionStore.d.ts.map +1 -1
- package/dist/theme/getActiveTheme.d.ts +0 -17
- package/dist/theme/getActiveTheme.d.ts.map +1 -1
- package/dist/theme/normalizeBorderRadius.d.ts +0 -17
- package/dist/theme/normalizeBorderRadius.d.ts.map +1 -1
- package/dist/theme/themeDetection.d.ts +0 -17
- package/dist/theme/themeDetection.d.ts.map +1 -1
- package/dist/utils/AuthenticationHelper.d.ts +0 -17
- package/dist/utils/AuthenticationHelper.d.ts.map +1 -1
- package/dist/utils/SPACryptoUtils.d.ts +0 -17
- package/dist/utils/SPACryptoUtils.d.ts.map +1 -1
- package/dist/utils/SPAHelper.d.ts +0 -17
- package/dist/utils/SPAHelper.d.ts.map +1 -1
- package/dist/utils/SPAUtils.d.ts +0 -17
- package/dist/utils/SPAUtils.d.ts.map +1 -1
- package/dist/utils/SessionManagementHelper.d.ts +0 -17
- package/dist/utils/SessionManagementHelper.d.ts.map +1 -1
- package/dist/utils/anonymousAnimalIcons.generated.d.ts +0 -17
- package/dist/utils/anonymousAnimalIcons.generated.d.ts.map +1 -1
- package/dist/utils/anonymousEntityIcons.generated.d.ts +0 -17
- package/dist/utils/anonymousEntityIcons.generated.d.ts.map +1 -1
- package/dist/utils/buildAvatarSpec.d.ts +0 -17
- package/dist/utils/buildAvatarSpec.d.ts.map +1 -1
- package/dist/utils/extractAvatarParamsFromUri.d.ts +0 -17
- package/dist/utils/extractAvatarParamsFromUri.d.ts.map +1 -1
- package/dist/utils/generateAvatarDataUri.d.ts +0 -17
- package/dist/utils/generateAvatarDataUri.d.ts.map +1 -1
- package/dist/utils/handleWebAuthnAuthentication.d.ts +0 -17
- package/dist/utils/handleWebAuthnAuthentication.d.ts.map +1 -1
- package/dist/utils/hasAuthParamsInUrl.d.ts +0 -17
- package/dist/utils/hasAuthParamsInUrl.d.ts.map +1 -1
- package/dist/utils/hasCalledForThisInstanceInUrl.d.ts +0 -17
- package/dist/utils/hasCalledForThisInstanceInUrl.d.ts.map +1 -1
- package/dist/utils/hashStr.d.ts +0 -17
- package/dist/utils/hashStr.d.ts.map +1 -1
- package/dist/utils/http.d.ts +0 -17
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/isAvatarUri.d.ts +0 -17
- package/dist/utils/isAvatarUri.d.ts.map +1 -1
- package/dist/utils/navigate.d.ts +0 -17
- package/dist/utils/navigate.d.ts.map +1 -1
- package/dist/utils/pickAnonymousAvatarName.d.ts +0 -17
- package/dist/utils/pickAnonymousAvatarName.d.ts.map +1 -1
- package/dist/utils/pickAnonymousEntityName.d.ts +0 -17
- package/dist/utils/pickAnonymousEntityName.d.ts.map +1 -1
- package/dist/utils/resolveEmojiUrisInHtml.d.ts +0 -17
- package/dist/utils/resolveEmojiUrisInHtml.d.ts.map +1 -1
- package/dist/utils/resolveLogoUri.d.ts +0 -17
- package/dist/utils/resolveLogoUri.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
/**
|
|
19
2
|
* Event hook names for attaching callbacks via `ThunderIDBrowserClient.on()`.
|
|
20
3
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hooks.d.ts","sourceRoot":"","sources":["../../src/constants/Hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Hooks.d.ts","sourceRoot":"","sources":["../../src/constants/Hooks.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,oBAAY,KAAK;IACf,MAAM,YAAY;IAClB,OAAO,aAAa;IACpB,UAAU,eAAe;IACzB,gBAAgB,uBAAuB;IACvC,iBAAiB,wBAAwB;IACzC,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,iBAAiB,wBAAwB;IACzC,WAAW,iBAAiB;IAC5B,aAAa,oBAAoB;CAClC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
export declare const ERROR = "error";
|
|
19
2
|
export declare const ERROR_DESCRIPTION = "error_description";
|
|
20
3
|
export declare const CUSTOM_GRANT_CONFIG = "custom_grant_config";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SPAConstants.d.ts","sourceRoot":"","sources":["../../src/constants/SPAConstants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SPAConstants.d.ts","sourceRoot":"","sources":["../../src/constants/SPAConstants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,WAAW,UAAU,CAAC;AAEnC,eAAO,MAAM,SAAS,aAAa,CAAC;AACpC,eAAO,MAAM,SAAS,aAAa,CAAC;AACpC,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AACrD,eAAO,MAAM,KAAK,qBAAqB,CAAC;AACxC,eAAO,MAAM,oBAAoB,qBAAqB,CAAC;AACvD,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,wBAAwB,0BAA0B,CAAC;AAEhE,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAE/D,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,6BAA6B,kCAAkC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
/**
|
|
19
2
|
* Entry point for all public APIs of the @thunderid/browser SDK.
|
|
20
3
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sour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ACjE,YAAY,EAAC,YAAY,EAAE,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAG3E,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAE,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AACtG,YAAY,EAAC,qBAAqB,EAAC,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAC,OAAO,IAAI,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,+BAA+B,CAAC;AAG/E,cAAc,uBAAuB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -34,23 +34,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region src/constants/SPAConstants.ts
|
|
37
|
-
/**
|
|
38
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
39
|
-
*
|
|
40
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
41
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
42
|
-
* in compliance with the License.
|
|
43
|
-
* You may obtain a copy of the License at
|
|
44
|
-
*
|
|
45
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
46
|
-
*
|
|
47
|
-
* Unless required by applicable law or agreed to in writing,
|
|
48
|
-
* software distributed under the License is distributed on an
|
|
49
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
50
|
-
* KIND, either express or implied. See the License for the
|
|
51
|
-
* specific language governing permissions and limitations
|
|
52
|
-
* under the License.
|
|
53
|
-
*/
|
|
54
37
|
const ERROR = "error";
|
|
55
38
|
const ERROR_DESCRIPTION = "error_description";
|
|
56
39
|
const CUSTOM_GRANT_CONFIG = "custom_grant_config";
|
|
@@ -145,23 +128,6 @@ var FetchHttpClient_default = FetchHttpClient;
|
|
|
145
128
|
//#endregion
|
|
146
129
|
//#region src/models/BrowserStorage.ts
|
|
147
130
|
/**
|
|
148
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
149
|
-
*
|
|
150
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
151
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
152
|
-
* in compliance with the License.
|
|
153
|
-
* You may obtain a copy of the License at
|
|
154
|
-
*
|
|
155
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
156
|
-
*
|
|
157
|
-
* Unless required by applicable law or agreed to in writing,
|
|
158
|
-
* software distributed under the License is distributed on an
|
|
159
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
160
|
-
* KIND, either express or implied. See the License for the
|
|
161
|
-
* specific language governing permissions and limitations
|
|
162
|
-
* under the License.
|
|
163
|
-
*/
|
|
164
|
-
/**
|
|
165
131
|
* Supported browser storage backends for auth session data.
|
|
166
132
|
*/
|
|
167
133
|
let BrowserStorage = /* @__PURE__ */ function(BrowserStorage$1) {
|
|
@@ -835,23 +801,6 @@ var AuthenticationHelper_default = AuthenticationHelper;
|
|
|
835
801
|
//#endregion
|
|
836
802
|
//#region src/utils/navigate.ts
|
|
837
803
|
/**
|
|
838
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
839
|
-
*
|
|
840
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
841
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
842
|
-
* in compliance with the License.
|
|
843
|
-
* You may obtain a copy of the License at
|
|
844
|
-
*
|
|
845
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
846
|
-
*
|
|
847
|
-
* Unless required by applicable law or agreed to in writing,
|
|
848
|
-
* software distributed under the License is distributed on an
|
|
849
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
850
|
-
* KIND, either express or implied. See the License for the
|
|
851
|
-
* specific language governing permissions and limitations
|
|
852
|
-
* under the License.
|
|
853
|
-
*/
|
|
854
|
-
/**
|
|
855
804
|
* Navigates to a new URL within the browser.
|
|
856
805
|
*
|
|
857
806
|
* - For same-origin URLs (relative paths or absolute URLs with the same origin),
|
|
@@ -3037,23 +2986,6 @@ var ThunderIDBrowserClient_default = ThunderIDBrowserClient;
|
|
|
3037
2986
|
//#endregion
|
|
3038
2987
|
//#region src/constants/Hooks.ts
|
|
3039
2988
|
/**
|
|
3040
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
3041
|
-
*
|
|
3042
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3043
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3044
|
-
* in compliance with the License.
|
|
3045
|
-
* You may obtain a copy of the License at
|
|
3046
|
-
*
|
|
3047
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3048
|
-
*
|
|
3049
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3050
|
-
* software distributed under the License is distributed on an
|
|
3051
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3052
|
-
* KIND, either express or implied. See the License for the
|
|
3053
|
-
* specific language governing permissions and limitations
|
|
3054
|
-
* under the License.
|
|
3055
|
-
*/
|
|
3056
|
-
/**
|
|
3057
2989
|
* Event hook names for attaching callbacks via `ThunderIDBrowserClient.on()`.
|
|
3058
2990
|
*/
|
|
3059
2991
|
let Hooks = /* @__PURE__ */ function(Hooks$1) {
|
|
@@ -3074,23 +3006,6 @@ var Hooks_default = Hooks;
|
|
|
3074
3006
|
//#endregion
|
|
3075
3007
|
//#region src/utils/hasAuthParamsInUrl.ts
|
|
3076
3008
|
/**
|
|
3077
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3078
|
-
*
|
|
3079
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3080
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3081
|
-
* in compliance with the License.
|
|
3082
|
-
* You may obtain a copy of the License at
|
|
3083
|
-
*
|
|
3084
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3085
|
-
*
|
|
3086
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3087
|
-
* software distributed under the License is distributed on an
|
|
3088
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3089
|
-
* KIND, either express or implied. See the License for the
|
|
3090
|
-
* specific language governing permissions and limitations
|
|
3091
|
-
* under the License.
|
|
3092
|
-
*/
|
|
3093
|
-
/**
|
|
3094
3009
|
* Utility to check if `code` and `session_state` are available in the URL as search params.
|
|
3095
3010
|
*
|
|
3096
3011
|
* @param params - The URL search params to check. Defaults to `window.location.search`.
|
|
@@ -3104,23 +3019,6 @@ var hasAuthParamsInUrl_default = hasAuthParamsInUrl;
|
|
|
3104
3019
|
//#endregion
|
|
3105
3020
|
//#region src/utils/hasCalledForThisInstanceInUrl.ts
|
|
3106
3021
|
/**
|
|
3107
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3108
|
-
*
|
|
3109
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3110
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3111
|
-
* in compliance with the License.
|
|
3112
|
-
* You may obtain a copy of the License at
|
|
3113
|
-
*
|
|
3114
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3115
|
-
*
|
|
3116
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3117
|
-
* software distributed under the License is distributed on an
|
|
3118
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3119
|
-
* KIND, either express or implied. See the License for the
|
|
3120
|
-
* specific language governing permissions and limitations
|
|
3121
|
-
* under the License.
|
|
3122
|
-
*/
|
|
3123
|
-
/**
|
|
3124
3022
|
* Utility to check if `state` is available in the URL as a search param and matches the provided instance.
|
|
3125
3023
|
*
|
|
3126
3024
|
* @param params - The URL search params to check. Defaults to `window.location.search`.
|
|
@@ -3321,23 +3219,6 @@ var resolveEmojiUrisInHtml_default = resolveEmojiUrisInHtml;
|
|
|
3321
3219
|
|
|
3322
3220
|
//#endregion
|
|
3323
3221
|
//#region src/utils/isAvatarUri.ts
|
|
3324
|
-
/**
|
|
3325
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
3326
|
-
*
|
|
3327
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3328
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3329
|
-
* in compliance with the License.
|
|
3330
|
-
* You may obtain a copy of the License at
|
|
3331
|
-
*
|
|
3332
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3333
|
-
*
|
|
3334
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3335
|
-
* software distributed under the License is distributed on an
|
|
3336
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3337
|
-
* KIND, either express or implied. See the License for the
|
|
3338
|
-
* specific language governing permissions and limitations
|
|
3339
|
-
* under the License.
|
|
3340
|
-
*/
|
|
3341
3222
|
const AVATAR_URI_SCHEME = "avatar:";
|
|
3342
3223
|
/**
|
|
3343
3224
|
* Checks whether a given URI uses the `avatar:` scheme
|
|
@@ -3658,23 +3539,6 @@ const ANONYMOUS_ENTITY_ICONS = {
|
|
|
3658
3539
|
//#endregion
|
|
3659
3540
|
//#region src/utils/hashStr.ts
|
|
3660
3541
|
/**
|
|
3661
|
-
* Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
|
|
3662
|
-
*
|
|
3663
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3664
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3665
|
-
* in compliance with the License.
|
|
3666
|
-
* You may obtain a copy of the License at
|
|
3667
|
-
*
|
|
3668
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3669
|
-
*
|
|
3670
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3671
|
-
* software distributed under the License is distributed on an
|
|
3672
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3673
|
-
* KIND, either express or implied. See the License for the
|
|
3674
|
-
* specific language governing permissions and limitations
|
|
3675
|
-
* under the License.
|
|
3676
|
-
*/
|
|
3677
|
-
/**
|
|
3678
3542
|
* 32-bit unsigned polynomial hash (`h = h*31 + charCode`), used to deterministically derive
|
|
3679
3543
|
* avatar colors/icons from a seed string. Shared by every avatar util that needs the same
|
|
3680
3544
|
* hash so seeds map identically across them.
|