jsinstrument 0.1.3 → 0.1.4

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.
@@ -25,7 +25,7 @@
25
25
  * data compress method for uploading
26
26
  * false or undefined to disable data compress
27
27
  */
28
- data_compress_method = %{data_compress_method},
28
+ data_compress_method: %{data_compress_method},
29
29
  /**
30
30
  * register instrumented lines for the file
31
31
  */
@@ -147,8 +147,8 @@
147
147
  }
148
148
 
149
149
  if (this.data_compress_method) {
150
- var result_deflated = this.data_compress_method(result);
151
- var result_encoded = btoa(result_deflated);
150
+ var result_compressed = this.data_compress_method(result);
151
+ var result_encoded = btoa(result_compressed);
152
152
  r.data_compressed = true;
153
153
  r.data = result_encoded;
154
154
  }
@@ -1,3 +1,3 @@
1
1
  module JSInstrument
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsinstrument
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: