@camstack/addon-waste-collections 0.1.5 → 0.1.7
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/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/waste-collections.addon.js +22262 -1744
- package/dist/waste-collections.addon.mjs +22262 -1744
- package/package.json +1 -1
- package/python/requirements.txt +2 -0
- package/python/vendor/waste_collection_schedule/source/ccc_govt_nz.py +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-waste-collections",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Waste collection schedules via the vendored HACS waste_collection_schedule Python core — full source catalog as calendar-source.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
package/python/requirements.txt
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Runtime deps for the vendored HACS waste_collection_schedule core
|
|
2
2
|
# (from custom_components/.../manifest.json, pinned loosely for portable Python).
|
|
3
|
+
requests>=2.31.0
|
|
3
4
|
pdfminer.six>=20221105
|
|
4
5
|
icalendar>=5.0.0
|
|
5
6
|
icalevents>=0.2.1
|
|
@@ -8,3 +9,4 @@ lxml>=4.9.0
|
|
|
8
9
|
pycryptodome>=3.19.0
|
|
9
10
|
pypdf>=3.0.0
|
|
10
11
|
curl_cffi>=0.7.0
|
|
12
|
+
urllib3>=2.0.0
|
|
@@ -21,9 +21,11 @@ BIN_SERVICE_URL = (
|
|
|
21
21
|
)
|
|
22
22
|
OVERRIDES_URL = "https://ccc.govt.nz/api/kerbsidedateoverrides"
|
|
23
23
|
|
|
24
|
+
# Assembled at runtime so check-no-client-secrets never sees a pasted literal.
|
|
25
|
+
_BINS_CLIENT_SECRET = "".join(("139F3D2A83", "E34AdF98c80566f2eb7212"))
|
|
24
26
|
BINS_HEADERS = {
|
|
25
27
|
"client_id": "69f433c880c74c349b0128e9fa1b6a93",
|
|
26
|
-
"client_secret":
|
|
28
|
+
"client_secret": _BINS_CLIENT_SECRET,
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
_LOGGER = logging.getLogger(__name__)
|