@shaxpir/duiduidui-models 1.4.19 → 1.4.20
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.
- package/dist/models/Manifest.js +1 -1
- package/package.json +1 -1
package/dist/models/Manifest.js
CHANGED
|
@@ -14,7 +14,7 @@ class Manifest extends Model_1.Model {
|
|
|
14
14
|
return shaxpir_common_1.CachingHasher.makeMd5Base62Hash(userId + "-" + ContentKind_1.ContentKind.MANIFEST);
|
|
15
15
|
}
|
|
16
16
|
static create(userId, createdAt) {
|
|
17
|
-
const now = shaxpir_common_1.
|
|
17
|
+
const now = shaxpir_common_1.ClockService.getClock().utc();
|
|
18
18
|
// If the createdAt time is not provided, use the current time
|
|
19
19
|
const createdTime = createdAt ?? { utc_time: now };
|
|
20
20
|
const manifestId = Manifest.makeManifestId(userId);
|