@arcblock/forge-proto
Advanced tools
Comparing version 0.21.0 to 0.22.0
// Generate by [js2dts@0.3.2](https://github.com/whxaxes/js2dts#readme) | ||
declare const ForgeProto: ForgeProto.T102; | ||
declare const ForgeProto: ForgeProto.T101; | ||
declare namespace ForgeProto { | ||
@@ -9,8 +9,19 @@ export interface T100 { | ||
export interface T101 { | ||
fn: any; | ||
fields: any; | ||
oneofs: any; | ||
} | ||
export interface T102 { | ||
/** | ||
* All enum types and its values (number format), can be accessed from width: enums.KEY_TYPE.ED25519 | ||
* | ||
* @member | ||
* @public | ||
* @static | ||
* @readonly | ||
*/ | ||
enums: Enums.main; | ||
/** | ||
* All enum types and its values (human readable string format), can be accessed from width: messages.KEY_TYPE.ED25519 | ||
* | ||
* @member | ||
* @public | ||
* @static | ||
* @readonly | ||
*/ | ||
messages: Messages.main; | ||
@@ -21,6 +32,6 @@ transactions: any; | ||
compactSpec: (object: any) => any; | ||
getMessageType: (type: any) => ForgeProto.T101; | ||
getMessageType: (type: string) => any; | ||
typeUrls: ForgeProto.T100; | ||
toTypeUrl: (type: any) => any; | ||
fromTypeUrl: (url: any) => any; | ||
toTypeUrl: (type: string) => string; | ||
fromTypeUrl: (url: string) => string; | ||
} | ||
@@ -44,2 +55,3 @@ } | ||
TOO_MANY_TXS = 11, | ||
INVALID_LOCK_STATUS = 12, | ||
INVALID_MONIKER = 16, | ||
@@ -67,2 +79,4 @@ INVALID_PASSPHRASE = 17, | ||
CONSUMED_ASSET = 42, | ||
INVALID_DEPOSIT_VALUE = 43, | ||
EXCEED_DEPOSIT_CAP = 44, | ||
FORBIDDEN = 403, | ||
@@ -199,10 +213,12 @@ INTERNAL = 500, | ||
5 = CreateAssetTx, | ||
6 = StakeTx, | ||
7 = ExchangeTx, | ||
8 = AccountMigrateTx, | ||
9 = UpgradeNodeTx, | ||
10 = UpdateAssetTx, | ||
11 = ConsumeAssetTx, | ||
12 = PokeTx, | ||
13 = TransferTx, | ||
6 = PokeTx, | ||
7 = ConsumeAssetTx, | ||
8 = ExchangeTx, | ||
9 = AccountMigrateTx, | ||
10 = UpgradeNodeTx, | ||
11 = UpdateAssetTx, | ||
12 = AcquireAssetTx, | ||
13 = DepositTetherTx, | ||
14 = StakeTx, | ||
15 = TransferTx, | ||
} | ||
@@ -249,2 +265,3 @@ | ||
11 = TOO_MANY_TXS, | ||
12 = INVALID_LOCK_STATUS, | ||
16 = INVALID_MONIKER, | ||
@@ -272,2 +289,4 @@ 17 = INVALID_PASSPHRASE, | ||
42 = CONSUMED_ASSET, | ||
43 = INVALID_DEPOSIT_VALUE, | ||
44 = EXCEED_DEPOSIT_CAP, | ||
403 = FORBIDDEN, | ||
@@ -274,0 +293,0 @@ 500 = INTERNAL, |
/** | ||
* @fileOverview Contains all static generated javascript files from forge-abi and forge-core-protocols | ||
* @module @arcblock/forge-proto | ||
* @example | ||
* yarn add @arcblock/forge-proto | ||
* | ||
* const { enums, fromTypeUrl, toTypeUrl } = require('@arcblock/forge-proto'); // full version, larger bundle | ||
* const { enums, fromTypeUrl, toTypeUrl } = require('@arcblock/forge-proto/lite'); // lite version, smaller bundle | ||
*/ | ||
@@ -5,0 +10,0 @@ |
@@ -16,2 +16,7 @@ /** | ||
goog.object.extend(proto, google_protobuf_any_pb); | ||
var type_pb = require('./type_pb.js'); | ||
goog.object.extend(proto, type_pb); | ||
goog.exportSymbol('proto.forge_abi.AssetAttributes', null, global); | ||
goog.exportSymbol('proto.forge_abi.AssetFactory', null, global); | ||
goog.exportSymbol('proto.forge_abi.AssetFactoryState', null, global); | ||
goog.exportSymbol('proto.forge_abi.CreateAssetTx', null, global); | ||
@@ -302,4 +307,824 @@ | ||
/** | ||
* Generated by JsPbCodeGenerator. | ||
* @param {Array=} opt_data Optional initial data array, typically from a | ||
* server response, or constructed directly in Javascript. The array is used | ||
* in place and becomes part of the constructed object. It is not cloned. | ||
* If no data is provided, the constructed object will be empty, but still | ||
* valid. | ||
* @extends {jspb.Message} | ||
* @constructor | ||
*/ | ||
proto.forge_abi.AssetAttributes = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.forge_abi.AssetAttributes, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
proto.forge_abi.AssetAttributes.displayName = 'proto.forge_abi.AssetAttributes'; | ||
} | ||
if (jspb.Message.GENERATE_TO_OBJECT) { | ||
/** | ||
* Creates an object representation of this proto suitable for use in Soy templates. | ||
* Field names that are reserved in JavaScript and will be renamed to pb_name. | ||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. | ||
* For the list of reserved names please see: | ||
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. | ||
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance | ||
* for transitional soy proto support: http://goto/soy-param-migration | ||
* @return {!Object} | ||
*/ | ||
proto.forge_abi.AssetAttributes.prototype.toObject = function(opt_includeInstance) { | ||
return proto.forge_abi.AssetAttributes.toObject(opt_includeInstance, this); | ||
}; | ||
/** | ||
* Static version of the {@see toObject} method. | ||
* @param {boolean|undefined} includeInstance Whether to include the JSPB | ||
* instance for transitional soy proto support: | ||
* http://goto/soy-param-migration | ||
* @param {!proto.forge_abi.AssetAttributes} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.forge_abi.AssetAttributes.toObject = function(includeInstance, msg) { | ||
var f, | ||
obj = { | ||
transferrable: jspb.Message.getFieldWithDefault(msg, 1, false), | ||
ttl: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
}; | ||
if (includeInstance) { | ||
obj.$jspbMessageInstance = msg; | ||
} | ||
return obj; | ||
}; | ||
} | ||
/** | ||
* Deserializes binary data (in protobuf wire format). | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.forge_abi.AssetAttributes} | ||
*/ | ||
proto.forge_abi.AssetAttributes.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.forge_abi.AssetAttributes(); | ||
return proto.forge_abi.AssetAttributes.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
/** | ||
* Deserializes binary data (in protobuf wire format) from the | ||
* given reader into the given message object. | ||
* @param {!proto.forge_abi.AssetAttributes} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.forge_abi.AssetAttributes} | ||
*/ | ||
proto.forge_abi.AssetAttributes.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
if (reader.isEndGroup()) { | ||
break; | ||
} | ||
var field = reader.getFieldNumber(); | ||
switch (field) { | ||
case 1: | ||
var value = /** @type {boolean} */ (reader.readBool()); | ||
msg.setTransferrable(value); | ||
break; | ||
case 2: | ||
var value = /** @type {number} */ (reader.readUint32()); | ||
msg.setTtl(value); | ||
break; | ||
default: | ||
reader.skipField(); | ||
break; | ||
} | ||
} | ||
return msg; | ||
}; | ||
/** | ||
* Serializes the message to binary data (in protobuf wire format). | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.forge_abi.AssetAttributes.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.forge_abi.AssetAttributes.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
}; | ||
/** | ||
* Serializes the given message to binary data (in protobuf wire | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.forge_abi.AssetAttributes} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.forge_abi.AssetAttributes.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
f = message.getTransferrable(); | ||
if (f) { | ||
writer.writeBool(1, f); | ||
} | ||
f = message.getTtl(); | ||
if (f !== 0) { | ||
writer.writeUint32(2, f); | ||
} | ||
}; | ||
/** | ||
* optional bool transferrable = 1; | ||
* Note that Boolean fields may be set to 0/1 when serialized from a Java server. | ||
* You should avoid comparisons like {@code val === true/false} in those cases. | ||
* @return {boolean} | ||
*/ | ||
proto.forge_abi.AssetAttributes.prototype.getTransferrable = function() { | ||
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false)); | ||
}; | ||
/** @param {boolean} value */ | ||
proto.forge_abi.AssetAttributes.prototype.setTransferrable = function(value) { | ||
jspb.Message.setProto3BooleanField(this, 1, value); | ||
}; | ||
/** | ||
* optional uint32 ttl = 2; | ||
* @return {number} | ||
*/ | ||
proto.forge_abi.AssetAttributes.prototype.getTtl = function() { | ||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); | ||
}; | ||
/** @param {number} value */ | ||
proto.forge_abi.AssetAttributes.prototype.setTtl = function(value) { | ||
jspb.Message.setProto3IntField(this, 2, value); | ||
}; | ||
/** | ||
* Generated by JsPbCodeGenerator. | ||
* @param {Array=} opt_data Optional initial data array, typically from a | ||
* server response, or constructed directly in Javascript. The array is used | ||
* in place and becomes part of the constructed object. It is not cloned. | ||
* If no data is provided, the constructed object will be empty, but still | ||
* valid. | ||
* @extends {jspb.Message} | ||
* @constructor | ||
*/ | ||
proto.forge_abi.AssetFactory = function(opt_data) { | ||
jspb.Message.initialize( | ||
this, | ||
opt_data, | ||
0, | ||
-1, | ||
proto.forge_abi.AssetFactory.repeatedFields_, | ||
null | ||
); | ||
}; | ||
goog.inherits(proto.forge_abi.AssetFactory, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
proto.forge_abi.AssetFactory.displayName = 'proto.forge_abi.AssetFactory'; | ||
} | ||
/** | ||
* List of repeated fields within this message type. | ||
* @private {!Array<number>} | ||
* @const | ||
*/ | ||
proto.forge_abi.AssetFactory.repeatedFields_ = [5]; | ||
if (jspb.Message.GENERATE_TO_OBJECT) { | ||
/** | ||
* Creates an object representation of this proto suitable for use in Soy templates. | ||
* Field names that are reserved in JavaScript and will be renamed to pb_name. | ||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. | ||
* For the list of reserved names please see: | ||
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. | ||
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance | ||
* for transitional soy proto support: http://goto/soy-param-migration | ||
* @return {!Object} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.toObject = function(opt_includeInstance) { | ||
return proto.forge_abi.AssetFactory.toObject(opt_includeInstance, this); | ||
}; | ||
/** | ||
* Static version of the {@see toObject} method. | ||
* @param {boolean|undefined} includeInstance Whether to include the JSPB | ||
* instance for transitional soy proto support: | ||
* http://goto/soy-param-migration | ||
* @param {!proto.forge_abi.AssetFactory} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.forge_abi.AssetFactory.toObject = function(includeInstance, msg) { | ||
var f, | ||
obj = { | ||
description: jspb.Message.getFieldWithDefault(msg, 1, ''), | ||
limit: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
price: (f = msg.getPrice()) && type_pb.BigUint.toObject(includeInstance, f), | ||
template: jspb.Message.getFieldWithDefault(msg, 4, ''), | ||
allowedSpecArgsList: jspb.Message.getRepeatedField(msg, 5), | ||
assetName: jspb.Message.getFieldWithDefault(msg, 6, ''), | ||
attributes: | ||
(f = msg.getAttributes()) && proto.forge_abi.AssetAttributes.toObject(includeInstance, f), | ||
}; | ||
if (includeInstance) { | ||
obj.$jspbMessageInstance = msg; | ||
} | ||
return obj; | ||
}; | ||
} | ||
/** | ||
* Deserializes binary data (in protobuf wire format). | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.forge_abi.AssetFactory} | ||
*/ | ||
proto.forge_abi.AssetFactory.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.forge_abi.AssetFactory(); | ||
return proto.forge_abi.AssetFactory.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
/** | ||
* Deserializes binary data (in protobuf wire format) from the | ||
* given reader into the given message object. | ||
* @param {!proto.forge_abi.AssetFactory} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.forge_abi.AssetFactory} | ||
*/ | ||
proto.forge_abi.AssetFactory.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
if (reader.isEndGroup()) { | ||
break; | ||
} | ||
var field = reader.getFieldNumber(); | ||
switch (field) { | ||
case 1: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setDescription(value); | ||
break; | ||
case 2: | ||
var value = /** @type {number} */ (reader.readUint32()); | ||
msg.setLimit(value); | ||
break; | ||
case 3: | ||
var value = new type_pb.BigUint(); | ||
reader.readMessage(value, type_pb.BigUint.deserializeBinaryFromReader); | ||
msg.setPrice(value); | ||
break; | ||
case 4: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setTemplate(value); | ||
break; | ||
case 5: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.addAllowedSpecArgs(value); | ||
break; | ||
case 6: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setAssetName(value); | ||
break; | ||
case 7: | ||
var value = new proto.forge_abi.AssetAttributes(); | ||
reader.readMessage(value, proto.forge_abi.AssetAttributes.deserializeBinaryFromReader); | ||
msg.setAttributes(value); | ||
break; | ||
default: | ||
reader.skipField(); | ||
break; | ||
} | ||
} | ||
return msg; | ||
}; | ||
/** | ||
* Serializes the message to binary data (in protobuf wire format). | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.forge_abi.AssetFactory.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
}; | ||
/** | ||
* Serializes the given message to binary data (in protobuf wire | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.forge_abi.AssetFactory} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.forge_abi.AssetFactory.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
f = message.getDescription(); | ||
if (f.length > 0) { | ||
writer.writeString(1, f); | ||
} | ||
f = message.getLimit(); | ||
if (f !== 0) { | ||
writer.writeUint32(2, f); | ||
} | ||
f = message.getPrice(); | ||
if (f != null) { | ||
writer.writeMessage(3, f, type_pb.BigUint.serializeBinaryToWriter); | ||
} | ||
f = message.getTemplate(); | ||
if (f.length > 0) { | ||
writer.writeString(4, f); | ||
} | ||
f = message.getAllowedSpecArgsList(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedString(5, f); | ||
} | ||
f = message.getAssetName(); | ||
if (f.length > 0) { | ||
writer.writeString(6, f); | ||
} | ||
f = message.getAttributes(); | ||
if (f != null) { | ||
writer.writeMessage(7, f, proto.forge_abi.AssetAttributes.serializeBinaryToWriter); | ||
} | ||
}; | ||
/** | ||
* optional string description = 1; | ||
* @return {string} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getDescription = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, '')); | ||
}; | ||
/** @param {string} value */ | ||
proto.forge_abi.AssetFactory.prototype.setDescription = function(value) { | ||
jspb.Message.setProto3StringField(this, 1, value); | ||
}; | ||
/** | ||
* optional uint32 limit = 2; | ||
* @return {number} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getLimit = function() { | ||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); | ||
}; | ||
/** @param {number} value */ | ||
proto.forge_abi.AssetFactory.prototype.setLimit = function(value) { | ||
jspb.Message.setProto3IntField(this, 2, value); | ||
}; | ||
/** | ||
* optional BigUint price = 3; | ||
* @return {?proto.forge_abi.BigUint} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getPrice = function() { | ||
return /** @type{?proto.forge_abi.BigUint} */ (jspb.Message.getWrapperField( | ||
this, | ||
type_pb.BigUint, | ||
3 | ||
)); | ||
}; | ||
/** @param {?proto.forge_abi.BigUint|undefined} value */ | ||
proto.forge_abi.AssetFactory.prototype.setPrice = function(value) { | ||
jspb.Message.setWrapperField(this, 3, value); | ||
}; | ||
proto.forge_abi.AssetFactory.prototype.clearPrice = function() { | ||
this.setPrice(undefined); | ||
}; | ||
/** | ||
* Returns whether this field is set. | ||
* @return {boolean} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.hasPrice = function() { | ||
return jspb.Message.getField(this, 3) != null; | ||
}; | ||
/** | ||
* optional string template = 4; | ||
* @return {string} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getTemplate = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, '')); | ||
}; | ||
/** @param {string} value */ | ||
proto.forge_abi.AssetFactory.prototype.setTemplate = function(value) { | ||
jspb.Message.setProto3StringField(this, 4, value); | ||
}; | ||
/** | ||
* repeated string allowed_spec_args = 5; | ||
* @return {!Array<string>} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getAllowedSpecArgsList = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5)); | ||
}; | ||
/** @param {!Array<string>} value */ | ||
proto.forge_abi.AssetFactory.prototype.setAllowedSpecArgsList = function(value) { | ||
jspb.Message.setField(this, 5, value || []); | ||
}; | ||
/** | ||
* @param {string} value | ||
* @param {number=} opt_index | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.addAllowedSpecArgs = function(value, opt_index) { | ||
jspb.Message.addToRepeatedField(this, 5, value, opt_index); | ||
}; | ||
proto.forge_abi.AssetFactory.prototype.clearAllowedSpecArgsList = function() { | ||
this.setAllowedSpecArgsList([]); | ||
}; | ||
/** | ||
* optional string asset_name = 6; | ||
* @return {string} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getAssetName = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, '')); | ||
}; | ||
/** @param {string} value */ | ||
proto.forge_abi.AssetFactory.prototype.setAssetName = function(value) { | ||
jspb.Message.setProto3StringField(this, 6, value); | ||
}; | ||
/** | ||
* optional AssetAttributes attributes = 7; | ||
* @return {?proto.forge_abi.AssetAttributes} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.getAttributes = function() { | ||
return /** @type{?proto.forge_abi.AssetAttributes} */ (jspb.Message.getWrapperField( | ||
this, | ||
proto.forge_abi.AssetAttributes, | ||
7 | ||
)); | ||
}; | ||
/** @param {?proto.forge_abi.AssetAttributes|undefined} value */ | ||
proto.forge_abi.AssetFactory.prototype.setAttributes = function(value) { | ||
jspb.Message.setWrapperField(this, 7, value); | ||
}; | ||
proto.forge_abi.AssetFactory.prototype.clearAttributes = function() { | ||
this.setAttributes(undefined); | ||
}; | ||
/** | ||
* Returns whether this field is set. | ||
* @return {boolean} | ||
*/ | ||
proto.forge_abi.AssetFactory.prototype.hasAttributes = function() { | ||
return jspb.Message.getField(this, 7) != null; | ||
}; | ||
/** | ||
* Generated by JsPbCodeGenerator. | ||
* @param {Array=} opt_data Optional initial data array, typically from a | ||
* server response, or constructed directly in Javascript. The array is used | ||
* in place and becomes part of the constructed object. It is not cloned. | ||
* If no data is provided, the constructed object will be empty, but still | ||
* valid. | ||
* @extends {jspb.Message} | ||
* @constructor | ||
*/ | ||
proto.forge_abi.AssetFactoryState = function(opt_data) { | ||
jspb.Message.initialize( | ||
this, | ||
opt_data, | ||
0, | ||
-1, | ||
proto.forge_abi.AssetFactoryState.repeatedFields_, | ||
null | ||
); | ||
}; | ||
goog.inherits(proto.forge_abi.AssetFactoryState, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
proto.forge_abi.AssetFactoryState.displayName = 'proto.forge_abi.AssetFactoryState'; | ||
} | ||
/** | ||
* List of repeated fields within this message type. | ||
* @private {!Array<number>} | ||
* @const | ||
*/ | ||
proto.forge_abi.AssetFactoryState.repeatedFields_ = [5]; | ||
if (jspb.Message.GENERATE_TO_OBJECT) { | ||
/** | ||
* Creates an object representation of this proto suitable for use in Soy templates. | ||
* Field names that are reserved in JavaScript and will be renamed to pb_name. | ||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. | ||
* For the list of reserved names please see: | ||
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. | ||
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance | ||
* for transitional soy proto support: http://goto/soy-param-migration | ||
* @return {!Object} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.toObject = function(opt_includeInstance) { | ||
return proto.forge_abi.AssetFactoryState.toObject(opt_includeInstance, this); | ||
}; | ||
/** | ||
* Static version of the {@see toObject} method. | ||
* @param {boolean|undefined} includeInstance Whether to include the JSPB | ||
* instance for transitional soy proto support: | ||
* http://goto/soy-param-migration | ||
* @param {!proto.forge_abi.AssetFactoryState} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.forge_abi.AssetFactoryState.toObject = function(includeInstance, msg) { | ||
var f, | ||
obj = { | ||
description: jspb.Message.getFieldWithDefault(msg, 1, ''), | ||
limit: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
price: (f = msg.getPrice()) && type_pb.BigUint.toObject(includeInstance, f), | ||
template: jspb.Message.getFieldWithDefault(msg, 4, ''), | ||
allowedSpecArgsList: jspb.Message.getRepeatedField(msg, 5), | ||
assetName: jspb.Message.getFieldWithDefault(msg, 6, ''), | ||
attributes: | ||
(f = msg.getAttributes()) && proto.forge_abi.AssetAttributes.toObject(includeInstance, f), | ||
numCreated: jspb.Message.getFieldWithDefault(msg, 8, 0), | ||
}; | ||
if (includeInstance) { | ||
obj.$jspbMessageInstance = msg; | ||
} | ||
return obj; | ||
}; | ||
} | ||
/** | ||
* Deserializes binary data (in protobuf wire format). | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.forge_abi.AssetFactoryState} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.forge_abi.AssetFactoryState(); | ||
return proto.forge_abi.AssetFactoryState.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
/** | ||
* Deserializes binary data (in protobuf wire format) from the | ||
* given reader into the given message object. | ||
* @param {!proto.forge_abi.AssetFactoryState} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.forge_abi.AssetFactoryState} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
if (reader.isEndGroup()) { | ||
break; | ||
} | ||
var field = reader.getFieldNumber(); | ||
switch (field) { | ||
case 1: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setDescription(value); | ||
break; | ||
case 2: | ||
var value = /** @type {number} */ (reader.readUint32()); | ||
msg.setLimit(value); | ||
break; | ||
case 3: | ||
var value = new type_pb.BigUint(); | ||
reader.readMessage(value, type_pb.BigUint.deserializeBinaryFromReader); | ||
msg.setPrice(value); | ||
break; | ||
case 4: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setTemplate(value); | ||
break; | ||
case 5: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.addAllowedSpecArgs(value); | ||
break; | ||
case 6: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setAssetName(value); | ||
break; | ||
case 7: | ||
var value = new proto.forge_abi.AssetAttributes(); | ||
reader.readMessage(value, proto.forge_abi.AssetAttributes.deserializeBinaryFromReader); | ||
msg.setAttributes(value); | ||
break; | ||
case 8: | ||
var value = /** @type {number} */ (reader.readUint32()); | ||
msg.setNumCreated(value); | ||
break; | ||
default: | ||
reader.skipField(); | ||
break; | ||
} | ||
} | ||
return msg; | ||
}; | ||
/** | ||
* Serializes the message to binary data (in protobuf wire format). | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.forge_abi.AssetFactoryState.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
}; | ||
/** | ||
* Serializes the given message to binary data (in protobuf wire | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.forge_abi.AssetFactoryState} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.forge_abi.AssetFactoryState.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
f = message.getDescription(); | ||
if (f.length > 0) { | ||
writer.writeString(1, f); | ||
} | ||
f = message.getLimit(); | ||
if (f !== 0) { | ||
writer.writeUint32(2, f); | ||
} | ||
f = message.getPrice(); | ||
if (f != null) { | ||
writer.writeMessage(3, f, type_pb.BigUint.serializeBinaryToWriter); | ||
} | ||
f = message.getTemplate(); | ||
if (f.length > 0) { | ||
writer.writeString(4, f); | ||
} | ||
f = message.getAllowedSpecArgsList(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedString(5, f); | ||
} | ||
f = message.getAssetName(); | ||
if (f.length > 0) { | ||
writer.writeString(6, f); | ||
} | ||
f = message.getAttributes(); | ||
if (f != null) { | ||
writer.writeMessage(7, f, proto.forge_abi.AssetAttributes.serializeBinaryToWriter); | ||
} | ||
f = message.getNumCreated(); | ||
if (f !== 0) { | ||
writer.writeUint32(8, f); | ||
} | ||
}; | ||
/** | ||
* optional string description = 1; | ||
* @return {string} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getDescription = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, '')); | ||
}; | ||
/** @param {string} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setDescription = function(value) { | ||
jspb.Message.setProto3StringField(this, 1, value); | ||
}; | ||
/** | ||
* optional uint32 limit = 2; | ||
* @return {number} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getLimit = function() { | ||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); | ||
}; | ||
/** @param {number} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setLimit = function(value) { | ||
jspb.Message.setProto3IntField(this, 2, value); | ||
}; | ||
/** | ||
* optional BigUint price = 3; | ||
* @return {?proto.forge_abi.BigUint} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getPrice = function() { | ||
return /** @type{?proto.forge_abi.BigUint} */ (jspb.Message.getWrapperField( | ||
this, | ||
type_pb.BigUint, | ||
3 | ||
)); | ||
}; | ||
/** @param {?proto.forge_abi.BigUint|undefined} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setPrice = function(value) { | ||
jspb.Message.setWrapperField(this, 3, value); | ||
}; | ||
proto.forge_abi.AssetFactoryState.prototype.clearPrice = function() { | ||
this.setPrice(undefined); | ||
}; | ||
/** | ||
* Returns whether this field is set. | ||
* @return {boolean} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.hasPrice = function() { | ||
return jspb.Message.getField(this, 3) != null; | ||
}; | ||
/** | ||
* optional string template = 4; | ||
* @return {string} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getTemplate = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, '')); | ||
}; | ||
/** @param {string} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setTemplate = function(value) { | ||
jspb.Message.setProto3StringField(this, 4, value); | ||
}; | ||
/** | ||
* repeated string allowed_spec_args = 5; | ||
* @return {!Array<string>} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getAllowedSpecArgsList = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5)); | ||
}; | ||
/** @param {!Array<string>} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setAllowedSpecArgsList = function(value) { | ||
jspb.Message.setField(this, 5, value || []); | ||
}; | ||
/** | ||
* @param {string} value | ||
* @param {number=} opt_index | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.addAllowedSpecArgs = function(value, opt_index) { | ||
jspb.Message.addToRepeatedField(this, 5, value, opt_index); | ||
}; | ||
proto.forge_abi.AssetFactoryState.prototype.clearAllowedSpecArgsList = function() { | ||
this.setAllowedSpecArgsList([]); | ||
}; | ||
/** | ||
* optional string asset_name = 6; | ||
* @return {string} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getAssetName = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, '')); | ||
}; | ||
/** @param {string} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setAssetName = function(value) { | ||
jspb.Message.setProto3StringField(this, 6, value); | ||
}; | ||
/** | ||
* optional AssetAttributes attributes = 7; | ||
* @return {?proto.forge_abi.AssetAttributes} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getAttributes = function() { | ||
return /** @type{?proto.forge_abi.AssetAttributes} */ (jspb.Message.getWrapperField( | ||
this, | ||
proto.forge_abi.AssetAttributes, | ||
7 | ||
)); | ||
}; | ||
/** @param {?proto.forge_abi.AssetAttributes|undefined} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setAttributes = function(value) { | ||
jspb.Message.setWrapperField(this, 7, value); | ||
}; | ||
proto.forge_abi.AssetFactoryState.prototype.clearAttributes = function() { | ||
this.setAttributes(undefined); | ||
}; | ||
/** | ||
* Returns whether this field is set. | ||
* @return {boolean} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.hasAttributes = function() { | ||
return jspb.Message.getField(this, 7) != null; | ||
}; | ||
/** | ||
* optional uint32 num_created = 8; | ||
* @return {number} | ||
*/ | ||
proto.forge_abi.AssetFactoryState.prototype.getNumCreated = function() { | ||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); | ||
}; | ||
/** @param {number} value */ | ||
proto.forge_abi.AssetFactoryState.prototype.setNumCreated = function(value) { | ||
jspb.Message.setProto3IntField(this, 8, value); | ||
}; | ||
goog.object.extend(exports, proto.forge_abi); | ||
module.exports = proto.forge_abi; |
@@ -41,2 +41,3 @@ /** | ||
TOO_MANY_TXS: 11, | ||
INVALID_LOCK_STATUS: 12, | ||
INVALID_MONIKER: 16, | ||
@@ -64,2 +65,4 @@ INVALID_PASSPHRASE: 17, | ||
CONSUMED_ASSET: 42, | ||
INVALID_DEPOSIT_VALUE: 43, | ||
EXCEED_DEPOSIT_CAP: 44, | ||
FORBIDDEN: 403, | ||
@@ -66,0 +69,0 @@ INTERNAL: 500, |
@@ -183,2 +183,13 @@ // GENERATED CODE -- DO NOT EDIT! | ||
function serialize_forge_abi_RequestGetTetherInfo(arg) { | ||
if (!(arg instanceof rpc_pb.RequestGetTetherInfo)) { | ||
throw new Error('Expected argument of type forge_abi.RequestGetTetherInfo'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_forge_abi_RequestGetTetherInfo(buffer_arg) { | ||
return rpc_pb.RequestGetTetherInfo.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_forge_abi_RequestGetTx(arg) { | ||
@@ -602,2 +613,13 @@ if (!(arg instanceof rpc_pb.RequestGetTx)) { | ||
function serialize_forge_abi_ResponseGetTetherInfo(arg) { | ||
if (!(arg instanceof rpc_pb.ResponseGetTetherInfo)) { | ||
throw new Error('Expected argument of type forge_abi.ResponseGetTetherInfo'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_forge_abi_ResponseGetTetherInfo(buffer_arg) { | ||
return rpc_pb.ResponseGetTetherInfo.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_forge_abi_ResponseGetTx(arg) { | ||
@@ -1122,2 +1144,13 @@ if (!(arg instanceof rpc_pb.ResponseGetTx)) { | ||
}, | ||
get_tether_info: { | ||
path: '/forge_abi.StateRpc/get_tether_info', | ||
requestStream: true, | ||
responseStream: true, | ||
requestType: rpc_pb.RequestGetTetherInfo, | ||
responseType: rpc_pb.ResponseGetTetherInfo, | ||
requestSerialize: serialize_forge_abi_RequestGetTetherInfo, | ||
requestDeserialize: deserialize_forge_abi_RequestGetTetherInfo, | ||
responseSerialize: serialize_forge_abi_ResponseGetTetherInfo, | ||
responseDeserialize: deserialize_forge_abi_ResponseGetTetherInfo, | ||
}, | ||
}); | ||
@@ -1124,0 +1157,0 @@ |
{ | ||
"name": "@arcblock/forge-proto", | ||
"description": "Static modules generated from forge-sdk protobuf files", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)", | ||
@@ -48,11 +48,13 @@ "engines": { | ||
"scripts": { | ||
"upgrade": "bash tools/copy.sh && npm run gen && npm run generate-dts", | ||
"upgrade": "bash tools/copy.sh && yarn gen && yarn generate-dts && yarn generate-docs && yarn format-docs", | ||
"copy": "bash tools/copy.sh", | ||
"gen": "node tools/gen-proto-entry.js full && node tools/gen-proto-entry.js lite", | ||
"format-docs": "remark . -o", | ||
"generate-docs": "jsdoc2md init.js > docs/README.md", | ||
"generate-dts": "j2d index.js && node tools/generate-dts.js && bash tools/patch-dts.sh", | ||
"lint": "eslint tests index.js", | ||
"precommit": "CI=1 npm run test", | ||
"prepush": "CI=1 npm run test", | ||
"test": "npm run lint && node tools/jest.js", | ||
"coverage": "npm run lint && npm run test -- --coverage --collectCoverageFrom=index.js --collectCoverageFrom=!lib/*.js" | ||
"precommit": "CI=1 yarn test", | ||
"prepush": "CI=1 yarn test", | ||
"test": "yarn lint && node tools/jest.js", | ||
"coverage": "yarn lint && yarn test -- --coverage --collectCoverageFrom=index.js --collectCoverageFrom=!lib/*.js" | ||
}, | ||
@@ -63,3 +65,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "70d1b0561d18f4a2082d379d836ef44ef7ac5317" | ||
"gitHead": "1e2bc71da51158cd827b3b5e544d91a73fdfadf4" | ||
} |
@@ -1,8 +0,8 @@ | ||
// Auto generated code (2019-04-25T01:46:51.069Z), DO NOT EDIT | ||
const servicePb = require('./lib/service_pb.js'); | ||
// Auto generated code (2019-04-30T10:12:58.537Z), DO NOT EDIT | ||
const typePb = require('./lib/type_pb.js'); | ||
const txPb = require('./lib/tx_pb.js'); | ||
const traceTypePb = require('./lib/trace_type_pb.js'); | ||
const statePb = require('./lib/state_pb.js'); | ||
const enumPb = require('./lib/enum_pb.js'); | ||
const statePb = require('./lib/state_pb.js'); | ||
const servicePb = require('./lib/service_pb.js'); | ||
const rpcPb = require('./lib/rpc_pb.js'); | ||
@@ -12,14 +12,16 @@ const abiPb = require('./lib/abi_pb.js'); | ||
const createAssetTxPb = require('./lib/create_asset_tx_pb.js'); | ||
const stakeTxPb = require('./lib/stake_tx_pb.js'); | ||
const pokeTxPb = require('./lib/poke_tx_pb.js'); | ||
const consumeAssetTxPb = require('./lib/consume_asset_tx_pb.js'); | ||
const exchangeTxPb = require('./lib/exchange_tx_pb.js'); | ||
const deployProtocolTxPb = require('./lib/deploy_protocol_tx_pb.js'); | ||
const accountMigrateTxPb = require('./lib/account_migrate_tx_pb.js'); | ||
const upgradeNodeTxPb = require('./lib/upgrade_node_tx_pb.js'); | ||
const updateAssetTxPb = require('./lib/update_asset_tx_pb.js'); | ||
const consumeAssetTxPb = require('./lib/consume_asset_tx_pb.js'); | ||
const deployProtocolTxPb = require('./lib/deploy_protocol_tx_pb.js'); | ||
const pokeTxPb = require('./lib/poke_tx_pb.js'); | ||
const acquireAssetTxPb = require('./lib/acquire_asset_tx_pb.js'); | ||
const declareTxPb = require('./lib/declare_tx_pb.js'); | ||
const depositTetherTxPb = require('./lib/deposit_tether_tx_pb.js'); | ||
const stakeTxPb = require('./lib/stake_tx_pb.js'); | ||
const transferTxPb = require('./lib/transfer_tx_pb.js'); | ||
const serviceGrpcPb = require('./lib/service_grpc_pb.js'); | ||
const abiGrpcPb = require('./lib/abi_grpc_pb.js'); | ||
const serviceGrpcPb = require('./lib/service_grpc_pb.js'); | ||
const vendorPb = require('./lib/vendor_pb.js'); | ||
@@ -29,8 +31,8 @@ | ||
{}, | ||
servicePb, | ||
typePb, | ||
txPb, | ||
traceTypePb, | ||
statePb, | ||
enumPb, | ||
statePb, | ||
servicePb, | ||
rpcPb, | ||
@@ -40,14 +42,16 @@ abiPb, | ||
createAssetTxPb, | ||
stakeTxPb, | ||
pokeTxPb, | ||
consumeAssetTxPb, | ||
exchangeTxPb, | ||
deployProtocolTxPb, | ||
accountMigrateTxPb, | ||
upgradeNodeTxPb, | ||
updateAssetTxPb, | ||
consumeAssetTxPb, | ||
deployProtocolTxPb, | ||
pokeTxPb, | ||
acquireAssetTxPb, | ||
declareTxPb, | ||
depositTetherTxPb, | ||
stakeTxPb, | ||
transferTxPb | ||
); | ||
const forgeServices = Object.assign({}, abiGrpcPb, serviceGrpcPb); | ||
const forgeServices = Object.assign({}, serviceGrpcPb, abiGrpcPb); | ||
const vendorTypes = Object.assign({}, vendorPb); | ||
@@ -54,0 +58,0 @@ const vendorServices = {}; |
@@ -1,7 +0,8 @@ | ||
// Auto generated code (2019-04-25T01:46:51.261Z), DO NOT EDIT | ||
// Auto generated code (2019-04-30T10:12:58.724Z), DO NOT EDIT | ||
const typePb = require('./lib/type_pb.js'); | ||
const enumPb = require('./lib/enum_pb.js'); | ||
const createAssetTxPb = require('./lib/create_asset_tx_pb.js'); | ||
const consumeAssetTxPb = require('./lib/consume_asset_tx_pb.js'); | ||
const pokeTxPb = require('./lib/poke_tx_pb.js'); | ||
const transferTxPb = require('./lib/transfer_tx_pb.js'); | ||
const pokeTxPb = require('./lib/poke_tx_pb.js'); | ||
const exchangeTxPb = require('./lib/exchange_tx_pb.js'); | ||
const deployProtocolTxPb = require('./lib/deploy_protocol_tx_pb.js'); | ||
@@ -11,7 +12,8 @@ const upgradeNodeTxPb = require('./lib/upgrade_node_tx_pb.js'); | ||
const accountMigrateTxPb = require('./lib/account_migrate_tx_pb.js'); | ||
const consumeAssetTxPb = require('./lib/consume_asset_tx_pb.js'); | ||
const acquireAssetTxPb = require('./lib/acquire_asset_tx_pb.js'); | ||
const declareTxPb = require('./lib/declare_tx_pb.js'); | ||
const exchangeTxPb = require('./lib/exchange_tx_pb.js'); | ||
const depositTetherTxPb = require('./lib/deposit_tether_tx_pb.js'); | ||
const createAssetTxPb = require('./lib/create_asset_tx_pb.js'); | ||
const stakeTxPb = require('./lib/stake_tx_pb.js'); | ||
const declareFileTxPb = require('./lib/declare_file_tx_pb.js'); | ||
const stakeTxPb = require('./lib/stake_tx_pb.js'); | ||
@@ -24,5 +26,6 @@ const vendorPb = require('./lib/vendor_pb.js'); | ||
enumPb, | ||
createAssetTxPb, | ||
consumeAssetTxPb, | ||
pokeTxPb, | ||
transferTxPb, | ||
pokeTxPb, | ||
exchangeTxPb, | ||
deployProtocolTxPb, | ||
@@ -32,7 +35,8 @@ upgradeNodeTxPb, | ||
accountMigrateTxPb, | ||
consumeAssetTxPb, | ||
acquireAssetTxPb, | ||
declareTxPb, | ||
exchangeTxPb, | ||
declareFileTxPb, | ||
stakeTxPb | ||
depositTetherTxPb, | ||
createAssetTxPb, | ||
stakeTxPb, | ||
declareFileTxPb | ||
); | ||
@@ -39,0 +43,0 @@ const forgeServices = {}; |
@@ -7,9 +7,11 @@ # [**@arcblock/forge-proto**](https://github.com/arcblock/forge-js/packages/forge-proto) | ||
## Table of Contents | ||
- [**@arcblock/forge-proto**](#arcblockforge-proto) | ||
- [Table of Contents](#table-of-contents) | ||
- [Install](#install) | ||
- [Usage](#usage) | ||
* [Install](#install) | ||
* [Usage](#usage) | ||
* [Documentation](#documentation) | ||
* [Contributors](#contributors) | ||
## Install | ||
@@ -23,2 +25,3 @@ | ||
## Usage | ||
@@ -37,1 +40,13 @@ | ||
``` | ||
## Documentation | ||
For full documentation, checkout [README.md](./docs/README.md). | ||
## Contributors | ||
| Name | Website | | ||
| -------------- | ------------------------- | | ||
| **wangshijun** | <https://www.arcblock.io> | |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1758037
35
50627
50
23