@worldcoin/idkit 0.3.0 → 0.3.2
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/build/index.css +1934 -2
- package/package.json +1 -1
- package/build/components/AboutWorldID.d.ts +0 -6
- package/build/components/Button.d.ts +0 -3
- package/build/components/CountryCodeSelect.d.ts +0 -6
- package/build/components/Frame.d.ts +0 -4
- package/build/components/IDKitWidget/BaseWidget.d.ts +0 -4
- package/build/components/IDKitWidget/States/AboutState.d.ts +0 -2
- package/build/components/IDKitWidget/States/EnterPhoneState.d.ts +0 -2
- package/build/components/IDKitWidget/States/ErrorState.d.ts +0 -4
- package/build/components/IDKitWidget/States/HostAppVerificationState.d.ts +0 -7
- package/build/components/IDKitWidget/States/PrivacyState.d.ts +0 -2
- package/build/components/IDKitWidget/States/SelectMethodState.d.ts +0 -2
- package/build/components/IDKitWidget/States/SuccessState.d.ts +0 -2
- package/build/components/IDKitWidget/States/VerifyCodeState.d.ts +0 -2
- package/build/components/IDKitWidget/States/WorldID/QRState.d.ts +0 -11
- package/build/components/IDKitWidget/States/WorldIDState.d.ts +0 -2
- package/build/components/IDKitWidget/index.d.ts +0 -3
- package/build/components/Icons/ArrowLongLeftIcon.d.ts +0 -3
- package/build/components/Icons/CheckIcon.d.ts +0 -3
- package/build/components/Icons/ChevronDownIcon.d.ts +0 -3
- package/build/components/Icons/DevicePhoneMobileIcon.d.ts +0 -3
- package/build/components/Icons/HumanIcon.d.ts +0 -3
- package/build/components/Icons/InfoIcon.d.ts +0 -3
- package/build/components/Icons/LoadingIcon.d.ts +0 -4
- package/build/components/Icons/LockIcon.d.ts +0 -3
- package/build/components/Icons/QuestionMarkIcon.d.ts +0 -4
- package/build/components/Icons/WorldIDQR.d.ts +0 -4
- package/build/components/Icons/WorldIDWordmark.d.ts +0 -3
- package/build/components/Icons/WorldcoinIcon.d.ts +0 -3
- package/build/components/Icons/WorldcoinLogomark.d.ts +0 -3
- package/build/components/Icons/XMarkIcon.d.ts +0 -3
- package/build/components/PhoneInput.d.ts +0 -6
- package/build/components/QRCode.d.ts +0 -6
- package/build/components/ResendButton.d.ts +0 -3
- package/build/components/SMSCodeInput.d.ts +0 -6
- package/build/components/WorldIDIcon.d.ts +0 -7
- package/build/hooks/useIDKit.d.ts +0 -6
- package/build/hooks/useMedia.d.ts +0 -2
- package/build/idkit-js.js +0 -181
- package/build/index.d.ts +0 -6
- package/build/index.js +0 -9
- package/build/index.js.map +0 -7
- package/build/lib/hashing.d.ts +0 -37
- package/build/lib/qr.d.ts +0 -4
- package/build/lib/telemetry.d.ts +0 -6
- package/build/lib/utils.d.ts +0 -5
- package/build/services/phone.d.ts +0 -18
- package/build/services/walletconnect.d.ts +0 -15
- package/build/store/idkit.d.ts +0 -39
- package/build/tsconfig.tsbuildinfo +0 -1
- package/build/types/config.d.ts +0 -36
- package/build/types/index.d.ts +0 -53
- package/build/types/orb.d.ts +0 -21
- package/build/vanilla.d.ts +0 -12
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "The identity SDK. Add sybil resistance to your apps through the World ID protocol.",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./build/index.d.ts",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.2",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "./build/index.cjs",
|
|
9
9
|
"module": "./build/index.js",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This state is triggered after a successful signal is received and the host app is performing their own verifications,
|
|
3
|
-
* before we show a success/error state.
|
|
4
|
-
*/
|
|
5
|
-
/// <reference types="react" />
|
|
6
|
-
declare const _default: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
7
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
qrData: {
|
|
4
|
-
default: string;
|
|
5
|
-
mobile: string;
|
|
6
|
-
} | null;
|
|
7
|
-
showQR: boolean;
|
|
8
|
-
setShowQR: (show: boolean | ((state: boolean) => boolean)) => void;
|
|
9
|
-
};
|
|
10
|
-
declare const QRState: FC<Props>;
|
|
11
|
-
export default QRState;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
|
|
2
|
-
type Props = Omit<DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & {
|
|
3
|
-
border?: string;
|
|
4
|
-
size?: 'md' | 'sm';
|
|
5
|
-
}, 'height' | 'src' | 'width'>;
|
|
6
|
-
declare const WorldIDIcon: ({ border, size, ...props }: Props) => JSX.Element;
|
|
7
|
-
export default WorldIDIcon;
|