@genesislcap/foundation-utils 14.71.1-auth-mf.13 → 14.71.1-auth-mf.14

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.
@@ -466,6 +466,229 @@
466
466
  }
467
467
  ]
468
468
  },
469
+ {
470
+ "kind": "javascript-module",
471
+ "path": "src/env/index.ts",
472
+ "declarations": [],
473
+ "exports": [
474
+ {
475
+ "kind": "js",
476
+ "name": "*",
477
+ "declaration": {
478
+ "name": "*",
479
+ "package": "./is-dev"
480
+ }
481
+ },
482
+ {
483
+ "kind": "js",
484
+ "name": "*",
485
+ "declaration": {
486
+ "name": "*",
487
+ "package": "./variables"
488
+ }
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "kind": "javascript-module",
494
+ "path": "src/env/is-dev.ts",
495
+ "declarations": [
496
+ {
497
+ "kind": "function",
498
+ "name": "isDev",
499
+ "description": "Determines if the current environment is a development environment.",
500
+ "privacy": "public"
501
+ }
502
+ ],
503
+ "exports": [
504
+ {
505
+ "kind": "js",
506
+ "name": "isDev",
507
+ "declaration": {
508
+ "name": "isDev",
509
+ "module": "src/env/is-dev.ts"
510
+ }
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "kind": "javascript-module",
516
+ "path": "src/env/variables.ts",
517
+ "declarations": [
518
+ {
519
+ "kind": "variable",
520
+ "name": "SOCKET_EXT",
521
+ "type": {
522
+ "text": "string"
523
+ }
524
+ },
525
+ {
526
+ "kind": "variable",
527
+ "name": "_SOCKET_EXT",
528
+ "type": {
529
+ "text": "string"
530
+ },
531
+ "default": "'gwf'",
532
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
533
+ "privacy": "public"
534
+ },
535
+ {
536
+ "kind": "variable",
537
+ "name": "FORCE_HTTP",
538
+ "type": {
539
+ "text": "string"
540
+ }
541
+ },
542
+ {
543
+ "kind": "variable",
544
+ "name": "_FORCE_HTTP",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The path to a JSON config file for the HTTP mode.",
549
+ "privacy": "public"
550
+ },
551
+ {
552
+ "kind": "variable",
553
+ "name": "API_HOST",
554
+ "type": {
555
+ "text": "string"
556
+ }
557
+ },
558
+ {
559
+ "kind": "variable",
560
+ "name": "_API_HOST",
561
+ "type": {
562
+ "text": "string"
563
+ },
564
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
565
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
566
+ "privacy": "public"
567
+ },
568
+ {
569
+ "kind": "variable",
570
+ "name": "HTTP_CONFIG",
571
+ "type": {
572
+ "text": "string"
573
+ }
574
+ },
575
+ {
576
+ "kind": "variable",
577
+ "name": "_HTTP_CONFIG",
578
+ "type": {
579
+ "text": "string"
580
+ },
581
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
582
+ "privacy": "public"
583
+ },
584
+ {
585
+ "kind": "variable",
586
+ "name": "DEFAULT_ORGANISATION",
587
+ "type": {
588
+ "text": "string"
589
+ }
590
+ },
591
+ {
592
+ "kind": "variable",
593
+ "name": "_DEFAULT_ORGANISATION",
594
+ "type": {
595
+ "text": "string"
596
+ },
597
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
598
+ "privacy": "public"
599
+ },
600
+ {
601
+ "kind": "variable",
602
+ "name": "DEFAULT_PASSWORD",
603
+ "type": {
604
+ "text": "string"
605
+ }
606
+ },
607
+ {
608
+ "kind": "variable",
609
+ "name": "_DEFAULT_PASSWORD",
610
+ "type": {
611
+ "text": "string"
612
+ },
613
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
614
+ "privacy": "public"
615
+ },
616
+ {
617
+ "kind": "variable",
618
+ "name": "DEFAULT_USER",
619
+ "type": {
620
+ "text": "string"
621
+ }
622
+ },
623
+ {
624
+ "kind": "variable",
625
+ "name": "_DEFAULT_USER",
626
+ "type": {
627
+ "text": "string"
628
+ },
629
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
630
+ "privacy": "public"
631
+ }
632
+ ],
633
+ "exports": [
634
+ {
635
+ "kind": "js",
636
+ "name": "SOCKET_EXT",
637
+ "declaration": {
638
+ "name": "_SOCKET_EXT",
639
+ "module": "src/env/variables.ts"
640
+ }
641
+ },
642
+ {
643
+ "kind": "js",
644
+ "name": "FORCE_HTTP",
645
+ "declaration": {
646
+ "name": "_FORCE_HTTP",
647
+ "module": "src/env/variables.ts"
648
+ }
649
+ },
650
+ {
651
+ "kind": "js",
652
+ "name": "API_HOST",
653
+ "declaration": {
654
+ "name": "_API_HOST",
655
+ "module": "src/env/variables.ts"
656
+ }
657
+ },
658
+ {
659
+ "kind": "js",
660
+ "name": "HTTP_CONFIG",
661
+ "declaration": {
662
+ "name": "_HTTP_CONFIG",
663
+ "module": "src/env/variables.ts"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "DEFAULT_ORGANISATION",
669
+ "declaration": {
670
+ "name": "_DEFAULT_ORGANISATION",
671
+ "module": "src/env/variables.ts"
672
+ }
673
+ },
674
+ {
675
+ "kind": "js",
676
+ "name": "DEFAULT_PASSWORD",
677
+ "declaration": {
678
+ "name": "_DEFAULT_PASSWORD",
679
+ "module": "src/env/variables.ts"
680
+ }
681
+ },
682
+ {
683
+ "kind": "js",
684
+ "name": "DEFAULT_USER",
685
+ "declaration": {
686
+ "name": "_DEFAULT_USER",
687
+ "module": "src/env/variables.ts"
688
+ }
689
+ }
690
+ ]
691
+ },
469
692
  {
470
693
  "kind": "javascript-module",
471
694
  "path": "src/error/errorMap.ts",
@@ -874,7 +1097,7 @@
874
1097
  },
875
1098
  {
876
1099
  "kind": "javascript-module",
877
- "path": "src/env/index.ts",
1100
+ "path": "src/logger/index.ts",
878
1101
  "declarations": [],
879
1102
  "exports": [
880
1103
  {
@@ -882,248 +1105,25 @@
882
1105
  "name": "*",
883
1106
  "declaration": {
884
1107
  "name": "*",
885
- "package": "./is-dev"
886
- }
887
- },
888
- {
889
- "kind": "js",
890
- "name": "*",
891
- "declaration": {
892
- "name": "*",
893
- "package": "./variables"
1108
+ "package": "./logger"
894
1109
  }
895
1110
  }
896
1111
  ]
897
1112
  },
898
1113
  {
899
1114
  "kind": "javascript-module",
900
- "path": "src/env/is-dev.ts",
1115
+ "path": "src/logger/logger.ts",
901
1116
  "declarations": [
902
1117
  {
903
- "kind": "function",
904
- "name": "isDev",
905
- "description": "Determines if the current environment is a development environment.",
1118
+ "kind": "variable",
1119
+ "name": "defaultLoggerOptions",
1120
+ "type": {
1121
+ "text": "LoggerOptions"
1122
+ },
1123
+ "default": "{\n level: logLevelDebug,\n}",
1124
+ "description": "The default logger options.",
906
1125
  "privacy": "public"
907
- }
908
- ],
909
- "exports": [
910
- {
911
- "kind": "js",
912
- "name": "isDev",
913
- "declaration": {
914
- "name": "isDev",
915
- "module": "src/env/is-dev.ts"
916
- }
917
- }
918
- ]
919
- },
920
- {
921
- "kind": "javascript-module",
922
- "path": "src/env/variables.ts",
923
- "declarations": [
924
- {
925
- "kind": "variable",
926
- "name": "SOCKET_EXT",
927
- "type": {
928
- "text": "string"
929
- }
930
- },
931
- {
932
- "kind": "variable",
933
- "name": "_SOCKET_EXT",
934
- "type": {
935
- "text": "string"
936
- },
937
- "default": "'gwf'",
938
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
939
- "privacy": "public"
940
- },
941
- {
942
- "kind": "variable",
943
- "name": "FORCE_HTTP",
944
- "type": {
945
- "text": "string"
946
- }
947
- },
948
- {
949
- "kind": "variable",
950
- "name": "_FORCE_HTTP",
951
- "type": {
952
- "text": "string"
953
- },
954
- "description": "The path to a JSON config file for the HTTP mode.",
955
- "privacy": "public"
956
- },
957
- {
958
- "kind": "variable",
959
- "name": "API_HOST",
960
- "type": {
961
- "text": "string"
962
- }
963
- },
964
- {
965
- "kind": "variable",
966
- "name": "_API_HOST",
967
- "type": {
968
- "text": "string"
969
- },
970
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
971
- "description": "The Genesis Server URL (WebSocket or HTTP).",
972
- "privacy": "public"
973
- },
974
- {
975
- "kind": "variable",
976
- "name": "HTTP_CONFIG",
977
- "type": {
978
- "text": "string"
979
- }
980
- },
981
- {
982
- "kind": "variable",
983
- "name": "_HTTP_CONFIG",
984
- "type": {
985
- "text": "string"
986
- },
987
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
988
- "privacy": "public"
989
- },
990
- {
991
- "kind": "variable",
992
- "name": "DEFAULT_ORGANISATION",
993
- "type": {
994
- "text": "string"
995
- }
996
- },
997
- {
998
- "kind": "variable",
999
- "name": "_DEFAULT_ORGANISATION",
1000
- "type": {
1001
- "text": "string"
1002
- },
1003
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1004
- "privacy": "public"
1005
- },
1006
- {
1007
- "kind": "variable",
1008
- "name": "DEFAULT_PASSWORD",
1009
- "type": {
1010
- "text": "string"
1011
- }
1012
- },
1013
- {
1014
- "kind": "variable",
1015
- "name": "_DEFAULT_PASSWORD",
1016
- "type": {
1017
- "text": "string"
1018
- },
1019
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1020
- "privacy": "public"
1021
- },
1022
- {
1023
- "kind": "variable",
1024
- "name": "DEFAULT_USER",
1025
- "type": {
1026
- "text": "string"
1027
- }
1028
- },
1029
- {
1030
- "kind": "variable",
1031
- "name": "_DEFAULT_USER",
1032
- "type": {
1033
- "text": "string"
1034
- },
1035
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1036
- "privacy": "public"
1037
- }
1038
- ],
1039
- "exports": [
1040
- {
1041
- "kind": "js",
1042
- "name": "SOCKET_EXT",
1043
- "declaration": {
1044
- "name": "_SOCKET_EXT",
1045
- "module": "src/env/variables.ts"
1046
- }
1047
- },
1048
- {
1049
- "kind": "js",
1050
- "name": "FORCE_HTTP",
1051
- "declaration": {
1052
- "name": "_FORCE_HTTP",
1053
- "module": "src/env/variables.ts"
1054
- }
1055
- },
1056
- {
1057
- "kind": "js",
1058
- "name": "API_HOST",
1059
- "declaration": {
1060
- "name": "_API_HOST",
1061
- "module": "src/env/variables.ts"
1062
- }
1063
- },
1064
- {
1065
- "kind": "js",
1066
- "name": "HTTP_CONFIG",
1067
- "declaration": {
1068
- "name": "_HTTP_CONFIG",
1069
- "module": "src/env/variables.ts"
1070
- }
1071
- },
1072
- {
1073
- "kind": "js",
1074
- "name": "DEFAULT_ORGANISATION",
1075
- "declaration": {
1076
- "name": "_DEFAULT_ORGANISATION",
1077
- "module": "src/env/variables.ts"
1078
- }
1079
- },
1080
- {
1081
- "kind": "js",
1082
- "name": "DEFAULT_PASSWORD",
1083
- "declaration": {
1084
- "name": "_DEFAULT_PASSWORD",
1085
- "module": "src/env/variables.ts"
1086
- }
1087
- },
1088
- {
1089
- "kind": "js",
1090
- "name": "DEFAULT_USER",
1091
- "declaration": {
1092
- "name": "_DEFAULT_USER",
1093
- "module": "src/env/variables.ts"
1094
- }
1095
- }
1096
- ]
1097
- },
1098
- {
1099
- "kind": "javascript-module",
1100
- "path": "src/logger/index.ts",
1101
- "declarations": [],
1102
- "exports": [
1103
- {
1104
- "kind": "js",
1105
- "name": "*",
1106
- "declaration": {
1107
- "name": "*",
1108
- "package": "./logger"
1109
- }
1110
- }
1111
- ]
1112
- },
1113
- {
1114
- "kind": "javascript-module",
1115
- "path": "src/logger/logger.ts",
1116
- "declarations": [
1117
- {
1118
- "kind": "variable",
1119
- "name": "defaultLoggerOptions",
1120
- "type": {
1121
- "text": "LoggerOptions"
1122
- },
1123
- "default": "{\n level: logLevelDebug,\n}",
1124
- "description": "The default logger options.",
1125
- "privacy": "public"
1126
- },
1126
+ },
1127
1127
  {
1128
1128
  "kind": "function",
1129
1129
  "name": "createLogger",
@@ -1218,6 +1218,47 @@
1218
1218
  }
1219
1219
  ]
1220
1220
  },
1221
+ {
1222
+ "kind": "javascript-module",
1223
+ "path": "src/resource/index.ts",
1224
+ "declarations": [],
1225
+ "exports": [
1226
+ {
1227
+ "kind": "js",
1228
+ "name": "*",
1229
+ "declaration": {
1230
+ "name": "*",
1231
+ "package": "./types"
1232
+ }
1233
+ }
1234
+ ]
1235
+ },
1236
+ {
1237
+ "kind": "javascript-module",
1238
+ "path": "src/resource/types.ts",
1239
+ "declarations": [
1240
+ {
1241
+ "kind": "variable",
1242
+ "name": "ResourceType",
1243
+ "type": {
1244
+ "text": "{\n local: 'local',\n remote: 'remote',\n}"
1245
+ },
1246
+ "default": "{\n local: 'local',\n remote: 'remote',\n}",
1247
+ "description": "An object that defines two resource types: \"local\" and \"remote\".",
1248
+ "privacy": "public"
1249
+ }
1250
+ ],
1251
+ "exports": [
1252
+ {
1253
+ "kind": "js",
1254
+ "name": "ResourceType",
1255
+ "declaration": {
1256
+ "name": "ResourceType",
1257
+ "module": "src/resource/types.ts"
1258
+ }
1259
+ }
1260
+ ]
1261
+ },
1221
1262
  {
1222
1263
  "kind": "javascript-module",
1223
1264
  "path": "src/observer/index.ts",
@@ -1290,47 +1331,6 @@
1290
1331
  }
1291
1332
  ]
1292
1333
  },
1293
- {
1294
- "kind": "javascript-module",
1295
- "path": "src/resource/index.ts",
1296
- "declarations": [],
1297
- "exports": [
1298
- {
1299
- "kind": "js",
1300
- "name": "*",
1301
- "declaration": {
1302
- "name": "*",
1303
- "package": "./types"
1304
- }
1305
- }
1306
- ]
1307
- },
1308
- {
1309
- "kind": "javascript-module",
1310
- "path": "src/resource/types.ts",
1311
- "declarations": [
1312
- {
1313
- "kind": "variable",
1314
- "name": "ResourceType",
1315
- "type": {
1316
- "text": "{\n local: 'local',\n remote: 'remote',\n}"
1317
- },
1318
- "default": "{\n local: 'local',\n remote: 'remote',\n}",
1319
- "description": "An object that defines two resource types: \"local\" and \"remote\".",
1320
- "privacy": "public"
1321
- }
1322
- ],
1323
- "exports": [
1324
- {
1325
- "kind": "js",
1326
- "name": "ResourceType",
1327
- "declaration": {
1328
- "name": "ResourceType",
1329
- "module": "src/resource/types.ts"
1330
- }
1331
- }
1332
- ]
1333
- },
1334
1334
  {
1335
1335
  "kind": "javascript-module",
1336
1336
  "path": "src/serializers/index.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.71.1-auth-mf.13",
4
+ "version": "14.71.1-auth-mf.14",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -41,5 +41,5 @@
41
41
  "access": "public"
42
42
  },
43
43
  "customElements": "dist/custom-elements.json",
44
- "gitHead": "3ca8cd166559deb2032ae6a53e2fae8db2297de1"
44
+ "gitHead": "8442e63c86ec94db2f39a78870165148254cc78e"
45
45
  }