@satora/swap 0.0.3 → 0.0.5-rc.0
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/README.md +96 -0
- package/dist/cctp-bridge.cjs +25 -0
- package/dist/cctp-bridge.cjs.map +1 -0
- package/dist/cctp-bridge.d.cts +1 -0
- package/dist/cctp-bridge.d.ts +1 -3
- package/dist/cctp-bridge.js +1 -1
- package/dist/cctp-bridge.js.map +1 -1
- package/dist/delegate.cjs +25 -0
- package/dist/delegate.cjs.map +1 -0
- package/dist/delegate.d.cts +1 -0
- package/dist/delegate.d.ts +1 -3
- package/dist/delegate.js +1 -1
- package/dist/delegate.js.map +1 -1
- package/dist/index.cjs +25 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -10
- package/dist/index.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +25 -0
- package/dist/node.cjs.map +1 -0
- package/dist/node.d.cts +1 -0
- package/dist/node.d.ts +1 -3
- package/dist/node.js +1 -1
- package/dist/node.js.map +1 -1
- package/package.json +36 -11
- package/dist/cctp-bridge.d.ts.map +0 -1
- package/dist/delegate.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/node.d.ts.map +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# @satora/swap
|
|
2
|
+
|
|
3
|
+
The Satora swap client — a Lightning / on-chain BTC / Arkade ↔ EVM on/off-ramp.
|
|
4
|
+
Pure TypeScript, works in every JS environment (browser, Node, React Native).
|
|
5
|
+
|
|
6
|
+
This is the `@satora`-scoped name for the swap client and re-exports the
|
|
7
|
+
[`@lendasat/lendaswap-sdk-pure`](https://www.npmjs.com/package/@lendasat/lendaswap-sdk-pure)
|
|
8
|
+
bundle verbatim (`Client`, `ClientBuilder`, `Asset`, `EvmSigner`, storage
|
|
9
|
+
backends, …). New code should import `@satora/swap`.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @satora/swap
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Supported swaps
|
|
18
|
+
|
|
19
|
+
| Direction | Source | Target |
|
|
20
|
+
| --------- | --------------------------- | --------------------------- |
|
|
21
|
+
| BTC → EVM | Lightning, Arkade, on-chain | Ethereum, Polygon, Arbitrum |
|
|
22
|
+
| EVM → BTC | Ethereum, Polygon, Arbitrum | Lightning, Arkade, on-chain |
|
|
23
|
+
|
|
24
|
+
Refunds: Lightning auto-expires; Arkade refunds off-chain; on-chain BTC and EVM
|
|
25
|
+
refund after their timelock.
|
|
26
|
+
|
|
27
|
+
## Quick start
|
|
28
|
+
|
|
29
|
+
### Build a client
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import { Client, IdbWalletStorage, IdbSwapStorage } from "@satora/swap";
|
|
33
|
+
|
|
34
|
+
// Browser, persistent storage (IndexedDB). Omit the storages for a fresh
|
|
35
|
+
// ephemeral wallet, or pass .withMnemonic("abandon abandon …") to import one.
|
|
36
|
+
const client = await Client.builder()
|
|
37
|
+
.withSignerStorage(new IdbWalletStorage())
|
|
38
|
+
.withSwapStorage(new IdbSwapStorage())
|
|
39
|
+
.build();
|
|
40
|
+
|
|
41
|
+
const mnemonic = client.getMnemonic(); // back this up
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Quote and create a swap
|
|
45
|
+
|
|
46
|
+
`createSwap` handles every direction; the SDK routes by source/target asset.
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
import { Asset } from "@satora/swap";
|
|
50
|
+
|
|
51
|
+
const quote = await client.getQuote({
|
|
52
|
+
sourceChain: Asset.BTC_ARKADE.chain,
|
|
53
|
+
sourceToken: Asset.BTC_ARKADE.tokenId,
|
|
54
|
+
targetChain: Asset.USDC_POLYGON.chain,
|
|
55
|
+
targetToken: Asset.USDC_POLYGON.tokenId,
|
|
56
|
+
sourceAmount: 100_000, // sats
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
// BTC → EVM: Arkade BTC to USDC on Polygon
|
|
60
|
+
const {response} = await client.createSwap({
|
|
61
|
+
source: Asset.BTC_ARKADE,
|
|
62
|
+
target: Asset.USDC_POLYGON,
|
|
63
|
+
sourceAmount: 100_000, // sats
|
|
64
|
+
targetAddress: "0x…", // your EVM address
|
|
65
|
+
});
|
|
66
|
+
const swapId = response.id;
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Fund EVM-sourced swaps
|
|
70
|
+
|
|
71
|
+
EVM-sourced swaps are funded after creation. The SDK runs the full Permit2 flow
|
|
72
|
+
(allowance, ERC-20 approval, EIP-712 signing, submission) in one call — you
|
|
73
|
+
provide an `EvmSigner` (a small wallet abstraction; adapters for viem/wagmi and
|
|
74
|
+
ethers v6 are a few lines — see the underlying SDK's README).
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
const {txHash} = await client.fundSwap(swapId, signer);
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Monitor, claim, refund
|
|
81
|
+
|
|
82
|
+
```ts
|
|
83
|
+
const swap = await client.getSwap(swapId);
|
|
84
|
+
// pending → clientfunded → serverfunded → clientredeemed → serverredeemed
|
|
85
|
+
|
|
86
|
+
// BTC → EVM: once serverfunded, claim your tokens
|
|
87
|
+
await client.claim(swapId);
|
|
88
|
+
|
|
89
|
+
// Refund after timeout
|
|
90
|
+
await client.refundSwap(swapId, {destinationAddress: "bc1q…"}); // or "ark1…"
|
|
91
|
+
await client.collabRefundEvmWithSigner(swapId, signer, "swap-back"); // EVM, instant/gasless
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
MIT
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// src/cctp-bridge.ts
|
|
18
|
+
var cctp_bridge_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(cctp_bridge_exports);
|
|
20
|
+
__reExport(cctp_bridge_exports, require("@lendasat/lendaswap-sdk-pure/cctp-bridge"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("@lendasat/lendaswap-sdk-pure/cctp-bridge")
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=cctp-bridge.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cctp-bridge.ts"],"sourcesContent":["/** Re-export of the legacy `@lendasat/lendaswap-sdk-pure/cctp-bridge` entry point. */\nexport * from \"@lendasat/lendaswap-sdk-pure/cctp-bridge\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AACA,gCAAc,qDADd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@lendasat/lendaswap-sdk-pure/cctp-bridge';
|
package/dist/cctp-bridge.d.ts
CHANGED
package/dist/cctp-bridge.js
CHANGED
package/dist/cctp-bridge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/cctp-bridge.ts"],"sourcesContent":["/** Re-export of the legacy `@lendasat/lendaswap-sdk-pure/cctp-bridge` entry point. */\nexport * from \"@lendasat/lendaswap-sdk-pure/cctp-bridge\";\n"],"mappings":";AACA,cAAc;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// src/delegate.ts
|
|
18
|
+
var delegate_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(delegate_exports);
|
|
20
|
+
__reExport(delegate_exports, require("@lendasat/lendaswap-sdk-pure/delegate"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("@lendasat/lendaswap-sdk-pure/delegate")
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=delegate.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/delegate.ts"],"sourcesContent":["/** Re-export of the legacy `@lendasat/lendaswap-sdk-pure/delegate` entry point. */\nexport * from \"@lendasat/lendaswap-sdk-pure/delegate\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AACA,6BAAc,kDADd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@lendasat/lendaswap-sdk-pure/delegate';
|
package/dist/delegate.d.ts
CHANGED
package/dist/delegate.js
CHANGED
package/dist/delegate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/delegate.ts"],"sourcesContent":["/** Re-export of the legacy `@lendasat/lendaswap-sdk-pure/delegate` entry point. */\nexport * from \"@lendasat/lendaswap-sdk-pure/delegate\";\n"],"mappings":";AACA,cAAc;","names":[]}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// src/index.ts
|
|
18
|
+
var src_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(src_exports);
|
|
20
|
+
__reExport(src_exports, require("@lendasat/lendaswap-sdk-pure"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("@lendasat/lendaswap-sdk-pure")
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @satora/swap — the Satora-scoped name for the swap client.\n *\n * Re-exports the legacy `@lendasat/lendaswap-sdk-pure` bundle verbatim\n * (Client, ClientBuilder, signer helpers, etc.) so new code can import\n * `@satora/swap` while the published legacy package keeps working. This\n * is the seam for migrating implementation into `@satora/*` later.\n */\nexport * from \"@lendasat/lendaswap-sdk-pure\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAQA,wBAAc,yCARd;","names":[]}
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* (Client, ClientBuilder, signer helpers, etc.) so new code can import
|
|
6
|
-
* `@satora/swap` while the published legacy package keeps working. This
|
|
7
|
-
* is the seam for migrating implementation into `@satora/*` later.
|
|
8
|
-
*/
|
|
9
|
-
export * from "@lendasat/lendaswap-sdk-pure";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export * from '@lendasat/lendaswap-sdk-pure';
|
|
2
|
+
import '@lendasat/lendaswap-sdk-pure/node';
|
|
3
|
+
import '@lendasat/lendaswap-sdk-pure/delegate';
|
|
4
|
+
import '@lendasat/lendaswap-sdk-pure/cctp-bridge';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
* @satora/swap — the Satora-scoped name for the swap client.
|
|
3
|
-
*
|
|
4
|
-
* Re-exports the legacy `@lendasat/lendaswap-sdk-pure` bundle verbatim
|
|
5
|
-
* (Client, ClientBuilder, signer helpers, etc.) so new code can import
|
|
6
|
-
* `@satora/swap` while the published legacy package keeps working. This
|
|
7
|
-
* is the seam for migrating implementation into `@satora/*` later.
|
|
8
|
-
*/
|
|
1
|
+
// src/index.ts
|
|
9
2
|
export * from "@lendasat/lendaswap-sdk-pure";
|
|
10
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @satora/swap — the Satora-scoped name for the swap client.\n *\n * Re-exports the legacy `@lendasat/lendaswap-sdk-pure` bundle verbatim\n * (Client, ClientBuilder, signer helpers, etc.) so new code can import\n * `@satora/swap` while the published legacy package keeps working. This\n * is the seam for migrating implementation into `@satora/*` later.\n */\nexport * from \"@lendasat/lendaswap-sdk-pure\";\n"],"mappings":";AAQA,cAAc;","names":[]}
|
package/dist/node.cjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// src/node.ts
|
|
18
|
+
var node_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(node_exports);
|
|
20
|
+
__reExport(node_exports, require("@lendasat/lendaswap-sdk-pure/node"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("@lendasat/lendaswap-sdk-pure/node")
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=node.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/node.ts"],"sourcesContent":["/** Re-export of the legacy `@lendasat/lendaswap-sdk-pure/node` entry point. */\nexport * from \"@lendasat/lendaswap-sdk-pure/node\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AACA,yBAAc,8CADd;","names":[]}
|
package/dist/node.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@lendasat/lendaswap-sdk-pure/node';
|
package/dist/node.d.ts
CHANGED
package/dist/node.js
CHANGED
package/dist/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/node.ts"],"sourcesContent":["/** Re-export of the legacy `@lendasat/lendaswap-sdk-pure/node` entry point. */\nexport * from \"@lendasat/lendaswap-sdk-pure/node\";\n"],"mappings":";AACA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,27 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@satora/swap",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5-rc.0",
|
|
4
4
|
"description": "Satora swap client",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
13
19
|
},
|
|
14
20
|
"./node": {
|
|
15
|
-
"
|
|
16
|
-
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/node.d.ts",
|
|
23
|
+
"default": "./dist/node.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/node.d.cts",
|
|
27
|
+
"default": "./dist/node.cjs"
|
|
28
|
+
}
|
|
17
29
|
},
|
|
18
30
|
"./delegate": {
|
|
19
|
-
"
|
|
20
|
-
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/delegate.d.ts",
|
|
33
|
+
"default": "./dist/delegate.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/delegate.d.cts",
|
|
37
|
+
"default": "./dist/delegate.cjs"
|
|
38
|
+
}
|
|
21
39
|
},
|
|
22
40
|
"./cctp-bridge": {
|
|
23
|
-
"
|
|
24
|
-
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/cctp-bridge.d.ts",
|
|
43
|
+
"default": "./dist/cctp-bridge.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/cctp-bridge.d.cts",
|
|
47
|
+
"default": "./dist/cctp-bridge.cjs"
|
|
48
|
+
}
|
|
25
49
|
}
|
|
26
50
|
},
|
|
27
51
|
"files": [
|
|
@@ -32,6 +56,7 @@
|
|
|
32
56
|
},
|
|
33
57
|
"devDependencies": {
|
|
34
58
|
"@biomejs/biome": "2.3.15",
|
|
59
|
+
"tsup": "^8.5.1",
|
|
35
60
|
"typescript": "^5.7.0"
|
|
36
61
|
},
|
|
37
62
|
"license": "MIT",
|
|
@@ -39,7 +64,7 @@
|
|
|
39
64
|
"access": "public"
|
|
40
65
|
},
|
|
41
66
|
"scripts": {
|
|
42
|
-
"build": "
|
|
67
|
+
"build": "tsup",
|
|
43
68
|
"check-types": "tsc -p tsconfig.json --noEmit",
|
|
44
69
|
"lint": "biome check .",
|
|
45
70
|
"lint:fix": "biome check --write .",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cctp-bridge.d.ts","sourceRoot":"","sources":["../src/cctp-bridge.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,cAAc,0CAA0C,CAAC"}
|
package/dist/delegate.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delegate.d.ts","sourceRoot":"","sources":["../src/delegate.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,cAAc,uCAAuC,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,8BAA8B,CAAC"}
|
package/dist/node.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,cAAc,mCAAmC,CAAC"}
|