@echoxyz/sonar-core 0.14.3 → 0.15.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,11 @@
1
1
  # @echoxyz/sonar-core
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 06bc5a6: Support passing in EntityID to ReadEntity
8
+
3
9
  ## 0.14.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -308,6 +308,7 @@ var SonarClient = class {
308
308
  async readEntity(args) {
309
309
  return this.postJSON("/externalapi.ReadEntity", {
310
310
  SaleUUID: args.saleUUID,
311
+ EntityID: args.entityID,
311
312
  WalletAddress: args.walletAddress
312
313
  });
313
314
  }
package/dist/index.d.cts CHANGED
@@ -228,7 +228,9 @@ declare class SonarClient {
228
228
  }): Promise<LimitsResponse>;
229
229
  readEntity(args: {
230
230
  saleUUID: string;
231
- walletAddress: string;
231
+ entityID?: string;
232
+ /** Only used for a wallet linking feature, enabled for niche use-cases on request. */
233
+ walletAddress?: string;
232
234
  }): Promise<ReadEntityResponse>;
233
235
  listAvailableEntities(args: {
234
236
  saleUUID: string;
package/dist/index.d.ts CHANGED
@@ -228,7 +228,9 @@ declare class SonarClient {
228
228
  }): Promise<LimitsResponse>;
229
229
  readEntity(args: {
230
230
  saleUUID: string;
231
- walletAddress: string;
231
+ entityID?: string;
232
+ /** Only used for a wallet linking feature, enabled for niche use-cases on request. */
233
+ walletAddress?: string;
232
234
  }): Promise<ReadEntityResponse>;
233
235
  listAvailableEntities(args: {
234
236
  saleUUID: string;
package/dist/index.js CHANGED
@@ -271,6 +271,7 @@ var SonarClient = class {
271
271
  async readEntity(args) {
272
272
  return this.postJSON("/externalapi.ReadEntity", {
273
273
  SaleUUID: args.saleUUID,
274
+ EntityID: args.entityID,
274
275
  WalletAddress: args.walletAddress
275
276
  });
276
277
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@echoxyz/sonar-core",
3
- "version": "0.14.3",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",