@stellar/typescript-wallet-sdk 1.3.0 → 1.3.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/examples/sep24/sep24.ts +6 -1
- package/lib/bundle.js +35287 -34605
- package/lib/bundle.js.map +1 -1
- package/lib/bundle_browser.js +24 -51551
- package/lib/bundle_browser.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/walletSdk/Asset/index.d.ts +1 -1
- package/lib/walletSdk/Auth/WalletSigner.d.ts +1 -1
- package/lib/walletSdk/Exceptions/index.d.ts +1 -1
- package/lib/walletSdk/Horizon/Account.d.ts +1 -1
- package/lib/walletSdk/Horizon/AccountService.d.ts +1 -1
- package/lib/walletSdk/Horizon/Stellar.d.ts +1 -1
- package/lib/walletSdk/Horizon/Transaction/CommonTransactionBuilder.d.ts +1 -1
- package/lib/walletSdk/Horizon/Transaction/SponsoringBuilder.d.ts +1 -1
- package/lib/walletSdk/Horizon/Transaction/TransactionBuilder.d.ts +1 -1
- package/lib/walletSdk/Recovery/AccountRecover.d.ts +1 -1
- package/lib/walletSdk/Recovery/index.d.ts +1 -1
- package/lib/walletSdk/Types/anchor.d.ts +1 -1
- package/lib/walletSdk/Types/auth.d.ts +1 -1
- package/lib/walletSdk/Types/horizon.d.ts +1 -1
- package/lib/walletSdk/Types/index.d.ts +1 -1
- package/lib/walletSdk/Types/recovery.d.ts +1 -1
- package/lib/walletSdk/Types/sep24.d.ts +1 -1
- package/lib/walletSdk/Utils/toml.d.ts +1 -1
- package/lib/walletSdk/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -1
- package/src/walletSdk/Anchor/index.ts +1 -1
- package/src/walletSdk/Asset/index.ts +1 -1
- package/src/walletSdk/Auth/WalletSigner.ts +1 -1
- package/src/walletSdk/Auth/index.ts +1 -1
- package/src/walletSdk/Exceptions/index.ts +1 -1
- package/src/walletSdk/Horizon/Account.ts +1 -1
- package/src/walletSdk/Horizon/AccountService.ts +1 -1
- package/src/walletSdk/Horizon/Stellar.ts +1 -1
- package/src/walletSdk/Horizon/Transaction/CommonTransactionBuilder.ts +1 -1
- package/src/walletSdk/Horizon/Transaction/SponsoringBuilder.ts +1 -1
- package/src/walletSdk/Horizon/Transaction/TransactionBuilder.ts +1 -1
- package/src/walletSdk/Recovery/AccountRecover.ts +1 -1
- package/src/walletSdk/Recovery/index.ts +1 -1
- package/src/walletSdk/Types/anchor.ts +1 -1
- package/src/walletSdk/Types/auth.ts +1 -1
- package/src/walletSdk/Types/horizon.ts +1 -1
- package/src/walletSdk/Types/index.ts +1 -1
- package/src/walletSdk/Types/recovery.ts +1 -1
- package/src/walletSdk/Types/sep24.ts +1 -1
- package/src/walletSdk/Utils/toml.ts +1 -1
- package/src/walletSdk/index.ts +1 -1
- package/test/account.test.ts +1 -1
- package/test/accountService.test.ts +1 -1
- package/test/recovery.test.ts +1 -1
- package/test/stellar.test.ts +1 -1
- package/test/transaction.test.ts +1 -1
- package/test/wallet.test.ts +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export { Utils };
|
|
|
25
25
|
import * as Exceptions from "./walletSdk/Exceptions";
|
|
26
26
|
export { Exceptions };
|
|
27
27
|
import * as walletSdk from "./walletSdk";
|
|
28
|
-
import { Keypair } from "stellar-sdk";
|
|
28
|
+
import { Keypair } from "@stellar/stellar-sdk";
|
|
29
29
|
export { walletSdk, Keypair };
|
|
30
30
|
declare const _default: {
|
|
31
31
|
walletSdk: typeof walletSdk;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Networks, Horizon } from "stellar-sdk";
|
|
1
|
+
import { Networks, Horizon } from "@stellar/stellar-sdk";
|
|
2
2
|
import { AnchorTransaction, FLOW_TYPE, AxiosErrorData, GetCustomerParams } from "../Types";
|
|
3
3
|
export declare class ServerRequestFailedError extends Error {
|
|
4
4
|
data: AxiosErrorData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Horizon, Transaction, FeeBumpTransaction } from "stellar-sdk";
|
|
1
|
+
import { Horizon, Transaction, FeeBumpTransaction } from "@stellar/stellar-sdk";
|
|
2
2
|
import { Config } from "walletSdk";
|
|
3
3
|
import { AccountService } from "./AccountService";
|
|
4
4
|
import { TransactionBuilder } from "./Transaction/TransactionBuilder";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Account as StellarAccount, Transaction, Horizon, Memo, xdr } from "stellar-sdk";
|
|
1
|
+
import { Account as StellarAccount, Transaction, Horizon, Memo, xdr } from "@stellar/stellar-sdk";
|
|
2
2
|
import { Config } from "walletSdk";
|
|
3
3
|
import { AccountKeypair } from "../Account";
|
|
4
4
|
import { StellarAssetId } from "../../Asset";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from "axios";
|
|
2
|
-
import { Transaction } from "stellar-sdk";
|
|
2
|
+
import { Transaction } from "@stellar/stellar-sdk";
|
|
3
3
|
import { RecoveryServer, RecoveryServerKey, RecoveryServerMap, RecoveryServerSigningMap } from "walletSdk/Types";
|
|
4
4
|
import { AccountKeypair, Stellar } from "../Horizon";
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from "axios";
|
|
2
|
-
import { Transaction } from "stellar-sdk";
|
|
2
|
+
import { Transaction } from "@stellar/stellar-sdk";
|
|
3
3
|
import { Config } from "walletSdk";
|
|
4
4
|
import { AccountSigner, AccountThreshold, CommonBuilder, RecoverableWallet, RecoverableWalletConfig, RecoveryAccountInfoMap, RecoveryAuthMap, RecoveryServerKey, RecoveryServerMap } from "walletSdk/Types";
|
|
5
5
|
import { AccountRecover } from "./AccountRecover";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Memo, Horizon, Transaction } from "stellar-sdk";
|
|
1
|
+
import { Memo, Horizon, Transaction } from "@stellar/stellar-sdk";
|
|
2
2
|
import { AccountKeypair } from "../Horizon/Account";
|
|
3
3
|
import { SponsoringBuilder, TransactionBuilder } from "walletSdk/Horizon";
|
|
4
4
|
import { StellarAssetId } from "../Asset";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RawAxiosRequestHeaders } from "axios";
|
|
2
|
-
import { Networks } from "stellar-sdk";
|
|
2
|
+
import { Networks } from "@stellar/stellar-sdk";
|
|
3
3
|
import { ApplicationConfiguration, StellarConfiguration } from "walletSdk";
|
|
4
4
|
import { RecoveryServerMap } from "./recovery";
|
|
5
5
|
export type WalletParams = {
|
package/lib/walletSdk/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stellar/typescript-wallet-sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18"
|
|
6
6
|
},
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"webpack-cli": "^5.1.1"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
+
"@stellar/stellar-sdk": "^11.1.0",
|
|
44
45
|
"axios": "^1.4.0",
|
|
45
46
|
"https-browserify": "^1.0.0",
|
|
46
47
|
"jws": "^4.0.0",
|
|
47
48
|
"lodash": "^4.17.21",
|
|
48
49
|
"query-string": "^7.1.3",
|
|
49
|
-
"stellar-sdk": "^11.0.0-beta.6",
|
|
50
50
|
"stream-http": "^3.2.0",
|
|
51
51
|
"url": "^0.11.0",
|
|
52
52
|
"util": "^0.12.5",
|
package/src/index.ts
CHANGED
|
@@ -43,7 +43,7 @@ import * as Exceptions from "./walletSdk/Exceptions";
|
|
|
43
43
|
export { Exceptions };
|
|
44
44
|
|
|
45
45
|
import * as walletSdk from "./walletSdk";
|
|
46
|
-
import { Keypair } from "stellar-sdk";
|
|
46
|
+
import { Keypair } from "@stellar/stellar-sdk";
|
|
47
47
|
// TODO - figure out why Keypair used in parent codebase throws error
|
|
48
48
|
export { walletSdk, Keypair };
|
|
49
49
|
export default { walletSdk };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Memo, Horizon, Transaction } from "stellar-sdk";
|
|
1
|
+
import { Memo, Horizon, Transaction } from "@stellar/stellar-sdk";
|
|
2
2
|
import { AccountKeypair } from "../Horizon/Account";
|
|
3
3
|
import { SponsoringBuilder, TransactionBuilder } from "walletSdk/Horizon";
|
|
4
4
|
import { StellarAssetId } from "../Asset";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RawAxiosRequestHeaders } from "axios";
|
|
2
|
-
import { Networks } from "stellar-sdk";
|
|
2
|
+
import { Networks } from "@stellar/stellar-sdk";
|
|
3
3
|
import { ApplicationConfiguration, StellarConfiguration } from "walletSdk";
|
|
4
4
|
import { RecoveryServerMap } from "./recovery";
|
|
5
5
|
|
package/src/walletSdk/index.ts
CHANGED
package/test/account.test.ts
CHANGED
package/test/recovery.test.ts
CHANGED
package/test/stellar.test.ts
CHANGED
package/test/transaction.test.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
|
-
import { Horizon, MuxedAccount } from "stellar-sdk";
|
|
2
|
+
import { Horizon, MuxedAccount } from "@stellar/stellar-sdk";
|
|
3
3
|
|
|
4
4
|
import { AccountService, SigningKeypair, Stellar, Wallet } from "../src";
|
|
5
5
|
import { IssuedAssetId, NativeAssetId } from "../src/walletSdk/Asset";
|
package/test/wallet.test.ts
CHANGED