everscale-client-ruby 1.1.27 → 1.1.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 381333ce163f494aadd05eaf56926606ed84543213236e617082111365e745e3
4
- data.tar.gz: e3f6c603dad3994f66a6c15141ac23607b07e57b4de801209408c5ac8451e83e
3
+ metadata.gz: 02004364bdc99b10b5d54b95e8f1215189ec9698c147e5cca10b89de20e801b7
4
+ data.tar.gz: cf365a553241442768bee5f17c1507c9c38a872e1ce2fbca474aafdd90f46f96
5
5
  SHA512:
6
- metadata.gz: ff96b32175217aceb73bb994913cef1e36d99047589f495ac0e190be8b1e408331b8cb6b5cfb110512af675a797f3eb9433908fc56ea0aa3e437eca6ac304e2f
7
- data.tar.gz: d5a3149cf6670f078c6e24506ee6bf3d8c84c06ff25fa1119fbc9f2cc9bee700600cf5845b6fb546d743defe62e80b43f0ff684f98a9327c4838db2e00ec74cc
6
+ metadata.gz: 07ee9f04575ddea0e95f083b05fdd23a7281eefc8188f5e0277e6b62596a5778f0f771d1a1b9bdc60b7993d15113627b0a02088370bf9528d141290b93eceb7c
7
+ data.tar.gz: 8f94ae8fb2888c296df8c491a2a06c6ee49c242ef40cfa2718abee0b689cf94c556aa4751f10514581efc9d7060a297f642c7fce2a12af42a854d0c07af9bc00
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.32.0",
2
+ "version": "1.33.0",
3
3
  "modules": [
4
4
  {
5
5
  "name": "client",
@@ -466,7 +466,7 @@
466
466
  "number_size": 8
467
467
  },
468
468
  "summary": "Maximum number of randomly chosen endpoints the library uses to broadcast a message.",
469
- "description": "Default is 2."
469
+ "description": "Default is 1."
470
470
  },
471
471
  {
472
472
  "name": "latency_detection_interval",
@@ -511,6 +511,28 @@
511
511
  "summary": "Queries protocol.",
512
512
  "description": "`HTTP` or `WS`. \nDefault is `HTTP`."
513
513
  },
514
+ {
515
+ "name": "first_remp_status_timeout",
516
+ "type": "Optional",
517
+ "optional_inner": {
518
+ "type": "Number",
519
+ "number_type": "UInt",
520
+ "number_size": 32
521
+ },
522
+ "summary": "UNSTABLE.",
523
+ "description": "First REMP status awaiting timeout. If no status recieved during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 1000 (1 sec)."
524
+ },
525
+ {
526
+ "name": "next_remp_status_timeout",
527
+ "type": "Optional",
528
+ "optional_inner": {
529
+ "type": "Number",
530
+ "number_type": "UInt",
531
+ "number_size": 32
532
+ },
533
+ "summary": "UNSTABLE.",
534
+ "description": "Subsequent REMP status awaiting timeout. If no status recieved during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 5000 (5 sec)."
535
+ },
514
536
  {
515
537
  "name": "access_key",
516
538
  "type": "Optional",
@@ -1177,6 +1199,13 @@
1177
1199
  "value": "133",
1178
1200
  "summary": null,
1179
1201
  "description": null
1202
+ },
1203
+ {
1204
+ "name": "InvalidNonceSize",
1205
+ "type": "Number",
1206
+ "value": "134",
1207
+ "summary": null,
1208
+ "description": null
1180
1209
  }
1181
1210
  ],
1182
1211
  "summary": null,
@@ -6398,6 +6427,15 @@
6398
6427
  "type": "String",
6399
6428
  "summary": "Message BOC",
6400
6429
  "description": null
6430
+ },
6431
+ {
6432
+ "name": "allow_partial",
6433
+ "type": "Optional",
6434
+ "optional_inner": {
6435
+ "type": "Boolean"
6436
+ },
6437
+ "summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
6438
+ "description": null
6401
6439
  }
6402
6440
  ],
6403
6441
  "summary": null,
@@ -6466,6 +6504,15 @@
6466
6504
  "type": "Boolean",
6467
6505
  "summary": "True if the body belongs to the internal message.",
6468
6506
  "description": null
6507
+ },
6508
+ {
6509
+ "name": "allow_partial",
6510
+ "type": "Optional",
6511
+ "optional_inner": {
6512
+ "type": "Boolean"
6513
+ },
6514
+ "summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
6515
+ "description": null
6469
6516
  }
6470
6517
  ],
6471
6518
  "summary": null,
@@ -6565,6 +6612,15 @@
6565
6612
  "type": "String",
6566
6613
  "summary": "Data BOC or BOC handle",
6567
6614
  "description": null
6615
+ },
6616
+ {
6617
+ "name": "allow_partial",
6618
+ "type": "Optional",
6619
+ "optional_inner": {
6620
+ "type": "Boolean"
6621
+ },
6622
+ "summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
6623
+ "description": null
6568
6624
  }
6569
6625
  ],
6570
6626
  "summary": null,
@@ -6732,6 +6788,15 @@
6732
6788
  "type": "String",
6733
6789
  "summary": "Data BOC or BOC handle",
6734
6790
  "description": null
6791
+ },
6792
+ {
6793
+ "name": "allow_partial",
6794
+ "type": "Optional",
6795
+ "optional_inner": {
6796
+ "type": "Boolean"
6797
+ },
6798
+ "summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
6799
+ "description": null
6735
6800
  }
6736
6801
  ],
6737
6802
  "summary": null,
@@ -9111,6 +9176,27 @@
9111
9176
  "value": "513",
9112
9177
  "summary": null,
9113
9178
  "description": null
9179
+ },
9180
+ {
9181
+ "name": "MessageRejected",
9182
+ "type": "Number",
9183
+ "value": "514",
9184
+ "summary": null,
9185
+ "description": null
9186
+ },
9187
+ {
9188
+ "name": "InvalidRempStatus",
9189
+ "type": "Number",
9190
+ "value": "515",
9191
+ "summary": null,
9192
+ "description": null
9193
+ },
9194
+ {
9195
+ "name": "NextRempStatusTimeout",
9196
+ "type": "Number",
9197
+ "value": "516",
9198
+ "summary": null,
9199
+ "description": null
9114
9200
  }
9115
9201
  ],
9116
9202
  "summary": null,
@@ -9312,6 +9398,137 @@
9312
9398
  ],
9313
9399
  "summary": "Notifies the app that the message was not executed within expire timeout on-chain and will never be because it is already expired. The expiration timeout can be configured with `AbiConfig` parameters.",
9314
9400
  "description": "This event occurs only for the contracts which ABI includes \"expire\" header.\n\nIf Application specifies `NetworkConfig.message_retries_count` > 0, then `process_message`\nwill perform retries: will create a new message and send it again and repeat it untill it reaches\nthe maximum retries count or receives a successful result. All the processing\nevents will be repeated."
9401
+ },
9402
+ {
9403
+ "name": "RempSentToValidators",
9404
+ "type": "Struct",
9405
+ "struct_fields": [
9406
+ {
9407
+ "name": "message_id",
9408
+ "type": "String",
9409
+ "summary": null,
9410
+ "description": null
9411
+ },
9412
+ {
9413
+ "name": "timestamp",
9414
+ "type": "BigInt",
9415
+ "number_type": "UInt",
9416
+ "number_size": 64,
9417
+ "summary": null,
9418
+ "description": null
9419
+ },
9420
+ {
9421
+ "name": "json",
9422
+ "type": "Ref",
9423
+ "ref_name": "Value",
9424
+ "summary": null,
9425
+ "description": null
9426
+ }
9427
+ ],
9428
+ "summary": "Notifies the app that the message has been delivered to the thread's validators",
9429
+ "description": null
9430
+ },
9431
+ {
9432
+ "name": "RempIncludedIntoBlock",
9433
+ "type": "Struct",
9434
+ "struct_fields": [
9435
+ {
9436
+ "name": "message_id",
9437
+ "type": "String",
9438
+ "summary": null,
9439
+ "description": null
9440
+ },
9441
+ {
9442
+ "name": "timestamp",
9443
+ "type": "BigInt",
9444
+ "number_type": "UInt",
9445
+ "number_size": 64,
9446
+ "summary": null,
9447
+ "description": null
9448
+ },
9449
+ {
9450
+ "name": "json",
9451
+ "type": "Ref",
9452
+ "ref_name": "Value",
9453
+ "summary": null,
9454
+ "description": null
9455
+ }
9456
+ ],
9457
+ "summary": "Notifies the app that the message has been successfully included into a block candidate by the thread's collator",
9458
+ "description": null
9459
+ },
9460
+ {
9461
+ "name": "RempIncludedIntoAcceptedBlock",
9462
+ "type": "Struct",
9463
+ "struct_fields": [
9464
+ {
9465
+ "name": "message_id",
9466
+ "type": "String",
9467
+ "summary": null,
9468
+ "description": null
9469
+ },
9470
+ {
9471
+ "name": "timestamp",
9472
+ "type": "BigInt",
9473
+ "number_type": "UInt",
9474
+ "number_size": 64,
9475
+ "summary": null,
9476
+ "description": null
9477
+ },
9478
+ {
9479
+ "name": "json",
9480
+ "type": "Ref",
9481
+ "ref_name": "Value",
9482
+ "summary": null,
9483
+ "description": null
9484
+ }
9485
+ ],
9486
+ "summary": "Notifies the app that the block candicate with the message has been accepted by the thread's validators",
9487
+ "description": null
9488
+ },
9489
+ {
9490
+ "name": "RempOther",
9491
+ "type": "Struct",
9492
+ "struct_fields": [
9493
+ {
9494
+ "name": "message_id",
9495
+ "type": "String",
9496
+ "summary": null,
9497
+ "description": null
9498
+ },
9499
+ {
9500
+ "name": "timestamp",
9501
+ "type": "BigInt",
9502
+ "number_type": "UInt",
9503
+ "number_size": 64,
9504
+ "summary": null,
9505
+ "description": null
9506
+ },
9507
+ {
9508
+ "name": "json",
9509
+ "type": "Ref",
9510
+ "ref_name": "Value",
9511
+ "summary": null,
9512
+ "description": null
9513
+ }
9514
+ ],
9515
+ "summary": "Notifies the app about some other minor REMP statuses occurring during message processing",
9516
+ "description": null
9517
+ },
9518
+ {
9519
+ "name": "RempError",
9520
+ "type": "Struct",
9521
+ "struct_fields": [
9522
+ {
9523
+ "name": "error",
9524
+ "type": "Ref",
9525
+ "ref_name": "client.ClientError",
9526
+ "summary": null,
9527
+ "description": null
9528
+ }
9529
+ ],
9530
+ "summary": "Notifies the app about any problem that has occured in REMP processing - in this case library switches to the fallback transaction awaiting scenario (sequential block reading).",
9531
+ "description": null
9315
9532
  }
9316
9533
  ],
9317
9534
  "summary": null,
@@ -94,6 +94,7 @@ module TonClient
94
94
  # INPUT: ParamsOfDecodeMessage
95
95
  # abi: Value - # # contract ABI
96
96
  # message: String - # # Message BOC
97
+ # allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
97
98
  # RESPONSE: DecodedMessageBody
98
99
  # body_type: MessageBodyType - # # Type of the message body content.
99
100
  # name: String - # # Function or event name.
@@ -107,6 +108,7 @@ module TonClient
107
108
  # abi: Value - # # Contract ABI used to decode.
108
109
  # body: String - # # Message body BOC encoded in `base64`.
109
110
  # is_internal: Boolean - # # True if the body belongs to the internal message.
111
+ # allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
110
112
  # RESPONSE: DecodedMessageBody
111
113
  # body_type: MessageBodyType - # # Type of the message body content.
112
114
  # name: String - # # Function or event name.
@@ -132,6 +134,7 @@ module TonClient
132
134
  # INPUT: ParamsOfDecodeAccountData
133
135
  # abi: Value - # # Contract ABI
134
136
  # data: String - # # Data BOC or BOC handle
137
+ # allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
135
138
  # RESPONSE: ResultOfDecodeAccountData
136
139
  # data: Value - # # Decoded data as a JSON structure.
137
140
  def decode_account_data(payload, &block)
@@ -164,6 +167,7 @@ module TonClient
164
167
  # INPUT: ParamsOfDecodeInitialData
165
168
  # abi: Value<Optional> - # # Contract ABI. # # Initial data is decoded if this parameter is provided
166
169
  # data: String - # # Data BOC or BOC handle
170
+ # allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
167
171
  # RESPONSE: ResultOfDecodeInitialData
168
172
  # initial_data: Value<Optional> - # # List of initial values of contract's public variables. # # Initial data is decoded if `abi` input parameter is provided
169
173
  # initial_pubkey: String - # # Initial account owner's public key
@@ -1,4 +1,4 @@
1
1
  module TonClient
2
- VERSION = "1.1.27"
2
+ VERSION = "1.1.28"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: everscale-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.27
4
+ version: 1.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-01 00:00:00.000000000 Z
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi