genesys-cloud-service-discovery-web 3.0.28 → 3.0.31

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const ENVS: readonly ["dev", "test", "prod", "fedramp", "maximus"];
1
+ export declare const ENVS: readonly ["dev", "test", "prod", "fedramp"];
2
2
  export declare const STATUSES: readonly ["alpha", "beta", "stable", "archived"];
3
3
  export interface Environment {
4
4
  env: typeof ENVS[number];
@@ -37,13 +37,13 @@ export declare type EnvironmentFilters = {
37
37
  };
38
38
  /**
39
39
  * Retrieves the list of Genesys Cloud environment/region deployments.
40
- * Defaults to only returning stable, publically available deployments (e.g. prod, fedramp, and maximus)
40
+ * Defaults to only returning stable, publically available deployments (e.g. prod, fedramp)
41
41
  */
42
42
  export declare const getEnvironments: (filters?: EnvironmentFilters) => Environment[];
43
43
  /**
44
44
  * Whether or not the given url is a known Genesys Cloud deployment. If no filters
45
45
  * are provided, the default behavior is to only check stable, publically available deployments
46
- * (e.g. prod, fedramp, and maximus).
46
+ * (e.g. prod, fedramp).
47
47
  *
48
48
  * - throws an error if passed an invalid url
49
49
  * - returns false for localhost
@@ -52,7 +52,7 @@ export declare const isKnown: (url: string, filters?: EnvironmentFilters | undef
52
52
  /**
53
53
  * Retrieve the Genesys Cloud `Environment` for a given url. If no filters
54
54
  * are provided, the default behavior is to only check stable, publically available deployments
55
- * (e.g. prod, fedramp, and maximus).
55
+ * (e.g. prod, fedramp).
56
56
  *
57
57
  * - throws an error if passed an invalid url
58
58
  * - returns undefined if no match is found
package/index.js CHANGED
@@ -178,10 +178,10 @@ var _environments = [
178
178
  ];
179
179
 
180
180
  var environments = _environments;
181
- var ENVS = ["dev", "test", "prod", "fedramp", "maximus"];
181
+ var ENVS = ["dev", "test", "prod", "fedramp"];
182
182
  var STATUSES = ["alpha", "beta", "stable", "archived"];
183
183
  var DEFAULT_LOCAL_HOSTNAMES = ["localhost", "127.0.0.1"];
184
- var STABLE_PUBLIC_ENVS_FILTERS = { env: ["prod", "fedramp", "maximus"], status: ["stable"] };
184
+ var STABLE_PUBLIC_ENVS_FILTERS = { env: ["prod", "fedramp"], status: ["stable"] };
185
185
  var NO_FILTERS = {};
186
186
  var endsWith = function (s1, s2) {
187
187
  return s1.slice(s1.length - s2.length) === s2;
@@ -191,7 +191,7 @@ var matchesHostname = function (hostname) { return function (domain) {
191
191
  }; };
192
192
  /**
193
193
  * Retrieves the list of Genesys Cloud environment/region deployments.
194
- * Defaults to only returning stable, publically available deployments (e.g. prod, fedramp, and maximus)
194
+ * Defaults to only returning stable, publically available deployments (e.g. prod, fedramp)
195
195
  */
196
196
  var getEnvironments = function (filters) {
197
197
  if (filters === void 0) { filters = STABLE_PUBLIC_ENVS_FILTERS; }
@@ -204,7 +204,7 @@ var getEnvironments = function (filters) {
204
204
  /**
205
205
  * Whether or not the given url is a known Genesys Cloud deployment. If no filters
206
206
  * are provided, the default behavior is to only check stable, publically available deployments
207
- * (e.g. prod, fedramp, and maximus).
207
+ * (e.g. prod, fedramp).
208
208
  *
209
209
  * - throws an error if passed an invalid url
210
210
  * - returns false for localhost
@@ -213,7 +213,7 @@ var isKnown = function (url, filters) { return !!parse(url, filters); };
213
213
  /**
214
214
  * Retrieve the Genesys Cloud `Environment` for a given url. If no filters
215
215
  * are provided, the default behavior is to only check stable, publically available deployments
216
- * (e.g. prod, fedramp, and maximus).
216
+ * (e.g. prod, fedramp).
217
217
  *
218
218
  * - throws an error if passed an invalid url
219
219
  * - returns undefined if no match is found
package/index.umd.js CHANGED
@@ -782,10 +782,10 @@
782
782
  ];
783
783
 
784
784
  var environments = _environments;
785
- var ENVS = ["dev", "test", "prod", "fedramp", "maximus"];
785
+ var ENVS = ["dev", "test", "prod", "fedramp"];
786
786
  var STATUSES = ["alpha", "beta", "stable", "archived"];
787
787
  var DEFAULT_LOCAL_HOSTNAMES = ["localhost", "127.0.0.1"];
788
- var STABLE_PUBLIC_ENVS_FILTERS = { env: ["prod", "fedramp", "maximus"], status: ["stable"] };
788
+ var STABLE_PUBLIC_ENVS_FILTERS = { env: ["prod", "fedramp"], status: ["stable"] };
789
789
  var NO_FILTERS = {};
790
790
  var endsWith = function (s1, s2) {
791
791
  return s1.slice(s1.length - s2.length) === s2;
@@ -795,7 +795,7 @@
795
795
  }; };
796
796
  /**
797
797
  * Retrieves the list of Genesys Cloud environment/region deployments.
798
- * Defaults to only returning stable, publically available deployments (e.g. prod, fedramp, and maximus)
798
+ * Defaults to only returning stable, publically available deployments (e.g. prod, fedramp)
799
799
  */
800
800
  var getEnvironments = function (filters) {
801
801
  if (filters === void 0) { filters = STABLE_PUBLIC_ENVS_FILTERS; }
@@ -808,7 +808,7 @@
808
808
  /**
809
809
  * Whether or not the given url is a known Genesys Cloud deployment. If no filters
810
810
  * are provided, the default behavior is to only check stable, publically available deployments
811
- * (e.g. prod, fedramp, and maximus).
811
+ * (e.g. prod, fedramp).
812
812
  *
813
813
  * - throws an error if passed an invalid url
814
814
  * - returns false for localhost
@@ -817,7 +817,7 @@
817
817
  /**
818
818
  * Retrieve the Genesys Cloud `Environment` for a given url. If no filters
819
819
  * are provided, the default behavior is to only check stable, publically available deployments
820
- * (e.g. prod, fedramp, and maximus).
820
+ * (e.g. prod, fedramp).
821
821
  *
822
822
  * - throws an error if passed an invalid url
823
823
  * - returns undefined if no match is found
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-cloud-service-discovery-web",
3
- "version": "3.0.28",
3
+ "version": "3.0.31",
4
4
  "description": "Javascript library for discovering region deployments in Genesys Cloud",
5
5
  "main": "index.js",
6
6
  "browser": "index.umd.js",