Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@w6s/cgb-js-sdk

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@w6s/cgb-js-sdk - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

jssdk-0.0.21.js

8

image/takePhotoAndAddWaterMark.js

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

var minateStr = minate < 10 ? "0" + minate : "" + minate;
return year + "-" + monthStr + "-" + dayStr + " " + hourStr + ":" + minateStr;
return year + "." + monthStr + "." + dayStr + " " + hourStr + ":" + minateStr;
};

@@ -44,8 +44,8 @@ /**

if (data.timeEnable) {
content = content + " " + timeStr;
content = content + "\n\u65F6 \u95F4:" + timeStr;
}
if (data.locationEnable) {
return getLocation_1.default().then(function (res) {
var locationStr = "" + res.city + res.district + res.street + " " + res.longitude.toFixed(2) + "," + res.latitude.toFixed(2);
content = content + " " + locationStr;
var locationStr = "\n\u5730 \u70B9:" + res.city + res.district + res.street + "\n\u7ECF\u7EAC\u5EA6:" + res.longitude.toFixed(2) + "," + res.latitude.toFixed(2);
content = "" + content + locationStr;
var params = {

@@ -52,0 +52,0 @@ content: content,

@@ -19,3 +19,3 @@ import { CoreOptions } from './types/core';

/** WorkPlus SDK 版本 */
export declare const version = "0.0.20";
export declare const version = "0.0.21";
export declare const native: {};

@@ -22,0 +22,0 @@ /** 图像接口 */

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

/** WorkPlus SDK 版本 */
exports.version = '0.0.20';
exports.version = '0.0.21';
exports.native = {};

@@ -86,0 +86,0 @@ /** 图像接口 */

{
"name": "@w6s/cgb-js-sdk",
"version": "0.0.20",
"version": "0.0.21",
"description": "CGB JavaScript SDK.",

@@ -5,0 +5,0 @@ "main": "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