@horus-wallet/sdk-react 0.1.0-beta.2 → 0.3.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@horus-wallet/sdk-react",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.3.0-beta.2",
4
4
  "description": "React bindings for the Horus embedded-wallet SDK — provider + hooks + drop-in components for partners to ship wallet UX in minutes.",
5
5
  "license": "MIT",
6
6
  "author": "Horus Wallet <info@horuswallet.com>",
@@ -25,6 +25,11 @@
25
25
  "types": "./dist/index.d.ts",
26
26
  "import": "./dist/index.js",
27
27
  "require": "./dist/index.cjs"
28
+ },
29
+ "./connect": {
30
+ "types": "./dist/connect.d.ts",
31
+ "import": "./dist/connect.js",
32
+ "require": "./dist/connect.cjs"
28
33
  }
29
34
  },
30
35
  "files": [
@@ -35,7 +40,7 @@
35
40
  "node": ">=18.0.0"
36
41
  },
37
42
  "scripts": {
38
- "build": "tsup src/index.ts --format cjs,esm --dts --clean --target es2020 --external react",
43
+ "build": "tsup src/index.ts src/connect/index.ts --format cjs,esm --dts --clean --target es2020 --external react --out-dir dist && mv dist/connect/index.js dist/connect.js && mv dist/connect/index.cjs dist/connect.cjs && mv dist/connect/index.d.ts dist/connect.d.ts && mv dist/connect/index.d.cts dist/connect.d.cts && rmdir dist/connect",
39
44
  "typecheck": "tsc --noEmit",
40
45
  "test": "vitest run",
41
46
  "test:watch": "vitest",