sila-ruby 0.0.32 → 0.0.33

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: afccef667b5625870897851f973dd9734609c42e2f1324b2ed35539613b0960b
4
- data.tar.gz: 146b7839c17063c22f4909b25b4bc3f1a27010669f8767fa0afa02692c38a589
3
+ metadata.gz: 5383a5b85f6a9058ddaf28449e8d28e7d713a9759e6403cd03305011db461d2d
4
+ data.tar.gz: 40a1664e22b57c017907593438e805b42d71219cb69a45aa49b3894947b1bf03
5
5
  SHA512:
6
- metadata.gz: ba435ef0b5857edd759d55485b6da9cf0b536607a6c8d9b97edf85c11cd62c7ab3c987a1a9bfd28ec8816c4248335fcc3d364840f0c84ac6d8824f8c1d08100e
7
- data.tar.gz: '05678fc8384048f14820e78608046c0db3cc5840364ca49063a84d8252b2b0067ab38c4942258c6fd3ec8ee04fb9310e29a04974a7b3326353f86f85aa4f6520'
6
+ metadata.gz: e3f6e344c50ef8dfcdafc4172797441a3f0b85cff1725dd58f4c427dc312555fa22eab43dc3f25fc32be3b93997e396b3921063043b9bfb99900ba6f6d49ad83
7
+ data.tar.gz: b801843dac7f5bf8e9e3652bf04a123fa8804a0d137d33597f05e43c53ad81feba3ed3f63216aaad48b18b94e786cc4ea15a2d20398efc7b1adc128bd3a58728
data/.DS_Store CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sila-ruby (0.0.32)
4
+ sila-ruby (0.0.33)
5
5
  addressable (~> 2.6)
6
6
  dotenv (~> 2.7)
7
7
  eth (~> 0.5.10)
@@ -81,7 +81,7 @@ module ApiHelpers
81
81
  # SILA-PERSONAL-SIGNED -----------------------
82
82
  # --------------------------------------------
83
83
  def sila_personal_sign(key, message)
84
- Eth::Util.bin_to_hex(message)
84
+ key.sign(Eth::Util.keccak256(message))
85
85
  end
86
86
 
87
87
  # --------------------------------------------
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.32'
2
+ VERSION = '0.0.33'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sila-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequoir
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-12 00:00:00.000000000 Z
11
+ date: 2023-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable