@stellar/typescript-wallet-sdk 1.8.0-beta.1731338312096 → 1.8.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stellar/typescript-wallet-sdk",
|
|
3
|
-
"version": "1.8.0
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18"
|
|
6
6
|
},
|
|
@@ -75,4 +75,4 @@
|
|
|
75
75
|
"example:sep24": "ts-node examples/sep24/sep24.ts",
|
|
76
76
|
"example:sep12": "ts-node examples/sep12/sep12.ts"
|
|
77
77
|
}
|
|
78
|
-
}
|
|
78
|
+
}
|
|
@@ -16,13 +16,13 @@ describe("Anchor Platform Integration Tests", () => {
|
|
|
16
16
|
anchor = wallet.anchor({ homeDomain: anchorUrl, allowHttp: true });
|
|
17
17
|
accountKp = stellar.account().createKeypair();
|
|
18
18
|
await stellar.fundTestnetAccount(accountKp.publicKey);
|
|
19
|
-
},
|
|
19
|
+
}, 30000);
|
|
20
20
|
|
|
21
21
|
it("SEP-10 auth should work", async () => {
|
|
22
22
|
const auth = await anchor.sep10();
|
|
23
23
|
const authToken = await auth.authenticate({ accountKp });
|
|
24
24
|
expect(authToken.token).toBeTruthy();
|
|
25
|
-
});
|
|
25
|
+
}, 30000);
|
|
26
26
|
|
|
27
27
|
it("using DefaultAuthHeaderSigner should work", async () => {
|
|
28
28
|
const auth = await anchor.sep10();
|
|
@@ -30,7 +30,7 @@ describe("Anchor Platform Integration Tests", () => {
|
|
|
30
30
|
const authHeaderSigner = new DefaultAuthHeaderSigner();
|
|
31
31
|
const authToken = await auth.authenticate({ accountKp, authHeaderSigner });
|
|
32
32
|
expect(authToken.token).toBeTruthy();
|
|
33
|
-
});
|
|
33
|
+
}, 30000);
|
|
34
34
|
|
|
35
35
|
it("SEP-12 KYC and SEP-6 should work", async () => {
|
|
36
36
|
const auth = await anchor.sep10();
|
|
@@ -85,7 +85,7 @@ describe("Anchor Platform Integration Tests", () => {
|
|
|
85
85
|
},
|
|
86
86
|
});
|
|
87
87
|
expect(wResp.id).toBeTruthy();
|
|
88
|
-
},
|
|
88
|
+
}, 300000);
|
|
89
89
|
|
|
90
90
|
it("SEP-24 should work", async () => {
|
|
91
91
|
const assetCode = "USDC";
|
|
@@ -119,7 +119,7 @@ describe("Anchor Platform Integration Tests", () => {
|
|
|
119
119
|
limit: 5,
|
|
120
120
|
});
|
|
121
121
|
expect(transactions.length).toBe(2);
|
|
122
|
-
},
|
|
122
|
+
}, 300000);
|
|
123
123
|
|
|
124
124
|
it("SEP-38 should work", async () => {
|
|
125
125
|
const auth = await anchor.sep10();
|
|
@@ -150,5 +150,5 @@ describe("Anchor Platform Integration Tests", () => {
|
|
|
150
150
|
const quoteId = postResp.id;
|
|
151
151
|
const getResp = await sep38.getQuote(quoteId);
|
|
152
152
|
expect(getResp.id).toBeTruthy();
|
|
153
|
-
});
|
|
153
|
+
}, 300000);
|
|
154
154
|
});
|