-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathCARROTWeather.js
56 lines (52 loc) · 1.72 KB
/
CARROTWeather.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
/*
CARROT Weather:https://apps.apple.com/app/id961390574
[rewrite_local]
^https?:\/\/carrotweather\.herokuapp\.com\/parse\/functions\/findSubscriptionsForUserId url script-response-body https://raw.githubusercontent.com/Guding88/Script/main/CARROTWeather.js
[MITM]
hostname = carrotweather.herokuapp.com
*/
var guding = JSON.parse($response.body);
guding = {
"result": {
"serverDate": {
"__type": "Date",
"iso": "2023-08-26T06:06:06.552Z"
},
"subscriptions": [
{
"__type": "Object",
"appStartingVersion": "5.11.2.2",
"className": "Subscription",
"status": 0,
"gracePeriodExpiresTime": null,
"packageName": "com.grailr.CARROTweather",
"purchaseTime": 1693290666000,
"expirationReason": null,
"createdAt": "2023-08-26T06:06:06.552Z",
"lastNotificationDate": {
"__type": "Date",
"iso": "2023-08-26T06:06:06.552Z"
},
"productId": "com.grailr.carrotWeather.newPremiumGold1year",
"appPurchaseTime": "1693290666000",
"updatedAt": "2023-08-26T06:06:06.552Z",
"isInBillingRetryPeriod": null,
"lastNotification": "INITIAL_BUY",
"service": "apple",
"originalPurchaseTime": 1693290666000,
"cancellationDate": null,
"environment": "PROD",
"objectId": "P1bnuHa666",
"in_app_ownership_type": "PURCHASED",
"cancellationReason": null,
"autoRenewStatus": 1,
"priceConsentStatus": null,
"isTrialPeriod": null,
"expirationTime": "148204937166000",
"orderId": "540001309466666",
"userId": "A141A63D-6666-4166-8DA1-6BF35D2217D7"
}
]
}
};
$done({ body: JSON.stringify(guding) });