ord-schema 0.3.54 → 0.3.55

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ord-schema",
3
- "version": "0.3.54",
3
+ "version": "0.3.55",
4
4
  "description": "Schema for the Open Reaction Database",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,13 +29,13 @@
29
29
 
30
30
  var jspb = require('google-protobuf');
31
31
  var goog = jspb;
32
- var global = (function() {
33
- if (this) { return this; }
34
- if (typeof window !== 'undefined') { return window; }
35
- if (typeof global !== 'undefined') { return global; }
36
- if (typeof self !== 'undefined') { return self; }
37
- return Function('return this')();
38
- }.call(null));
32
+ var global =
33
+ (typeof globalThis !== 'undefined' && globalThis) ||
34
+ (typeof window !== 'undefined' && window) ||
35
+ (typeof global !== 'undefined' && global) ||
36
+ (typeof self !== 'undefined' && self) ||
37
+ (function () { return this; }).call(null) ||
38
+ Function('return this')();
39
39
 
40
40
  var ord$schema_proto_reaction_pb = require('../../ord-schema/proto/reaction_pb.js');
41
41
  goog.object.extend(proto, ord$schema_proto_reaction_pb);
@@ -29,13 +29,13 @@
29
29
 
30
30
  var jspb = require('google-protobuf');
31
31
  var goog = jspb;
32
- var global = (function() {
33
- if (this) { return this; }
34
- if (typeof window !== 'undefined') { return window; }
35
- if (typeof global !== 'undefined') { return global; }
36
- if (typeof self !== 'undefined') { return self; }
37
- return Function('return this')();
38
- }.call(null));
32
+ var global =
33
+ (typeof globalThis !== 'undefined' && globalThis) ||
34
+ (typeof window !== 'undefined' && window) ||
35
+ (typeof global !== 'undefined' && global) ||
36
+ (typeof self !== 'undefined' && self) ||
37
+ (function () { return this; }).call(null) ||
38
+ Function('return this')();
39
39
 
40
40
  goog.exportSymbol('proto.ord.Amount', null, global);
41
41
  goog.exportSymbol('proto.ord.Amount.KindCase', null, global);
@@ -1793,7 +1793,8 @@ proto.ord.Reaction.prototype.getInputsMap = function(opt_noLazyCreate) {
1793
1793
  */
1794
1794
  proto.ord.Reaction.prototype.clearInputsMap = function() {
1795
1795
  this.getInputsMap().clear();
1796
- return this;};
1796
+ return this;
1797
+ };
1797
1798
 
1798
1799
 
1799
1800
  /**
@@ -4673,7 +4674,8 @@ proto.ord.Compound.prototype.getFeaturesMap = function(opt_noLazyCreate) {
4673
4674
  */
4674
4675
  proto.ord.Compound.prototype.clearFeaturesMap = function() {
4675
4676
  this.getFeaturesMap().clear();
4676
- return this;};
4677
+ return this;
4678
+ };
4677
4679
 
4678
4680
 
4679
4681
  /**
@@ -4695,7 +4697,8 @@ proto.ord.Compound.prototype.getAnalysesMap = function(opt_noLazyCreate) {
4695
4697
  */
4696
4698
  proto.ord.Compound.prototype.clearAnalysesMap = function() {
4697
4699
  this.getAnalysesMap().clear();
4698
- return this;};
4700
+ return this;
4701
+ };
4699
4702
 
4700
4703
 
4701
4704
 
@@ -6719,7 +6722,8 @@ proto.ord.ReactionSetup.prototype.getAutomationCodeMap = function(opt_noLazyCrea
6719
6722
  */
6720
6723
  proto.ord.ReactionSetup.prototype.clearAutomationCodeMap = function() {
6721
6724
  this.getAutomationCodeMap().clear();
6722
- return this;};
6725
+ return this;
6726
+ };
6723
6727
 
6724
6728
 
6725
6729
  /**
@@ -12704,7 +12708,8 @@ proto.ord.ReactionOutcome.prototype.getAnalysesMap = function(opt_noLazyCreate)
12704
12708
  */
12705
12709
  proto.ord.ReactionOutcome.prototype.clearAnalysesMap = function() {
12706
12710
  this.getAnalysesMap().clear();
12707
- return this;};
12711
+ return this;
12712
+ };
12708
12713
 
12709
12714
 
12710
12715
 
@@ -13268,7 +13273,8 @@ proto.ord.ProductCompound.prototype.getFeaturesMap = function(opt_noLazyCreate)
13268
13273
  */
13269
13274
  proto.ord.ProductCompound.prototype.clearFeaturesMap = function() {
13270
13275
  this.getFeaturesMap().clear();
13271
- return this;};
13276
+ return this;
13277
+ };
13272
13278
 
13273
13279
 
13274
13280
  /**
@@ -15076,7 +15082,8 @@ proto.ord.Analysis.prototype.getDataMap = function(opt_noLazyCreate) {
15076
15082
  */
15077
15083
  proto.ord.Analysis.prototype.clearDataMap = function() {
15078
15084
  this.getDataMap().clear();
15079
- return this;};
15085
+ return this;
15086
+ };
15080
15087
 
15081
15088
 
15082
15089
  /**
@@ -15597,7 +15604,8 @@ proto.ord.ReactionProvenance.prototype.getReactionMetadataMap = function(opt_noL
15597
15604
  */
15598
15605
  proto.ord.ReactionProvenance.prototype.clearReactionMetadataMap = function() {
15599
15606
  this.getReactionMetadataMap().clear();
15600
- return this;};
15607
+ return this;
15608
+ };
15601
15609
 
15602
15610
 
15603
15611
 
package/proto/test_pb.js CHANGED
@@ -29,13 +29,13 @@
29
29
 
30
30
  var jspb = require('google-protobuf');
31
31
  var goog = jspb;
32
- var global = (function() {
33
- if (this) { return this; }
34
- if (typeof window !== 'undefined') { return window; }
35
- if (typeof global !== 'undefined') { return global; }
36
- if (typeof self !== 'undefined') { return self; }
37
- return Function('return this')();
38
- }.call(null));
32
+ var global =
33
+ (typeof globalThis !== 'undefined' && globalThis) ||
34
+ (typeof window !== 'undefined' && window) ||
35
+ (typeof global !== 'undefined' && global) ||
36
+ (typeof self !== 'undefined' && self) ||
37
+ (function () { return this; }).call(null) ||
38
+ Function('return this')();
39
39
 
40
40
  goog.exportSymbol('proto.ord_test.Enum', null, global);
41
41
  goog.exportSymbol('proto.ord_test.Enum.EnumValues', null, global);
@@ -1822,7 +1822,8 @@ proto.ord_test.Map.prototype.getValuesMap = function(opt_noLazyCreate) {
1822
1822
  */
1823
1823
  proto.ord_test.Map.prototype.clearValuesMap = function() {
1824
1824
  this.getValuesMap().clear();
1825
- return this;};
1825
+ return this;
1826
+ };
1826
1827
 
1827
1828
 
1828
1829
 
@@ -2103,7 +2104,8 @@ proto.ord_test.MapNested.prototype.getChildrenMap = function(opt_noLazyCreate) {
2103
2104
  */
2104
2105
  proto.ord_test.MapNested.prototype.clearChildrenMap = function() {
2105
2106
  this.getChildrenMap().clear();
2106
- return this;};
2107
+ return this;
2108
+ };
2107
2109
 
2108
2110
 
2109
2111
  goog.object.extend(exports, proto.ord_test);