ronds-metadata 1.3.21 → 1.3.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1 @@
1
- export declare function transProtobuf2Json(base64: string, protoSchema: string, message: string): {
2
- [k: string]: any;
3
- };
1
+ export declare function transProtobuf2Json(base64: string, protoSchema: string, message: string): any;
@@ -1,9 +1,9 @@
1
1
  /*
2
2
  * @Author: wangxian
3
3
  * @Date: 2023-09-22 11:28:45
4
- * @LastEditTime: 2023-11-23 15:25:42
4
+ * @LastEditTime: 2023-11-23 15:48:09
5
5
  */
6
- import protobuf from 'protobufjs';
6
+ var protobuf = require('protobufjs');
7
7
  function transBase642byte(base64String) {
8
8
  // 解码 Base64 字符串为原始二进制数据
9
9
  var decodedData = window.atob(base64String);
package/es/index.d.ts CHANGED
@@ -24,3 +24,4 @@ export { registerMetadataAPI } from './framework/metadata/MetadataService';
24
24
  export { FormRobot } from './framework/fg/index';
25
25
  export { globalSettingStream } from './config';
26
26
  export { handleMd2Doc } from './utils';
27
+ export { transProtobuf2Json } from './framework/proto/index';
package/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * @Author:wangxian
3
3
  * @Date: 2021-09-18 14:15:04
4
- * @LastEditTime: 2023-11-23 15:45:56
4
+ * @LastEditTime: 2023-11-23 15:48:15
5
5
  */
6
6
  import './theme.less';
7
7
  export { default as MetadataEdit } from './comps/MetadataEdit';
@@ -31,4 +31,4 @@ export { registerMetadataAPI } from './framework/metadata/MetadataService';
31
31
  export { FormRobot } from './framework/fg/index';
32
32
  export { globalSettingStream } from './config';
33
33
  export { handleMd2Doc } from './utils';
34
- // export { transProtobuf2Json } from './framework/proto/index';
34
+ export { transProtobuf2Json } from './framework/proto/index';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.3.21",
4
+ "version": "1.3.22",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",