@shakerquiz/utilities 0.2.29 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakerquiz/utilities",
3
- "version": "0.2.29",
3
+ "version": "0.2.31",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "exports": {
@@ -120,7 +120,7 @@ export let useFetch = (feature, method, network) => {
120
120
 
121
121
  if (!FeatureNetworkOrigins.get(feature).has(network))
122
122
  throw TypeError(
123
- `Feature Network '${feature}' '${network}' must be listed in 'FeatureNetworkOrigins'.`,
123
+ `Feature's '${feature}' Network '${network}' must be listed in 'FeatureNetworkOrigins'.`,
124
124
  )
125
125
 
126
126
  if (!URL.canParse(FeatureNetworkOrigins.get(feature).get(network)))
@@ -1,6 +1,10 @@
1
- import { FeatureNetworkOrigins, Features } from '../enumerations/features.js'
1
+ import {
2
+ FeatureNetworkOrigins,
3
+ Features,
4
+ ServiceFeatures,
5
+ } from '../enumerations/features.js'
2
6
  import { Networks } from '../enumerations/networks.js'
3
- import { ServiceFeatures, Services } from '../enumerations/services.js'
7
+ import { Services } from '../enumerations/services.js'
4
8
 
5
9
  /**
6
10
  * @param {Record<
package/source/index.d.ts CHANGED
@@ -18,5 +18,7 @@ export * from './enumerations/phases.js'
18
18
  export * from './enumerations/regexps.js'
19
19
  export * from './enumerations/requirements.js'
20
20
  export * from './enumerations/roles.js'
21
+ export * from './enumerations/services.js'
21
22
 
22
23
  export * from './functions/fetch.js'
24
+ export * from './functions/origins.js'