@xyo-network/payload 2.33.14 → 2.34.0

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.
@@ -26,8 +26,8 @@ class Huri {
26
26
  parsePath(path, hasProtocol) {
27
27
  var _a;
28
28
  const pathParts = path.split('/');
29
- //if the protocal was found, then there is not allowed to be a leading /
30
- (0, sdk_js_1.assertEx)(!(hasProtocol && pathParts[0].length === 0), 'Invalid protocol seperator');
29
+ //if the protocol was found, then there is not allowed to be a leading /
30
+ (0, sdk_js_1.assertEx)(!(hasProtocol && pathParts[0].length === 0), 'Invalid protocol separator');
31
31
  //remove leading '/' if needed
32
32
  pathParts[0].length === 0 ? pathParts.shift() : null;
33
33
  //hash is assumed to be the last part