@quatrain/core 0.5.2 → 0.5.3

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.
@@ -65,7 +65,7 @@ export declare class DataObject implements DataObjectClass<any> {
65
65
  set uid(uid: string | undefined);
66
66
  get uid(): string | undefined;
67
67
  get data(): any;
68
- set uri(uri: string | ObjectUri | undefined);
68
+ set uri(uri: ObjectUri);
69
69
  get uri(): ObjectUri;
70
70
  get class(): any;
71
71
  has(key: string): boolean;
@@ -153,7 +153,7 @@ class DataObject {
153
153
  return this._properties;
154
154
  }
155
155
  set uri(uri) {
156
- this._objectUri = uri instanceof ObjectUri_1.ObjectUri ? uri : new ObjectUri_1.ObjectUri(uri);
156
+ this._objectUri = uri;
157
157
  if (this._objectUri.collection !== ObjectUri_1.ObjectUri.MISSING_COLLECTION) {
158
158
  this._persisted = true;
159
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/core",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Core objects for business apps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",