@accelbyte/sdk 2.4.2 → 3.0.3
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/cjs/node/index.cjs +7 -111
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.browser.js +8 -111
- package/dist/es/browser/index.browser.js.map +1 -1
- package/dist/es/node/index.node.js +8 -111
- package/dist/es/node/index.node.js.map +1 -1
- package/dist/index.d.ts +7 -23
- package/package.json +1 -1
- package/legacy_changelog.md +0 -425
package/legacy_changelog.md
DELETED
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
### 2.0.3 - 2023-08-15
|
|
2
|
-
|
|
3
|
-
- Allow customizing interceptors of the SDK
|
|
4
|
-
|
|
5
|
-
### 2.0.2 - 2023-05-22
|
|
6
|
-
|
|
7
|
-
- Add TokenWithDeviceCookieResponseV3 on tsconfig path and rollup config alias entries
|
|
8
|
-
- Bring back refreshToken on AccelbyteSDK assembly
|
|
9
|
-
|
|
10
|
-
### 2.0.1 - 2023-05-02
|
|
11
|
-
|
|
12
|
-
- Bump from script
|
|
13
|
-
|
|
14
|
-
### 2.0.0 - 2023-04-27
|
|
15
|
-
|
|
16
|
-
- Bump from script
|
|
17
|
-
|
|
18
|
-
### 2.0.0-experimental.0 - 2023-04-27
|
|
19
|
-
|
|
20
|
-
- Bump from script
|
|
21
|
-
|
|
22
|
-
### 1.2.4-experimental.0 - 2023-04-27
|
|
23
|
-
|
|
24
|
-
- Bump from script
|
|
25
|
-
|
|
26
|
-
### 1.2.3 - 2023-04-26
|
|
27
|
-
|
|
28
|
-
- Bump axios
|
|
29
|
-
|
|
30
|
-
### 1.2.2 - 2023-04-18
|
|
31
|
-
|
|
32
|
-
- Fix build for Yarn berry
|
|
33
|
-
- Fixed examples
|
|
34
|
-
- Removed sdk assembly allowing cache attribute
|
|
35
|
-
|
|
36
|
-
### 1.2.1 - 2023-04-17
|
|
37
|
-
|
|
38
|
-
- Improve DecodeError message
|
|
39
|
-
|
|
40
|
-
### 1.2.0 - 2023-04-12
|
|
41
|
-
|
|
42
|
-
- Modularize SDK into individual service sdks
|
|
43
|
-
|
|
44
|
-
### 1.1.3 - 2023-04-06
|
|
45
|
-
|
|
46
|
-
- Add PaymentConfigData to the list of configs
|
|
47
|
-
|
|
48
|
-
### 1.1.2 - 2023-04-05
|
|
49
|
-
|
|
50
|
-
- Set `scope`, `refresh_expires_in`, and `refresh_token` in `TokenResponsesV3` as nullish
|
|
51
|
-
|
|
52
|
-
### 1.1.1 - 2023-03-31
|
|
53
|
-
|
|
54
|
-
- Updated SDK to latest swaggers
|
|
55
|
-
|
|
56
|
-
### 1.1.0 - 2023-03-28
|
|
57
|
-
|
|
58
|
-
- Change `IamHelper.currentUserCanOrder` to `IamHelper.isUserBanned`
|
|
59
|
-
|
|
60
|
-
### 1.0.4 - 2023-03-16
|
|
61
|
-
|
|
62
|
-
- Fix SDK types and build not being proper for Remix build
|
|
63
|
-
- Add namespace and clientId on twitch game config
|
|
64
|
-
|
|
65
|
-
### 1.0.3 - 2023-03-08
|
|
66
|
-
|
|
67
|
-
- Fix SDK Build is failing with disabling e2e test from test script
|
|
68
|
-
|
|
69
|
-
### 1.0.2 - 2023-03-07
|
|
70
|
-
|
|
71
|
-
- Set `price` in `RegionDataItem` as nullish
|
|
72
|
-
|
|
73
|
-
### 1.0.1 - 2023-03-05
|
|
74
|
-
|
|
75
|
-
- Updated method names using natural language
|
|
76
|
-
|
|
77
|
-
### 1.0.0 - 2023-03-03
|
|
78
|
-
|
|
79
|
-
- Initial 1.0.0 release
|
|
80
|
-
|
|
81
|
-
### 0.2.0-beta.26 - 2023-03-03
|
|
82
|
-
|
|
83
|
-
- add new endpoint `updateUserProfile` endpoint to `UserProfile` public web sdk
|
|
84
|
-
|
|
85
|
-
### 0.2.0-beta.25 - 2023-02-28
|
|
86
|
-
|
|
87
|
-
- Updated SDK with latest swaggers
|
|
88
|
-
|
|
89
|
-
### 0.2.0-beta.24 - 2023-02-27
|
|
90
|
-
|
|
91
|
-
- Hide Web SDK log showing config
|
|
92
|
-
|
|
93
|
-
### 0.2.0-beta.23 - 2023-02-24
|
|
94
|
-
|
|
95
|
-
- Add url in Entitlement comments for the docgen
|
|
96
|
-
|
|
97
|
-
### 0.2.0-beta.21 - 2023-02-24
|
|
98
|
-
|
|
99
|
-
- Set `oldEmailAdress` in `UserResponseV3` as nullish
|
|
100
|
-
|
|
101
|
-
### 0.2.0-beta.20 - 2023-02-24
|
|
102
|
-
|
|
103
|
-
- Fix SDK not emitting CommonJS bundle as `.cjs` extension
|
|
104
|
-
|
|
105
|
-
### 0.2.0-beta.19 - 2023-02-24
|
|
106
|
-
|
|
107
|
-
- Fix Widgets emitting invalid `validator` URL in the bundle
|
|
108
|
-
|
|
109
|
-
### 0.2.0-beta.18 - 2023-02-23
|
|
110
|
-
|
|
111
|
-
- Fix diagnostics not being called and throwing unexpected error
|
|
112
|
-
|
|
113
|
-
### 0.2.0-beta.17 - 2023-02-23
|
|
114
|
-
|
|
115
|
-
- Add `.js` extensions to the validator and lodash imports
|
|
116
|
-
|
|
117
|
-
### 0.2.0-beta.16 - 2023-02-22
|
|
118
|
-
|
|
119
|
-
- Add Runtime Checking for Service Versions
|
|
120
|
-
|
|
121
|
-
### 0.2.0-beta.13 - 2023-02-22
|
|
122
|
-
|
|
123
|
-
- Enable tree-shaking for @accelbyte/sdk
|
|
124
|
-
- Change TwoFA to TwoFAApi and InputValidationApi to InputValidationsApi
|
|
125
|
-
- Add "sideEffects": false in package.json
|
|
126
|
-
|
|
127
|
-
### 0.2.0-beta.10 - 2023-02-21
|
|
128
|
-
|
|
129
|
-
- Fix build to 5a0f0c3
|
|
130
|
-
|
|
131
|
-
### 0.2.0-beta.6 - 2023-02-20
|
|
132
|
-
|
|
133
|
-
- Add DesktopChecker to the entry index
|
|
134
|
-
|
|
135
|
-
### 0.2.0-beta.5 - 2023-02-19
|
|
136
|
-
|
|
137
|
-
- Updated documentation
|
|
138
|
-
|
|
139
|
-
### 0.2.0-beta.4 - 2023-02-17
|
|
140
|
-
|
|
141
|
-
- Updated comments replacing all markups with markdowns
|
|
142
|
-
|
|
143
|
-
### 0.2.0-beta.4 - 2023-02-16
|
|
144
|
-
|
|
145
|
-
- Updated Readme
|
|
146
|
-
|
|
147
|
-
### 0.2.0-beta.2 - 2023-02-16
|
|
148
|
-
|
|
149
|
-
- Further refactor SDK to use `interface` to prevent auto-expansion of types in Visual Studio Code
|
|
150
|
-
|
|
151
|
-
### 0.2.0-beta.1 - 2023-02-15
|
|
152
|
-
|
|
153
|
-
- Release Web SDK as a Beta Version
|
|
154
|
-
|
|
155
|
-
### 0.1.1-alpha.63 - 2023-02-15
|
|
156
|
-
|
|
157
|
-
- Update codegen to emit `interface` instead of `type` when inferring Zod type
|
|
158
|
-
- Move twitch drop configs fetching logic to SdkWidget
|
|
159
|
-
|
|
160
|
-
### 0.1.1-alpha.62 - 2023-02-08
|
|
161
|
-
|
|
162
|
-
- Allow simplification when passing configs to widgetOptions in SdkWidget
|
|
163
|
-
|
|
164
|
-
### 0.1.1-alpha.61 - 2023-02-07
|
|
165
|
-
|
|
166
|
-
- OS-8668 fixing check EligibleUser dateOfBirth is now could be undefined
|
|
167
|
-
|
|
168
|
-
### 0.1.1-alpha.60 - 2023-02-06
|
|
169
|
-
|
|
170
|
-
- Fix build for Windows
|
|
171
|
-
- Create missing config types and move configs from private package
|
|
172
|
-
|
|
173
|
-
### 0.1.1-alpha.59 - 2023-02-01
|
|
174
|
-
|
|
175
|
-
- Move example SDK and Widgets usages to the SDK and Widgets folder
|
|
176
|
-
- Expose passing data config from SDK to Widget
|
|
177
|
-
|
|
178
|
-
### 0.1.1-alpha.58 - 2023-01-30
|
|
179
|
-
|
|
180
|
-
- Bump dependencies versions for security patches
|
|
181
|
-
|
|
182
|
-
### 0.1.1-alpha.57 - 2023-01-24
|
|
183
|
-
|
|
184
|
-
- Don't use ESM-only build yet for validator
|
|
185
|
-
|
|
186
|
-
### 0.1.1-alpha.56 - 2023-01-23
|
|
187
|
-
|
|
188
|
-
- Allow building SDK without requiring validator to be built, fix browser bundle, bump dependencies
|
|
189
|
-
|
|
190
|
-
### 0.1.1-alpha.55 - 2023-01-23
|
|
191
|
-
|
|
192
|
-
- Fix generateLoginURL not working in Node.js because getRandomValues is not polyfilled
|
|
193
|
-
|
|
194
|
-
### 0.1.1-alpha.54 - 2023-01-12
|
|
195
|
-
|
|
196
|
-
- Add `brandName` to DiscoveryConfigData
|
|
197
|
-
|
|
198
|
-
### 0.1.1-alpha.53 - 2023-01-11
|
|
199
|
-
|
|
200
|
-
- Fixed od-shared dependency error
|
|
201
|
-
|
|
202
|
-
### 0.1.1-alpha.51 - 2023-01-06
|
|
203
|
-
|
|
204
|
-
- Register feature flag for Login Web placed under Player Portal section
|
|
205
|
-
- Add 3rd-party login config to hide/show it as the login option
|
|
206
|
-
- Deprecate justice-js-common-utils
|
|
207
|
-
|
|
208
|
-
### 0.1.1-alpha.50 - 2023-01-04
|
|
209
|
-
|
|
210
|
-
- Fix build error
|
|
211
|
-
|
|
212
|
-
### 0.1.1-alpha.49 - 2023-01-03
|
|
213
|
-
|
|
214
|
-
- Update dependency versions
|
|
215
|
-
|
|
216
|
-
### 0.1.1-alpha.48 - 2022-12-27
|
|
217
|
-
|
|
218
|
-
- Fix user is unable to activate 2fa with email due to missing `content-type: application/x-www-form-urlencoded`
|
|
219
|
-
|
|
220
|
-
### 0.1.1-alpha.47 - 2022-12-22
|
|
221
|
-
|
|
222
|
-
- Fix wrong fields in package.json being deleted
|
|
223
|
-
|
|
224
|
-
### 0.1.1-alpha.46 - 2022-12-22
|
|
225
|
-
|
|
226
|
-
- Make dependencies exist in SDK when publishing
|
|
227
|
-
|
|
228
|
-
### 0.1.1-alpha.45 - 2022-12-19
|
|
229
|
-
|
|
230
|
-
- Update typings of IResponseError
|
|
231
|
-
- Update conditional exports to support both Node and Browser environments
|
|
232
|
-
|
|
233
|
-
### 0.1.1-alpha.44 - 2022-12-09
|
|
234
|
-
|
|
235
|
-
- Make CJS to always be built with browser: false and ESM with browser: true
|
|
236
|
-
|
|
237
|
-
### 0.1.1-alpha.43 - 2022-12-09
|
|
238
|
-
|
|
239
|
-
- Fix missing types in package.json
|
|
240
|
-
|
|
241
|
-
### 0.1.1-alpha.42 - 2022-12-08
|
|
242
|
-
|
|
243
|
-
- Remove peer dependencies
|
|
244
|
-
- [Editor] Global Styles are automatically applied to all areas of Player Portal V2, Launcher V2 and other apps
|
|
245
|
-
|
|
246
|
-
### 0.1.1-alpha.40 - 2022-12-01
|
|
247
|
-
|
|
248
|
-
- Fix build and publish process (2)
|
|
249
|
-
|
|
250
|
-
### 0.1.1-alpha.39 - 2022-12-01
|
|
251
|
-
|
|
252
|
-
- [Dev][PP] Add account linking with one time code page
|
|
253
|
-
- Fix build and publish process
|
|
254
|
-
|
|
255
|
-
### 0.1.1-alpha.38 - 2022-11-23
|
|
256
|
-
|
|
257
|
-
- Prettify config files
|
|
258
|
-
- [Dev][Legal app] Odin legal app not displaying list of game namespace legal document
|
|
259
|
-
|
|
260
|
-
### 0.1.1-alpha-37 - 2022-11-17
|
|
261
|
-
|
|
262
|
-
- Fix `currentUserCanOrder` function returning `false` when `user` is `null`
|
|
263
|
-
|
|
264
|
-
### 0.1.1-alpha-36 - 2022-11-16
|
|
265
|
-
|
|
266
|
-
- [DEV][STAGE][Login App][Registration] Published legal is not displayed on registration page if selected country doesn't have legal
|
|
267
|
-
- Add vitest and tests to some of the API classes and utilities
|
|
268
|
-
|
|
269
|
-
### 0.1.1-alpha-35 - 2022-11-15
|
|
270
|
-
|
|
271
|
-
- [Dev][PP][Launcher] App will crash when try to access upgrade headless account or Link to New Account registration form
|
|
272
|
-
- Remove duplicate "exchangeAuthorizationCode" and "getFormattedValidation" methods and add `IamHelper.getAuthorizationCodeParams()`
|
|
273
|
-
|
|
274
|
-
### 0.1.1-alpha-34 - 2022-11-10
|
|
275
|
-
|
|
276
|
-
- [WebSDK] Adjust cache overrides for certain API that need `cache: false`
|
|
277
|
-
|
|
278
|
-
### 0.1.1-alpha-33 - 2022-11-07
|
|
279
|
-
|
|
280
|
-
- [WebSDK] WebSDK accepts cache argument at initialization
|
|
281
|
-
|
|
282
|
-
### 0.1.1-alpha-32 - 2022-11-02
|
|
283
|
-
|
|
284
|
-
- Adding 2FA email method at password and security menu
|
|
285
|
-
- Adding 2FA email method at 2FA verification page
|
|
286
|
-
|
|
287
|
-
### 0.1.1-alpha-31 - 2022-10-30
|
|
288
|
-
|
|
289
|
-
- Removes isDesktopOption
|
|
290
|
-
- Renames AccelbyteSDK apis from camelCase to TitleCase
|
|
291
|
-
- Removes refreshToken from SDK Options
|
|
292
|
-
|
|
293
|
-
### 0.1.1-alpha-30 - 2022-10-13
|
|
294
|
-
|
|
295
|
-
- [Dev][PP][Launcher] Validate IAM inputs using regex returned from backend
|
|
296
|
-
|
|
297
|
-
### 0.1.1-alpha-29 - 2022-10-11
|
|
298
|
-
|
|
299
|
-
- [Dev][PP][Launcher] Update `justice-js-common-utils` to improve `generatePattern` logic in `InputValidationHelper`
|
|
300
|
-
|
|
301
|
-
### 0.1.1-alpha-28 - 2022-10-07
|
|
302
|
-
|
|
303
|
-
- [Dev][PP][Launcher] Update `justice-js-common-utils` to improve `generatePattern` logic in `InputValidationHelper`
|
|
304
|
-
|
|
305
|
-
### 0.1.1-alpha.27 - 2022-10-05
|
|
306
|
-
|
|
307
|
-
- Publish Web SDK
|
|
308
|
-
|
|
309
|
-
### 0.1.1-alpha.26 - 2022-10-05
|
|
310
|
-
|
|
311
|
-
- [Dev][PP][Launcher][My Profile] Change email address stay at the same page after input valid verification code & new email address
|
|
312
|
-
- [Dev][PP][Launcher] User must click accept button on legal pop up twice for closing it
|
|
313
|
-
|
|
314
|
-
### 0.1.1-alpha.25 - 2022-09-30
|
|
315
|
-
|
|
316
|
-
- [Dev][PP][Launcher] Update `justice-js-common-utils` to improve `generatePattern` logic in `InputValidationHelper`
|
|
317
|
-
|
|
318
|
-
### 0.1.1-alpha.24 - 2022-09-29
|
|
319
|
-
|
|
320
|
-
- fix list of linked account not changed after unlink account, set the cache false for getUserDistinctLinkedPlatform
|
|
321
|
-
|
|
322
|
-
### 0.1.1-alpha.23 - 2022-09-27
|
|
323
|
-
|
|
324
|
-
- Split WebSDK to Admin and Public, Introduce Cache in WebSDK
|
|
325
|
-
- [Dev][PP][My Account] Save Changes Button Shown as Reload Upon Finishing Register New Account Through Link New Account
|
|
326
|
-
|
|
327
|
-
### 0.1.1-alpha.22 - 2022-09-22
|
|
328
|
-
|
|
329
|
-
- [STG][PP][Upgrade Account] There is no error message while inputting existing email.
|
|
330
|
-
|
|
331
|
-
### 0.1.1-alpha.21 - 2022-09-19
|
|
332
|
-
|
|
333
|
-
- remove patches containing language patterns, WalletInfo definition, and OrderInfo definition
|
|
334
|
-
- [WebSDK] Add Cache in WebSDK
|
|
335
|
-
- [Editor][Improvement] Move the Social Links Configuration to General Settings
|
|
336
|
-
|
|
337
|
-
### 0.1.1-alpha.20 - 2022-09-16
|
|
338
|
-
|
|
339
|
-
- Ecommerce AppState Refactor
|
|
340
|
-
- Update Web SDK to the latest
|
|
341
|
-
|
|
342
|
-
### 0.1.1-alpha.19 - 2022-09-13
|
|
343
|
-
|
|
344
|
-
- [Dev][WebSDK] Address warnings when building od-web-sdk
|
|
345
|
-
|
|
346
|
-
### 0.1.1-alpha.18 - 2022-09-14
|
|
347
|
-
|
|
348
|
-
- [Dev][PP] User stuck on legal popup loading screen after successfully upgrade headless account
|
|
349
|
-
|
|
350
|
-
### 0.1.1-alpha.17 - 2022-09-07
|
|
351
|
-
|
|
352
|
-
- [Dev][PP][Launcher] Fix always get 409 on upgrading headless account
|
|
353
|
-
|
|
354
|
-
### 0.1.1-alpha.16 - 2022-09-07
|
|
355
|
-
|
|
356
|
-
- [Editor][Config Service] Ensure that all featureFlags are migrated to ppFeatureFlags/launcherFeatureFlags, and move experimental flags to discovery
|
|
357
|
-
|
|
358
|
-
### 0.1.1-alpha.15 - 2022-09-01
|
|
359
|
-
|
|
360
|
-
- [DEV][PP][Feedback] show owned information of the item contained in option box (add new entitlement api)
|
|
361
|
-
|
|
362
|
-
### 0.1.1-alpha.14 - 2022-08-25
|
|
363
|
-
|
|
364
|
-
- [PP][Account Linking] There is no success message when user successfully link their account
|
|
365
|
-
|
|
366
|
-
### 0.1.1-alpha.13 - 2022-08-24
|
|
367
|
-
|
|
368
|
-
- [PP][Stores][OPTIONBOX] Implement store list page
|
|
369
|
-
- [PP][Stores][OPTIONBOX] Implement detail optionbox page
|
|
370
|
-
- [PP][Stores][OPTIONBOX] Claim item inside option
|
|
371
|
-
|
|
372
|
-
### 0.1.1-alpha.12 - 2022-08-22
|
|
373
|
-
|
|
374
|
-
- [Dev][PP][Launcher] Add IAM validation for email in upgrade headless
|
|
375
|
-
- [Dev][PP][Launcher] Add IAM validation for email in change email and link 3rd party to a new account
|
|
376
|
-
|
|
377
|
-
### 0.1.1-alpha.11 - 2022-08-19
|
|
378
|
-
|
|
379
|
-
- Move account business logic to WebSdk
|
|
380
|
-
|
|
381
|
-
### 0.1.1-alpha.10 - 2022-08-15
|
|
382
|
-
|
|
383
|
-
- [Dev][PP][Launcher] Legal checklist missing on 3rd party new account registration page
|
|
384
|
-
|
|
385
|
-
### 0.1.1-alpha.9 - 2022-08-12
|
|
386
|
-
|
|
387
|
-
- [Dev][PP][Launcher] After purchase game, Buy Now button not changes into Play button or Go to Library button
|
|
388
|
-
- [WebSDK] Refactor IAM business logic to the Web SDK
|
|
389
|
-
|
|
390
|
-
### 0.1.1-alpha.8 - 2022-08-09
|
|
391
|
-
|
|
392
|
-
- Break getUnsignedPolicies function into multiple methods
|
|
393
|
-
|
|
394
|
-
### 0.1.1-alpha.7 - 2022-08-05
|
|
395
|
-
|
|
396
|
-
- Simplify legal service business logic flow and move to Web SDK
|
|
397
|
-
|
|
398
|
-
### 0.1.1-alpha.6 - 2022-08-04
|
|
399
|
-
|
|
400
|
-
- [Dev][Player Portal] Add a redirection page for user verification through link
|
|
401
|
-
- Move out login flow logic out to Web SDK
|
|
402
|
-
|
|
403
|
-
### 0.1.1-alpha.5 - 2022-07-29
|
|
404
|
-
|
|
405
|
-
- [Editor][PP][Launcher] Migrate Editor, PP and Launcher to the latest Config-Service endpoints
|
|
406
|
-
|
|
407
|
-
### 0.1.1-alpha.4 - 2022-07-27
|
|
408
|
-
|
|
409
|
-
- Update the typings for `config.data` for Odin Config Web SDK
|
|
410
|
-
- [Editor] App Id use dropdown select
|
|
411
|
-
|
|
412
|
-
### 0.1.1-alpha.3 - 2022-07-26
|
|
413
|
-
|
|
414
|
-
- [WebSDK] Web SDK is updated with new config-service endpoints
|
|
415
|
-
|
|
416
|
-
### 0.1.1-alpha.2 - 2022-07-21
|
|
417
|
-
|
|
418
|
-
- Apply Alternative themes
|
|
419
|
-
- [Editor] Handle user access scenario
|
|
420
|
-
|
|
421
|
-
### 0.1.1-alpha.1 - 2022-07-14
|
|
422
|
-
|
|
423
|
-
- compare patches with latest swaggers
|
|
424
|
-
- [Technical] Audit and Remove unused NPM dependencies
|
|
425
|
-
- [Technical] Clean up unused sdk-web-test directory
|