@arkade-os/swap 0.0.1

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 ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@arkade-os/swap",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "Client-side Arkade Intents asset swaps: discover markets, quote, create/track/cancel offers, restore from chain.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/arkade-os/ts-sdk.git",
9
+ "directory": "packages/swap"
10
+ },
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "import": {
16
+ "types": "./dist/index.d.ts",
17
+ "default": "./dist/index.js"
18
+ },
19
+ "require": {
20
+ "types": "./dist/index.d.ts",
21
+ "default": "./dist/index.cjs"
22
+ }
23
+ },
24
+ "./nostr": {
25
+ "import": {
26
+ "types": "./dist/nostr.d.ts",
27
+ "default": "./dist/nostr.js"
28
+ },
29
+ "require": {
30
+ "types": "./dist/nostr.d.ts",
31
+ "default": "./dist/nostr.cjs"
32
+ }
33
+ }
34
+ },
35
+ "files": [
36
+ "dist"
37
+ ],
38
+ "keywords": [
39
+ "arkade",
40
+ "swap",
41
+ "intents",
42
+ "bitcoin"
43
+ ],
44
+ "author": "Arkade-OS",
45
+ "license": "MIT",
46
+ "dependencies": {
47
+ "@arkade-os/solver-discovery": "0.2.1",
48
+ "@noble/curves": "2.0.1",
49
+ "@noble/hashes": "2.0.1",
50
+ "@scure/base": "2.0.0",
51
+ "@scure/btc-signer": "2.0.1",
52
+ "@arkade-os/sdk": "0.4.58"
53
+ },
54
+ "peerDependencies": {
55
+ "nostr-tools": "^2.12.0"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "nostr-tools": {
59
+ "optional": true
60
+ }
61
+ },
62
+ "publishConfig": {
63
+ "access": "public",
64
+ "registry": "https://registry.npmjs.org/"
65
+ },
66
+ "devDependencies": {
67
+ "fake-indexeddb": "6.2.5",
68
+ "nostr-tools": "^2.12.0"
69
+ },
70
+ "scripts": {
71
+ "build": "tsup src/index.ts src/nostr.ts --format esm,cjs --dts --clean",
72
+ "typecheck": "tsc --noEmit",
73
+ "format": "prettier --write src test",
74
+ "lint": "prettier --check src test",
75
+ "test": "vitest run --exclude test/e2e",
76
+ "test:unit": "vitest run --exclude test/e2e",
77
+ "test:integration": "vitest run test/e2e/** --exclude test/e2e/rfq*.test.ts",
78
+ "test:integration:rfq": "vitest run test/e2e/rfq*.test.ts",
79
+ "smoke:dist": "node scripts/smoke-dist.mjs"
80
+ }
81
+ }