New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cyfs-service-helper

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyfs-service-helper - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

6

dist/types/util.d.ts

@@ -21,1 +21,7 @@ import * as cyfs from "cyfs-sdk";

} | null;
/**
* 应对as_slice问题封装的Uint8Array工具函数
* @param obj
* @returns
*/
export declare function toUint8Array(obj: cyfs.ObjectId | cyfs.UniqueId): Uint8Array;

11

dist/util.js

@@ -26,3 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.decodePutReqTextObj = exports.decodeReqTextObj = exports.decodePutReqObj = exports.decodeReqObj = exports.makePutResponce = exports.makeResponce = exports.defaultTextErr = exports.defaultTextOk = exports.loadDependsWithLockPaths = exports.loadByPath = void 0;
exports.toUint8Array = exports.decodePutReqTextObj = exports.decodeReqTextObj = exports.decodePutReqObj = exports.decodeReqObj = exports.makePutResponce = exports.makeResponce = exports.defaultTextErr = exports.defaultTextOk = exports.loadDependsWithLockPaths = exports.loadByPath = void 0;
const cyfs = __importStar(require("cyfs-sdk"));

@@ -174,1 +174,10 @@ const kits_1 = require("./kits");

exports.decodePutReqTextObj = decodePutReqTextObj;
/**
* 应对as_slice问题封装的Uint8Array工具函数
* @param obj
* @returns
*/
function toUint8Array(obj) {
return cyfs.ProtobufCodecHelper.encode_buf(obj).unwrap();
}
exports.toUint8Array = toUint8Array;

2

package.json
{
"name": "cyfs-service-helper",
"version": "1.0.7",
"version": "1.0.8",
"description": "help people build dec service quickly in CYFS.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc