@fystack/sdk 0.1.9 → 0.1.10
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.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.esm.d.ts +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/enum.ts +1 -1
- package/src/sdk.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -133,7 +133,7 @@ async function computeHMACForWebhook(apiSecret, event) {
|
|
|
133
133
|
// Wallets
|
|
134
134
|
exports.WalletType = void 0;
|
|
135
135
|
(function(WalletType) {
|
|
136
|
-
WalletType["
|
|
136
|
+
WalletType["Hyper"] = "standard";
|
|
137
137
|
WalletType["MPC"] = "mpc";
|
|
138
138
|
})(exports.WalletType || (exports.WalletType = {}));
|
|
139
139
|
exports.WalletPurpose = void 0;
|
|
@@ -540,7 +540,7 @@ class FystackSDK {
|
|
|
540
540
|
* @param waitForCompletion Whether to wait for the wallet creation to complete
|
|
541
541
|
* @returns Promise with wallet ID and status
|
|
542
542
|
*/ async createWallet(options, waitForCompletion = true) {
|
|
543
|
-
const { name, walletType = exports.WalletType.
|
|
543
|
+
const { name, walletType = exports.WalletType.Hyper, sweepTaskParams, walletPurpose, sweepTaskId } = options;
|
|
544
544
|
const response = await this.apiService.createWallet({
|
|
545
545
|
name,
|
|
546
546
|
walletType,
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.esm.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -125,7 +125,7 @@ async function computeHMACForWebhook(apiSecret, event) {
|
|
|
125
125
|
// Wallets
|
|
126
126
|
var WalletType;
|
|
127
127
|
(function(WalletType) {
|
|
128
|
-
WalletType["
|
|
128
|
+
WalletType["Hyper"] = "standard";
|
|
129
129
|
WalletType["MPC"] = "mpc";
|
|
130
130
|
})(WalletType || (WalletType = {}));
|
|
131
131
|
var WalletPurpose;
|
|
@@ -532,7 +532,7 @@ class FystackSDK {
|
|
|
532
532
|
* @param waitForCompletion Whether to wait for the wallet creation to complete
|
|
533
533
|
* @returns Promise with wallet ID and status
|
|
534
534
|
*/ async createWallet(options, waitForCompletion = true) {
|
|
535
|
-
const { name, walletType = WalletType.
|
|
535
|
+
const { name, walletType = WalletType.Hyper, sweepTaskParams, walletPurpose, sweepTaskId } = options;
|
|
536
536
|
const response = await this.apiService.createWallet({
|
|
537
537
|
name,
|
|
538
538
|
walletType,
|
package/dist/index.mjs
CHANGED
|
@@ -125,7 +125,7 @@ async function computeHMACForWebhook(apiSecret, event) {
|
|
|
125
125
|
// Wallets
|
|
126
126
|
var WalletType;
|
|
127
127
|
(function(WalletType) {
|
|
128
|
-
WalletType["
|
|
128
|
+
WalletType["Hyper"] = "standard";
|
|
129
129
|
WalletType["MPC"] = "mpc";
|
|
130
130
|
})(WalletType || (WalletType = {}));
|
|
131
131
|
var WalletPurpose;
|
|
@@ -532,7 +532,7 @@ class FystackSDK {
|
|
|
532
532
|
* @param waitForCompletion Whether to wait for the wallet creation to complete
|
|
533
533
|
* @returns Promise with wallet ID and status
|
|
534
534
|
*/ async createWallet(options, waitForCompletion = true) {
|
|
535
|
-
const { name, walletType = WalletType.
|
|
535
|
+
const { name, walletType = WalletType.Hyper, sweepTaskParams, walletPurpose, sweepTaskId } = options;
|
|
536
536
|
const response = await this.apiService.createWallet({
|
|
537
537
|
name,
|
|
538
538
|
walletType,
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
package/src/enum.ts
CHANGED