@dcl/schemas 5.28.1-20221108202320.commit-a93fe13 → 5.28.1-20221108203808.commit-3da75ad

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.
@@ -9,7 +9,8 @@ export declare type DeploymentWithAuthChain = {
9
9
  entityId: string;
10
10
  entityType: string;
11
11
  pointers: string[];
12
- entityTimestamp: number;
12
+ entityTimestamp?: number;
13
+ localTimestamp?: number;
13
14
  authChain: AuthChain;
14
15
  };
15
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"deployment-with-auth-chain.d.ts","sourceRoot":"","sources":["../../src/platform/deployment-with-auth-chain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,eAAe,CAAA;AAEtB;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,yBAAiB,uBAAuB,CAAC;IAChC,MAAM,MAAM,EAAE,UAAU,CAAC,uBAAuB,CAgBtD,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,uBAAuB,CAChC,CAAA;CAChC"}
1
+ {"version":3,"file":"deployment-with-auth-chain.d.ts","sourceRoot":"","sources":["../../src/platform/deployment-with-auth-chain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,eAAe,CAAA;AAEtB;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,yBAAiB,uBAAuB,CAAC;IAChC,MAAM,MAAM,EAAE,UAAU,CAAC,uBAAuB,CAWtD,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,uBAAuB,CAChC,CAAA;CAChC"}
@@ -14,16 +14,11 @@ var DeploymentWithAuthChain;
14
14
  entityId: { type: 'string' },
15
15
  entityType: { type: 'string' },
16
16
  pointers: { type: 'array', items: { type: 'string' }, minItems: 1 },
17
- entityTimestamp: { type: 'number', minimum: 0 },
17
+ entityTimestamp: { type: 'number', minimum: 0, nullable: true },
18
+ localTimestamp: { type: 'number', minimum: 0, nullable: true },
18
19
  authChain: auth_chain_1.AuthChain.schema
19
20
  },
20
- required: [
21
- 'entityId',
22
- 'entityType',
23
- 'pointers',
24
- 'entityTimestamp',
25
- 'authChain'
26
- ]
21
+ required: ['entityId', 'entityType', 'pointers', 'authChain']
27
22
  };
28
23
  DeploymentWithAuthChain.validate = (0, validation_1.generateLazyValidator)(DeploymentWithAuthChain.schema);
29
24
  })(DeploymentWithAuthChain = exports.DeploymentWithAuthChain || (exports.DeploymentWithAuthChain = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"deployment-with-auth-chain.js","sourceRoot":"","sources":["../../src/platform/deployment-with-auth-chain.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,8CAIsB;AAetB;;GAEG;AACH,IAAiB,uBAAuB,CAqBvC;AArBD,WAAiB,uBAAuB;IACzB,8BAAM,GAAwC;QACzD,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,QA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E,UAAU,EAAE,WAAW,CAAC;KAC9D,CAAA;IAEY,gCAAQ,GACnB,IAAA,kCAAqB,EAAC,wBAAA,MAAM,CAAC,CAAA;AACjC,CAAC,EAhBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAgBvC"}
package/dist/schemas.d.ts CHANGED
@@ -407,7 +407,8 @@ export declare type DeploymentWithAuthChain = {
407
407
  entityId: string;
408
408
  entityType: string;
409
409
  pointers: string[];
410
- entityTimestamp: number;
410
+ entityTimestamp?: number;
411
+ localTimestamp?: number;
411
412
  authChain: AuthChain;
412
413
  };
413
414
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.28.1-20221108202320.commit-a93fe13",
2
+ "version": "5.28.1-20221108203808.commit-3da75ad",
3
3
  "name": "@dcl/schemas",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "./dist/index.d.ts",
@@ -32,5 +32,5 @@
32
32
  "files": [
33
33
  "dist"
34
34
  ],
35
- "commit": "a93fe131c2d8ea6a664590d1d09dbca3ac5bf6ec"
35
+ "commit": "3da75adc9f5587a6e3ceaa5a7945f040026a79a7"
36
36
  }