quicknode-sdk 0.2.1__tar.gz → 0.4.0__tar.gz
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.
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/Cargo.lock +85 -89
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/Cargo.toml +1 -1
- {quicknode_sdk-0.2.1/crates/core → quicknode_sdk-0.4.0}/LICENSE +1 -1
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/PKG-INFO +5 -5
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/Cargo.toml +1 -1
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/README.md +4 -4
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/examples/admin_e2e.rs +7 -8
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/endpoint_security.rs +6 -12
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/mod.rs +1 -1
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/python/src/lib.rs +6 -10
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/pyproject.toml +1 -1
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/python/README.md +4 -4
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/python/quicknode_sdk/_core/__init__.pyi +16 -16
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0/crates/core}/LICENSE +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/examples/admin.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/examples/kvstore_e2e.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/examples/streams.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/examples/streams_e2e.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/examples/webhooks_e2e.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/billing.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/bulk.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/chains.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/endpoint_metrics.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/endpoint_rate_limits.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/endpoint_urls.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/endpoints.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/logs.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/tags.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/teams.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/admin/usage.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/config.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/errors.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/kvstore/mod.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/lib.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/streams/mod.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/streams/stream.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/webhooks/mod.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/core/src/webhooks/webhook.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/python/Cargo.toml +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/python/src/errors.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/python/src/streams_destination.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/crates/python/src/webhooks_template.rs +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/python/quicknode_sdk/__init__.py +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/python/quicknode_sdk/__init__.pyi +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/python/quicknode_sdk/init_manual_override.pyi +0 -0
- {quicknode_sdk-0.2.1 → quicknode_sdk-0.4.0}/python/quicknode_sdk/py.typed +0 -0
|
@@ -113,9 +113,9 @@ dependencies = [
|
|
|
113
113
|
|
|
114
114
|
[[package]]
|
|
115
115
|
name = "bitflags"
|
|
116
|
-
version = "2.
|
|
116
|
+
version = "2.13.0"
|
|
117
117
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
-
checksum = "
|
|
118
|
+
checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
|
|
119
119
|
dependencies = [
|
|
120
120
|
"serde_core",
|
|
121
121
|
]
|
|
@@ -131,9 +131,9 @@ dependencies = [
|
|
|
131
131
|
|
|
132
132
|
[[package]]
|
|
133
133
|
name = "bon"
|
|
134
|
-
version = "3.9.
|
|
134
|
+
version = "3.9.3"
|
|
135
135
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
-
checksum = "
|
|
136
|
+
checksum = "a602c73c7b0148ec6d12af6fd5cc7a46e2eacc8878271a999abac56eed12f561"
|
|
137
137
|
dependencies = [
|
|
138
138
|
"bon-macros",
|
|
139
139
|
"rustversion",
|
|
@@ -141,9 +141,9 @@ dependencies = [
|
|
|
141
141
|
|
|
142
142
|
[[package]]
|
|
143
143
|
name = "bon-macros"
|
|
144
|
-
version = "3.9.
|
|
144
|
+
version = "3.9.3"
|
|
145
145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
-
checksum = "
|
|
146
|
+
checksum = "6dee98b0db6a962de883bf5d20362dee4d7ca0d12fe39a7c6c73c844e1cd7c1f"
|
|
147
147
|
dependencies = [
|
|
148
148
|
"darling",
|
|
149
149
|
"ident_case",
|
|
@@ -162,15 +162,15 @@ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
|
162
162
|
|
|
163
163
|
[[package]]
|
|
164
164
|
name = "bytes"
|
|
165
|
-
version = "1.
|
|
165
|
+
version = "1.12.0"
|
|
166
166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
-
checksum = "
|
|
167
|
+
checksum = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593"
|
|
168
168
|
|
|
169
169
|
[[package]]
|
|
170
170
|
name = "cc"
|
|
171
|
-
version = "1.2.
|
|
171
|
+
version = "1.2.65"
|
|
172
172
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
173
|
+
checksum = "e228eec9be7c17ccb640b59b36a5cd805ea2a564a4c5e162c2f659fea30d3b96"
|
|
174
174
|
dependencies = [
|
|
175
175
|
"find-msvc-tools",
|
|
176
176
|
"jobserver",
|
|
@@ -201,9 +201,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|
|
201
201
|
|
|
202
202
|
[[package]]
|
|
203
203
|
name = "chrono"
|
|
204
|
-
version = "0.4.
|
|
204
|
+
version = "0.4.45"
|
|
205
205
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
-
checksum = "
|
|
206
|
+
checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327"
|
|
207
207
|
dependencies = [
|
|
208
208
|
"iana-time-zone",
|
|
209
209
|
"js-sys",
|
|
@@ -244,9 +244,9 @@ dependencies = [
|
|
|
244
244
|
|
|
245
245
|
[[package]]
|
|
246
246
|
name = "config"
|
|
247
|
-
version = "0.15.
|
|
247
|
+
version = "0.15.24"
|
|
248
248
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
-
checksum = "
|
|
249
|
+
checksum = "0b34d0237145f33580b89724f75d16950efd3e2c91b2d823917ecb69ec7f84f0"
|
|
250
250
|
dependencies = [
|
|
251
251
|
"async-trait",
|
|
252
252
|
"convert_case 0.6.0",
|
|
@@ -404,9 +404,6 @@ name = "deranged"
|
|
|
404
404
|
version = "0.5.8"
|
|
405
405
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
406
406
|
checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
|
|
407
|
-
dependencies = [
|
|
408
|
-
"powerfmt",
|
|
409
|
-
]
|
|
410
407
|
|
|
411
408
|
[[package]]
|
|
412
409
|
name = "digest"
|
|
@@ -651,9 +648,9 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
|
651
648
|
|
|
652
649
|
[[package]]
|
|
653
650
|
name = "h2"
|
|
654
|
-
version = "0.4.
|
|
651
|
+
version = "0.4.15"
|
|
655
652
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
656
|
-
checksum = "
|
|
653
|
+
checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155"
|
|
657
654
|
dependencies = [
|
|
658
655
|
"atomic-waker",
|
|
659
656
|
"bytes",
|
|
@@ -691,9 +688,9 @@ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
|
691
688
|
|
|
692
689
|
[[package]]
|
|
693
690
|
name = "hashlink"
|
|
694
|
-
version = "0.11.
|
|
691
|
+
version = "0.11.1"
|
|
695
692
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
696
|
-
checksum = "
|
|
693
|
+
checksum = "824e001ac4f3012dd16a264bec811403a67ca9deb6c102fc5049b32c4574b35f"
|
|
697
694
|
dependencies = [
|
|
698
695
|
"hashbrown 0.16.1",
|
|
699
696
|
]
|
|
@@ -712,9 +709,9 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
|
|
|
712
709
|
|
|
713
710
|
[[package]]
|
|
714
711
|
name = "http"
|
|
715
|
-
version = "1.4.
|
|
712
|
+
version = "1.4.2"
|
|
716
713
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
717
|
-
checksum = "
|
|
714
|
+
checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
|
|
718
715
|
dependencies = [
|
|
719
716
|
"bytes",
|
|
720
717
|
"itoa",
|
|
@@ -1088,13 +1085,12 @@ dependencies = [
|
|
|
1088
1085
|
|
|
1089
1086
|
[[package]]
|
|
1090
1087
|
name = "js-sys"
|
|
1091
|
-
version = "0.3.
|
|
1088
|
+
version = "0.3.102"
|
|
1092
1089
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1093
|
-
checksum = "
|
|
1090
|
+
checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
|
|
1094
1091
|
dependencies = [
|
|
1095
1092
|
"cfg-if",
|
|
1096
1093
|
"futures-util",
|
|
1097
|
-
"once_cell",
|
|
1098
1094
|
"wasm-bindgen",
|
|
1099
1095
|
]
|
|
1100
1096
|
|
|
@@ -1155,9 +1151,9 @@ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
|
|
|
1155
1151
|
|
|
1156
1152
|
[[package]]
|
|
1157
1153
|
name = "log"
|
|
1158
|
-
version = "0.4.
|
|
1154
|
+
version = "0.4.33"
|
|
1159
1155
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1160
|
-
checksum = "
|
|
1156
|
+
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
|
|
1161
1157
|
|
|
1162
1158
|
[[package]]
|
|
1163
1159
|
name = "lru-slab"
|
|
@@ -1206,9 +1202,9 @@ dependencies = [
|
|
|
1206
1202
|
|
|
1207
1203
|
[[package]]
|
|
1208
1204
|
name = "memchr"
|
|
1209
|
-
version = "2.8.
|
|
1205
|
+
version = "2.8.2"
|
|
1210
1206
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1211
|
-
checksum = "
|
|
1207
|
+
checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
|
|
1212
1208
|
|
|
1213
1209
|
[[package]]
|
|
1214
1210
|
name = "memoffset"
|
|
@@ -1238,9 +1234,9 @@ dependencies = [
|
|
|
1238
1234
|
|
|
1239
1235
|
[[package]]
|
|
1240
1236
|
name = "napi"
|
|
1241
|
-
version = "3.9.
|
|
1237
|
+
version = "3.9.4"
|
|
1242
1238
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1243
|
-
checksum = "
|
|
1239
|
+
checksum = "b41bda2ac390efb5e8d22025d925ccc3f3807d8c1bea6d19b36127247c4b8f83"
|
|
1244
1240
|
dependencies = [
|
|
1245
1241
|
"bitflags",
|
|
1246
1242
|
"ctor",
|
|
@@ -1262,9 +1258,9 @@ checksum = "c9c366d2c8c60b86fa632df75f745509b52f9128f91a6bad4c796e44abb505e1"
|
|
|
1262
1258
|
|
|
1263
1259
|
[[package]]
|
|
1264
1260
|
name = "napi-derive"
|
|
1265
|
-
version = "3.5.
|
|
1261
|
+
version = "3.5.7"
|
|
1266
1262
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1267
|
-
checksum = "
|
|
1263
|
+
checksum = "61d66f70256ad5aef58659966064471d0ad90e2897bc36a5a5e0389c85aabc1e"
|
|
1268
1264
|
dependencies = [
|
|
1269
1265
|
"convert_case 0.11.0",
|
|
1270
1266
|
"ctor",
|
|
@@ -1276,9 +1272,9 @@ dependencies = [
|
|
|
1276
1272
|
|
|
1277
1273
|
[[package]]
|
|
1278
1274
|
name = "napi-derive-backend"
|
|
1279
|
-
version = "5.0.
|
|
1275
|
+
version = "5.0.5"
|
|
1280
1276
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1281
|
-
checksum = "
|
|
1277
|
+
checksum = "81b4b08f15eed7a2a20c3f4c6314013fc3ac890a3afa9892b594485299ebdb2d"
|
|
1282
1278
|
dependencies = [
|
|
1283
1279
|
"convert_case 0.11.0",
|
|
1284
1280
|
"proc-macro2",
|
|
@@ -1289,9 +1285,9 @@ dependencies = [
|
|
|
1289
1285
|
|
|
1290
1286
|
[[package]]
|
|
1291
1287
|
name = "napi-sys"
|
|
1292
|
-
version = "3.2.
|
|
1288
|
+
version = "3.2.2"
|
|
1293
1289
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1294
|
-
checksum = "
|
|
1290
|
+
checksum = "1f5bcdf71abd3a50d00b49c1c2c75251cb3c913777d6139cd37dabc093a5e400"
|
|
1295
1291
|
dependencies = [
|
|
1296
1292
|
"libloading 0.9.0",
|
|
1297
1293
|
]
|
|
@@ -1700,7 +1696,7 @@ dependencies = [
|
|
|
1700
1696
|
|
|
1701
1697
|
[[package]]
|
|
1702
1698
|
name = "quicknode-sdk"
|
|
1703
|
-
version = "0.
|
|
1699
|
+
version = "0.4.0"
|
|
1704
1700
|
dependencies = [
|
|
1705
1701
|
"bon",
|
|
1706
1702
|
"config",
|
|
@@ -1722,9 +1718,9 @@ dependencies = [
|
|
|
1722
1718
|
|
|
1723
1719
|
[[package]]
|
|
1724
1720
|
name = "quinn"
|
|
1725
|
-
version = "0.11.
|
|
1721
|
+
version = "0.11.11"
|
|
1726
1722
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1727
|
-
checksum = "
|
|
1723
|
+
checksum = "0c1a41e437b6bbd489372cd4971de128e85c855f56c57f283d20ff016cf7c0a8"
|
|
1728
1724
|
dependencies = [
|
|
1729
1725
|
"bytes",
|
|
1730
1726
|
"cfg_aliases",
|
|
@@ -1742,9 +1738,9 @@ dependencies = [
|
|
|
1742
1738
|
|
|
1743
1739
|
[[package]]
|
|
1744
1740
|
name = "quinn-proto"
|
|
1745
|
-
version = "0.11.
|
|
1741
|
+
version = "0.11.15"
|
|
1746
1742
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1747
|
-
checksum = "
|
|
1743
|
+
checksum = "4fcb935c5bec503c2f0e306bdd3e58bb9029dcb14fa8d9ac76e3a5256ac0763e"
|
|
1748
1744
|
dependencies = [
|
|
1749
1745
|
"aws-lc-rs",
|
|
1750
1746
|
"bytes",
|
|
@@ -1778,9 +1774,9 @@ dependencies = [
|
|
|
1778
1774
|
|
|
1779
1775
|
[[package]]
|
|
1780
1776
|
name = "quote"
|
|
1781
|
-
version = "1.0.
|
|
1777
|
+
version = "1.0.46"
|
|
1782
1778
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1783
|
-
checksum = "
|
|
1779
|
+
checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
|
|
1784
1780
|
dependencies = [
|
|
1785
1781
|
"proc-macro2",
|
|
1786
1782
|
]
|
|
@@ -1888,9 +1884,9 @@ checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
|
1888
1884
|
|
|
1889
1885
|
[[package]]
|
|
1890
1886
|
name = "regex"
|
|
1891
|
-
version = "1.12.
|
|
1887
|
+
version = "1.12.4"
|
|
1892
1888
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1893
|
-
checksum = "
|
|
1889
|
+
checksum = "f1292b7759ae1cb9ec195452d1390a074f0cd8541ab7a5a8c31cd6db45d4a6ba"
|
|
1894
1890
|
dependencies = [
|
|
1895
1891
|
"aho-corasick",
|
|
1896
1892
|
"memchr",
|
|
@@ -1911,9 +1907,9 @@ dependencies = [
|
|
|
1911
1907
|
|
|
1912
1908
|
[[package]]
|
|
1913
1909
|
name = "regex-syntax"
|
|
1914
|
-
version = "0.8.
|
|
1910
|
+
version = "0.8.11"
|
|
1915
1911
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1916
|
-
checksum = "
|
|
1912
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
1917
1913
|
|
|
1918
1914
|
[[package]]
|
|
1919
1915
|
name = "reqwest"
|
|
@@ -1970,9 +1966,9 @@ dependencies = [
|
|
|
1970
1966
|
|
|
1971
1967
|
[[package]]
|
|
1972
1968
|
name = "ron"
|
|
1973
|
-
version = "0.12.
|
|
1969
|
+
version = "0.12.2"
|
|
1974
1970
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1975
|
-
checksum = "
|
|
1971
|
+
checksum = "81116b9531d61eabc41aeb228e4b6b2435bcca3233b98cf3b3077d4e6e9debb3"
|
|
1976
1972
|
dependencies = [
|
|
1977
1973
|
"bitflags",
|
|
1978
1974
|
"once_cell",
|
|
@@ -2015,9 +2011,9 @@ dependencies = [
|
|
|
2015
2011
|
|
|
2016
2012
|
[[package]]
|
|
2017
2013
|
name = "rustls"
|
|
2018
|
-
version = "0.23.
|
|
2014
|
+
version = "0.23.41"
|
|
2019
2015
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2020
|
-
checksum = "
|
|
2016
|
+
checksum = "6b92b125634d9b795e7beca796cc790df15a7fb38323bf3196fda83292d06b1f"
|
|
2021
2017
|
dependencies = [
|
|
2022
2018
|
"aws-lc-rs",
|
|
2023
2019
|
"once_cell",
|
|
@@ -2177,7 +2173,7 @@ dependencies = [
|
|
|
2177
2173
|
|
|
2178
2174
|
[[package]]
|
|
2179
2175
|
name = "sdk-node"
|
|
2180
|
-
version = "0.
|
|
2176
|
+
version = "0.4.0"
|
|
2181
2177
|
dependencies = [
|
|
2182
2178
|
"napi",
|
|
2183
2179
|
"napi-build",
|
|
@@ -2189,7 +2185,7 @@ dependencies = [
|
|
|
2189
2185
|
|
|
2190
2186
|
[[package]]
|
|
2191
2187
|
name = "sdk-python"
|
|
2192
|
-
version = "0.
|
|
2188
|
+
version = "0.4.0"
|
|
2193
2189
|
dependencies = [
|
|
2194
2190
|
"pyo3",
|
|
2195
2191
|
"pyo3-async-runtimes",
|
|
@@ -2200,7 +2196,7 @@ dependencies = [
|
|
|
2200
2196
|
|
|
2201
2197
|
[[package]]
|
|
2202
2198
|
name = "sdk-python-stubs"
|
|
2203
|
-
version = "0.
|
|
2199
|
+
version = "0.4.0"
|
|
2204
2200
|
dependencies = [
|
|
2205
2201
|
"pyo3-stub-gen",
|
|
2206
2202
|
"sdk-python",
|
|
@@ -2208,7 +2204,7 @@ dependencies = [
|
|
|
2208
2204
|
|
|
2209
2205
|
[[package]]
|
|
2210
2206
|
name = "sdk-ruby"
|
|
2211
|
-
version = "0.
|
|
2207
|
+
version = "0.4.0"
|
|
2212
2208
|
dependencies = [
|
|
2213
2209
|
"magnus",
|
|
2214
2210
|
"quicknode-sdk",
|
|
@@ -2409,9 +2405,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
|
2409
2405
|
|
|
2410
2406
|
[[package]]
|
|
2411
2407
|
name = "smallvec"
|
|
2412
|
-
version = "1.15.
|
|
2408
|
+
version = "1.15.2"
|
|
2413
2409
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2414
|
-
checksum = "
|
|
2410
|
+
checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
|
|
2415
2411
|
|
|
2416
2412
|
[[package]]
|
|
2417
2413
|
name = "socket2"
|
|
@@ -2449,9 +2445,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
|
|
2449
2445
|
|
|
2450
2446
|
[[package]]
|
|
2451
2447
|
name = "syn"
|
|
2452
|
-
version = "2.0.
|
|
2448
|
+
version = "2.0.118"
|
|
2453
2449
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2454
|
-
checksum = "
|
|
2450
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
2455
2451
|
dependencies = [
|
|
2456
2452
|
"proc-macro2",
|
|
2457
2453
|
"quote",
|
|
@@ -2532,9 +2528,9 @@ dependencies = [
|
|
|
2532
2528
|
|
|
2533
2529
|
[[package]]
|
|
2534
2530
|
name = "time"
|
|
2535
|
-
version = "0.3.
|
|
2531
|
+
version = "0.3.51"
|
|
2536
2532
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2537
|
-
checksum = "
|
|
2533
|
+
checksum = "85c17d80feb7334b40c484e45ed1a5273dfd8bfda537c3be2e74a06a6686f327"
|
|
2538
2534
|
dependencies = [
|
|
2539
2535
|
"deranged",
|
|
2540
2536
|
"num-conv",
|
|
@@ -2545,9 +2541,9 @@ dependencies = [
|
|
|
2545
2541
|
|
|
2546
2542
|
[[package]]
|
|
2547
2543
|
name = "time-core"
|
|
2548
|
-
version = "0.1.
|
|
2544
|
+
version = "0.1.9"
|
|
2549
2545
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2550
|
-
checksum = "
|
|
2546
|
+
checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
|
|
2551
2547
|
|
|
2552
2548
|
[[package]]
|
|
2553
2549
|
name = "tiny-keccak"
|
|
@@ -2914,18 +2910,18 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
|
2914
2910
|
|
|
2915
2911
|
[[package]]
|
|
2916
2912
|
name = "wasip2"
|
|
2917
|
-
version = "1.0.
|
|
2913
|
+
version = "1.0.4+wasi-0.2.12"
|
|
2918
2914
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2919
|
-
checksum = "
|
|
2915
|
+
checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
|
|
2920
2916
|
dependencies = [
|
|
2921
2917
|
"wit-bindgen",
|
|
2922
2918
|
]
|
|
2923
2919
|
|
|
2924
2920
|
[[package]]
|
|
2925
2921
|
name = "wasm-bindgen"
|
|
2926
|
-
version = "0.2.
|
|
2922
|
+
version = "0.2.125"
|
|
2927
2923
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2928
|
-
checksum = "
|
|
2924
|
+
checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
|
|
2929
2925
|
dependencies = [
|
|
2930
2926
|
"cfg-if",
|
|
2931
2927
|
"once_cell",
|
|
@@ -2936,9 +2932,9 @@ dependencies = [
|
|
|
2936
2932
|
|
|
2937
2933
|
[[package]]
|
|
2938
2934
|
name = "wasm-bindgen-futures"
|
|
2939
|
-
version = "0.4.
|
|
2935
|
+
version = "0.4.75"
|
|
2940
2936
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2941
|
-
checksum = "
|
|
2937
|
+
checksum = "503b14d284f2c8dac03b819967e155ea753f573586193b2b2c95990cb5d69280"
|
|
2942
2938
|
dependencies = [
|
|
2943
2939
|
"js-sys",
|
|
2944
2940
|
"wasm-bindgen",
|
|
@@ -2946,9 +2942,9 @@ dependencies = [
|
|
|
2946
2942
|
|
|
2947
2943
|
[[package]]
|
|
2948
2944
|
name = "wasm-bindgen-macro"
|
|
2949
|
-
version = "0.2.
|
|
2945
|
+
version = "0.2.125"
|
|
2950
2946
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2951
|
-
checksum = "
|
|
2947
|
+
checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
|
|
2952
2948
|
dependencies = [
|
|
2953
2949
|
"quote",
|
|
2954
2950
|
"wasm-bindgen-macro-support",
|
|
@@ -2956,9 +2952,9 @@ dependencies = [
|
|
|
2956
2952
|
|
|
2957
2953
|
[[package]]
|
|
2958
2954
|
name = "wasm-bindgen-macro-support"
|
|
2959
|
-
version = "0.2.
|
|
2955
|
+
version = "0.2.125"
|
|
2960
2956
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2961
|
-
checksum = "
|
|
2957
|
+
checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
|
|
2962
2958
|
dependencies = [
|
|
2963
2959
|
"bumpalo",
|
|
2964
2960
|
"proc-macro2",
|
|
@@ -2969,18 +2965,18 @@ dependencies = [
|
|
|
2969
2965
|
|
|
2970
2966
|
[[package]]
|
|
2971
2967
|
name = "wasm-bindgen-shared"
|
|
2972
|
-
version = "0.2.
|
|
2968
|
+
version = "0.2.125"
|
|
2973
2969
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2974
|
-
checksum = "
|
|
2970
|
+
checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
|
|
2975
2971
|
dependencies = [
|
|
2976
2972
|
"unicode-ident",
|
|
2977
2973
|
]
|
|
2978
2974
|
|
|
2979
2975
|
[[package]]
|
|
2980
2976
|
name = "web-sys"
|
|
2981
|
-
version = "0.3.
|
|
2977
|
+
version = "0.3.102"
|
|
2982
2978
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2983
|
-
checksum = "
|
|
2979
|
+
checksum = "a6430a72df5eb332242960fe84b3002a241163998241eb596d4f739b9757061d"
|
|
2984
2980
|
dependencies = [
|
|
2985
2981
|
"js-sys",
|
|
2986
2982
|
"wasm-bindgen",
|
|
@@ -2998,9 +2994,9 @@ dependencies = [
|
|
|
2998
2994
|
|
|
2999
2995
|
[[package]]
|
|
3000
2996
|
name = "webpki-root-certs"
|
|
3001
|
-
version = "1.0.
|
|
2997
|
+
version = "1.0.8"
|
|
3002
2998
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3003
|
-
checksum = "
|
|
2999
|
+
checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267"
|
|
3004
3000
|
dependencies = [
|
|
3005
3001
|
"rustls-pki-types",
|
|
3006
3002
|
]
|
|
@@ -3286,9 +3282,9 @@ dependencies = [
|
|
|
3286
3282
|
|
|
3287
3283
|
[[package]]
|
|
3288
3284
|
name = "yoke"
|
|
3289
|
-
version = "0.8.
|
|
3285
|
+
version = "0.8.3"
|
|
3290
3286
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3291
|
-
checksum = "
|
|
3287
|
+
checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
|
|
3292
3288
|
dependencies = [
|
|
3293
3289
|
"stable_deref_trait",
|
|
3294
3290
|
"yoke-derive",
|
|
@@ -3309,18 +3305,18 @@ dependencies = [
|
|
|
3309
3305
|
|
|
3310
3306
|
[[package]]
|
|
3311
3307
|
name = "zerocopy"
|
|
3312
|
-
version = "0.8.
|
|
3308
|
+
version = "0.8.52"
|
|
3313
3309
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3314
|
-
checksum = "
|
|
3310
|
+
checksum = "ce1022995ff5ff5d841ad7d994facc23098cd40152f2c1d11cd607c6f530653f"
|
|
3315
3311
|
dependencies = [
|
|
3316
3312
|
"zerocopy-derive",
|
|
3317
3313
|
]
|
|
3318
3314
|
|
|
3319
3315
|
[[package]]
|
|
3320
3316
|
name = "zerocopy-derive"
|
|
3321
|
-
version = "0.8.
|
|
3317
|
+
version = "0.8.52"
|
|
3322
3318
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3323
|
-
checksum = "
|
|
3319
|
+
checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930"
|
|
3324
3320
|
dependencies = [
|
|
3325
3321
|
"proc-macro2",
|
|
3326
3322
|
"quote",
|
|
@@ -3350,9 +3346,9 @@ dependencies = [
|
|
|
3350
3346
|
|
|
3351
3347
|
[[package]]
|
|
3352
3348
|
name = "zeroize"
|
|
3353
|
-
version = "1.
|
|
3349
|
+
version = "1.9.0"
|
|
3354
3350
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3355
|
-
checksum = "
|
|
3351
|
+
checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
|
|
3356
3352
|
|
|
3357
3353
|
[[package]]
|
|
3358
3354
|
name = "zerotrie"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quicknode-sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Classifier: Intended Audience :: Developers
|
|
5
5
|
Classifier: License :: OSI Approved :: MIT License
|
|
6
6
|
Classifier: Operating System :: POSIX :: Linux
|
|
@@ -580,7 +580,7 @@ await qn.admin.delete_token("ep-123", "tok-1")
|
|
|
580
580
|
|
|
581
581
|
Whitelists a referrer URL or domain on an endpoint.
|
|
582
582
|
|
|
583
|
-
**Parameters**: `id` (endpoint id, required); body: `referrer` (string,
|
|
583
|
+
**Parameters**: `id` (endpoint id, required); body: `referrer` (string, required).
|
|
584
584
|
|
|
585
585
|
**Returns**: nothing.
|
|
586
586
|
|
|
@@ -608,7 +608,7 @@ await qn.admin.delete_referrer("ep-123", "ref-1")
|
|
|
608
608
|
|
|
609
609
|
Whitelists an IP address on an endpoint.
|
|
610
610
|
|
|
611
|
-
**Parameters**: `id` (endpoint id, required); body: `ip` (string,
|
|
611
|
+
**Parameters**: `id` (endpoint id, required); body: `ip` (string, required).
|
|
612
612
|
|
|
613
613
|
**Returns**: nothing.
|
|
614
614
|
|
|
@@ -664,7 +664,7 @@ await qn.admin.delete_domain_mask("ep-123", "dm-1")
|
|
|
664
664
|
|
|
665
665
|
Configures JWT validation on an endpoint.
|
|
666
666
|
|
|
667
|
-
**Parameters**: `id` (endpoint id, required); body: `public_key` (string,
|
|
667
|
+
**Parameters**: `id` (endpoint id, required); body: `public_key` (string, required), `kid` (string, required), `name` (string, required).
|
|
668
668
|
|
|
669
669
|
**Returns**: nothing.
|
|
670
670
|
|
|
@@ -697,7 +697,7 @@ Whitelist specific RPC methods on an endpoint. Requests for methods not on the l
|
|
|
697
697
|
|
|
698
698
|
##### `create_request_filter` / `createRequestFilter`
|
|
699
699
|
|
|
700
|
-
**Parameters**: `id` (endpoint id, required); body: `method` (string[],
|
|
700
|
+
**Parameters**: `id` (endpoint id, required); body: `method` (string[], required). Ruby's Hash key is `methods` (plural).
|
|
701
701
|
|
|
702
702
|
**Returns**: `CreateRequestFilterResponse` with `data.id`.
|
|
703
703
|
|
|
@@ -570,7 +570,7 @@ qn.admin.delete_token("ep-123", "tok-1").await?;
|
|
|
570
570
|
|
|
571
571
|
Whitelists a referrer URL or domain on an endpoint.
|
|
572
572
|
|
|
573
|
-
**Parameters**: `id` (endpoint id, required); body: `referrer` (string,
|
|
573
|
+
**Parameters**: `id` (endpoint id, required); body: `referrer` (string, required).
|
|
574
574
|
|
|
575
575
|
**Returns**: nothing.
|
|
576
576
|
|
|
@@ -599,7 +599,7 @@ qn.admin.delete_referrer("ep-123", "ref-1").await?;
|
|
|
599
599
|
|
|
600
600
|
Whitelists an IP address on an endpoint.
|
|
601
601
|
|
|
602
|
-
**Parameters**: `id` (endpoint id, required); body: `ip` (string,
|
|
602
|
+
**Parameters**: `id` (endpoint id, required); body: `ip` (string, required).
|
|
603
603
|
|
|
604
604
|
**Returns**: nothing.
|
|
605
605
|
|
|
@@ -659,7 +659,7 @@ qn.admin.delete_domain_mask("ep-123", "dm-1").await?;
|
|
|
659
659
|
|
|
660
660
|
Configures JWT validation on an endpoint.
|
|
661
661
|
|
|
662
|
-
**Parameters**: `id` (endpoint id, required); body: `public_key` (string,
|
|
662
|
+
**Parameters**: `id` (endpoint id, required); body: `public_key` (string, required), `kid` (string, required), `name` (string, required).
|
|
663
663
|
|
|
664
664
|
**Returns**: nothing.
|
|
665
665
|
|
|
@@ -692,7 +692,7 @@ Whitelist specific RPC methods on an endpoint. Requests for methods not on the l
|
|
|
692
692
|
|
|
693
693
|
##### `create_request_filter` / `createRequestFilter`
|
|
694
694
|
|
|
695
|
-
**Parameters**: `id` (endpoint id, required); body: `method` (string[],
|
|
695
|
+
**Parameters**: `id` (endpoint id, required); body: `method` (string[], required). Ruby's Hash key is `methods` (plural).
|
|
696
696
|
|
|
697
697
|
**Returns**: `CreateRequestFilterResponse` with `data.id`.
|
|
698
698
|
|
|
@@ -341,7 +341,7 @@ async fn main() {
|
|
|
341
341
|
.create_referrer(
|
|
342
342
|
&endpoint_id,
|
|
343
343
|
&CreateReferrerRequest {
|
|
344
|
-
referrer:
|
|
344
|
+
referrer: "https://example.com".to_string(),
|
|
345
345
|
},
|
|
346
346
|
)
|
|
347
347
|
.await
|
|
@@ -378,7 +378,7 @@ async fn main() {
|
|
|
378
378
|
.create_ip(
|
|
379
379
|
&endpoint_id,
|
|
380
380
|
&CreateIpRequest {
|
|
381
|
-
ip:
|
|
381
|
+
ip: "192.0.2.1".to_string(),
|
|
382
382
|
},
|
|
383
383
|
)
|
|
384
384
|
.await
|
|
@@ -452,11 +452,10 @@ async fn main() {
|
|
|
452
452
|
.create_jwt(
|
|
453
453
|
&endpoint_id,
|
|
454
454
|
&CreateJwtRequest {
|
|
455
|
-
public_key:
|
|
456
|
-
|
|
457
|
-
),
|
|
458
|
-
|
|
459
|
-
name: Some("example-jwt".to_string()),
|
|
455
|
+
public_key: "-----BEGIN PUBLIC KEY-----\nPLACEHOLDER\n-----END PUBLIC KEY-----"
|
|
456
|
+
.to_string(),
|
|
457
|
+
kid: "kid1".to_string(),
|
|
458
|
+
name: "example-jwt".to_string(),
|
|
460
459
|
},
|
|
461
460
|
)
|
|
462
461
|
.await
|
|
@@ -492,7 +491,7 @@ async fn main() {
|
|
|
492
491
|
.create_request_filter(
|
|
493
492
|
&endpoint_id,
|
|
494
493
|
&CreateRequestFilterRequest {
|
|
495
|
-
method:
|
|
494
|
+
method: vec!["eth_getBalance".to_string()],
|
|
496
495
|
},
|
|
497
496
|
)
|
|
498
497
|
.await
|
|
@@ -104,8 +104,7 @@ pub struct UpdateSecurityOptionsResponse {
|
|
|
104
104
|
#[derive(Debug, Clone, Default, Serialize)]
|
|
105
105
|
pub struct CreateReferrerRequest {
|
|
106
106
|
/// Allowed referrer URL or domain.
|
|
107
|
-
|
|
108
|
-
pub referrer: Option<String>,
|
|
107
|
+
pub referrer: String,
|
|
109
108
|
}
|
|
110
109
|
|
|
111
110
|
/// Parameters for `create_ip`.
|
|
@@ -116,8 +115,7 @@ pub struct CreateReferrerRequest {
|
|
|
116
115
|
#[derive(Debug, Clone, Default, Serialize)]
|
|
117
116
|
pub struct CreateIpRequest {
|
|
118
117
|
/// IP address to whitelist.
|
|
119
|
-
|
|
120
|
-
pub ip: Option<String>,
|
|
118
|
+
pub ip: String,
|
|
121
119
|
}
|
|
122
120
|
|
|
123
121
|
/// Parameters for `create_domain_mask`.
|
|
@@ -140,14 +138,11 @@ pub struct CreateDomainMaskRequest {
|
|
|
140
138
|
#[derive(Debug, Clone, Default, Serialize)]
|
|
141
139
|
pub struct CreateJwtRequest {
|
|
142
140
|
/// Public key used to verify signed JWTs.
|
|
143
|
-
|
|
144
|
-
pub public_key: Option<String>,
|
|
141
|
+
pub public_key: String,
|
|
145
142
|
/// Key identifier (`kid`) embedded in JWT headers.
|
|
146
|
-
|
|
147
|
-
pub kid: Option<String>,
|
|
143
|
+
pub kid: String,
|
|
148
144
|
/// Human-readable name for the JWT configuration.
|
|
149
|
-
|
|
150
|
-
pub name: Option<String>,
|
|
145
|
+
pub name: String,
|
|
151
146
|
}
|
|
152
147
|
|
|
153
148
|
/// Parameters for `create_request_filter`.
|
|
@@ -158,8 +153,7 @@ pub struct CreateJwtRequest {
|
|
|
158
153
|
#[derive(Debug, Clone, Default, Serialize)]
|
|
159
154
|
pub struct CreateRequestFilterRequest {
|
|
160
155
|
/// Whitelisted RPC methods; other methods will be blocked.
|
|
161
|
-
|
|
162
|
-
pub method: Option<Vec<String>>,
|
|
156
|
+
pub method: Vec<String>,
|
|
163
157
|
}
|
|
164
158
|
|
|
165
159
|
/// Response from `create_request_filter`.
|
|
@@ -550,13 +550,12 @@ impl AdminApiClient {
|
|
|
550
550
|
|
|
551
551
|
/// Adds a referrer to an endpoint's security settings, specifying which
|
|
552
552
|
/// external URL or domain is permitted to call the endpoint.
|
|
553
|
-
#[pyo3(signature = (id, referrer=None))]
|
|
554
553
|
#[gen_stub(override_return_type(type_repr = "typing.Coroutine[typing.Any, typing.Any, None]"))]
|
|
555
554
|
fn create_referrer<'py>(
|
|
556
555
|
&self,
|
|
557
556
|
py: Python<'py>,
|
|
558
557
|
id: String,
|
|
559
|
-
referrer:
|
|
558
|
+
referrer: String,
|
|
560
559
|
) -> PyResult<Bound<'py, PyAny>> {
|
|
561
560
|
let client = self.inner.clone();
|
|
562
561
|
let params = core::admin::CreateReferrerRequest { referrer };
|
|
@@ -588,13 +587,12 @@ impl AdminApiClient {
|
|
|
588
587
|
}
|
|
589
588
|
|
|
590
589
|
/// Adds an IP address to an endpoint's security whitelist.
|
|
591
|
-
#[pyo3(signature = (id, ip=None))]
|
|
592
590
|
#[gen_stub(override_return_type(type_repr = "typing.Coroutine[typing.Any, typing.Any, None]"))]
|
|
593
591
|
fn create_ip<'py>(
|
|
594
592
|
&self,
|
|
595
593
|
py: Python<'py>,
|
|
596
594
|
id: String,
|
|
597
|
-
ip:
|
|
595
|
+
ip: String,
|
|
598
596
|
) -> PyResult<Bound<'py, PyAny>> {
|
|
599
597
|
let client = self.inner.clone();
|
|
600
598
|
let params = core::admin::CreateIpRequest { ip };
|
|
@@ -667,15 +665,14 @@ impl AdminApiClient {
|
|
|
667
665
|
|
|
668
666
|
/// Creates a new JWT for endpoint authentication. Accepts a public key,
|
|
669
667
|
/// key id (`kid`), and token name.
|
|
670
|
-
#[pyo3(signature = (id, public_key=None, kid=None, name=None))]
|
|
671
668
|
#[gen_stub(override_return_type(type_repr = "typing.Coroutine[typing.Any, typing.Any, None]"))]
|
|
672
669
|
fn create_jwt<'py>(
|
|
673
670
|
&self,
|
|
674
671
|
py: Python<'py>,
|
|
675
672
|
id: String,
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
name:
|
|
673
|
+
kid: String,
|
|
674
|
+
public_key: String,
|
|
675
|
+
name: String,
|
|
679
676
|
) -> PyResult<Bound<'py, PyAny>> {
|
|
680
677
|
let client = self.inner.clone();
|
|
681
678
|
let params = core::admin::CreateJwtRequest {
|
|
@@ -712,7 +709,6 @@ impl AdminApiClient {
|
|
|
712
709
|
/// Creates a request filter on an endpoint — a method whitelist that
|
|
713
710
|
/// restricts which RPC methods may be called. Accepts an array of method
|
|
714
711
|
/// names; other methods are blocked.
|
|
715
|
-
#[pyo3(signature = (id, method=None))]
|
|
716
712
|
#[gen_stub(override_return_type(
|
|
717
713
|
type_repr = "typing.Coroutine[typing.Any, typing.Any, CreateRequestFilterResponse]"
|
|
718
714
|
))]
|
|
@@ -720,7 +716,7 @@ impl AdminApiClient {
|
|
|
720
716
|
&self,
|
|
721
717
|
py: Python<'py>,
|
|
722
718
|
id: String,
|
|
723
|
-
method:
|
|
719
|
+
method: Vec<String>,
|
|
724
720
|
) -> PyResult<Bound<'py, PyAny>> {
|
|
725
721
|
let client = self.inner.clone();
|
|
726
722
|
let params = core::admin::CreateRequestFilterRequest { method };
|
|
@@ -556,7 +556,7 @@ await qn.admin.delete_token("ep-123", "tok-1")
|
|
|
556
556
|
|
|
557
557
|
Whitelists a referrer URL or domain on an endpoint.
|
|
558
558
|
|
|
559
|
-
**Parameters**: `id` (endpoint id, required); body: `referrer` (string,
|
|
559
|
+
**Parameters**: `id` (endpoint id, required); body: `referrer` (string, required).
|
|
560
560
|
|
|
561
561
|
**Returns**: nothing.
|
|
562
562
|
|
|
@@ -584,7 +584,7 @@ await qn.admin.delete_referrer("ep-123", "ref-1")
|
|
|
584
584
|
|
|
585
585
|
Whitelists an IP address on an endpoint.
|
|
586
586
|
|
|
587
|
-
**Parameters**: `id` (endpoint id, required); body: `ip` (string,
|
|
587
|
+
**Parameters**: `id` (endpoint id, required); body: `ip` (string, required).
|
|
588
588
|
|
|
589
589
|
**Returns**: nothing.
|
|
590
590
|
|
|
@@ -640,7 +640,7 @@ await qn.admin.delete_domain_mask("ep-123", "dm-1")
|
|
|
640
640
|
|
|
641
641
|
Configures JWT validation on an endpoint.
|
|
642
642
|
|
|
643
|
-
**Parameters**: `id` (endpoint id, required); body: `public_key` (string,
|
|
643
|
+
**Parameters**: `id` (endpoint id, required); body: `public_key` (string, required), `kid` (string, required), `name` (string, required).
|
|
644
644
|
|
|
645
645
|
**Returns**: nothing.
|
|
646
646
|
|
|
@@ -673,7 +673,7 @@ Whitelist specific RPC methods on an endpoint. Requests for methods not on the l
|
|
|
673
673
|
|
|
674
674
|
##### `create_request_filter` / `createRequestFilter`
|
|
675
675
|
|
|
676
|
-
**Parameters**: `id` (endpoint id, required); body: `method` (string[],
|
|
676
|
+
**Parameters**: `id` (endpoint id, required); body: `method` (string[], required). Ruby's Hash key is `methods` (plural).
|
|
677
677
|
|
|
678
678
|
**Returns**: `CreateRequestFilterResponse` with `data.id`.
|
|
679
679
|
|
|
@@ -385,7 +385,7 @@ class AdminApiClient:
|
|
|
385
385
|
r"""
|
|
386
386
|
Revokes a token on an endpoint by token id.
|
|
387
387
|
"""
|
|
388
|
-
def create_referrer(self, id: builtins.str, referrer:
|
|
388
|
+
def create_referrer(self, id: builtins.str, referrer: builtins.str) -> typing.Coroutine[typing.Any, typing.Any, None]:
|
|
389
389
|
r"""
|
|
390
390
|
Adds a referrer to an endpoint's security settings, specifying which
|
|
391
391
|
external URL or domain is permitted to call the endpoint.
|
|
@@ -394,7 +394,7 @@ class AdminApiClient:
|
|
|
394
394
|
r"""
|
|
395
395
|
Removes a referrer from an endpoint's security settings by referrer id.
|
|
396
396
|
"""
|
|
397
|
-
def create_ip(self, id: builtins.str, ip:
|
|
397
|
+
def create_ip(self, id: builtins.str, ip: builtins.str) -> typing.Coroutine[typing.Any, typing.Any, None]:
|
|
398
398
|
r"""
|
|
399
399
|
Adds an IP address to an endpoint's security whitelist.
|
|
400
400
|
"""
|
|
@@ -412,7 +412,7 @@ class AdminApiClient:
|
|
|
412
412
|
r"""
|
|
413
413
|
Removes a domain mask from an endpoint by domain mask id.
|
|
414
414
|
"""
|
|
415
|
-
def create_jwt(self, id: builtins.str,
|
|
415
|
+
def create_jwt(self, id: builtins.str, kid: builtins.str, public_key: builtins.str, name: builtins.str) -> typing.Coroutine[typing.Any, typing.Any, None]:
|
|
416
416
|
r"""
|
|
417
417
|
Creates a new JWT for endpoint authentication. Accepts a public key,
|
|
418
418
|
key id (`kid`), and token name.
|
|
@@ -422,7 +422,7 @@ class AdminApiClient:
|
|
|
422
422
|
Removes a JWT from an endpoint's security configuration by jwt id,
|
|
423
423
|
revoking its access.
|
|
424
424
|
"""
|
|
425
|
-
def create_request_filter(self, id: builtins.str, method: typing.
|
|
425
|
+
def create_request_filter(self, id: builtins.str, method: typing.Sequence[builtins.str]) -> typing.Coroutine[typing.Any, typing.Any, CreateRequestFilterResponse]:
|
|
426
426
|
r"""
|
|
427
427
|
Creates a request filter on an endpoint — a method whitelist that
|
|
428
428
|
restricts which RPC methods may be called. Accepts an array of method
|
|
@@ -1293,12 +1293,12 @@ class CreateIpRequest:
|
|
|
1293
1293
|
Parameters for `create_ip`.
|
|
1294
1294
|
"""
|
|
1295
1295
|
@property
|
|
1296
|
-
def ip(self) ->
|
|
1296
|
+
def ip(self) -> builtins.str:
|
|
1297
1297
|
r"""
|
|
1298
1298
|
IP address to whitelist.
|
|
1299
1299
|
"""
|
|
1300
1300
|
@ip.setter
|
|
1301
|
-
def ip(self, value:
|
|
1301
|
+
def ip(self, value: builtins.str) -> None:
|
|
1302
1302
|
r"""
|
|
1303
1303
|
IP address to whitelist.
|
|
1304
1304
|
"""
|
|
@@ -1309,32 +1309,32 @@ class CreateJwtRequest:
|
|
|
1309
1309
|
Parameters for `create_jwt`.
|
|
1310
1310
|
"""
|
|
1311
1311
|
@property
|
|
1312
|
-
def public_key(self) ->
|
|
1312
|
+
def public_key(self) -> builtins.str:
|
|
1313
1313
|
r"""
|
|
1314
1314
|
Public key used to verify signed JWTs.
|
|
1315
1315
|
"""
|
|
1316
1316
|
@public_key.setter
|
|
1317
|
-
def public_key(self, value:
|
|
1317
|
+
def public_key(self, value: builtins.str) -> None:
|
|
1318
1318
|
r"""
|
|
1319
1319
|
Public key used to verify signed JWTs.
|
|
1320
1320
|
"""
|
|
1321
1321
|
@property
|
|
1322
|
-
def kid(self) ->
|
|
1322
|
+
def kid(self) -> builtins.str:
|
|
1323
1323
|
r"""
|
|
1324
1324
|
Key identifier (`kid`) embedded in JWT headers.
|
|
1325
1325
|
"""
|
|
1326
1326
|
@kid.setter
|
|
1327
|
-
def kid(self, value:
|
|
1327
|
+
def kid(self, value: builtins.str) -> None:
|
|
1328
1328
|
r"""
|
|
1329
1329
|
Key identifier (`kid`) embedded in JWT headers.
|
|
1330
1330
|
"""
|
|
1331
1331
|
@property
|
|
1332
|
-
def name(self) ->
|
|
1332
|
+
def name(self) -> builtins.str:
|
|
1333
1333
|
r"""
|
|
1334
1334
|
Human-readable name for the JWT configuration.
|
|
1335
1335
|
"""
|
|
1336
1336
|
@name.setter
|
|
1337
|
-
def name(self, value:
|
|
1337
|
+
def name(self, value: builtins.str) -> None:
|
|
1338
1338
|
r"""
|
|
1339
1339
|
Human-readable name for the JWT configuration.
|
|
1340
1340
|
"""
|
|
@@ -1449,12 +1449,12 @@ class CreateReferrerRequest:
|
|
|
1449
1449
|
Parameters for `create_referrer`.
|
|
1450
1450
|
"""
|
|
1451
1451
|
@property
|
|
1452
|
-
def referrer(self) ->
|
|
1452
|
+
def referrer(self) -> builtins.str:
|
|
1453
1453
|
r"""
|
|
1454
1454
|
Allowed referrer URL or domain.
|
|
1455
1455
|
"""
|
|
1456
1456
|
@referrer.setter
|
|
1457
|
-
def referrer(self, value:
|
|
1457
|
+
def referrer(self, value: builtins.str) -> None:
|
|
1458
1458
|
r"""
|
|
1459
1459
|
Allowed referrer URL or domain.
|
|
1460
1460
|
"""
|
|
@@ -1481,12 +1481,12 @@ class CreateRequestFilterRequest:
|
|
|
1481
1481
|
Parameters for `create_request_filter`.
|
|
1482
1482
|
"""
|
|
1483
1483
|
@property
|
|
1484
|
-
def method(self) ->
|
|
1484
|
+
def method(self) -> builtins.list[builtins.str]:
|
|
1485
1485
|
r"""
|
|
1486
1486
|
Whitelisted RPC methods; other methods will be blocked.
|
|
1487
1487
|
"""
|
|
1488
1488
|
@method.setter
|
|
1489
|
-
def method(self, value:
|
|
1489
|
+
def method(self, value: builtins.list[builtins.str]) -> None:
|
|
1490
1490
|
r"""
|
|
1491
1491
|
Whitelisted RPC methods; other methods will be blocked.
|
|
1492
1492
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|