dochub-sdk 0.1.123 → 0.1.124

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.
@@ -15,7 +15,7 @@ export enum DataLakeChange {
15
15
  export class DataLakePath extends String {
16
16
  constructor(...args:any) {
17
17
  for (const value of args) {
18
- if (!/^(\/[a-zA-Z0-9_$]{1,}){1,}$/.test(value))
18
+ if (!/^(\/[a-zA-Z0-9_$\.]{1,}){1,}$/.test(value))
19
19
  throw new Error(`Incorrect DataLakePath `, value);
20
20
  }
21
21
  super(...args);
@@ -23,7 +23,7 @@ export interface IDocHubObjectMeta {
23
23
  export class DocHubObjectURL extends String {
24
24
  constructor(...args:any) {
25
25
  for (const value of args) {
26
- if (!/^\@[a-zA-Z0-9_$]{1,}(\/[a-zA-Z0-9_$]{1,}){1,}(\?[^(#|\/)]*){0,1}(\#[^(#|\/|\?)]*){0,1}$/.test(value))
26
+ if (!/^\@[a-zA-Z0-9_$\.]{1,}(\/[a-zA-Z0-9_$\.]{1,}){1,}(\?[^(#|\/)]*){0,1}(\#[^(#|\/|\?)]*){0,1}$/.test(value))
27
27
  throw new Error(`Incorrect DocHubObjectSrc `, value);
28
28
  }
29
29
  super(...args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.123",
3
+ "version": "0.1.124",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",