@0xsequence/provider 0.37.1 → 0.38.2

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.
@@ -149,6 +149,11 @@ export interface Settings {
149
149
  * Note that this setting will not be persisted, use wallet.open with 'openWithOptions' intent
150
150
  * to set when you open the wallet for user. */
151
151
  defaultFundingCurrency?: CurrencyOption;
152
+ /** Specify default purchase amount as an integer, for prefilling the funding amount.
153
+ * If not specified, the default is 100.
154
+ * Note that this setting will not be persisted, use wallet.open with 'openWithOptions' intent
155
+ * to set when you open the wallet for user. */
156
+ defaultPurchaseAmount?: number;
152
157
  /** If true, lockFundingCurrencyToDefault disables picking any currency provided by payment
153
158
  * providers other than the defaultFundingCurrency.
154
159
  * If false, it allows picking any currency provided by payment providers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/provider",
3
- "version": "0.37.1",
3
+ "version": "0.38.2",
4
4
  "description": "provider sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/provider",
6
6
  "source": "src/index.ts",
@@ -13,13 +13,13 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "dependencies": {
16
- "@0xsequence/abi": "^0.37.1",
17
- "@0xsequence/auth": "^0.37.1",
18
- "@0xsequence/config": "^0.37.1",
19
- "@0xsequence/network": "^0.37.1",
20
- "@0xsequence/transactions": "^0.37.1",
21
- "@0xsequence/utils": "^0.37.1",
22
- "@0xsequence/wallet": "^0.37.1",
16
+ "@0xsequence/abi": "^0.38.2",
17
+ "@0xsequence/auth": "^0.38.2",
18
+ "@0xsequence/config": "^0.38.2",
19
+ "@0xsequence/network": "^0.38.2",
20
+ "@0xsequence/transactions": "^0.38.2",
21
+ "@0xsequence/utils": "^0.38.2",
22
+ "@0xsequence/wallet": "^0.38.2",
23
23
  "@ethersproject/abstract-signer": "^5.5.0",
24
24
  "@ethersproject/hash": "^5.5.0",
25
25
  "@ethersproject/providers": "^5.5.1",
package/src/types.ts CHANGED
@@ -192,6 +192,12 @@ export interface Settings {
192
192
  * to set when you open the wallet for user. */
193
193
  defaultFundingCurrency?: CurrencyOption
194
194
 
195
+ /** Specify default purchase amount as an integer, for prefilling the funding amount.
196
+ * If not specified, the default is 100.
197
+ * Note that this setting will not be persisted, use wallet.open with 'openWithOptions' intent
198
+ * to set when you open the wallet for user. */
199
+ defaultPurchaseAmount?: number
200
+
195
201
  /** If true, lockFundingCurrencyToDefault disables picking any currency provided by payment
196
202
  * providers other than the defaultFundingCurrency.
197
203
  * If false, it allows picking any currency provided by payment providers.