@cann4n/wallet-keypair 0.2.0 → 0.2.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/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, it, expect } from "vitest";
|
|
2
2
|
import { STELLAR_NETWORKS } from "@cann4n/core";
|
|
3
3
|
import * as StellarSdk from "@stellar/stellar-sdk";
|
|
4
|
-
import { KeypairWalletProvider } from "./keypairWalletProvider";
|
|
4
|
+
import { KeypairWalletProvider } from "./keypairWalletProvider.js";
|
|
5
5
|
describe("KeypairWalletProvider", () => {
|
|
6
6
|
const keypair = StellarSdk.Keypair.random();
|
|
7
7
|
it("should return wallet name and address", () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cann4n/wallet-keypair",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Ed25519 keypair wallet provider for AgentKit Stellar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@cann4n/core": "^0.2.
|
|
20
|
+
"@cann4n/core": "^0.2.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@stellar/stellar-sdk": "^12.3.0"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"directory": "packages/wallet-keypair"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
|
-
"build": "tsc",
|
|
40
|
+
"build": "tsc && node ../../scripts/fix-esm-imports.mjs dist",
|
|
41
41
|
"test": "vitest run",
|
|
42
42
|
"lint": "eslint src/",
|
|
43
43
|
"typecheck": "tsc --noEmit",
|