-
Notifications
You must be signed in to change notification settings - Fork 26
/
DarkRoom.js
73 lines (62 loc) · 2.3 KB
/
DarkRoom.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
/******************************
脚本名称: Darkroom
下载地址:http://t.cn/A6C4zYZu
脚本作者:ios151
更新时间:2023年8月24日 00:33
问题反馈:TG
使用声明:⚠️此脚本仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️
*******************************
[rewrite_local]
https://api.revenuecat.com/v1/(receipts|subscribers)/* url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/Darkroom.js
[mitm]
hostname = api.revenuecat.com
*******************************/
var objc = JSON.parse($response.body);
objc = {
"request_date_ms": 1692808352527,
"request_date": "2023-08-23T16:32:32Z",
"subscriber": {
"non_subscriptions": {
},
"first_seen": "2023-07-14T10:16:45Z",
"original_application_version": "64200",
"other_purchases": {
},
"management_url": "https:\/\/apps.apple.com\/account\/subscriptions",
"subscriptions": {
"co.bergen.Darkroom.product.year.everything": {
"original_purchase_date": "2023-07-14T10:18:51Z",
"expires_date": "2999-07-21T10:18:50Z",
"is_sandbox": false,
"refunded_at": null,
"store_transaction_id": "730001197179186",
"unsubscribe_detected_at": null,
"grace_period_expires_date": null,
"period_type": "normal",
"purchase_date": "2023-07-21T10:18:50Z",
"billing_issues_detected_at": null,
"ownership_type": "PURCHASED",
"store": "app_store",
"auto_resume_date": null
}
},
"entitlements": {
"co.bergen.Darkroom.entitlement.allToolsAndFilters": {
"grace_period_expires_date": null,
"purchase_date": "2023-07-21T10:18:50Z",
"product_identifier": "co.bergen.Darkroom.product.year.everything",
"expires_date": "2999-07-21T10:18:50Z"
},
"co.bergen.Darkroom.entitlement.selectiveAdjustments": {
"grace_period_expires_date": null,
"purchase_date": "2999-07-21T10:18:50Z",
"product_identifier": "co.bergen.Darkroom.product.year.everything",
"expires_date": "2024-07-21T10:18:50Z"
}
},
"original_purchase_date": "2023-07-14T10:15:25Z",
"original_app_user_id": "$RCAnonymousID:e6a469d660e440ba81c6b1ae245f05ba",
"last_seen": "2023-08-23T10:27:21Z"
}
}
$done({body : JSON.stringify(objc)});