@tutao/node-mimimi 319.260107.1 → 322.260115.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutao/node-mimimi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "322.260115.0",
|
|
4
4
|
"main": "./dist/binding.js",
|
|
5
5
|
"types": "./dist/binding.d.ts",
|
|
6
6
|
"napi": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tutao/otest": "
|
|
16
|
+
"@tutao/otest": "322.260115.0",
|
|
17
17
|
"@napi-rs/cli": "3.0.0-alpha.68",
|
|
18
18
|
"typescript": "5.8.3",
|
|
19
19
|
"zx": "8.6.1"
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"version": "napi version"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@tutao/node-mimimi-win32-x64-msvc": "
|
|
34
|
-
"@tutao/node-mimimi-linux-x64-gnu": "
|
|
35
|
-
"@tutao/node-mimimi-darwin-universal": "
|
|
33
|
+
"@tutao/node-mimimi-win32-x64-msvc": "322.260115.0",
|
|
34
|
+
"@tutao/node-mimimi-linux-x64-gnu": "322.260115.0",
|
|
35
|
+
"@tutao/node-mimimi-darwin-universal": "322.260115.0"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -155,7 +155,6 @@ impl From<MailContact> for MailAddress {
|
|
|
155
155
|
address: value.mail_address,
|
|
156
156
|
name: value.name,
|
|
157
157
|
contact: None,
|
|
158
|
-
_finalIvs: Default::default(),
|
|
159
158
|
_errors: Default::default(),
|
|
160
159
|
}
|
|
161
160
|
}
|
|
@@ -581,7 +580,6 @@ impl ImportableMail {
|
|
|
581
580
|
_id: Some(tutasdk::CustomId::from_custom_string(FIXED_CUSTOM_ID)),
|
|
582
581
|
name: reply_to.name,
|
|
583
582
|
address: reply_to.mail_address,
|
|
584
|
-
_finalIvs: Default::default(),
|
|
585
583
|
_errors: Default::default(),
|
|
586
584
|
})
|
|
587
585
|
.collect();
|
|
@@ -601,7 +599,7 @@ impl ImportableMail {
|
|
|
601
599
|
|
|
602
600
|
// if no date is provided, use UNIX_EPOCH (01.01.1970) as fallback
|
|
603
601
|
// this makes it more obvious to user that this mail date was not right
|
|
604
|
-
let date = date.
|
|
602
|
+
let date = date.unwrap_or_else(|| DateTime::from_millis(0));
|
|
605
603
|
|
|
606
604
|
ImportMailData {
|
|
607
605
|
_format: 0,
|
|
@@ -634,7 +632,6 @@ impl ImportableMail {
|
|
|
634
632
|
references,
|
|
635
633
|
importedAttachments: vec![],
|
|
636
634
|
_errors: Default::default(),
|
|
637
|
-
_finalIvs: Default::default(),
|
|
638
635
|
}
|
|
639
636
|
}
|
|
640
637
|
}
|
package/src/importer.rs
CHANGED