@echoxyz/sonar-react 0.4.0 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @echoxyz/sonar-react
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c032c29]
8
+ - @echoxyz/sonar-core@0.3.0
9
+
3
10
  ## 0.4.0
4
11
 
5
12
  ### Minor Changes
package/README.md CHANGED
@@ -124,7 +124,6 @@ const ExampleEntityPanel = () => {
124
124
  import { useEffect } from "react";
125
125
  import { useSonarEntity } from "./hooks/useSonarEntity";
126
126
  import { useAccount } from "wagmi";
127
- import { EntityType } from "@echoxyz/sonar-core";
128
127
 
129
128
  export function Example() {
130
129
  const { address, isConnected } = useAccount();
@@ -144,7 +143,6 @@ export function Example() {
144
143
  const pre = await client.prePurchaseCheck({
145
144
  saleUUID: "<your-sale-uuid>",
146
145
  entityUUID: entity.EntityUUID,
147
- entityType: EntityType.USER,
148
146
  walletAddress: "0x1234...abcd" as `0x${string}`,
149
147
  });
150
148
 
@@ -152,7 +150,6 @@ export function Example() {
152
150
  const permit = await client.generatePurchasePermit({
153
151
  saleUUID: "<your-sale-uuid>",
154
152
  entityUUID: entity.EntityUUID,
155
- entityType: EntityType.USER,
156
153
  walletAddress: "0x1234...abcd" as `0x${string}`,
157
154
  });
158
155
  console.log(permit.Signature, permit.Permit);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@echoxyz/sonar-react",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "react": ">=18"
17
17
  },
18
18
  "dependencies": {
19
- "@echoxyz/sonar-core": "0.2.1"
19
+ "@echoxyz/sonar-core": "0.3.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@testing-library/react": "^16.0.0",