-
Notifications
You must be signed in to change notification settings - Fork 53
/
Noted.js
102 lines (90 loc) · 10.7 KB
/
Noted.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/******************************
脚本名称: noted录音笔记软件
下载地址:商店3.86版本
脚本作者:ios151
更新时间:2023年9月17日 16:30
问题反馈:https://t.me/ios151
使用声明:⚠️此脚本仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️
*******************************
[rewrite_local]
^https:\/\/subscription-api\.notedapp\.io\/api\/verifyReceipt url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/Noted.js
[mitm]
hostname = subscription-api.notedapp.io
*******************************/
var objc = JSON.parse($response.body);
objc = {
"status" : 0,
"receipt" : {
"receipt_type" : "Production",
"app_item_id" : 1149425482,
"receipt_creation_date" : "2023-09-17 07:48:36 Etc/GMT",
"bundle_id" : "com.digitalworkroom.noted",
"original_purchase_date" : "2023-09-17 07:47:49 Etc/GMT",
"in_app" : [
{
"quantity" : "1",
"purchase_date_ms" : "1694936914000",
"expires_date" : "2023-09-24 07:48:34 Etc/GMT",
"expires_date_pst" : "2023-09-24 00:48:34 America/Los_Angeles",
"is_in_intro_offer_period" : "false",
"transaction_id" : "410001674409606",
"is_trial_period" : "true",
"original_transaction_id" : "410001674409606",
"purchase_date" : "2023-09-17 07:48:34 Etc/GMT",
"product_id" : "com.digitalworkroom.noted.plus.lifetime",
"original_purchase_date_pst" : "2023-09-17 00:48:35 America/Los_Angeles",
"in_app_ownership_type" : "PURCHASED",
"original_purchase_date_ms" : "1694936915000",
"web_order_line_item_id" : "410000782636307",
"expires_date_ms" : "1695541714000",
"purchase_date_pst" : "2023-09-17 00:48:34 America/Los_Angeles",
"original_purchase_date" : "2023-09-17 07:48:35 Etc/GMT"
}
],
"adam_id" : 1149425482,
"receipt_creation_date_pst" : "2023-09-17 00:48:36 America/Los_Angeles",
"request_date" : "2023-09-17 07:48:38 Etc/GMT",
"request_date_pst" : "2023-09-17 00:48:38 America/Los_Angeles",
"version_external_identifier" : 859055955,
"request_date_ms" : "1694936918973",
"original_purchase_date_pst" : "2023-09-17 00:47:49 America/Los_Angeles",
"application_version" : "729",
"original_purchase_date_ms" : "1694936869000",
"receipt_creation_date_ms" : "1694936916000",
"original_application_version" : "729",
"download_id" : 502789016799463230
},
"latest_receipt_info" : {
"quantity" : "1",
"purchase_date_ms" : "1694936914000",
"expires_date" : "2023-09-24 07:48:34 Etc/GMT",
"expires_date_pst" : "2023-09-24 00:48:34 America/Los_Angeles",
"is_in_intro_offer_period" : "false",
"transaction_id" : "410001674409606",
"expires_date_formatted" : "2023-09-24 07:48:34 Etc/GMT",
"is_trial_period" : "true",
"original_transaction_id" : "410001674409606",
"purchase_date" : "2023-09-17 07:48:34 Etc/GMT",
"product_id" : "com.digitalworkroom.noted.plus.lifetime",
"original_purchase_date_pst" : "2023-09-17 00:48:35 America/Los_Angeles",
"in_app_ownership_type" : "PURCHASED",
"subscription_group_identifier" : "20421642",
"original_purchase_date_ms" : "1694936915000",
"web_order_line_item_id" : "410000782636307",
"expires_date_ms" : "1695541714000",
"purchase_date_pst" : "2023-09-17 00:48:34 America/Los_Angeles",
"original_purchase_date" : "2023-09-17 07:48:35 Etc/GMT"
},
"latest_receipt" : "MIIUfgYJKoZIhvcNAQcCoIIUbzCCFGsCAQExCzAJBgUrDgMCGgUAMIIDvAYJKoZIhvcNAQcBoIIDrQSCA6kxggOlMAoCARQCAQEEAgwAMAsCARkCAQEEAwIBAzAMAgEKAgEBBAQWAjQrMAwCAQ4CAQEEBAICARkwDQIBAwIBAQQFDAM3MjkwDQIBCwIBAQQFAgMA5tswDQIBDQIBAQQFAgMCcQIwDQIBEw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CQYFKw4DAhoFADANBgkqhkiG9w0BAQEFAASCAQAX68GPw4BTq9bcVo2SYn9l7FAnCwkCPlaibIcvWKwkELCLGe91UEmMP0O1iquTxiGG7VfSqAhLR4plJ3Tc1t+ojc4n19oHKz/M7OJd6GAdJEo28peeHOdauIhgd+/UjvuaDImkGfPHMXATSmt/VKZPhuJXMTzd7SPd6lovf1O/VnWq+08iPtf8SbdSe2/4gQOXGcTYo3PR5fWk/oCeZon9/rF9bCl8kZDgE2UxuqJqV4lmLvz06n679UwqXGqoqi2jBkVU++Dl8GiLteW6z8nh1BY2PK6xHcrG2qWBZdN8tN2/5XBd4jayRMfwwG8tupH+wCI/zjEjsX0znCkEw6TN",
"valid" : true,
"environment" : "Production",
"pending_renewal_info" : {
"product_id" : "com.digitalworkroom.noted.plus.lifetime",
"original_transaction_id" : "410001674409606",
"is_in_billing_retry_period" : false,
"auto_renew_product_id" : "com.digitalworkroom.noted.plus.lifetime",
"auto_renew_status" : "1"
},
"hasFreeTrial" : true
}
$done({body : JSON.stringify(objc)});