@xyo-network/payload 2.33.15 → 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.
@@ -25,8 +25,8 @@ export class Huri {
25
25
  }
26
26
  parsePath(path, hasProtocol) {
27
27
  const pathParts = path.split('/');
28
- //if the protocal was found, then there is not allowed to be a leading /
29
- assertEx(!(hasProtocol && pathParts[0].length === 0), 'Invalid protocol seperator');
28
+ //if the protocol was found, then there is not allowed to be a leading /
29
+ assertEx(!(hasProtocol && pathParts[0].length === 0), 'Invalid protocol separator');
30
30
  //remove leading '/' if needed
31
31
  pathParts[0].length === 0 ? pathParts.shift() : null;
32
32
  //hash is assumed to be the last part
package/package.json CHANGED
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@xylabs/sdk-js": "^2.6.7",
14
- "@xyo-network/account": "^2.33.15",
15
- "@xyo-network/core": "^2.33.15",
14
+ "@xyo-network/account": "^2.34.0",
15
+ "@xyo-network/core": "^2.34.0",
16
16
  "axios": "^0.27.2",
17
17
  "tslib": "^2.4.0"
18
18
  },
@@ -49,5 +49,5 @@
49
49
  },
50
50
  "sideEffects": false,
51
51
  "types": "dist/esm/index.d.ts",
52
- "version": "2.33.15"
52
+ "version": "2.34.0"
53
53
  }
package/src/Huri/Huri.ts CHANGED
@@ -60,8 +60,8 @@ export class Huri<T extends XyoPayload = XyoPayload> {
60
60
  private parsePath(path: string, hasProtocol: boolean) {
61
61
  const pathParts = path.split('/')
62
62
 
63
- //if the protocal was found, then there is not allowed to be a leading /
64
- assertEx(!(hasProtocol && pathParts[0].length === 0), 'Invalid protocol seperator')
63
+ //if the protocol was found, then there is not allowed to be a leading /
64
+ assertEx(!(hasProtocol && pathParts[0].length === 0), 'Invalid protocol separator')
65
65
 
66
66
  //remove leading '/' if needed
67
67
  pathParts[0].length === 0 ? pathParts.shift() : null