@echoxyz/sonar-react 0.10.0 → 0.12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @echoxyz/sonar-react
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cf2914d: Updated entityID name on permit
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [cf2914d]
12
+ - @echoxyz/sonar-core@0.11.0
13
+
14
+ ## 0.11.0
15
+
16
+ ### Minor Changes
17
+
18
+ - d42882b: Changed entityID parameter names
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [d3dce74]
23
+ - Updated dependencies [d42882b]
24
+ - @echoxyz/sonar-core@0.10.0
25
+
3
26
  ## 0.10.0
4
27
 
5
28
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
- import { SonarClient, EntityDetails, GeneratePurchasePermitResponse, PrePurchaseFailureReason, Hex } from '@echoxyz/sonar-core';
3
+ import { SonarClient, EntityDetails, GeneratePurchasePermitResponse, PrePurchaseFailureReason, EntityID } from '@echoxyz/sonar-core';
4
4
 
5
5
  type SonarProviderProps = {
6
6
  children: React.ReactNode;
@@ -74,7 +74,7 @@ type UseSonarPurchaseResultLoading = {
74
74
  type UseSonarPurchaseResult = UseSonarPurchaseResultLoading | UseSonarPurchaseResultReadyToPurchase | UseSonarPurchaseResultNotReadyToPurchase | UseSonarPurchaseResultError;
75
75
  declare function useSonarPurchase(args: {
76
76
  saleUUID: string;
77
- entityID: Hex;
77
+ entityID: EntityID;
78
78
  walletAddress: string;
79
79
  }): UseSonarPurchaseResult;
80
80
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
- import { SonarClient, EntityDetails, GeneratePurchasePermitResponse, PrePurchaseFailureReason, Hex } from '@echoxyz/sonar-core';
3
+ import { SonarClient, EntityDetails, GeneratePurchasePermitResponse, PrePurchaseFailureReason, EntityID } from '@echoxyz/sonar-core';
4
4
 
5
5
  type SonarProviderProps = {
6
6
  children: React.ReactNode;
@@ -74,7 +74,7 @@ type UseSonarPurchaseResultLoading = {
74
74
  type UseSonarPurchaseResult = UseSonarPurchaseResultLoading | UseSonarPurchaseResultReadyToPurchase | UseSonarPurchaseResultNotReadyToPurchase | UseSonarPurchaseResultError;
75
75
  declare function useSonarPurchase(args: {
76
76
  saleUUID: string;
77
- entityID: Hex;
77
+ entityID: EntityID;
78
78
  walletAddress: string;
79
79
  }): UseSonarPurchaseResult;
80
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@echoxyz/sonar-react",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
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.9.0"
19
+ "@echoxyz/sonar-core": "0.11.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@testing-library/react": "^16.0.0",