@mysten/sui 1.16.0 → 1.16.2

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Mysten Labs <build@mystenlabs.com>",
4
4
  "description": "Sui TypeScript API(Work in Progress)",
5
5
  "homepage": "https://sdk.mystenlabs.com",
6
- "version": "1.16.0",
6
+ "version": "1.16.2",
7
7
  "license": "Apache-2.0",
8
8
  "sideEffects": false,
9
9
  "files": [
@@ -134,7 +134,7 @@
134
134
  "poseidon-lite": "^0.2.0",
135
135
  "tweetnacl": "^1.0.3",
136
136
  "valibot": "^0.36.0",
137
- "@mysten/bcs": "1.1.1"
137
+ "@mysten/bcs": "1.2.0"
138
138
  },
139
139
  "scripts": {
140
140
  "clean": "rm -rf tsconfig.tsbuildinfo ./dist",
@@ -94,8 +94,11 @@ export const replaceNames = (builder: TransactionDataBuilder, cache: NamedPackag
94
94
  if (name.includes(NAME_SEPARATOR) && !cache.packages[name])
95
95
  throw new Error(`No address found for package: ${name}`);
96
96
 
97
- nameParts[0] = cache.packages[name];
98
- tx.package = nameParts.join('::');
97
+ // Replace package name with address.
98
+ if (name.includes(NAME_SEPARATOR)) {
99
+ nameParts[0] = cache.packages[name];
100
+ tx.package = nameParts.join('::');
101
+ }
99
102
 
100
103
  const types = tx.typeArguments;
101
104
  if (!types) continue;
package/src/version.ts CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  // This file is generated by genversion.mjs. Do not edit it directly.
5
5
 
6
- export const PACKAGE_VERSION = '1.16.0';
7
- export const TARGETED_RPC_VERSION = '1.39.0';
6
+ export const PACKAGE_VERSION = '1.16.2';
7
+ export const TARGETED_RPC_VERSION = '1.40.0';