@oxy.so/core 4.5.0-oxy-one.1 → 4.5.0
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/README.md +1 -1
- package/dist/cjs/HttpService.js +63 -19
- package/dist/cjs/api/accounts.js +10 -3
- package/dist/cjs/api/agency.js +3 -1
- package/dist/cjs/api/apps.js +15 -4
- package/dist/cjs/api/assets.js +39 -11
- package/dist/cjs/api/auth.js +28 -8
- package/dist/cjs/api/billing.js +24 -7
- package/dist/cjs/api/civic.js +14 -4
- package/dist/cjs/api/follows.js +9 -2
- package/dist/cjs/api/identity.js +31 -9
- package/dist/cjs/api/nodes.js +3 -1
- package/dist/cjs/api/privacy.js +8 -2
- package/dist/cjs/api/session.js +15 -4
- package/dist/cjs/api/store.js +15 -5
- package/dist/cjs/api/topics.js +10 -3
- package/dist/cjs/api/users.js +16 -4
- package/dist/cjs/boot/sessionColdBoot.js +40 -13
- package/dist/cjs/constants/version.js +6 -6
- package/dist/cjs/crypto/identityMarker.js +3 -1
- package/dist/cjs/crypto/identityProof.js +6 -1
- package/dist/cjs/crypto/keyManager.js +87 -32
- package/dist/cjs/crypto/recoveryPhrase.js +2 -2
- package/dist/cjs/crypto/signatureService.js +3 -4
- package/dist/cjs/i18n/index.js +16 -3
- package/dist/cjs/i18n/locales/ar-SA.js +366 -366
- package/dist/cjs/i18n/locales/ca-ES.js +366 -366
- package/dist/cjs/i18n/locales/de-DE.js +366 -366
- package/dist/cjs/i18n/locales/en-US.js +1994 -1994
- package/dist/cjs/i18n/locales/es-ES.js +1994 -1994
- package/dist/cjs/i18n/locales/fr-FR.js +366 -366
- package/dist/cjs/i18n/locales/it-IT.js +366 -366
- package/dist/cjs/i18n/locales/ja-JP.js +366 -366
- package/dist/cjs/i18n/locales/ko-KR.js +366 -366
- package/dist/cjs/i18n/locales/pt-PT.js +366 -366
- package/dist/cjs/i18n/locales/zh-CN.js +366 -366
- package/dist/cjs/inference/OxyInferenceClient.js +12 -18
- package/dist/cjs/models/interfaces.js +11 -11
- package/dist/cjs/server/OxyServer.js +86 -28
- package/dist/cjs/server/agentAccount.js +6 -2
- package/dist/cjs/server/aliaMachineCredential.js +39 -14
- package/dist/cjs/server/auth.js +5 -4
- package/dist/cjs/server/capabilityTicket.js +5 -5
- package/dist/cjs/server/index.js +2 -1
- package/dist/cjs/server/liveCapabilityTicket.js +4 -1
- package/dist/cjs/server/middleware.js +61 -42
- package/dist/cjs/server/namespaces.js +28 -7
- package/dist/cjs/server/requesterAssertion.js +36 -30
- package/dist/cjs/server/serviceTokenLifetime.js +7 -4
- package/dist/cjs/server/traffic.js +53 -14
- package/dist/cjs/server/trafficNodeHttp.js +33 -8
- package/dist/cjs/server/workloadIdentity.client.js +4 -0
- package/dist/cjs/server/workloadIdentity.js +28 -1
- package/dist/cjs/session/SessionClient.js +54 -17
- package/dist/cjs/session/accountDelegationAccess.js +4 -6
- package/dist/cjs/session/accountDialogController.js +1 -1
- package/dist/cjs/session/authStateStore.js +18 -9
- package/dist/cjs/session/identityPin.js +6 -2
- package/dist/cjs/session/refresh.js +81 -23
- package/dist/cjs/session/sharedDeviceCredential.js +28 -15
- package/dist/cjs/shared/utils/errorUtils.js +1 -1
- package/dist/cjs/shared/utils/networkUtils.js +1 -1
- package/dist/cjs/shared/utils/themeUtils.js +1 -1
- package/dist/cjs/utils/accountCacheSweep.js +3 -1
- package/dist/cjs/utils/accountUtils.js +1 -3
- package/dist/cjs/utils/asyncUtils.js +1 -1
- package/dist/cjs/utils/authHelpers.js +2 -1
- package/dist/cjs/utils/avatarUtils.js +4 -2
- package/dist/cjs/utils/cache.js +1 -1
- package/dist/cjs/utils/cacheKey.js +3 -1
- package/dist/cjs/utils/deviceManager.js +4 -4
- package/dist/cjs/utils/errorUtils.js +6 -4
- package/dist/cjs/utils/languageUtils.js +404 -57
- package/dist/cjs/utils/profileLinks.js +1 -3
- package/dist/cjs/utils/requestUtils.js +7 -1
- package/dist/cjs/utils/userIdentity.js +1 -1
- package/dist/cjs/utils/validationUtils.js +5 -6
- package/dist/esm/HttpService.js +64 -20
- package/dist/esm/api/accounts.js +11 -4
- package/dist/esm/api/agency.js +3 -1
- package/dist/esm/api/apps.js +15 -4
- package/dist/esm/api/assets.js +39 -11
- package/dist/esm/api/auth.js +28 -8
- package/dist/esm/api/billing.js +25 -8
- package/dist/esm/api/civic.js +14 -4
- package/dist/esm/api/follows.js +9 -2
- package/dist/esm/api/identity.js +31 -9
- package/dist/esm/api/nodes.js +3 -1
- package/dist/esm/api/privacy.js +8 -2
- package/dist/esm/api/session.js +15 -4
- package/dist/esm/api/store.js +15 -5
- package/dist/esm/api/topics.js +10 -3
- package/dist/esm/api/users.js +16 -4
- package/dist/esm/boot/sessionColdBoot.js +41 -14
- package/dist/esm/constants/version.js +6 -6
- package/dist/esm/crypto/identityMarker.js +3 -1
- package/dist/esm/crypto/identityProof.js +6 -1
- package/dist/esm/crypto/internal.js +1 -1
- package/dist/esm/crypto/keyManager.js +87 -32
- package/dist/esm/crypto/recoveryPhrase.js +2 -2
- package/dist/esm/crypto/signatureService.js +3 -4
- package/dist/esm/i18n/index.js +16 -3
- package/dist/esm/i18n/locales/ar-SA.js +366 -366
- package/dist/esm/i18n/locales/ca-ES.js +366 -366
- package/dist/esm/i18n/locales/de-DE.js +366 -366
- package/dist/esm/i18n/locales/en-US.js +1994 -1994
- package/dist/esm/i18n/locales/es-ES.js +1994 -1994
- package/dist/esm/i18n/locales/fr-FR.js +366 -366
- package/dist/esm/i18n/locales/it-IT.js +366 -366
- package/dist/esm/i18n/locales/ja-JP.js +366 -366
- package/dist/esm/i18n/locales/ko-KR.js +366 -366
- package/dist/esm/i18n/locales/pt-PT.js +366 -366
- package/dist/esm/i18n/locales/zh-CN.js +366 -366
- package/dist/esm/index.js +1 -1
- package/dist/esm/inference/OxyInferenceClient.js +13 -19
- package/dist/esm/models/interfaces.js +11 -11
- package/dist/esm/server/OxyServer.js +87 -29
- package/dist/esm/server/agentAccount.js +6 -2
- package/dist/esm/server/aliaMachineCredential.js +39 -14
- package/dist/esm/server/auth.js +6 -5
- package/dist/esm/server/capabilityTicket.js +6 -6
- package/dist/esm/server/index.js +5 -5
- package/dist/esm/server/liveCapabilityTicket.js +6 -3
- package/dist/esm/server/middleware.js +62 -43
- package/dist/esm/server/namespaces.js +31 -10
- package/dist/esm/server/requesterAssertion.js +36 -30
- package/dist/esm/server/serviceTokenLifetime.js +7 -4
- package/dist/esm/server/traffic.js +55 -16
- package/dist/esm/server/trafficNodeHttp.js +34 -9
- package/dist/esm/server/userInvalidation.js +1 -1
- package/dist/esm/server/workloadIdentity.client.js +3 -0
- package/dist/esm/server/workloadIdentity.js +27 -1
- package/dist/esm/session/SessionClient.js +54 -17
- package/dist/esm/session/accountDelegationAccess.js +5 -7
- package/dist/esm/session/accountDialogController.js +1 -1
- package/dist/esm/session/authStateStore.js +18 -9
- package/dist/esm/session/identityPin.js +6 -2
- package/dist/esm/session/refresh.js +82 -24
- package/dist/esm/session/sharedDeviceCredential.js +28 -15
- package/dist/esm/shared/utils/errorUtils.js +1 -1
- package/dist/esm/shared/utils/networkUtils.js +1 -1
- package/dist/esm/shared/utils/themeUtils.js +1 -1
- package/dist/esm/utils/accountCacheSweep.js +3 -1
- package/dist/esm/utils/accountUtils.js +1 -3
- package/dist/esm/utils/asyncUtils.js +1 -1
- package/dist/esm/utils/authHelpers.js +2 -1
- package/dist/esm/utils/avatarUtils.js +4 -2
- package/dist/esm/utils/cache.js +1 -1
- package/dist/esm/utils/cacheKey.js +3 -1
- package/dist/esm/utils/deviceManager.js +4 -4
- package/dist/esm/utils/errorUtils.js +6 -4
- package/dist/esm/utils/languageUtils.js +404 -57
- package/dist/esm/utils/profileLinks.js +1 -3
- package/dist/esm/utils/requestUtils.js +7 -1
- package/dist/esm/utils/userIdentity.js +1 -1
- package/dist/esm/utils/validationUtils.js +5 -6
- package/dist/types/HttpService.d.ts +1 -1
- package/dist/types/api/accounts.d.ts +1 -1
- package/dist/types/api/apps.d.ts +4 -4
- package/dist/types/crypto/internal.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/server/index.d.ts +6 -6
- package/dist/types/server/workloadIdentity.client.d.ts +5 -1
- package/dist/types/server/workloadIdentity.d.ts +26 -0
- package/dist/types/session/accountDelegationAccess.d.ts +1 -1
- package/dist/types/session/index.d.ts +1 -1
- package/dist/types/utils/userIdentity.d.ts +1 -1
- package/dist/types/utils/validationUtils.d.ts +4 -5
- package/package.json +2 -3
- package/src/HttpService.ts +183 -53
- package/src/OxyServices.errors.ts +7 -3
- package/src/OxyServices.ts +6 -2
- package/src/api/accounts.ts +76 -26
- package/src/api/agency.ts +24 -9
- package/src/api/appData.ts +12 -2
- package/src/api/apps.ts +81 -31
- package/src/api/assets.ts +113 -43
- package/src/api/auth.ts +145 -77
- package/src/api/billing.ts +112 -65
- package/src/api/civic.ts +61 -19
- package/src/api/contacts.ts +4 -1
- package/src/api/devices.ts +54 -21
- package/src/api/follows.ts +88 -31
- package/src/api/identity.ts +101 -33
- package/src/api/linkedAccounts.ts +26 -8
- package/src/api/nodes.ts +18 -6
- package/src/api/notifications.ts +26 -6
- package/src/api/privacy.ts +42 -8
- package/src/api/reputation.ts +18 -7
- package/src/api/session.ts +23 -5
- package/src/api/store.ts +81 -31
- package/src/api/topics.ts +18 -6
- package/src/api/users.ts +98 -35
- package/src/boot/sessionColdBoot.ts +60 -19
- package/src/civic/payloads.ts +1 -4
- package/src/client/context.ts +6 -1
- package/src/constants/version.ts +7 -6
- package/src/crypto/aead.ts +1 -5
- package/src/crypto/ecdh.ts +1 -4
- package/src/crypto/identityDerivations.ts +5 -1
- package/src/crypto/identityMarker.ts +3 -1
- package/src/crypto/identityProof.ts +6 -1
- package/src/crypto/index.ts +11 -11
- package/src/crypto/internal.ts +6 -1
- package/src/crypto/keyManager.ts +348 -98
- package/src/crypto/recoveryPhrase.ts +14 -9
- package/src/crypto/registrationPow.ts +1 -1
- package/src/crypto/signatureService.ts +14 -6
- package/src/i18n/accountCategoryLabels.ts +1 -4
- package/src/i18n/accountRoleLabels.ts +1 -4
- package/src/i18n/index.ts +25 -7
- package/src/i18n/locales/ar-SA.ts +375 -366
- package/src/i18n/locales/ca-ES.ts +382 -366
- package/src/i18n/locales/de-DE.ts +387 -366
- package/src/i18n/locales/en-US.ts +2034 -1994
- package/src/i18n/locales/es-ES.ts +2043 -1994
- package/src/i18n/locales/fr-FR.ts +387 -366
- package/src/i18n/locales/it-IT.ts +380 -366
- package/src/i18n/locales/ja-JP.ts +380 -366
- package/src/i18n/locales/ko-KR.ts +377 -366
- package/src/i18n/locales/pt-PT.ts +383 -366
- package/src/i18n/locales/zh-CN.ts +373 -366
- package/src/i18n/trustTierLabels.ts +1 -4
- package/src/index.ts +371 -349
- package/src/inference/OxyInferenceClient.ts +784 -780
- package/src/models/interfaces.ts +30 -27
- package/src/server/OxyServer.ts +227 -68
- package/src/server/agentAccount.ts +8 -2
- package/src/server/aliaMachineCredential.ts +57 -16
- package/src/server/auth.ts +9 -5
- package/src/server/capabilityTicket.ts +30 -21
- package/src/server/index.ts +29 -6
- package/src/server/liveCapabilityTicket.ts +31 -9
- package/src/server/middleware.ts +212 -121
- package/src/server/namespaces.ts +247 -94
- package/src/server/rateLimit.ts +2 -4
- package/src/server/requesterAssertion.ts +93 -54
- package/src/server/serviceTokenLifetime.ts +9 -4
- package/src/server/traffic.ts +117 -23
- package/src/server/trafficNodeHttp.ts +61 -14
- package/src/server/userInvalidation.ts +1 -4
- package/src/server/workloadIdentity.client.ts +12 -1
- package/src/server/workloadIdentity.ts +52 -5
- package/src/session/SessionClient.ts +170 -49
- package/src/session/accountDelegationAccess.ts +24 -31
- package/src/session/accountDialogController.ts +59 -14
- package/src/session/accountSwitchTargets.ts +10 -15
- package/src/session/authStateStore.ts +121 -81
- package/src/session/deviceDirectory.ts +1 -3
- package/src/session/identityPin.ts +10 -11
- package/src/session/identitySession.ts +3 -1
- package/src/session/index.ts +87 -82
- package/src/session/refresh.ts +138 -44
- package/src/session/sessionClientHost.ts +1 -3
- package/src/session/sharedDeviceCredential.ts +35 -14
- package/src/session/socketLoader.ts +9 -2
- package/src/shared/utils/errorUtils.ts +5 -2
- package/src/shared/utils/networkUtils.ts +5 -8
- package/src/shared/utils/themeUtils.ts +2 -6
- package/src/types/buffer.d.ts +66 -21
- package/src/types/expo-secure-store.d.ts +5 -1
- package/src/utils/accountCacheSweep.ts +4 -5
- package/src/utils/accountUtils.ts +107 -108
- package/src/utils/apiUtils.ts +3 -3
- package/src/utils/asyncUtils.ts +2 -2
- package/src/utils/authHelpers.ts +10 -5
- package/src/utils/avatarUtils.ts +11 -6
- package/src/utils/cache.ts +9 -10
- package/src/utils/cacheKey.ts +5 -1
- package/src/utils/coldBoot.ts +1 -3
- package/src/utils/commonsDelivery.ts +1 -4
- package/src/utils/deviceManager.ts +15 -14
- package/src/utils/errorUtils.ts +68 -86
- package/src/utils/languageUtils.ts +407 -58
- package/src/utils/oauthPkce.ts +1 -4
- package/src/utils/platform.ts +0 -1
- package/src/utils/profileLinks.ts +2 -5
- package/src/utils/requestUtils.ts +18 -14
- package/src/utils/sessionUtils.ts +34 -33
- package/src/utils/userHandle.ts +3 -1
- package/src/utils/userIdentity.ts +1 -1
- package/src/utils/validationUtils.ts +11 -9
|
@@ -19,75 +19,422 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export const SUPPORTED_LANGUAGES = [
|
|
21
21
|
// English
|
|
22
|
-
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
{
|
|
23
|
+
code: 'en-US',
|
|
24
|
+
language: 'en',
|
|
25
|
+
region: 'US',
|
|
26
|
+
name: 'English (United States)',
|
|
27
|
+
nativeName: 'English (United States)',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
code: 'en-GB',
|
|
31
|
+
language: 'en',
|
|
32
|
+
region: 'GB',
|
|
33
|
+
name: 'English (United Kingdom)',
|
|
34
|
+
nativeName: 'English (United Kingdom)',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
code: 'en-AU',
|
|
38
|
+
language: 'en',
|
|
39
|
+
region: 'AU',
|
|
40
|
+
name: 'English (Australia)',
|
|
41
|
+
nativeName: 'English (Australia)',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
code: 'en-CA',
|
|
45
|
+
language: 'en',
|
|
46
|
+
region: 'CA',
|
|
47
|
+
name: 'English (Canada)',
|
|
48
|
+
nativeName: 'English (Canada)',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
code: 'en-IN',
|
|
52
|
+
language: 'en',
|
|
53
|
+
region: 'IN',
|
|
54
|
+
name: 'English (India)',
|
|
55
|
+
nativeName: 'English (India)',
|
|
56
|
+
},
|
|
27
57
|
// Spanish
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
58
|
+
{
|
|
59
|
+
code: 'es-ES',
|
|
60
|
+
language: 'es',
|
|
61
|
+
region: 'ES',
|
|
62
|
+
name: 'Spanish (Spain)',
|
|
63
|
+
nativeName: 'Español (España)',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
code: 'es-MX',
|
|
67
|
+
language: 'es',
|
|
68
|
+
region: 'MX',
|
|
69
|
+
name: 'Spanish (Mexico)',
|
|
70
|
+
nativeName: 'Español (México)',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
code: 'es-US',
|
|
74
|
+
language: 'es',
|
|
75
|
+
region: 'US',
|
|
76
|
+
name: 'Spanish (United States)',
|
|
77
|
+
nativeName: 'Español (Estados Unidos)',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
code: 'es-AR',
|
|
81
|
+
language: 'es',
|
|
82
|
+
region: 'AR',
|
|
83
|
+
name: 'Spanish (Argentina)',
|
|
84
|
+
nativeName: 'Español (Argentina)',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
code: 'es-CO',
|
|
88
|
+
language: 'es',
|
|
89
|
+
region: 'CO',
|
|
90
|
+
name: 'Spanish (Colombia)',
|
|
91
|
+
nativeName: 'Español (Colombia)',
|
|
92
|
+
},
|
|
33
93
|
// Portuguese
|
|
34
|
-
{
|
|
35
|
-
|
|
94
|
+
{
|
|
95
|
+
code: 'pt-BR',
|
|
96
|
+
language: 'pt',
|
|
97
|
+
region: 'BR',
|
|
98
|
+
name: 'Portuguese (Brazil)',
|
|
99
|
+
nativeName: 'Português (Brasil)',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
code: 'pt-PT',
|
|
103
|
+
language: 'pt',
|
|
104
|
+
region: 'PT',
|
|
105
|
+
name: 'Portuguese (Portugal)',
|
|
106
|
+
nativeName: 'Português (Portugal)',
|
|
107
|
+
},
|
|
36
108
|
// French
|
|
37
|
-
{
|
|
38
|
-
|
|
109
|
+
{
|
|
110
|
+
code: 'fr-FR',
|
|
111
|
+
language: 'fr',
|
|
112
|
+
region: 'FR',
|
|
113
|
+
name: 'French (France)',
|
|
114
|
+
nativeName: 'Français (France)',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
code: 'fr-CA',
|
|
118
|
+
language: 'fr',
|
|
119
|
+
region: 'CA',
|
|
120
|
+
name: 'French (Canada)',
|
|
121
|
+
nativeName: 'Français (Canada)',
|
|
122
|
+
},
|
|
39
123
|
// German
|
|
40
|
-
{
|
|
41
|
-
|
|
42
|
-
|
|
124
|
+
{
|
|
125
|
+
code: 'de-DE',
|
|
126
|
+
language: 'de',
|
|
127
|
+
region: 'DE',
|
|
128
|
+
name: 'German (Germany)',
|
|
129
|
+
nativeName: 'Deutsch (Deutschland)',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
code: 'de-AT',
|
|
133
|
+
language: 'de',
|
|
134
|
+
region: 'AT',
|
|
135
|
+
name: 'German (Austria)',
|
|
136
|
+
nativeName: 'Deutsch (Österreich)',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
code: 'de-CH',
|
|
140
|
+
language: 'de',
|
|
141
|
+
region: 'CH',
|
|
142
|
+
name: 'German (Switzerland)',
|
|
143
|
+
nativeName: 'Deutsch (Schweiz)',
|
|
144
|
+
},
|
|
43
145
|
// Italian
|
|
44
|
-
{
|
|
146
|
+
{
|
|
147
|
+
code: 'it-IT',
|
|
148
|
+
language: 'it',
|
|
149
|
+
region: 'IT',
|
|
150
|
+
name: 'Italian (Italy)',
|
|
151
|
+
nativeName: 'Italiano (Italia)',
|
|
152
|
+
},
|
|
45
153
|
// Dutch
|
|
46
|
-
{
|
|
47
|
-
|
|
154
|
+
{
|
|
155
|
+
code: 'nl-NL',
|
|
156
|
+
language: 'nl',
|
|
157
|
+
region: 'NL',
|
|
158
|
+
name: 'Dutch (Netherlands)',
|
|
159
|
+
nativeName: 'Nederlands (Nederland)',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
code: 'nl-BE',
|
|
163
|
+
language: 'nl',
|
|
164
|
+
region: 'BE',
|
|
165
|
+
name: 'Dutch (Belgium)',
|
|
166
|
+
nativeName: 'Nederlands (België)',
|
|
167
|
+
},
|
|
48
168
|
// Nordic
|
|
49
|
-
{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
169
|
+
{
|
|
170
|
+
code: 'sv-SE',
|
|
171
|
+
language: 'sv',
|
|
172
|
+
region: 'SE',
|
|
173
|
+
name: 'Swedish (Sweden)',
|
|
174
|
+
nativeName: 'Svenska (Sverige)',
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
code: 'nb-NO',
|
|
178
|
+
language: 'nb',
|
|
179
|
+
region: 'NO',
|
|
180
|
+
name: 'Norwegian Bokmål (Norway)',
|
|
181
|
+
nativeName: 'Norsk bokmål (Norge)',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
code: 'da-DK',
|
|
185
|
+
language: 'da',
|
|
186
|
+
region: 'DK',
|
|
187
|
+
name: 'Danish (Denmark)',
|
|
188
|
+
nativeName: 'Dansk (Danmark)',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
code: 'fi-FI',
|
|
192
|
+
language: 'fi',
|
|
193
|
+
region: 'FI',
|
|
194
|
+
name: 'Finnish (Finland)',
|
|
195
|
+
nativeName: 'Suomi (Suomi)',
|
|
196
|
+
},
|
|
53
197
|
// Central & Eastern Europe
|
|
54
|
-
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
{
|
|
198
|
+
{
|
|
199
|
+
code: 'pl-PL',
|
|
200
|
+
language: 'pl',
|
|
201
|
+
region: 'PL',
|
|
202
|
+
name: 'Polish (Poland)',
|
|
203
|
+
nativeName: 'Polski (Polska)',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
code: 'cs-CZ',
|
|
207
|
+
language: 'cs',
|
|
208
|
+
region: 'CZ',
|
|
209
|
+
name: 'Czech (Czechia)',
|
|
210
|
+
nativeName: 'Čeština (Česko)',
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
code: 'sk-SK',
|
|
214
|
+
language: 'sk',
|
|
215
|
+
region: 'SK',
|
|
216
|
+
name: 'Slovak (Slovakia)',
|
|
217
|
+
nativeName: 'Slovenčina (Slovensko)',
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
code: 'hu-HU',
|
|
221
|
+
language: 'hu',
|
|
222
|
+
region: 'HU',
|
|
223
|
+
name: 'Hungarian (Hungary)',
|
|
224
|
+
nativeName: 'Magyar (Magyarország)',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
code: 'ro-RO',
|
|
228
|
+
language: 'ro',
|
|
229
|
+
region: 'RO',
|
|
230
|
+
name: 'Romanian (Romania)',
|
|
231
|
+
nativeName: 'Română (România)',
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
code: 'bg-BG',
|
|
235
|
+
language: 'bg',
|
|
236
|
+
region: 'BG',
|
|
237
|
+
name: 'Bulgarian (Bulgaria)',
|
|
238
|
+
nativeName: 'Български (България)',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
code: 'hr-HR',
|
|
242
|
+
language: 'hr',
|
|
243
|
+
region: 'HR',
|
|
244
|
+
name: 'Croatian (Croatia)',
|
|
245
|
+
nativeName: 'Hrvatski (Hrvatska)',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
code: 'sr-RS',
|
|
249
|
+
language: 'sr',
|
|
250
|
+
region: 'RS',
|
|
251
|
+
name: 'Serbian (Serbia)',
|
|
252
|
+
nativeName: 'Српски (Србија)',
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
code: 'sl-SI',
|
|
256
|
+
language: 'sl',
|
|
257
|
+
region: 'SI',
|
|
258
|
+
name: 'Slovenian (Slovenia)',
|
|
259
|
+
nativeName: 'Slovenščina (Slovenija)',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
code: 'lt-LT',
|
|
263
|
+
language: 'lt',
|
|
264
|
+
region: 'LT',
|
|
265
|
+
name: 'Lithuanian (Lithuania)',
|
|
266
|
+
nativeName: 'Lietuvių (Lietuva)',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
code: 'lv-LV',
|
|
270
|
+
language: 'lv',
|
|
271
|
+
region: 'LV',
|
|
272
|
+
name: 'Latvian (Latvia)',
|
|
273
|
+
nativeName: 'Latviešu (Latvija)',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
code: 'et-EE',
|
|
277
|
+
language: 'et',
|
|
278
|
+
region: 'EE',
|
|
279
|
+
name: 'Estonian (Estonia)',
|
|
280
|
+
nativeName: 'Eesti (Eesti)',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
code: 'uk-UA',
|
|
284
|
+
language: 'uk',
|
|
285
|
+
region: 'UA',
|
|
286
|
+
name: 'Ukrainian (Ukraine)',
|
|
287
|
+
nativeName: 'Українська (Україна)',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
code: 'ru-RU',
|
|
291
|
+
language: 'ru',
|
|
292
|
+
region: 'RU',
|
|
293
|
+
name: 'Russian (Russia)',
|
|
294
|
+
nativeName: 'Русский (Россия)',
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
code: 'el-GR',
|
|
298
|
+
language: 'el',
|
|
299
|
+
region: 'GR',
|
|
300
|
+
name: 'Greek (Greece)',
|
|
301
|
+
nativeName: 'Ελληνικά (Ελλάδα)',
|
|
302
|
+
},
|
|
69
303
|
// Turkish
|
|
70
|
-
{
|
|
304
|
+
{
|
|
305
|
+
code: 'tr-TR',
|
|
306
|
+
language: 'tr',
|
|
307
|
+
region: 'TR',
|
|
308
|
+
name: 'Turkish (Türkiye)',
|
|
309
|
+
nativeName: 'Türkçe (Türkiye)',
|
|
310
|
+
},
|
|
71
311
|
// Catalan
|
|
72
|
-
{
|
|
312
|
+
{
|
|
313
|
+
code: 'ca-ES',
|
|
314
|
+
language: 'ca',
|
|
315
|
+
region: 'ES',
|
|
316
|
+
name: 'Catalan (Spain)',
|
|
317
|
+
nativeName: 'Català (Espanya)',
|
|
318
|
+
},
|
|
73
319
|
// East, South & Southeast Asia
|
|
74
|
-
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
320
|
+
{
|
|
321
|
+
code: 'ja-JP',
|
|
322
|
+
language: 'ja',
|
|
323
|
+
region: 'JP',
|
|
324
|
+
name: 'Japanese (Japan)',
|
|
325
|
+
nativeName: '日本語 (日本)',
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
code: 'ko-KR',
|
|
329
|
+
language: 'ko',
|
|
330
|
+
region: 'KR',
|
|
331
|
+
name: 'Korean (South Korea)',
|
|
332
|
+
nativeName: '한국어 (대한민국)',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
code: 'zh-CN',
|
|
336
|
+
language: 'zh',
|
|
337
|
+
region: 'CN',
|
|
338
|
+
name: 'Chinese (Simplified, China)',
|
|
339
|
+
nativeName: '中文 (中国)',
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
code: 'zh-TW',
|
|
343
|
+
language: 'zh',
|
|
344
|
+
region: 'TW',
|
|
345
|
+
name: 'Chinese (Traditional, Taiwan)',
|
|
346
|
+
nativeName: '中文 (台灣)',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
code: 'zh-HK',
|
|
350
|
+
language: 'zh',
|
|
351
|
+
region: 'HK',
|
|
352
|
+
name: 'Chinese (Traditional, Hong Kong)',
|
|
353
|
+
nativeName: '中文 (香港)',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
code: 'hi-IN',
|
|
357
|
+
language: 'hi',
|
|
358
|
+
region: 'IN',
|
|
359
|
+
name: 'Hindi (India)',
|
|
360
|
+
nativeName: 'हिन्दी (भारत)',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
code: 'bn-BD',
|
|
364
|
+
language: 'bn',
|
|
365
|
+
region: 'BD',
|
|
366
|
+
name: 'Bengali (Bangladesh)',
|
|
367
|
+
nativeName: 'বাংলা (বাংলাদেশ)',
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
code: 'id-ID',
|
|
371
|
+
language: 'id',
|
|
372
|
+
region: 'ID',
|
|
373
|
+
name: 'Indonesian (Indonesia)',
|
|
374
|
+
nativeName: 'Bahasa Indonesia (Indonesia)',
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
code: 'ms-MY',
|
|
378
|
+
language: 'ms',
|
|
379
|
+
region: 'MY',
|
|
380
|
+
name: 'Malay (Malaysia)',
|
|
381
|
+
nativeName: 'Bahasa Melayu (Malaysia)',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
code: 'th-TH',
|
|
385
|
+
language: 'th',
|
|
386
|
+
region: 'TH',
|
|
387
|
+
name: 'Thai (Thailand)',
|
|
388
|
+
nativeName: 'ไทย (ประเทศไทย)',
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
code: 'vi-VN',
|
|
392
|
+
language: 'vi',
|
|
393
|
+
region: 'VN',
|
|
394
|
+
name: 'Vietnamese (Vietnam)',
|
|
395
|
+
nativeName: 'Tiếng Việt (Việt Nam)',
|
|
396
|
+
},
|
|
85
397
|
// Right-to-left
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
398
|
+
{
|
|
399
|
+
code: 'ar-SA',
|
|
400
|
+
language: 'ar',
|
|
401
|
+
region: 'SA',
|
|
402
|
+
name: 'Arabic (Saudi Arabia)',
|
|
403
|
+
nativeName: 'العربية (السعودية)',
|
|
404
|
+
rtl: true,
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
code: 'ar-EG',
|
|
408
|
+
language: 'ar',
|
|
409
|
+
region: 'EG',
|
|
410
|
+
name: 'Arabic (Egypt)',
|
|
411
|
+
nativeName: 'العربية (مصر)',
|
|
412
|
+
rtl: true,
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
code: 'he-IL',
|
|
416
|
+
language: 'he',
|
|
417
|
+
region: 'IL',
|
|
418
|
+
name: 'Hebrew (Israel)',
|
|
419
|
+
nativeName: 'עברית (ישראל)',
|
|
420
|
+
rtl: true,
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
code: 'fa-IR',
|
|
424
|
+
language: 'fa',
|
|
425
|
+
region: 'IR',
|
|
426
|
+
name: 'Persian (Iran)',
|
|
427
|
+
nativeName: 'فارسی (ایران)',
|
|
428
|
+
rtl: true,
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
code: 'ur-PK',
|
|
432
|
+
language: 'ur',
|
|
433
|
+
region: 'PK',
|
|
434
|
+
name: 'Urdu (Pakistan)',
|
|
435
|
+
nativeName: 'اردو (پاکستان)',
|
|
436
|
+
rtl: true,
|
|
437
|
+
},
|
|
91
438
|
];
|
|
92
439
|
/** Canonical fallback locale used when a display value cannot be resolved. */
|
|
93
440
|
export const FALLBACK_LOCALE = 'en-US';
|
|
@@ -30,9 +30,7 @@ export function normalizeProfileLinks(linksMetadata, links) {
|
|
|
30
30
|
const url = cleanUrl(entry?.url);
|
|
31
31
|
if (!url)
|
|
32
32
|
return;
|
|
33
|
-
const id = typeof entry?.id === 'string' && entry.id.trim().length > 0
|
|
34
|
-
? entry.id
|
|
35
|
-
: String(index);
|
|
33
|
+
const id = typeof entry?.id === 'string' && entry.id.trim().length > 0 ? entry.id : String(index);
|
|
36
34
|
const title = typeof entry?.title === 'string' ? entry.title : undefined;
|
|
37
35
|
const description = typeof entry?.description === 'string' ? entry.description : undefined;
|
|
38
36
|
const image = typeof entry?.image === 'string' ? entry.image : undefined;
|
|
@@ -87,7 +87,13 @@ export class RequestDeduplicator {
|
|
|
87
87
|
reject(abortReason(signal));
|
|
88
88
|
};
|
|
89
89
|
signal.addEventListener('abort', onAbort, { once: true });
|
|
90
|
-
shared.promise.then((value) => {
|
|
90
|
+
shared.promise.then((value) => {
|
|
91
|
+
signal.removeEventListener('abort', onAbort);
|
|
92
|
+
resolve(value);
|
|
93
|
+
}, (error) => {
|
|
94
|
+
signal.removeEventListener('abort', onAbort);
|
|
95
|
+
reject(error);
|
|
96
|
+
});
|
|
91
97
|
});
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
@@ -72,10 +72,10 @@ export function isValidPassword(password) {
|
|
|
72
72
|
* — script digits (`٠١٢`, `०१२`), 1082 symbols (`֍ ۞ ৳`), 180 punctuation marks
|
|
73
73
|
* (`։ ، ؛ ।`), and 9 INVISIBLE format/control characters, among them U+061C
|
|
74
74
|
* ARABIC LETTER MARK (a bidi control that can visually reorder a name) and
|
|
75
|
-
* U+180E
|
|
75
|
+
* U+180E (the Mong-script vowel separator). Without it the rejections listed above held
|
|
76
76
|
* for ASCII input only. It is the set of scripts Unicode UTS #39 marks
|
|
77
77
|
* "Recommended" for general interchange / identifiers, plus Cherokee and
|
|
78
|
-
*
|
|
78
|
+
* the Mong script, ISO 15924 (both in real modern name use). "Common" script is deliberately
|
|
79
79
|
* EXCLUDED — that is where ASCII digits and general punctuation live, and this
|
|
80
80
|
* policy excludes those; the space separators, combining marks, and apostrophe a
|
|
81
81
|
* name needs are added back explicitly. Limited-use / excluded / historic
|
|
@@ -314,15 +314,14 @@ export function sanitizeHTML(input) {
|
|
|
314
314
|
.replace(/'/g, ''');
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
|
-
* Validate
|
|
318
|
-
*
|
|
319
|
-
* This function works in environments where mongoose may not be available (e.g., client-side)
|
|
317
|
+
* Validate the legacy 24-hex id format (a format check only; it does not
|
|
318
|
+
* prove the id exists).
|
|
320
319
|
*/
|
|
321
320
|
export function isValidObjectId(id) {
|
|
322
321
|
if (typeof id !== 'string') {
|
|
323
322
|
return false;
|
|
324
323
|
}
|
|
325
|
-
//
|
|
324
|
+
// A legacy id is 24 hex characters
|
|
326
325
|
const OBJECT_ID_REGEX = /^[0-9a-fA-F]{24}$/;
|
|
327
326
|
return OBJECT_ID_REGEX.test(id);
|
|
328
327
|
}
|
|
@@ -532,7 +532,7 @@ export declare class HttpService {
|
|
|
532
532
|
* per resource.
|
|
533
533
|
* @returns Number of entries deleted
|
|
534
534
|
*/
|
|
535
|
-
invalidateCache({ keys, prefixes }: {
|
|
535
|
+
invalidateCache({ keys, prefixes, }: {
|
|
536
536
|
keys?: readonly string[];
|
|
537
537
|
prefixes?: readonly string[];
|
|
538
538
|
}): number;
|
|
@@ -103,7 +103,7 @@ export interface AccountMember {
|
|
|
103
103
|
* `childCount` reflects the number of direct children.
|
|
104
104
|
*/
|
|
105
105
|
export interface AccountNode {
|
|
106
|
-
/** The account's
|
|
106
|
+
/** The account's user id. */
|
|
107
107
|
accountId: string;
|
|
108
108
|
kind: AccountKind;
|
|
109
109
|
/** Parent account `_id`, or `null` for a root (personal) account. */
|
package/dist/types/api/apps.d.ts
CHANGED
|
@@ -255,7 +255,7 @@ export interface ApplicationUsageStats {
|
|
|
255
255
|
* `_id` as a string.
|
|
256
256
|
*/
|
|
257
257
|
export interface PublicApplication {
|
|
258
|
-
/** The application's
|
|
258
|
+
/** The application's id as a string. */
|
|
259
259
|
id: string;
|
|
260
260
|
/** Human-readable application name shown to the user. */
|
|
261
261
|
name: string;
|
|
@@ -285,14 +285,14 @@ export interface PublicApplication {
|
|
|
285
285
|
* view: an application the user has granted access to via the consent flow.
|
|
286
286
|
*
|
|
287
287
|
* Returned by `GET /auth/grants` and rendered in the user-facing "Connected
|
|
288
|
-
* apps" management surface. Keyed by `applicationId` (the application's
|
|
289
|
-
*
|
|
288
|
+
* apps" management surface. Keyed by `applicationId` (the application's own
|
|
289
|
+
* id) rather than a credential/client id, so the grant — and a subsequent
|
|
290
290
|
* `apps.connected.revoke` — survive credential
|
|
291
291
|
* rotation. This is a display shape: it carries the application's name/logo and
|
|
292
292
|
* the granted scopes, never any membership or credential material.
|
|
293
293
|
*/
|
|
294
294
|
export interface ConnectedApp {
|
|
295
|
-
/** The connected application's
|
|
295
|
+
/** The connected application's id. Use this to revoke the grant. */
|
|
296
296
|
applicationId: string;
|
|
297
297
|
/** Human-readable application name shown to the user. */
|
|
298
298
|
name: string;
|
|
@@ -16,4 +16,4 @@ export { encryptAead, decryptAead, AEAD_KEY_LENGTH, AEAD_NONCE_LENGTH } from './
|
|
|
16
16
|
export { digestIdentityPayload, signIdentityProof } from './identityProof';
|
|
17
17
|
export { deriveIdentityLinkCode } from './identityLink';
|
|
18
18
|
export { solveRegistrationPow } from './registrationPow';
|
|
19
|
-
export { canonicalize, loadCommonsIdentityBridge, signMessage, verifySignature } from '@oxy.so/protocol';
|
|
19
|
+
export { canonicalize, loadCommonsIdentityBridge, signMessage, verifySignature, } from '@oxy.so/protocol';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -24,13 +24,13 @@ export { OxyServices, OXY_API_URL, OXY_CLOUD_URL } from './OxyServices';
|
|
|
24
24
|
export type { OxyConfig, LinkedHttpClient } from './OxyServices';
|
|
25
25
|
export { OxyApiError, OxyAuthenticationError, OxyAuthenticationTimeoutError, AssetUrlResolutionError, ServiceAssetMetadataError, } from './OxyServices.errors';
|
|
26
26
|
export type { HttpMethod } from './client/context';
|
|
27
|
-
export type { RequestOptions, ResponseRequest, ResponseTransport, AuthenticatedResponseRequest, AuthRefreshReason, AuthRefreshHandler } from './HttpService';
|
|
27
|
+
export type { RequestOptions, ResponseRequest, ResponseTransport, AuthenticatedResponseRequest, AuthRefreshReason, AuthRefreshHandler, } from './HttpService';
|
|
28
28
|
export type { SessionApi, DeviceCredentialProvider, SessionValidation } from './api/session';
|
|
29
29
|
export type { AuthApi, ChallengeResponse, RegistrationRequest, ChallengeVerifyRequest, PublicKeyCheckResponse, OAuthUserInfoResponse, OAuthTokenExchangeResult, CommonsSignInHandle, CommonsSignInStatus, CommonsSignInPurpose, CommonsOAuthContext, CommonsApprovalInfo, CommonsApprovalSubjectAccount, CommonsSignInActionResult, CommonsOAuthFinalizeResult, CommonsDeliveryResult, SignInDeviceOptions, ClaimedSession, } from './api/auth';
|
|
30
30
|
export type { UsersApi, ResolveExternalUserInput, DeleteAccountProof } from './api/users';
|
|
31
31
|
export type { FollowsApi, FollowMutationResult, BulkFollowEntry, BulkFollowResult, BulkUnfollowEntry, BulkUnfollowResult, ViewerGraph, EnsureFollowTargetInput, RegisterFollowKindInput, } from './api/follows';
|
|
32
32
|
export type { PrivacyApi } from './api/privacy';
|
|
33
|
-
export type { NotificationsApi, PushTokenPlatform, RegisterPushTokenInput } from './api/notifications';
|
|
33
|
+
export type { NotificationsApi, PushTokenPlatform, RegisterPushTokenInput, } from './api/notifications';
|
|
34
34
|
export { assetUrlCacheTTL } from './api/assets';
|
|
35
35
|
export type { AssetsApi, AssetRecord, UploadedAsset, AssetLinkState, AssetUploadOptions, AssetLinkTarget, AssetDeleteResult, } from './api/assets';
|
|
36
36
|
export { buildUserDid } from './api/identity';
|
|
@@ -45,7 +45,7 @@ export type { BillingApi, SubscriptionPlan, SubscriptionStatus, SubscriptionFeat
|
|
|
45
45
|
export { REPUTATION_CACHE_PREFIX } from './api/reputation';
|
|
46
46
|
export type { ReputationApi, ReputationPage } from './api/reputation';
|
|
47
47
|
export type { CivicApi, CivicCardResult, SubmitRealLifeAttestationInput, DenyValidationResult, VouchForPersonInput, WithdrawVouchResult, IssueCredentialInput, RevokeCredentialResult, } from './api/civic';
|
|
48
|
-
export type { NodesApi, UserNodeStatus, UserNodeMode, UserNodeController, UserNodeLivenessStatus, RegisterNodeInput, RemoveNodeResult } from './api/nodes';
|
|
48
|
+
export type { NodesApi, UserNodeStatus, UserNodeMode, UserNodeController, UserNodeLivenessStatus, RegisterNodeInput, RemoveNodeResult, } from './api/nodes';
|
|
49
49
|
export { AccountNotOnDeviceError } from './api/devices';
|
|
50
50
|
export type { DevicesApi, UserDevice, SecurityInfo } from './api/devices';
|
|
51
51
|
export type { TopicsApi, TopicListOptions } from './api/topics';
|
|
@@ -53,7 +53,7 @@ export { OxyAppDataIdentifierError } from './api/appData';
|
|
|
53
53
|
export type { AppDataApi } from './api/appData';
|
|
54
54
|
export type { ContactsApi, ContactDiscoveryMatch, ContactDiscoveryResponse } from './api/contacts';
|
|
55
55
|
export { getCommonsApprovalBlockingReason, parseCommonsApprovalExpiresAt, } from './utils/commonsApproval';
|
|
56
|
-
export { selectCommonsDelivery, pushTargetsFromDelivery, commonsDeliveryPlatform } from './utils/commonsDelivery';
|
|
56
|
+
export { selectCommonsDelivery, pushTargetsFromDelivery, commonsDeliveryPlatform, } from './utils/commonsDelivery';
|
|
57
57
|
export type { CommonsDeliveryFacts, CommonsDeliveryPlatform, CommonsDeliveryRoute, } from './utils/commonsDelivery';
|
|
58
58
|
export { getNormalizedUserId, normalizeUserIdentity, normalizeUserIdentityOrNull, } from './utils/userIdentity';
|
|
59
59
|
export { getCanonicalUserHandle, getNormalizedUserHandle, } from './utils/userHandle';
|