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

@cvbb/sdk

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cvbb/sdk - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/hooks/useAnimatedQRCodePlayer.js

@@ -33,2 +33,3 @@ "use strict";

const [refreshSpeed, setRefreshSpeed] = react_1.useState(500);
const [hasNext, setHasNext] = react_1.useState(false);
const [index, setIndex] = react_1.useState(0);

@@ -97,3 +98,3 @@ const [isPause, setPause] = react_1.useState(false);

react_1.default.createElement(ButtonGroup_1.ButtonGroup, null,
react_1.default.createElement(Button_1.Button, { onClick: finish }, "Finish"))));
react_1.default.createElement(Button_1.Button, { onClick: finish }, hasNext ? 'Next' : 'Finish'))));
return [

@@ -104,8 +105,7 @@ element,

return new Promise((resolve) => {
console.log(data);
const urs = bc_ur_1.encodeUR(data, 800);
console.log(urs);
setData(urs);
if (options) {
options.refreshSpeed && setRefreshSpeed(options.refreshSpeed);
options.hasNext && setHasNext(options.hasNext);
}

@@ -112,0 +112,0 @@ ee.once('finish', () => {

@@ -8,4 +8,4 @@ export declare type DecodedResult = {

refreshSpeed?: number;
size?: number;
hasNext?: boolean;
}) => Promise<void>;
export declare type Read = () => Promise<DecodedResult>;
{
"name": "@cvbb/sdk",
"version": "1.0.4",
"version": "1.0.5",
"description": "Cobo Vault SDK",

@@ -30,3 +30,3 @@ "author": "aaronisme <aarondongchen@gmail.com>",

"dependencies": {
"@cvbb/bc-ur": "^0.2.12",
"@cvbb/bc-ur": "^0.2.13",
"@types/qrcode.react": "^1.0.1",

@@ -46,3 +46,3 @@ "@types/react-dom": "^17.0.1",

},
"gitHead": "bd5d10204268cd6ba60fc4ddecdea953e5b3801a"
"gitHead": "88fec64c1b3c423932e3e7e4d1d1a3272396b423"
}

Sorry, the diff of this file is not supported yet

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