near-jsonrpc-client 1.0.26__py3-none-any.whl → 1.0.27__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: near-jsonrpc-client
3
- Version: 1.0.26
3
+ Version: 1.0.27
4
4
  Summary: A typed Python client for the NEAR JSON-RPC API with Pydantic models and async HTTP support
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
@@ -5,14 +5,14 @@ near_jsonrpc_client/base_client.py,sha256=xd4_o8-Z1wWFpRmkveYTzo1xoqUeQgw-1_oZzF
5
5
  near_jsonrpc_client/client.py,sha256=8gnY3tgUOGwUe4r8_mOedlLik8Zr6jxbNMVxwPlmHYo,453
6
6
  near_jsonrpc_client/errors.py,sha256=pfhIENT9KxjYXTrEsN7dfFpcbnQj2yTFuLMPtDANdeQ,978
7
7
  near_jsonrpc_client/transport.py,sha256=r92Zf7r_4ggU_fKp4pR9WyeaUOVOyLEW7xqz8Ny1buY,1012
8
- near_jsonrpc_client-1.0.26.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
8
+ near_jsonrpc_client-1.0.27.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
9
9
  near_jsonrpc_models/__init__.py,sha256=ktslmXUh7i-8bjpXpUFZoMn9W97ASt7fHcKudeR2KNQ,223758
10
10
  near_jsonrpc_models/access_key.py,sha256=Yxb_imR1x07BdrtSifGDbhKHfuvD8HYYa0iaj3g0V84,918
11
11
  near_jsonrpc_models/access_key_creation_config_view.py,sha256=z3DIfoi6jojkk-S91Eyj15CM_0ZScyOOOmyWYqio4e0,466
12
12
  near_jsonrpc_models/access_key_info_view.py,sha256=q7_s-gjgIztX69cVn7n3yD_MbNH0pfbZBXD5inhZz4I,315
13
13
  near_jsonrpc_models/access_key_list.py,sha256=WfZ5P4LDnY79Z1ql9hNCt6cjZpcGvfsgo_ZX3l6Nm9Q,219
14
14
  near_jsonrpc_models/access_key_permission.py,sha256=frZ2-gD93DdEkzMbbTn4_6ys_NIzZzMIGf8FIy-rk80,1382
15
- near_jsonrpc_models/access_key_permission_view.py,sha256=0Voxj08-99GTXwp_JaETpX9SessAIx3X0200_0IGYms,1593
15
+ near_jsonrpc_models/access_key_permission_view.py,sha256=VVuVJjmCfeix7C1CkbTCTJ9jU5kLAQxSeol0ttf0Ex8,1583
16
16
  near_jsonrpc_models/access_key_view.py,sha256=Rhy9TotlyE-sCfK-W7vjBFJylHBSPyKU1ptk_a9GQtg,321
17
17
  near_jsonrpc_models/account_creation_config_view.py,sha256=WMcheKdCaAAmN9OnzsyyT7cNbfYT3Ty5viUT8DMnskQ,572
18
18
  near_jsonrpc_models/account_data_view.py,sha256=sYx76hlJuXlnTgruTdUjRmRPUZX5EUyvmUMaNoZTqSA,1369
@@ -25,7 +25,7 @@ near_jsonrpc_models/action_creation_config_view.py,sha256=rr4ce2DDAHOh3giM2iUDJ3
25
25
  near_jsonrpc_models/action_error.py,sha256=2_RgIHSnPEcPlOGeDd1bldgA-OCGpoJjbkteRTDpoQo,483
26
26
  near_jsonrpc_models/action_error_kind.py,sha256=DcFzN3GN2LABfr6aeUh26PzLA9Ana2J8c4I2Dcect_I,9820
27
27
  near_jsonrpc_models/action_view.py,sha256=stef2TqTzVIsEoMx7YRlH5ZaKeHCPOYeO9DHDbcP_go,4317
28
- near_jsonrpc_models/actions_validation_error.py,sha256=YwVJNSeOvJrShI40SbR-rbK8glcokbYQQUC07a1SGXI,8329
28
+ near_jsonrpc_models/actions_validation_error.py,sha256=lGy51yGhJ_aWyQjmmCBIDN545ADE1av48i7rrnDfMIk,8319
29
29
  near_jsonrpc_models/add_gas_key_action.py,sha256=KlToqWU2ZEchHpN5qzizDpNcUVXG6xw6WWOpgqF-_vM,328
30
30
  near_jsonrpc_models/add_key_action.py,sha256=NW3IX9Z5CcmPyzDNOlfuWN5V7F22SGXdpiTglY0EcTI,383
31
31
  near_jsonrpc_models/bandwidth_request.py,sha256=EsiLcwYb5MKOoSV3Mfz8yIYk1CQ7RwUvNxKHwTSZ-xk,636
@@ -112,7 +112,7 @@ near_jsonrpc_models/function_call_action.py,sha256=IOaklV8dJ66pgnw-uPouLas9JaoFA
112
112
  near_jsonrpc_models/function_call_error.py,sha256=wOTjahySLaUSQqBS30QtaMLIfzCOkt-8BtM-Urewzm4,2059
113
113
  near_jsonrpc_models/function_call_permission.py,sha256=6ARV0AJPH7r_GMMbOp_nebhcNNHyR7bMd7m7mL-m8aw,1221
114
114
  near_jsonrpc_models/gas_key.py,sha256=moj05oUTq5T59gVnxecChVLV341GxZuijAHiyheC1EQ,712
115
- near_jsonrpc_models/gas_key_info.py,sha256=_0PSczoYKvqsiqnCGcV_Nap-0LfifgAsX-fFjvy-YrY,210
115
+ near_jsonrpc_models/gas_key_info.py,sha256=HzjdgbZVYRmuuCDDTMiHpBK-8w0JWapuxQMJzHfCqOM,205
116
116
  near_jsonrpc_models/gas_key_info_view.py,sha256=6lc8mH-eEWBXUY5sLViqOQvAoC9cqCDAxjJvOZpfr4M,225
117
117
  near_jsonrpc_models/gas_key_list.py,sha256=9whDu9_-16RK7EK7ObV6AC7MPa8XwqsPkNtXQX1Njds,182
118
118
  near_jsonrpc_models/gas_key_view.py,sha256=nz0nwvQolrrX4xKP_E0qTAYV1yVZ4kWJaKu29zjTQVI,413
@@ -126,7 +126,7 @@ near_jsonrpc_models/global_contract_identifier_view.py,sha256=bszqMev26r3VTndJkh
126
126
  near_jsonrpc_models/host_error.py,sha256=F4hVZlK5ECScRjHqD-OyUjcNzQ-9npBAiDOJA4Xr6I4,8889
127
127
  near_jsonrpc_models/internal_error.py,sha256=ynRQg1VxXY8Znes5kIWJWEZcN7IjvARdg4eSWMb5y84,389
128
128
  near_jsonrpc_models/invalid_access_key_error.py,sha256=SrK7EOQbne6YtJr7aJOXYJY-Q5bpJcjDM-1tqWiwhLg,2326
129
- near_jsonrpc_models/invalid_tx_error.py,sha256=sFcRNDo4QvQdLbUASozs9dbelI55ucJEieMTqWNbjQc,6386
129
+ near_jsonrpc_models/invalid_tx_error.py,sha256=JcmRCe1XYaW1b-BHAEHMzkP68SrgrD9XLydP5f4bfTE,6376
130
130
  near_jsonrpc_models/json_rpc_request_for_block.py,sha256=IpFt4bFVNrkqIz8XQTExhOou6Z252aiY3t2uHeedvf8,253
131
131
  near_jsonrpc_models/json_rpc_request_for_block_effects.py,sha256=nzPzBXABFtsZH5JFzeBfIVJkIKL44DWEgmrXHhPWYs8,313
132
132
  near_jsonrpc_models/json_rpc_request_for_broadcast_tx_async.py,sha256=2WYeGGyXpQOM-_EAyqhksfhLyBCpM4I1Ev_plIUOwsw,308
@@ -316,12 +316,12 @@ near_jsonrpc_models/shard_uid.py,sha256=V97Hg2KnEYSZ09e1x0iTU1QfjARw0gaYFzjVVKa1
316
316
  near_jsonrpc_models/signature.py,sha256=RDKsrVrhApco5QeV_CVC4fiu8BmPumxcOKVAqRDGHns,107
317
317
  near_jsonrpc_models/signed_delegate_action.py,sha256=nvDGsVczg5tB0vBthoxM7BGhuafpbNGXCf77BvDk5b0,248
318
318
  near_jsonrpc_models/signed_transaction.py,sha256=y1MhWDYQM-Pfyad2T1TkUshqeG4uQX0t9e2jx0qknak,115
319
- near_jsonrpc_models/signed_transaction_view.py,sha256=LQev4YfDu-NlYL_8Zt39FgYcBIxHqHamqBbm2BAzOpg,770
319
+ near_jsonrpc_models/signed_transaction_view.py,sha256=CXkqkkeEHA8QL-ogKj5P4ZydBbSK2EP8GPwakTULRMI,765
320
320
  near_jsonrpc_models/slashed_validator.py,sha256=S0-BRM_6ye9NPlP9dwv2xFlTbLis7f2bbsUoa6_Xkjo,172
321
321
  near_jsonrpc_models/stake_action.py,sha256=uQGmreww68WARsQmwpg3fVGoh1zzadJ69YYY7iHXh-I,412
322
322
  near_jsonrpc_models/state_change_cause_view.py,sha256=366L6NI8vThzQHYya8UcORxIS2o3czoG_QRZY6PkFGo,2020
323
323
  near_jsonrpc_models/state_change_kind_view.py,sha256=vHRm-vlzk0rflryZxmD0nWkRLrMTOKayP75Ray4qP1Y,994
324
- near_jsonrpc_models/state_change_with_cause_view.py,sha256=tMTtfqt7VtZmzs-epoQUGZuj1_2ZorHiJyQYa86RfhU,4201
324
+ near_jsonrpc_models/state_change_with_cause_view.py,sha256=O6ge8I_tjD6Sv2hzNymlh3f_13awie8NHCMWWNcCS4w,4196
325
325
  near_jsonrpc_models/state_item.py,sha256=s17-HpPeaDYhbTUywml4MhG6ptTgq9Ku1geMx8N7S34,317
326
326
  near_jsonrpc_models/state_sync_config.py,sha256=Did7b1-Bt-eeWpHgJvGqmM1t2s7O0-XqTypWHEr6hjc,548
327
327
  near_jsonrpc_models/status_sync_info.py,sha256=vPMJiA0As1X2bAwlJb_0R3ddw-nOMifRHv37r9WbGzw,658
@@ -353,7 +353,7 @@ near_jsonrpc_models/vmkind.py,sha256=tCxyZlDaGn3bz-lThkbUj0oO6qxoQP7lGANMusstpC8
353
353
  near_jsonrpc_models/wasm_trap.py,sha256=y0nay7ulaHOGpHPRnKIU0FWxHeWfwnrYiYvllLry3Mw,791
354
354
  near_jsonrpc_models/withdraw_from_gas_key_action.py,sha256=12urRilmm125SsHVHoMXLSzpTEpWL-CgDV-HA2kx1ag,394
355
355
  near_jsonrpc_models/witness_config_view.py,sha256=kTeYTx1mtk0IT6ary63awFk5hIGn8mS8UlOCMaqhr2Q,912
356
- near_jsonrpc_client-1.0.26.dist-info/METADATA,sha256=8cPRlZFxw70JhqjGM8Q1F_4QaMF1YB9qmKLPoBiLozg,6309
357
- near_jsonrpc_client-1.0.26.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
358
- near_jsonrpc_client-1.0.26.dist-info/top_level.txt,sha256=uMGb9-6Ckd8WvQ5-m1l9mVFmM5lCORE6YybUIOimSuc,40
359
- near_jsonrpc_client-1.0.26.dist-info/RECORD,,
356
+ near_jsonrpc_client-1.0.27.dist-info/METADATA,sha256=b3AaoH-rLQBixDstSDgywhYxFpR2Hq7g3ilKdsogpRQ,6309
357
+ near_jsonrpc_client-1.0.27.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
358
+ near_jsonrpc_client-1.0.27.dist-info/top_level.txt,sha256=uMGb9-6Ckd8WvQ5-m1l9mVFmM5lCORE6YybUIOimSuc,40
359
+ near_jsonrpc_client-1.0.27.dist-info/RECORD,,
@@ -25,7 +25,7 @@ class AccessKeyPermissionViewGasKeyFunctionCallPayload(BaseModel):
25
25
  allowance: NearToken | None = None
26
26
  balance: NearToken
27
27
  method_names: List[str]
28
- num_nonces: conint(ge=0, le=4294967295)
28
+ num_nonces: conint(ge=0, le=65535)
29
29
  receiver_id: str
30
30
 
31
31
  class AccessKeyPermissionViewGasKeyFunctionCall(StrictBaseModel):
@@ -33,7 +33,7 @@ class AccessKeyPermissionViewGasKeyFunctionCall(StrictBaseModel):
33
33
 
34
34
  class AccessKeyPermissionViewGasKeyFullAccessPayload(BaseModel):
35
35
  balance: NearToken
36
- num_nonces: conint(ge=0, le=4294967295)
36
+ num_nonces: conint(ge=0, le=65535)
37
37
 
38
38
  class AccessKeyPermissionViewGasKeyFullAccess(StrictBaseModel):
39
39
  GasKeyFullAccess: AccessKeyPermissionViewGasKeyFullAccessPayload
@@ -133,8 +133,8 @@ class ActionsValidationErrorDeterministicStateInitValueLengthExceeded(StrictBase
133
133
  DeterministicStateInitValueLengthExceeded: ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload
134
134
 
135
135
  class ActionsValidationErrorGasKeyInvalidNumNoncesPayload(BaseModel):
136
- limit: conint(ge=0, le=4294967295)
137
- requested_nonces: conint(ge=0, le=4294967295)
136
+ limit: conint(ge=0, le=65535)
137
+ requested_nonces: conint(ge=0, le=65535)
138
138
 
139
139
  class ActionsValidationErrorGasKeyInvalidNumNonces(StrictBaseModel):
140
140
  GasKeyInvalidNumNonces: ActionsValidationErrorGasKeyInvalidNumNoncesPayload
@@ -5,4 +5,4 @@ from pydantic import conint
5
5
 
6
6
  class GasKeyInfo(BaseModel):
7
7
  balance: NearToken
8
- num_nonces: conint(ge=0, le=4294967295)
8
+ num_nonces: conint(ge=0, le=65535)
@@ -132,9 +132,9 @@ new transaction until it can make progress again."""
132
132
 
133
133
  class InvalidTxErrorInvalidNonceIndexPayload(BaseModel):
134
134
  # Number of nonces supported by the key. 0 means no nonce_index allowed (regular key).
135
- num_nonces: conint(ge=0, le=4294967295)
135
+ num_nonces: conint(ge=0, le=65535)
136
136
  # The nonce_index from the transaction (None if missing).
137
- tx_nonce_index: conint(ge=0, le=4294967295) | None = None
137
+ tx_nonce_index: conint(ge=0, le=65535) | None = None
138
138
 
139
139
  class InvalidTxErrorInvalidNonceIndex(StrictBaseModel):
140
140
  """Transaction is specifying an invalid nonce index. Gas key transactions
@@ -12,7 +12,7 @@ class SignedTransactionView(BaseModel):
12
12
  actions: List[ActionView]
13
13
  hash: CryptoHash
14
14
  nonce: conint(ge=0, le=18446744073709551615)
15
- nonce_index: conint(ge=0, le=4294967295) | None = None
15
+ nonce_index: conint(ge=0, le=65535) | None = None
16
16
  # Deprecated, retained for backward compatibility.
17
17
  priority_fee: conint(ge=0, le=18446744073709551615) = 0
18
18
  public_key: PublicKey
@@ -59,7 +59,7 @@ class StateChangeWithCauseViewAccessKeyDeletion(BaseModel):
59
59
 
60
60
  class StateChangeWithCauseViewGasKeyNonceUpdateChange(BaseModel):
61
61
  account_id: AccountId
62
- index: conint(ge=0, le=4294967295)
62
+ index: conint(ge=0, le=65535)
63
63
  nonce: conint(ge=0, le=18446744073709551615)
64
64
  public_key: PublicKey
65
65