@bosonprotocol/react-kit 0.40.0 → 0.40.1-alpha.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.
@@ -59,7 +59,7 @@ exports.DepositFundsButton = (0, withQueryClientProvider_1.withQueryClientProvid
59
59
  name: "depositFunds",
60
60
  writeContractFn: () => coreSdk.depositFunds(accountId, amountToDeposit, exchangeToken),
61
61
  signMetaTxFn: () => coreSdk.signMetaTxDepositFunds({
62
- sellerId: accountId,
62
+ entityId: accountId,
63
63
  fundsTokenAddress: exchangeToken,
64
64
  fundsAmount: amountToDeposit,
65
65
  nonce: Date.now()
@@ -32,7 +32,7 @@ export const DepositFundsButton = withQueryClientProvider(({ exchangeToken, acco
32
32
  name: "depositFunds",
33
33
  writeContractFn: () => coreSdk.depositFunds(accountId, amountToDeposit, exchangeToken),
34
34
  signMetaTxFn: () => coreSdk.signMetaTxDepositFunds({
35
- sellerId: accountId,
35
+ entityId: accountId,
36
36
  fundsTokenAddress: exchangeToken,
37
37
  fundsAmount: amountToDeposit,
38
38
  nonce: Date.now()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bosonprotocol/react-kit",
3
3
  "description": "React toolkit with smart components and hooks for building on top of the Boson Protocol.",
4
- "version": "0.40.0",
4
+ "version": "0.40.1-alpha.0",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/cjs/index.d.ts",
@@ -15,8 +15,8 @@
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
17
  "@bosonprotocol/chat-sdk": "^1.3.1-alpha.9",
18
- "@bosonprotocol/core-sdk": "^1.44.0",
19
- "@bosonprotocol/ethers-sdk": "^1.16.0",
18
+ "@bosonprotocol/core-sdk": "^1.44.1-alpha.0",
19
+ "@bosonprotocol/ethers-sdk": "^1.16.1-alpha.0",
20
20
  "@bosonprotocol/ipfs-storage": "^1.13.0",
21
21
  "@bosonprotocol/roblox-sdk": "^1.0.0-alpha.19",
22
22
  "@davatar/react": "1.11.1",
@@ -206,5 +206,5 @@
206
206
  "overrides": {
207
207
  "typescript": "^5.1.6"
208
208
  },
209
- "gitHead": "cbcb5b4fb8d7d4090fe2cc58a7e3665e6c840f0d"
209
+ "gitHead": "f9379e8b3af2d3b08a34b947d1a6cdef86cc73b3"
210
210
  }
@@ -64,7 +64,7 @@ export const DepositFundsButton = withQueryClientProvider(
64
64
  coreSdk.depositFunds(accountId, amountToDeposit, exchangeToken),
65
65
  signMetaTxFn: () =>
66
66
  coreSdk.signMetaTxDepositFunds({
67
- sellerId: accountId,
67
+ entityId: accountId,
68
68
  fundsTokenAddress: exchangeToken,
69
69
  fundsAmount: amountToDeposit,
70
70
  nonce: Date.now()