@steamsets/client-ts 0.6.0 → 0.7.1

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.
Files changed (36) hide show
  1. package/README.md +71 -50
  2. package/docs/sdks/account/README.md +46 -138
  3. package/docs/sdks/app/README.md +4 -12
  4. package/docs/sdks/connection/README.md +8 -24
  5. package/docs/sdks/data/README.md +16 -48
  6. package/docs/sdks/liveness/README.md +2 -6
  7. package/docs/sdks/location/README.md +2 -6
  8. package/docs/sdks/public/README.md +14 -42
  9. package/docs/sdks/session/README.md +8 -24
  10. package/docs/sdks/settings/README.md +16 -48
  11. package/funcs/accountAccountV1SessionCreate.js +1 -1
  12. package/funcs/accountAccountV1SessionCreate.js.map +1 -1
  13. package/funcs/accountAccountV1SettingsSendEmailVerification.js +1 -1
  14. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  15. package/funcs/sessionAccountV1SessionCreate.js +1 -1
  16. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  17. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +1 -1
  18. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  19. package/lib/config.d.ts +3 -3
  20. package/lib/config.js +3 -3
  21. package/models/components/security.d.ts +2 -2
  22. package/models/components/security.d.ts.map +1 -1
  23. package/models/components/security.js +2 -2
  24. package/models/components/security.js.map +1 -1
  25. package/models/components/v1appdetail.d.ts +5 -0
  26. package/models/components/v1appdetail.d.ts.map +1 -1
  27. package/models/components/v1appdetail.js +2 -0
  28. package/models/components/v1appdetail.js.map +1 -1
  29. package/package.json +2 -2
  30. package/src/funcs/accountAccountV1SessionCreate.ts +1 -1
  31. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +1 -1
  32. package/src/funcs/sessionAccountV1SessionCreate.ts +1 -1
  33. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +1 -1
  34. package/src/lib/config.ts +3 -3
  35. package/src/models/components/security.ts +4 -4
  36. package/src/models/components/v1appdetail.ts +7 -0
@@ -40,9 +40,7 @@ Connect a new Social Provider
40
40
  ```typescript
41
41
  import { SteamSets } from "@steamsets/client-ts";
42
42
 
43
- const steamSets = new SteamSets({
44
- session: "<YOUR_BEARER_TOKEN_HERE>",
45
- });
43
+ const steamSets = new SteamSets();
46
44
 
47
45
  async function run() {
48
46
  const result = await steamSets.account.accountV1ConnectionConnect({
@@ -67,9 +65,7 @@ import { accountAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs/ac
67
65
 
68
66
  // Use `SteamSetsCore` for best tree-shaking performance.
69
67
  // You can create one instance of it to use across an application.
70
- const steamSets = new SteamSetsCore({
71
- session: "<YOUR_BEARER_TOKEN_HERE>",
72
- });
68
+ const steamSets = new SteamSetsCore();
73
69
 
74
70
  async function run() {
75
71
  const res = await accountAccountV1ConnectionConnect(steamSets, {
@@ -120,9 +116,7 @@ Create a new session for non logged in users
120
116
  ```typescript
121
117
  import { SteamSets } from "@steamsets/client-ts";
122
118
 
123
- const steamSets = new SteamSets({
124
- session: "<YOUR_BEARER_TOKEN_HERE>",
125
- });
119
+ const steamSets = new SteamSets();
126
120
 
127
121
  async function run() {
128
122
  const result = await steamSets.account.accountV1SessionCreate({});
@@ -144,9 +138,7 @@ import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accoun
144
138
 
145
139
  // Use `SteamSetsCore` for best tree-shaking performance.
146
140
  // You can create one instance of it to use across an application.
147
- const steamSets = new SteamSetsCore({
148
- session: "<YOUR_BEARER_TOKEN_HERE>",
149
- });
141
+ const steamSets = new SteamSetsCore();
150
142
 
151
143
  async function run() {
152
144
  const res = await accountAccountV1SessionCreate(steamSets, {});
@@ -194,9 +186,7 @@ Remove a connection
194
186
  ```typescript
195
187
  import { SteamSets } from "@steamsets/client-ts";
196
188
 
197
- const steamSets = new SteamSets({
198
- session: "<YOUR_BEARER_TOKEN_HERE>",
199
- });
189
+ const steamSets = new SteamSets();
200
190
 
201
191
  async function run() {
202
192
  const result = await steamSets.account.accountV1ConnectionDeleteConnection({
@@ -220,9 +210,7 @@ import { accountAccountV1ConnectionDeleteConnection } from "@steamsets/client-ts
220
210
 
221
211
  // Use `SteamSetsCore` for best tree-shaking performance.
222
212
  // You can create one instance of it to use across an application.
223
- const steamSets = new SteamSetsCore({
224
- session: "<YOUR_BEARER_TOKEN_HERE>",
225
- });
213
+ const steamSets = new SteamSetsCore();
226
214
 
227
215
  async function run() {
228
216
  const res = await accountAccountV1ConnectionDeleteConnection(steamSets, {
@@ -272,9 +260,7 @@ Delete mulitple imagest
272
260
  ```typescript
273
261
  import { SteamSets } from "@steamsets/client-ts";
274
262
 
275
- const steamSets = new SteamSets({
276
- session: "<YOUR_BEARER_TOKEN_HERE>",
277
- });
263
+ const steamSets = new SteamSets();
278
264
 
279
265
  async function run() {
280
266
  const result = await steamSets.account.accountV1SettingsDeleteImages({
@@ -300,9 +286,7 @@ import { accountAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs
300
286
 
301
287
  // Use `SteamSetsCore` for best tree-shaking performance.
302
288
  // You can create one instance of it to use across an application.
303
- const steamSets = new SteamSetsCore({
304
- session: "<YOUR_BEARER_TOKEN_HERE>",
305
- });
289
+ const steamSets = new SteamSetsCore();
306
290
 
307
291
  async function run() {
308
292
  const res = await accountAccountV1SettingsDeleteImages(steamSets, {
@@ -354,9 +338,7 @@ Deletes a session, can also be used to logout
354
338
  ```typescript
355
339
  import { SteamSets } from "@steamsets/client-ts";
356
340
 
357
- const steamSets = new SteamSets({
358
- session: "<YOUR_BEARER_TOKEN_HERE>",
359
- });
341
+ const steamSets = new SteamSets();
360
342
 
361
343
  async function run() {
362
344
  const result = await steamSets.account.accountV1SessionDelete({
@@ -380,9 +362,7 @@ import { accountAccountV1SessionDelete } from "@steamsets/client-ts/funcs/accoun
380
362
 
381
363
  // Use `SteamSetsCore` for best tree-shaking performance.
382
364
  // You can create one instance of it to use across an application.
383
- const steamSets = new SteamSetsCore({
384
- session: "<YOUR_BEARER_TOKEN_HERE>",
385
- });
365
+ const steamSets = new SteamSetsCore();
386
366
 
387
367
  async function run() {
388
368
  const res = await accountAccountV1SessionDelete(steamSets, {
@@ -432,9 +412,7 @@ Generate a new API key for the account
432
412
  ```typescript
433
413
  import { SteamSets } from "@steamsets/client-ts";
434
414
 
435
- const steamSets = new SteamSets({
436
- session: "<YOUR_BEARER_TOKEN_HERE>",
437
- });
415
+ const steamSets = new SteamSets();
438
416
 
439
417
  async function run() {
440
418
  const result = await steamSets.account.accountV1SettingsGenerateApiKey();
@@ -456,9 +434,7 @@ import { accountAccountV1SettingsGenerateApiKey } from "@steamsets/client-ts/fun
456
434
 
457
435
  // Use `SteamSetsCore` for best tree-shaking performance.
458
436
  // You can create one instance of it to use across an application.
459
- const steamSets = new SteamSetsCore({
460
- session: "<YOUR_BEARER_TOKEN_HERE>",
461
- });
437
+ const steamSets = new SteamSetsCore();
462
438
 
463
439
  async function run() {
464
440
  const res = await accountAccountV1SettingsGenerateApiKey(steamSets);
@@ -505,9 +481,7 @@ Get Account Apps
505
481
  ```typescript
506
482
  import { SteamSets } from "@steamsets/client-ts";
507
483
 
508
- const steamSets = new SteamSets({
509
- session: "<YOUR_BEARER_TOKEN_HERE>",
510
- });
484
+ const steamSets = new SteamSets();
511
485
 
512
486
  async function run() {
513
487
  const result = await steamSets.account.accountV1GetApps({
@@ -531,9 +505,7 @@ import { accountAccountV1GetApps } from "@steamsets/client-ts/funcs/accountAccou
531
505
 
532
506
  // Use `SteamSetsCore` for best tree-shaking performance.
533
507
  // You can create one instance of it to use across an application.
534
- const steamSets = new SteamSetsCore({
535
- session: "<YOUR_BEARER_TOKEN_HERE>",
536
- });
508
+ const steamSets = new SteamSetsCore();
537
509
 
538
510
  async function run() {
539
511
  const res = await accountAccountV1GetApps(steamSets, {
@@ -583,9 +555,7 @@ Get Account Badges
583
555
  ```typescript
584
556
  import { SteamSets } from "@steamsets/client-ts";
585
557
 
586
- const steamSets = new SteamSets({
587
- session: "<YOUR_BEARER_TOKEN_HERE>",
588
- });
558
+ const steamSets = new SteamSets();
589
559
 
590
560
  async function run() {
591
561
  const result = await steamSets.account.accountV1GetBadges({
@@ -609,9 +579,7 @@ import { accountAccountV1GetBadges } from "@steamsets/client-ts/funcs/accountAcc
609
579
 
610
580
  // Use `SteamSetsCore` for best tree-shaking performance.
611
581
  // You can create one instance of it to use across an application.
612
- const steamSets = new SteamSetsCore({
613
- session: "<YOUR_BEARER_TOKEN_HERE>",
614
- });
582
+ const steamSets = new SteamSetsCore();
615
583
 
616
584
  async function run() {
617
585
  const res = await accountAccountV1GetBadges(steamSets, {
@@ -661,9 +629,7 @@ Get Account DataPoints
661
629
  ```typescript
662
630
  import { SteamSets } from "@steamsets/client-ts";
663
631
 
664
- const steamSets = new SteamSets({
665
- session: "<YOUR_BEARER_TOKEN_HERE>",
666
- });
632
+ const steamSets = new SteamSets();
667
633
 
668
634
  async function run() {
669
635
  const result = await steamSets.account.accountV1GetDataPoints({
@@ -687,9 +653,7 @@ import { accountAccountV1GetDataPoints } from "@steamsets/client-ts/funcs/accoun
687
653
 
688
654
  // Use `SteamSetsCore` for best tree-shaking performance.
689
655
  // You can create one instance of it to use across an application.
690
- const steamSets = new SteamSetsCore({
691
- session: "<YOUR_BEARER_TOKEN_HERE>",
692
- });
656
+ const steamSets = new SteamSetsCore();
693
657
 
694
658
  async function run() {
695
659
  const res = await accountAccountV1GetDataPoints(steamSets, {
@@ -739,9 +703,7 @@ Get Account Friends
739
703
  ```typescript
740
704
  import { SteamSets } from "@steamsets/client-ts";
741
705
 
742
- const steamSets = new SteamSets({
743
- session: "<YOUR_BEARER_TOKEN_HERE>",
744
- });
706
+ const steamSets = new SteamSets();
745
707
 
746
708
  async function run() {
747
709
  const result = await steamSets.account.accountV1GetFriends({
@@ -765,9 +727,7 @@ import { accountAccountV1GetFriends } from "@steamsets/client-ts/funcs/accountAc
765
727
 
766
728
  // Use `SteamSetsCore` for best tree-shaking performance.
767
729
  // You can create one instance of it to use across an application.
768
- const steamSets = new SteamSetsCore({
769
- session: "<YOUR_BEARER_TOKEN_HERE>",
770
- });
730
+ const steamSets = new SteamSetsCore();
771
731
 
772
732
  async function run() {
773
733
  const res = await accountAccountV1GetFriends(steamSets, {
@@ -817,9 +777,7 @@ Get Account Info
817
777
  ```typescript
818
778
  import { SteamSets } from "@steamsets/client-ts";
819
779
 
820
- const steamSets = new SteamSets({
821
- session: "<YOUR_BEARER_TOKEN_HERE>",
822
- });
780
+ const steamSets = new SteamSets();
823
781
 
824
782
  async function run() {
825
783
  const result = await steamSets.account.accountV1GetInfo({});
@@ -841,9 +799,7 @@ import { accountAccountV1GetInfo } from "@steamsets/client-ts/funcs/accountAccou
841
799
 
842
800
  // Use `SteamSetsCore` for best tree-shaking performance.
843
801
  // You can create one instance of it to use across an application.
844
- const steamSets = new SteamSetsCore({
845
- session: "<YOUR_BEARER_TOKEN_HERE>",
846
- });
802
+ const steamSets = new SteamSetsCore();
847
803
 
848
804
  async function run() {
849
805
  const res = await accountAccountV1GetInfo(steamSets, {});
@@ -891,9 +847,7 @@ Get Account Leaderboard History
891
847
  ```typescript
892
848
  import { SteamSets } from "@steamsets/client-ts";
893
849
 
894
- const steamSets = new SteamSets({
895
- session: "<YOUR_BEARER_TOKEN_HERE>",
896
- });
850
+ const steamSets = new SteamSets();
897
851
 
898
852
  async function run() {
899
853
  const result = await steamSets.account.accountV1GetLeaderboardHistory({
@@ -917,9 +871,7 @@ import { accountAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/func
917
871
 
918
872
  // Use `SteamSetsCore` for best tree-shaking performance.
919
873
  // You can create one instance of it to use across an application.
920
- const steamSets = new SteamSetsCore({
921
- session: "<YOUR_BEARER_TOKEN_HERE>",
922
- });
874
+ const steamSets = new SteamSetsCore();
923
875
 
924
876
  async function run() {
925
877
  const res = await accountAccountV1GetLeaderboardHistory(steamSets, {
@@ -969,9 +921,7 @@ Gets all session data
969
921
  ```typescript
970
922
  import { SteamSets } from "@steamsets/client-ts";
971
923
 
972
- const steamSets = new SteamSets({
973
- session: "<YOUR_BEARER_TOKEN_HERE>",
974
- });
924
+ const steamSets = new SteamSets();
975
925
 
976
926
  async function run() {
977
927
  const result = await steamSets.account.accountV1SessionGet();
@@ -993,9 +943,7 @@ import { accountAccountV1SessionGet } from "@steamsets/client-ts/funcs/accountAc
993
943
 
994
944
  // Use `SteamSetsCore` for best tree-shaking performance.
995
945
  // You can create one instance of it to use across an application.
996
- const steamSets = new SteamSetsCore({
997
- session: "<YOUR_BEARER_TOKEN_HERE>",
998
- });
946
+ const steamSets = new SteamSetsCore();
999
947
 
1000
948
  async function run() {
1001
949
  const res = await accountAccountV1SessionGet(steamSets);
@@ -1042,9 +990,7 @@ Gets all settings for the account
1042
990
  ```typescript
1043
991
  import { SteamSets } from "@steamsets/client-ts";
1044
992
 
1045
- const steamSets = new SteamSets({
1046
- session: "<YOUR_BEARER_TOKEN_HERE>",
1047
- });
993
+ const steamSets = new SteamSets();
1048
994
 
1049
995
  async function run() {
1050
996
  const result = await steamSets.account.accountV1SettingsGet();
@@ -1066,9 +1012,7 @@ import { accountAccountV1SettingsGet } from "@steamsets/client-ts/funcs/accountA
1066
1012
 
1067
1013
  // Use `SteamSetsCore` for best tree-shaking performance.
1068
1014
  // You can create one instance of it to use across an application.
1069
- const steamSets = new SteamSetsCore({
1070
- session: "<YOUR_BEARER_TOKEN_HERE>",
1071
- });
1015
+ const steamSets = new SteamSetsCore();
1072
1016
 
1073
1017
  async function run() {
1074
1018
  const res = await accountAccountV1SettingsGet(steamSets);
@@ -1115,9 +1059,7 @@ Get Staff Members and their info
1115
1059
  ```typescript
1116
1060
  import { SteamSets } from "@steamsets/client-ts";
1117
1061
 
1118
- const steamSets = new SteamSets({
1119
- session: "<YOUR_BEARER_TOKEN_HERE>",
1120
- });
1062
+ const steamSets = new SteamSets();
1121
1063
 
1122
1064
  async function run() {
1123
1065
  const result = await steamSets.account.accountV1GetStaff();
@@ -1139,9 +1081,7 @@ import { accountAccountV1GetStaff } from "@steamsets/client-ts/funcs/accountAcco
1139
1081
 
1140
1082
  // Use `SteamSetsCore` for best tree-shaking performance.
1141
1083
  // You can create one instance of it to use across an application.
1142
- const steamSets = new SteamSetsCore({
1143
- session: "<YOUR_BEARER_TOKEN_HERE>",
1144
- });
1084
+ const steamSets = new SteamSetsCore();
1145
1085
 
1146
1086
  async function run() {
1147
1087
  const res = await accountAccountV1GetStaff(steamSets);
@@ -1188,9 +1128,7 @@ Logs a user in and creates a new session
1188
1128
  ```typescript
1189
1129
  import { SteamSets } from "@steamsets/client-ts";
1190
1130
 
1191
- const steamSets = new SteamSets({
1192
- session: "<YOUR_BEARER_TOKEN_HERE>",
1193
- });
1131
+ const steamSets = new SteamSets();
1194
1132
 
1195
1133
  async function run() {
1196
1134
  const result = await steamSets.account.accountV1SessionLogin({
@@ -1225,9 +1163,7 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
1225
1163
 
1226
1164
  // Use `SteamSetsCore` for best tree-shaking performance.
1227
1165
  // You can create one instance of it to use across an application.
1228
- const steamSets = new SteamSetsCore({
1229
- session: "<YOUR_BEARER_TOKEN_HERE>",
1230
- });
1166
+ const steamSets = new SteamSetsCore();
1231
1167
 
1232
1168
  async function run() {
1233
1169
  const res = await accountAccountV1SessionLogin(steamSets, {
@@ -1288,9 +1224,7 @@ Resend the verification code for an email
1288
1224
  ```typescript
1289
1225
  import { SteamSets } from "@steamsets/client-ts";
1290
1226
 
1291
- const steamSets = new SteamSets({
1292
- session: "<YOUR_BEARER_TOKEN_HERE>",
1293
- });
1227
+ const steamSets = new SteamSets();
1294
1228
 
1295
1229
  async function run() {
1296
1230
  const result = await steamSets.account.accountV1SettingsSendEmailVerification({});
@@ -1312,9 +1246,7 @@ import { accountAccountV1SettingsSendEmailVerification } from "@steamsets/client
1312
1246
 
1313
1247
  // Use `SteamSetsCore` for best tree-shaking performance.
1314
1248
  // You can create one instance of it to use across an application.
1315
- const steamSets = new SteamSetsCore({
1316
- session: "<YOUR_BEARER_TOKEN_HERE>",
1317
- });
1249
+ const steamSets = new SteamSetsCore();
1318
1250
 
1319
1251
  async function run() {
1320
1252
  const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {});
@@ -1362,9 +1294,7 @@ Make a connection visible/invisible
1362
1294
  ```typescript
1363
1295
  import { SteamSets } from "@steamsets/client-ts";
1364
1296
 
1365
- const steamSets = new SteamSets({
1366
- session: "<YOUR_BEARER_TOKEN_HERE>",
1367
- });
1297
+ const steamSets = new SteamSets();
1368
1298
 
1369
1299
  async function run() {
1370
1300
  const result = await steamSets.account.accountV1ConnectionUpdateConnection({
@@ -1389,9 +1319,7 @@ import { accountAccountV1ConnectionUpdateConnection } from "@steamsets/client-ts
1389
1319
 
1390
1320
  // Use `SteamSetsCore` for best tree-shaking performance.
1391
1321
  // You can create one instance of it to use across an application.
1392
- const steamSets = new SteamSetsCore({
1393
- session: "<YOUR_BEARER_TOKEN_HERE>",
1394
- });
1322
+ const steamSets = new SteamSetsCore();
1395
1323
 
1396
1324
  async function run() {
1397
1325
  const res = await accountAccountV1ConnectionUpdateConnection(steamSets, {
@@ -1442,9 +1370,7 @@ Update one of the uploaded images
1442
1370
  ```typescript
1443
1371
  import { SteamSets } from "@steamsets/client-ts";
1444
1372
 
1445
- const steamSets = new SteamSets({
1446
- session: "<YOUR_BEARER_TOKEN_HERE>",
1447
- });
1373
+ const steamSets = new SteamSets();
1448
1374
 
1449
1375
  async function run() {
1450
1376
  const result = await steamSets.account.accountV1SettingsUpdateImage({
@@ -1469,9 +1395,7 @@ import { accountAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs/
1469
1395
 
1470
1396
  // Use `SteamSetsCore` for best tree-shaking performance.
1471
1397
  // You can create one instance of it to use across an application.
1472
- const steamSets = new SteamSetsCore({
1473
- session: "<YOUR_BEARER_TOKEN_HERE>",
1474
- });
1398
+ const steamSets = new SteamSetsCore();
1475
1399
 
1476
1400
  async function run() {
1477
1401
  const res = await accountAccountV1SettingsUpdateImage(steamSets, {
@@ -1522,9 +1446,7 @@ Update settings for the logged in account
1522
1446
  ```typescript
1523
1447
  import { SteamSets } from "@steamsets/client-ts";
1524
1448
 
1525
- const steamSets = new SteamSets({
1526
- session: "<YOUR_BEARER_TOKEN_HERE>",
1527
- });
1449
+ const steamSets = new SteamSets();
1528
1450
 
1529
1451
  async function run() {
1530
1452
  const result = await steamSets.account.accountV1SettingsUpdate({
@@ -1562,9 +1484,7 @@ import { accountAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/accou
1562
1484
 
1563
1485
  // Use `SteamSetsCore` for best tree-shaking performance.
1564
1486
  // You can create one instance of it to use across an application.
1565
- const steamSets = new SteamSetsCore({
1566
- session: "<YOUR_BEARER_TOKEN_HERE>",
1567
- });
1487
+ const steamSets = new SteamSetsCore();
1568
1488
 
1569
1489
  async function run() {
1570
1490
  const res = await accountAccountV1SettingsUpdate(steamSets, {
@@ -1628,9 +1548,7 @@ Multi Upload Endpoint for images
1628
1548
  ```typescript
1629
1549
  import { SteamSets } from "@steamsets/client-ts";
1630
1550
 
1631
- const steamSets = new SteamSets({
1632
- session: "<YOUR_BEARER_TOKEN_HERE>",
1633
- });
1551
+ const steamSets = new SteamSets();
1634
1552
 
1635
1553
  async function run() {
1636
1554
  const result = await steamSets.account.accountV1SettingsUploadImages({
@@ -1659,9 +1577,7 @@ import { accountAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs
1659
1577
 
1660
1578
  // Use `SteamSetsCore` for best tree-shaking performance.
1661
1579
  // You can create one instance of it to use across an application.
1662
- const steamSets = new SteamSetsCore({
1663
- session: "<YOUR_BEARER_TOKEN_HERE>",
1664
- });
1580
+ const steamSets = new SteamSetsCore();
1665
1581
 
1666
1582
  async function run() {
1667
1583
  const res = await accountAccountV1SettingsUploadImages(steamSets, {
@@ -1716,9 +1632,7 @@ Verify a domain connection only atm
1716
1632
  ```typescript
1717
1633
  import { SteamSets } from "@steamsets/client-ts";
1718
1634
 
1719
- const steamSets = new SteamSets({
1720
- session: "<YOUR_BEARER_TOKEN_HERE>",
1721
- });
1635
+ const steamSets = new SteamSets();
1722
1636
 
1723
1637
  async function run() {
1724
1638
  const result = await steamSets.account.accountV1ConnectionVerifyConnection({
@@ -1742,9 +1656,7 @@ import { accountAccountV1ConnectionVerifyConnection } from "@steamsets/client-ts
1742
1656
 
1743
1657
  // Use `SteamSetsCore` for best tree-shaking performance.
1744
1658
  // You can create one instance of it to use across an application.
1745
- const steamSets = new SteamSetsCore({
1746
- session: "<YOUR_BEARER_TOKEN_HERE>",
1747
- });
1659
+ const steamSets = new SteamSetsCore();
1748
1660
 
1749
1661
  async function run() {
1750
1662
  const res = await accountAccountV1ConnectionVerifyConnection(steamSets, {
@@ -1794,9 +1706,7 @@ Verify the email by passing in the code the user should've gotten
1794
1706
  ```typescript
1795
1707
  import { SteamSets } from "@steamsets/client-ts";
1796
1708
 
1797
- const steamSets = new SteamSets({
1798
- session: "<YOUR_BEARER_TOKEN_HERE>",
1799
- });
1709
+ const steamSets = new SteamSets();
1800
1710
 
1801
1711
  async function run() {
1802
1712
  const result = await steamSets.account.accountV1SettingsVerfyEmail({
@@ -1820,9 +1730,7 @@ import { accountAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/a
1820
1730
 
1821
1731
  // Use `SteamSetsCore` for best tree-shaking performance.
1822
1732
  // You can create one instance of it to use across an application.
1823
- const steamSets = new SteamSetsCore({
1824
- session: "<YOUR_BEARER_TOKEN_HERE>",
1825
- });
1733
+ const steamSets = new SteamSetsCore();
1826
1734
 
1827
1735
  async function run() {
1828
1736
  const res = await accountAccountV1SettingsVerfyEmail(steamSets, {
@@ -19,9 +19,7 @@ Get details about an app
19
19
  ```typescript
20
20
  import { SteamSets } from "@steamsets/client-ts";
21
21
 
22
- const steamSets = new SteamSets({
23
- session: "<YOUR_BEARER_TOKEN_HERE>",
24
- });
22
+ const steamSets = new SteamSets();
25
23
 
26
24
  async function run() {
27
25
  const result = await steamSets.app.appV1Get({
@@ -45,9 +43,7 @@ import { appAppV1Get } from "@steamsets/client-ts/funcs/appAppV1Get.js";
45
43
 
46
44
  // Use `SteamSetsCore` for best tree-shaking performance.
47
45
  // You can create one instance of it to use across an application.
48
- const steamSets = new SteamSetsCore({
49
- session: "<YOUR_BEARER_TOKEN_HERE>",
50
- });
46
+ const steamSets = new SteamSetsCore();
51
47
 
52
48
  async function run() {
53
49
  const res = await appAppV1Get(steamSets, {
@@ -97,9 +93,7 @@ Queue a app for processing
97
93
  ```typescript
98
94
  import { SteamSets } from "@steamsets/client-ts";
99
95
 
100
- const steamSets = new SteamSets({
101
- session: "<YOUR_BEARER_TOKEN_HERE>",
102
- });
96
+ const steamSets = new SteamSets();
103
97
 
104
98
  async function run() {
105
99
  const result = await steamSets.app.accountV1Queue({
@@ -125,9 +119,7 @@ import { appAccountV1Queue } from "@steamsets/client-ts/funcs/appAccountV1Queue.
125
119
 
126
120
  // Use `SteamSetsCore` for best tree-shaking performance.
127
121
  // You can create one instance of it to use across an application.
128
- const steamSets = new SteamSetsCore({
129
- session: "<YOUR_BEARER_TOKEN_HERE>",
130
- });
122
+ const steamSets = new SteamSetsCore();
131
123
 
132
124
  async function run() {
133
125
  const res = await appAccountV1Queue(steamSets, {
@@ -21,9 +21,7 @@ Connect a new Social Provider
21
21
  ```typescript
22
22
  import { SteamSets } from "@steamsets/client-ts";
23
23
 
24
- const steamSets = new SteamSets({
25
- session: "<YOUR_BEARER_TOKEN_HERE>",
26
- });
24
+ const steamSets = new SteamSets();
27
25
 
28
26
  async function run() {
29
27
  const result = await steamSets.connection.accountV1ConnectionConnect({
@@ -48,9 +46,7 @@ import { connectionAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs
48
46
 
49
47
  // Use `SteamSetsCore` for best tree-shaking performance.
50
48
  // You can create one instance of it to use across an application.
51
- const steamSets = new SteamSetsCore({
52
- session: "<YOUR_BEARER_TOKEN_HERE>",
53
- });
49
+ const steamSets = new SteamSetsCore();
54
50
 
55
51
  async function run() {
56
52
  const res = await connectionAccountV1ConnectionConnect(steamSets, {
@@ -101,9 +97,7 @@ Remove a connection
101
97
  ```typescript
102
98
  import { SteamSets } from "@steamsets/client-ts";
103
99
 
104
- const steamSets = new SteamSets({
105
- session: "<YOUR_BEARER_TOKEN_HERE>",
106
- });
100
+ const steamSets = new SteamSets();
107
101
 
108
102
  async function run() {
109
103
  const result = await steamSets.connection.accountV1ConnectionDeleteConnection({
@@ -127,9 +121,7 @@ import { connectionAccountV1ConnectionDeleteConnection } from "@steamsets/client
127
121
 
128
122
  // Use `SteamSetsCore` for best tree-shaking performance.
129
123
  // You can create one instance of it to use across an application.
130
- const steamSets = new SteamSetsCore({
131
- session: "<YOUR_BEARER_TOKEN_HERE>",
132
- });
124
+ const steamSets = new SteamSetsCore();
133
125
 
134
126
  async function run() {
135
127
  const res = await connectionAccountV1ConnectionDeleteConnection(steamSets, {
@@ -179,9 +171,7 @@ Make a connection visible/invisible
179
171
  ```typescript
180
172
  import { SteamSets } from "@steamsets/client-ts";
181
173
 
182
- const steamSets = new SteamSets({
183
- session: "<YOUR_BEARER_TOKEN_HERE>",
184
- });
174
+ const steamSets = new SteamSets();
185
175
 
186
176
  async function run() {
187
177
  const result = await steamSets.connection.accountV1ConnectionUpdateConnection({
@@ -206,9 +196,7 @@ import { connectionAccountV1ConnectionUpdateConnection } from "@steamsets/client
206
196
 
207
197
  // Use `SteamSetsCore` for best tree-shaking performance.
208
198
  // You can create one instance of it to use across an application.
209
- const steamSets = new SteamSetsCore({
210
- session: "<YOUR_BEARER_TOKEN_HERE>",
211
- });
199
+ const steamSets = new SteamSetsCore();
212
200
 
213
201
  async function run() {
214
202
  const res = await connectionAccountV1ConnectionUpdateConnection(steamSets, {
@@ -259,9 +247,7 @@ Verify a domain connection only atm
259
247
  ```typescript
260
248
  import { SteamSets } from "@steamsets/client-ts";
261
249
 
262
- const steamSets = new SteamSets({
263
- session: "<YOUR_BEARER_TOKEN_HERE>",
264
- });
250
+ const steamSets = new SteamSets();
265
251
 
266
252
  async function run() {
267
253
  const result = await steamSets.connection.accountV1ConnectionVerifyConnection({
@@ -285,9 +271,7 @@ import { connectionAccountV1ConnectionVerifyConnection } from "@steamsets/client
285
271
 
286
272
  // Use `SteamSetsCore` for best tree-shaking performance.
287
273
  // You can create one instance of it to use across an application.
288
- const steamSets = new SteamSetsCore({
289
- session: "<YOUR_BEARER_TOKEN_HERE>",
290
- });
274
+ const steamSets = new SteamSetsCore();
291
275
 
292
276
  async function run() {
293
277
  const res = await connectionAccountV1ConnectionVerifyConnection(steamSets, {