@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 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["Standard"] = "standard";
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.Standard, sweepTaskParams, walletPurpose, sweepTaskId } = options;
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
@@ -278,7 +278,7 @@ interface GetCheckoutPaymentResponse {
278
278
  }
279
279
 
280
280
  declare enum WalletType {
281
- Standard = "standard",
281
+ Hyper = "standard",
282
282
  MPC = "mpc"
283
283
  }
284
284
  declare enum WalletPurpose {
package/dist/index.d.mts CHANGED
@@ -278,7 +278,7 @@ interface GetCheckoutPaymentResponse {
278
278
  }
279
279
 
280
280
  declare enum WalletType {
281
- Standard = "standard",
281
+ Hyper = "standard",
282
282
  MPC = "mpc"
283
283
  }
284
284
  declare enum WalletPurpose {
@@ -278,7 +278,7 @@ interface GetCheckoutPaymentResponse {
278
278
  }
279
279
 
280
280
  declare enum WalletType {
281
- Standard = "standard",
281
+ Hyper = "standard",
282
282
  MPC = "mpc"
283
283
  }
284
284
  declare enum WalletPurpose {
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["Standard"] = "standard";
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.Standard, sweepTaskParams, walletPurpose, sweepTaskId } = options;
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["Standard"] = "standard";
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.Standard, sweepTaskParams, walletPurpose, sweepTaskId } = options;
535
+ const { name, walletType = WalletType.Hyper, sweepTaskParams, walletPurpose, sweepTaskId } = options;
536
536
  const response = await this.apiService.createWallet({
537
537
  name,
538
538
  walletType,
@@ -278,7 +278,7 @@ interface GetCheckoutPaymentResponse {
278
278
  }
279
279
 
280
280
  declare enum WalletType {
281
- Standard = "standard",
281
+ Hyper = "standard",
282
282
  MPC = "mpc"
283
283
  }
284
284
  declare enum WalletPurpose {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fystack/sdk",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Wallet SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "types": "dist/types/index.d.ts",
package/src/enum.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // Wallets
2
2
  export enum WalletType {
3
- Standard = 'standard',
3
+ Hyper = 'standard',
4
4
  MPC = 'mpc'
5
5
  }
6
6
 
package/src/sdk.ts CHANGED
@@ -59,7 +59,7 @@ export class FystackSDK {
59
59
  ): Promise<CreateWalletResponse> {
60
60
  const {
61
61
  name,
62
- walletType = WalletType.Standard,
62
+ walletType = WalletType.Hyper,
63
63
  sweepTaskParams,
64
64
  walletPurpose,
65
65
  sweepTaskId