removed next dependency on sdk (#447)

This commit is contained in:
turboblitz
2025-03-21 13:53:39 -07:00
committed by GitHub
parent d03c9556a8
commit f501bf47a4
2 changed files with 3 additions and 7 deletions

View File

@@ -8,14 +8,10 @@ import { REDIRECT_URL, WS_DB_RELAYER } from '../../common/src/constants/constant
import { v4 as uuidv4 } from 'uuid';
import { QRcodeSteps } from './utils/utils';
import { containerStyle, ledContainerStyle, qrContainerStyle } from './utils/styles';
import dynamic from 'next/dynamic';
import { QRCodeSVG } from 'qrcode.react';
import { initWebSocket } from './utils/websocket';
import { SelfApp, SelfAppBuilder } from '../../common/src/utils/appType';
const QRCodeSVG = dynamic(() => import('qrcode.react').then((mod) => mod.QRCodeSVG), {
ssr: false,
});
interface SelfQRcodeProps {
selfApp: SelfApp;
onSuccess: () => void;

View File

@@ -1,6 +1,6 @@
{
"name": "@selfxyz/qrcode",
"version": "0.0.11",
"version": "0.0.12",
"repository": {
"type": "git",
"url": "https://github.com/selfxyz/self"
@@ -54,4 +54,4 @@
"publishConfig": {
"access": "public"
}
}
}