@worldcoin/idkit 1.0.0-alpha.2 → 1.0.0-alpha.4

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.
@@ -166,7 +166,7 @@ var ConfigSource = /* @__PURE__ */ ((ConfigSource2) => {
166
166
 
167
167
  // src/components/QRCode.tsx
168
168
  import { memo, useMemo } from "react";
169
- import QRCodeUtil from "qrcode/lib/core/qrcode";
169
+ import QRCodeUtil from "qrcode/lib/core/qrcode.js";
170
170
  import { jsx } from "react/jsx-runtime";
171
171
  var generateMatrix = (data) => {
172
172
  const arr = QRCodeUtil.create(data, { errorCorrectionLevel: "M" }).modules.data;
package/build/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  QRCode_default,
3
3
  __,
4
4
  idkit_default
5
- } from "./chunk-EXZRURG3.js";
5
+ } from "./chunk-GFEOE2LY.js";
6
6
 
7
7
  // src/hooks/useIDKit.ts
8
8
  import { useEffect } from "react";
package/build/internal.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  QRCode_default,
4
4
  __,
5
5
  idkit_default
6
- } from "./chunk-EXZRURG3.js";
6
+ } from "./chunk-GFEOE2LY.js";
7
7
  export {
8
8
  ConfigSource,
9
9
  QRCode_default as QRCode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worldcoin/idkit",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.4",
4
4
  "homepage": "https://docs.worldcoin.org/id/idkit",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -21,6 +21,17 @@
21
21
  "types": "./build/internal.d.ts"
22
22
  }
23
23
  },
24
+ "typesVersions": {
25
+ "*": {
26
+ "internal": [
27
+ "./build/internal.d.ts"
28
+ ],
29
+ "*": [
30
+ "./build/*/index.d.ts",
31
+ "./build/index.d.ts"
32
+ ]
33
+ }
34
+ },
24
35
  "main": "src/index.ts",
25
36
  "types": "src/index.ts",
26
37
  "engines": {
@@ -53,7 +64,7 @@
53
64
  "qrcode": "^1.5.1",
54
65
  "react-shadow": "^19.0.3",
55
66
  "zustand": "^4.3.3",
56
- "@worldcoin/idkit-core": "1.0.0-alpha.2"
67
+ "@worldcoin/idkit-core": "1.0.0-alpha.4"
57
68
  },
58
69
  "devDependencies": {
59
70
  "@testing-library/jest-dom": "^5.16.5",