astra-sdk-web 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astra-sdk-web",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "Official Astra SDK for JavaScript/TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/astra-sdk.cjs.js",
@@ -22,7 +22,7 @@ export const KycFlow: React.FC<KycFlowProps> = ({
22
22
  deviceType,
23
23
  startAtQr = true,
24
24
  onClose,
25
- mobileBaseUrl = 'https://stage-kyc-sdk.astraprotocol.com',
25
+ mobileBaseUrl = 'https://kyc-sdk-stage.astraprotocol.com',
26
26
  }) => {
27
27
  const [currentView, setCurrentView] = useState<KycFlowView>(startAtQr ? 'qr' : 'mobileroute');
28
28
 
package/src/index.css CHANGED
@@ -9,6 +9,12 @@
9
9
  scrollbar-color: #474747 transparent;
10
10
  }
11
11
 
12
+
13
+
14
+
15
+
16
+
17
+
12
18
  .custom__scrollbar::-webkit-scrollbar {
13
19
  width: 6px;
14
20
  }
@@ -11,7 +11,7 @@ interface QRCodePageProps {
11
11
  serverKey?: string;
12
12
  }
13
13
 
14
- function QRCodePage({ onClose, onNavigate, mobileBaseUrl = 'https://stage-kyc-sdk.astraprotocol.com', sessionId, apiBaseUrl, serverKey }: QRCodePageProps = {}) {
14
+ function QRCodePage({ onClose, onNavigate, mobileBaseUrl = 'https://kyc-sdk-stage.astraprotocol.com', sessionId, apiBaseUrl, serverKey }: QRCodePageProps = {}) {
15
15
  const [qrUrl, setQrUrl] = useState<string>('');
16
16
  const [copied, setCopied] = useState<boolean>(false);
17
17