@exodus/sui-api 1.1.0 → 1.1.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
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.1](https://github.com/ExodusMovement/assets/compare/@exodus/sui-api@1.1.0...@exodus/sui-api@1.1.1) (2025-10-17)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: sui validateOverrides (#6735)
13
+
14
+
15
+
6
16
  ## [1.1.0](https://github.com/ExodusMovement/assets/compare/@exodus/sui-api@1.0.3...@exodus/sui-api@1.1.0) (2025-10-01)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exodus/sui-api",
3
3
  "packageManager": "yarn@4.3.1",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "description": "Transaction monitors, RPC with the blockchain node, and other networking code for Sui",
6
6
  "type": "module",
7
7
  "main": "src/index.js",
@@ -15,7 +15,8 @@
15
15
  "author": "Exodus Movement, Inc.",
16
16
  "license": "MIT",
17
17
  "publishConfig": {
18
- "access": "public"
18
+ "access": "public",
19
+ "provenance": false
19
20
  },
20
21
  "scripts": {
21
22
  "test": "run -T exodus-test --jest",
@@ -49,5 +50,5 @@
49
50
  "type": "git",
50
51
  "url": "git+https://github.com/ExodusMovement/assets.git"
51
52
  },
52
- "gitHead": "b8636ba67e814522b1a744d94501c5eca38ebd68"
53
+ "gitHead": "b1b01b7be250d9be1050538324062c3cc92964df"
53
54
  }
@@ -321,7 +321,7 @@ function validateOverrides(overrides) {
321
321
  if (overrides?.types) {
322
322
  for (const [type, val] of Object.entries(overrides.types)) {
323
323
  // NOTE: exodus dev edited on audit
324
- if (!isStructTag(type) || parseStructTag(type).typeParams.length > 0) {
324
+ if (parseStructTag(type).typeParams.length > 0) {
325
325
  throw new Error(
326
326
  'Type overrides must be first-level only. If you want to supply generic types, just pass each type individually.'
327
327
  )
@@ -485,5 +485,5 @@ function getNamesFromTypeList(types) {
485
485
  return names
486
486
  }
487
487
 
488
- export { MvrClient, findNamesInTransaction, hasMvrName, replaceNames }
488
+ export { MvrClient, findNamesInTransaction, hasMvrName, replaceNames, validateOverrides }
489
489
  // # sourceMappingURL=mvr.js.map