@0xobelisk/sui-client 1.0.2 → 1.0.3
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/dist/dubhe.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dubhe.ts +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1470,14 +1470,14 @@ var Dubhe = class {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
async state({
|
|
1472
1472
|
schema,
|
|
1473
|
-
|
|
1473
|
+
field,
|
|
1474
1474
|
objectId,
|
|
1475
1475
|
storageType,
|
|
1476
1476
|
params
|
|
1477
1477
|
}) {
|
|
1478
1478
|
const tx = new Transaction2();
|
|
1479
1479
|
const moduleName = `${schema}_schema`;
|
|
1480
|
-
const functionName = `get_${
|
|
1480
|
+
const functionName = `get_${field}`;
|
|
1481
1481
|
const schemaObject = tx.object(objectId);
|
|
1482
1482
|
const storageValueMatch = storageType.match(/^StorageValue<(.+)>$/);
|
|
1483
1483
|
const storageMapMatch = storageType.match(/^StorageMap<(.+),\s*(.+)>$/);
|