@mysten/sui 1.0.3 → 1.0.4
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 +8 -0
- package/dist/cjs/bcs/effects.d.ts +12 -12
- package/dist/cjs/bcs/index.d.ts +13 -13
- package/dist/cjs/transactions/index.d.ts +1 -0
- package/dist/cjs/transactions/index.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/bcs/effects.d.ts +12 -12
- package/dist/esm/bcs/index.d.ts +13 -13
- package/dist/esm/transactions/index.d.ts +1 -0
- package/dist/esm/transactions/index.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/transactions/index.ts +6 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30,8 +30,8 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
30
30
|
};
|
|
31
31
|
function: number;
|
|
32
32
|
instruction: number;
|
|
33
|
-
functionName: string | null
|
|
34
|
-
} | null
|
|
33
|
+
functionName: string | null;
|
|
34
|
+
} | null;
|
|
35
35
|
MoveAbort: [{
|
|
36
36
|
module: {
|
|
37
37
|
address: string;
|
|
@@ -39,7 +39,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
39
39
|
};
|
|
40
40
|
function: number;
|
|
41
41
|
instruction: number;
|
|
42
|
-
functionName: string | null
|
|
42
|
+
functionName: string | null;
|
|
43
43
|
}, string];
|
|
44
44
|
VMVerificationOrDeserializationError: true;
|
|
45
45
|
VMInvariantViolation: true;
|
|
@@ -122,7 +122,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
122
122
|
SharedObjectOperationNotAllowed: true;
|
|
123
123
|
InputObjectDeleted: true;
|
|
124
124
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
125
|
-
command: string | null
|
|
125
|
+
command: string | null;
|
|
126
126
|
};
|
|
127
127
|
}, "Success" | "Failed">;
|
|
128
128
|
executedEpoch: string;
|
|
@@ -202,7 +202,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
202
202
|
};
|
|
203
203
|
Immutable: true;
|
|
204
204
|
}, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable">];
|
|
205
|
-
eventsDigest: string | null
|
|
205
|
+
eventsDigest: string | null;
|
|
206
206
|
dependencies: string[];
|
|
207
207
|
};
|
|
208
208
|
V2: {
|
|
@@ -236,8 +236,8 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
236
236
|
};
|
|
237
237
|
function: number;
|
|
238
238
|
instruction: number;
|
|
239
|
-
functionName: string | null
|
|
240
|
-
} | null
|
|
239
|
+
functionName: string | null;
|
|
240
|
+
} | null;
|
|
241
241
|
MoveAbort: [{
|
|
242
242
|
module: {
|
|
243
243
|
address: string;
|
|
@@ -245,7 +245,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
245
245
|
};
|
|
246
246
|
function: number;
|
|
247
247
|
instruction: number;
|
|
248
|
-
functionName: string | null
|
|
248
|
+
functionName: string | null;
|
|
249
249
|
}, string];
|
|
250
250
|
VMVerificationOrDeserializationError: true;
|
|
251
251
|
VMInvariantViolation: true;
|
|
@@ -328,7 +328,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
328
328
|
SharedObjectOperationNotAllowed: true;
|
|
329
329
|
InputObjectDeleted: true;
|
|
330
330
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
331
|
-
command: string | null
|
|
331
|
+
command: string | null;
|
|
332
332
|
};
|
|
333
333
|
}, "Success" | "Failed">;
|
|
334
334
|
executedEpoch: string;
|
|
@@ -339,8 +339,8 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
339
339
|
nonRefundableStorageFee: string;
|
|
340
340
|
};
|
|
341
341
|
transactionDigest: string;
|
|
342
|
-
gasObjectIndex: number | null
|
|
343
|
-
eventsDigest: string | null
|
|
342
|
+
gasObjectIndex: number | null;
|
|
343
|
+
eventsDigest: string | null;
|
|
344
344
|
dependencies: string[];
|
|
345
345
|
lamportVersion: string;
|
|
346
346
|
changedObjects: [string, {
|
|
@@ -378,7 +378,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
378
378
|
MutateDeleted: string;
|
|
379
379
|
ReadDeleted: string;
|
|
380
380
|
}, "ReadOnlyRoot" | "MutateDeleted" | "ReadDeleted">][];
|
|
381
|
-
auxDataDigest: string | null
|
|
381
|
+
auxDataDigest: string | null;
|
|
382
382
|
};
|
|
383
383
|
}, "V1" | "V2">, import("@mysten/bcs").EnumInputShape<{
|
|
384
384
|
V1: {
|
package/dist/cjs/bcs/index.d.ts
CHANGED
|
@@ -2290,8 +2290,8 @@ declare const suiBcs: {
|
|
|
2290
2290
|
};
|
|
2291
2291
|
function: number;
|
|
2292
2292
|
instruction: number;
|
|
2293
|
-
functionName: string | null
|
|
2294
|
-
} | null
|
|
2293
|
+
functionName: string | null;
|
|
2294
|
+
} | null;
|
|
2295
2295
|
MoveAbort: [{
|
|
2296
2296
|
module: {
|
|
2297
2297
|
address: string;
|
|
@@ -2299,7 +2299,7 @@ declare const suiBcs: {
|
|
|
2299
2299
|
};
|
|
2300
2300
|
function: number;
|
|
2301
2301
|
instruction: number;
|
|
2302
|
-
functionName: string | null
|
|
2302
|
+
functionName: string | null;
|
|
2303
2303
|
}, string];
|
|
2304
2304
|
VMVerificationOrDeserializationError: true;
|
|
2305
2305
|
VMInvariantViolation: true;
|
|
@@ -2382,7 +2382,7 @@ declare const suiBcs: {
|
|
|
2382
2382
|
SharedObjectOperationNotAllowed: true;
|
|
2383
2383
|
InputObjectDeleted: true;
|
|
2384
2384
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
2385
|
-
command: string | null
|
|
2385
|
+
command: string | null;
|
|
2386
2386
|
};
|
|
2387
2387
|
}, "Success" | "Failed">;
|
|
2388
2388
|
executedEpoch: string;
|
|
@@ -2462,7 +2462,7 @@ declare const suiBcs: {
|
|
|
2462
2462
|
};
|
|
2463
2463
|
Immutable: true;
|
|
2464
2464
|
}, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable">];
|
|
2465
|
-
eventsDigest: string | null
|
|
2465
|
+
eventsDigest: string | null;
|
|
2466
2466
|
dependencies: string[];
|
|
2467
2467
|
};
|
|
2468
2468
|
V2: {
|
|
@@ -2496,8 +2496,8 @@ declare const suiBcs: {
|
|
|
2496
2496
|
};
|
|
2497
2497
|
function: number;
|
|
2498
2498
|
instruction: number;
|
|
2499
|
-
functionName: string | null
|
|
2500
|
-
} | null
|
|
2499
|
+
functionName: string | null;
|
|
2500
|
+
} | null;
|
|
2501
2501
|
MoveAbort: [{
|
|
2502
2502
|
module: {
|
|
2503
2503
|
address: string;
|
|
@@ -2505,7 +2505,7 @@ declare const suiBcs: {
|
|
|
2505
2505
|
};
|
|
2506
2506
|
function: number;
|
|
2507
2507
|
instruction: number;
|
|
2508
|
-
functionName: string | null
|
|
2508
|
+
functionName: string | null;
|
|
2509
2509
|
}, string];
|
|
2510
2510
|
VMVerificationOrDeserializationError: true;
|
|
2511
2511
|
VMInvariantViolation: true;
|
|
@@ -2588,7 +2588,7 @@ declare const suiBcs: {
|
|
|
2588
2588
|
SharedObjectOperationNotAllowed: true;
|
|
2589
2589
|
InputObjectDeleted: true;
|
|
2590
2590
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
2591
|
-
command: string | null
|
|
2591
|
+
command: string | null;
|
|
2592
2592
|
};
|
|
2593
2593
|
}, "Success" | "Failed">;
|
|
2594
2594
|
executedEpoch: string;
|
|
@@ -2599,8 +2599,8 @@ declare const suiBcs: {
|
|
|
2599
2599
|
nonRefundableStorageFee: string;
|
|
2600
2600
|
};
|
|
2601
2601
|
transactionDigest: string;
|
|
2602
|
-
gasObjectIndex: number | null
|
|
2603
|
-
eventsDigest: string | null
|
|
2602
|
+
gasObjectIndex: number | null;
|
|
2603
|
+
eventsDigest: string | null;
|
|
2604
2604
|
dependencies: string[];
|
|
2605
2605
|
lamportVersion: string;
|
|
2606
2606
|
changedObjects: [string, {
|
|
@@ -2638,7 +2638,7 @@ declare const suiBcs: {
|
|
|
2638
2638
|
MutateDeleted: string;
|
|
2639
2639
|
ReadDeleted: string;
|
|
2640
2640
|
}, "ReadOnlyRoot" | "MutateDeleted" | "ReadDeleted">][];
|
|
2641
|
-
auxDataDigest: string | null
|
|
2641
|
+
auxDataDigest: string | null;
|
|
2642
2642
|
};
|
|
2643
2643
|
}, "V1" | "V2">, import("@mysten/bcs").EnumInputShape<{
|
|
2644
2644
|
V1: {
|
|
@@ -3066,7 +3066,7 @@ declare const suiBcs: {
|
|
|
3066
3066
|
}> | undefined): import("@mysten/bcs").BcsType<T_1[], Iterable<Input> & {
|
|
3067
3067
|
length: number;
|
|
3068
3068
|
}>;
|
|
3069
|
-
option<T_2, Input_1>(type: import("@mysten/bcs").BcsType<T_2, Input_1>): import("@mysten/bcs").BcsType<T_2 | null
|
|
3069
|
+
option<T_2, Input_1>(type: import("@mysten/bcs").BcsType<T_2, Input_1>): import("@mysten/bcs").BcsType<T_2 | null, Input_1 | null | undefined>;
|
|
3070
3070
|
vector<T_3, Input_2>(type: import("@mysten/bcs").BcsType<T_3, Input_2>, options?: import("@mysten/bcs").BcsTypeOptions<T_3[], Iterable<Input_2> & {
|
|
3071
3071
|
length: number;
|
|
3072
3072
|
}> | undefined): import("@mysten/bcs").BcsType<T_3[], Iterable<Input_2> & {
|
|
@@ -11,3 +11,4 @@ export { SerialTransactionExecutor } from './executor/serial.js';
|
|
|
11
11
|
export { ParallelTransactionExecutor } from './executor/parallel.js';
|
|
12
12
|
export type { ParallelTransactionExecutorOptions } from './executor/parallel.js';
|
|
13
13
|
export { coinWithBalance } from './intents/CoinWithBalance.js';
|
|
14
|
+
export type { BuildTransactionOptions, SerializeTransactionOptions, TransactionPlugin, } from './json-rpc-resolver.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/transactions/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport { normalizedTypeToMoveTypeSignature, getPureBcsSchema } from './serializer.js';\n\nexport { Inputs } from './Inputs.js';\nexport {\n\tCommands,\n\ttype TransactionArgument,\n\ttype TransactionInput,\n\tUpgradePolicy,\n} from './Commands.js';\n\nexport {\n\tTransaction,\n\tisTransaction,\n\ttype TransactionObjectInput,\n\ttype TransactionObjectArgument,\n\ttype TransactionResult,\n} from './Transaction.js';\n\nexport { type SerializedTransactionDataV2 } from './data/v2.js';\nexport { type SerializedTransactionDataV1 } from './data/v1.js';\n\nexport type {\n\tTransactionData,\n\tArgument,\n\tObjectRef,\n\tGasData,\n\tCallArg,\n\tCommand,\n\tOpenMoveTypeSignature,\n\tOpenMoveTypeSignatureBody,\n} from './data/internal.js';\n\nexport { TransactionDataBuilder } from './TransactionData.js';\nexport { ObjectCache, AsyncCache } from './ObjectCache.js';\nexport { SerialTransactionExecutor } from './executor/serial.js';\nexport { ParallelTransactionExecutor } from './executor/parallel.js';\nexport type { ParallelTransactionExecutorOptions } from './executor/parallel.js';\nexport { coinWithBalance } from './intents/CoinWithBalance.js';\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport { normalizedTypeToMoveTypeSignature, getPureBcsSchema } from './serializer.js';\n\nexport { Inputs } from './Inputs.js';\nexport {\n\tCommands,\n\ttype TransactionArgument,\n\ttype TransactionInput,\n\tUpgradePolicy,\n} from './Commands.js';\n\nexport {\n\tTransaction,\n\tisTransaction,\n\ttype TransactionObjectInput,\n\ttype TransactionObjectArgument,\n\ttype TransactionResult,\n} from './Transaction.js';\n\nexport { type SerializedTransactionDataV2 } from './data/v2.js';\nexport { type SerializedTransactionDataV1 } from './data/v1.js';\n\nexport type {\n\tTransactionData,\n\tArgument,\n\tObjectRef,\n\tGasData,\n\tCallArg,\n\tCommand,\n\tOpenMoveTypeSignature,\n\tOpenMoveTypeSignatureBody,\n} from './data/internal.js';\n\nexport { TransactionDataBuilder } from './TransactionData.js';\nexport { ObjectCache, AsyncCache } from './ObjectCache.js';\nexport { SerialTransactionExecutor } from './executor/serial.js';\nexport { ParallelTransactionExecutor } from './executor/parallel.js';\nexport type { ParallelTransactionExecutorOptions } from './executor/parallel.js';\nexport { coinWithBalance } from './intents/CoinWithBalance.js';\n\nexport type {\n\tBuildTransactionOptions,\n\tSerializeTransactionOptions,\n\tTransactionPlugin,\n} from './json-rpc-resolver.js';\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAAoE;AAEpE,oBAAuB;AACvB,sBAKO;AAEP,yBAMO;AAEP,gBAAiD;AACjD,gBAAiD;AAajD,6BAAuC;AACvC,yBAAwC;AACxC,oBAA0C;AAC1C,sBAA4C;AAE5C,6BAAgC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "1.0.
|
|
1
|
+
export declare const PACKAGE_VERSION = "1.0.4";
|
|
2
2
|
export declare const TARGETED_RPC_VERSION = "1.27.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -22,6 +22,6 @@ __export(version_exports, {
|
|
|
22
22
|
TARGETED_RPC_VERSION: () => TARGETED_RPC_VERSION
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(version_exports);
|
|
25
|
-
const PACKAGE_VERSION = "1.0.
|
|
25
|
+
const PACKAGE_VERSION = "1.0.4";
|
|
26
26
|
const TARGETED_RPC_VERSION = "1.27.0";
|
|
27
27
|
//# sourceMappingURL=version.js.map
|
package/dist/cjs/version.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/version.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '1.0.
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '1.0.4';\nexport const TARGETED_RPC_VERSION = '1.27.0';\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -30,8 +30,8 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
30
30
|
};
|
|
31
31
|
function: number;
|
|
32
32
|
instruction: number;
|
|
33
|
-
functionName: string | null
|
|
34
|
-
} | null
|
|
33
|
+
functionName: string | null;
|
|
34
|
+
} | null;
|
|
35
35
|
MoveAbort: [{
|
|
36
36
|
module: {
|
|
37
37
|
address: string;
|
|
@@ -39,7 +39,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
39
39
|
};
|
|
40
40
|
function: number;
|
|
41
41
|
instruction: number;
|
|
42
|
-
functionName: string | null
|
|
42
|
+
functionName: string | null;
|
|
43
43
|
}, string];
|
|
44
44
|
VMVerificationOrDeserializationError: true;
|
|
45
45
|
VMInvariantViolation: true;
|
|
@@ -122,7 +122,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
122
122
|
SharedObjectOperationNotAllowed: true;
|
|
123
123
|
InputObjectDeleted: true;
|
|
124
124
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
125
|
-
command: string | null
|
|
125
|
+
command: string | null;
|
|
126
126
|
};
|
|
127
127
|
}, "Success" | "Failed">;
|
|
128
128
|
executedEpoch: string;
|
|
@@ -202,7 +202,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
202
202
|
};
|
|
203
203
|
Immutable: true;
|
|
204
204
|
}, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable">];
|
|
205
|
-
eventsDigest: string | null
|
|
205
|
+
eventsDigest: string | null;
|
|
206
206
|
dependencies: string[];
|
|
207
207
|
};
|
|
208
208
|
V2: {
|
|
@@ -236,8 +236,8 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
236
236
|
};
|
|
237
237
|
function: number;
|
|
238
238
|
instruction: number;
|
|
239
|
-
functionName: string | null
|
|
240
|
-
} | null
|
|
239
|
+
functionName: string | null;
|
|
240
|
+
} | null;
|
|
241
241
|
MoveAbort: [{
|
|
242
242
|
module: {
|
|
243
243
|
address: string;
|
|
@@ -245,7 +245,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
245
245
|
};
|
|
246
246
|
function: number;
|
|
247
247
|
instruction: number;
|
|
248
|
-
functionName: string | null
|
|
248
|
+
functionName: string | null;
|
|
249
249
|
}, string];
|
|
250
250
|
VMVerificationOrDeserializationError: true;
|
|
251
251
|
VMInvariantViolation: true;
|
|
@@ -328,7 +328,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
328
328
|
SharedObjectOperationNotAllowed: true;
|
|
329
329
|
InputObjectDeleted: true;
|
|
330
330
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
331
|
-
command: string | null
|
|
331
|
+
command: string | null;
|
|
332
332
|
};
|
|
333
333
|
}, "Success" | "Failed">;
|
|
334
334
|
executedEpoch: string;
|
|
@@ -339,8 +339,8 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
339
339
|
nonRefundableStorageFee: string;
|
|
340
340
|
};
|
|
341
341
|
transactionDigest: string;
|
|
342
|
-
gasObjectIndex: number | null
|
|
343
|
-
eventsDigest: string | null
|
|
342
|
+
gasObjectIndex: number | null;
|
|
343
|
+
eventsDigest: string | null;
|
|
344
344
|
dependencies: string[];
|
|
345
345
|
lamportVersion: string;
|
|
346
346
|
changedObjects: [string, {
|
|
@@ -378,7 +378,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
|
|
|
378
378
|
MutateDeleted: string;
|
|
379
379
|
ReadDeleted: string;
|
|
380
380
|
}, "ReadOnlyRoot" | "MutateDeleted" | "ReadDeleted">][];
|
|
381
|
-
auxDataDigest: string | null
|
|
381
|
+
auxDataDigest: string | null;
|
|
382
382
|
};
|
|
383
383
|
}, "V1" | "V2">, import("@mysten/bcs").EnumInputShape<{
|
|
384
384
|
V1: {
|
package/dist/esm/bcs/index.d.ts
CHANGED
|
@@ -2290,8 +2290,8 @@ declare const suiBcs: {
|
|
|
2290
2290
|
};
|
|
2291
2291
|
function: number;
|
|
2292
2292
|
instruction: number;
|
|
2293
|
-
functionName: string | null
|
|
2294
|
-
} | null
|
|
2293
|
+
functionName: string | null;
|
|
2294
|
+
} | null;
|
|
2295
2295
|
MoveAbort: [{
|
|
2296
2296
|
module: {
|
|
2297
2297
|
address: string;
|
|
@@ -2299,7 +2299,7 @@ declare const suiBcs: {
|
|
|
2299
2299
|
};
|
|
2300
2300
|
function: number;
|
|
2301
2301
|
instruction: number;
|
|
2302
|
-
functionName: string | null
|
|
2302
|
+
functionName: string | null;
|
|
2303
2303
|
}, string];
|
|
2304
2304
|
VMVerificationOrDeserializationError: true;
|
|
2305
2305
|
VMInvariantViolation: true;
|
|
@@ -2382,7 +2382,7 @@ declare const suiBcs: {
|
|
|
2382
2382
|
SharedObjectOperationNotAllowed: true;
|
|
2383
2383
|
InputObjectDeleted: true;
|
|
2384
2384
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
2385
|
-
command: string | null
|
|
2385
|
+
command: string | null;
|
|
2386
2386
|
};
|
|
2387
2387
|
}, "Success" | "Failed">;
|
|
2388
2388
|
executedEpoch: string;
|
|
@@ -2462,7 +2462,7 @@ declare const suiBcs: {
|
|
|
2462
2462
|
};
|
|
2463
2463
|
Immutable: true;
|
|
2464
2464
|
}, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable">];
|
|
2465
|
-
eventsDigest: string | null
|
|
2465
|
+
eventsDigest: string | null;
|
|
2466
2466
|
dependencies: string[];
|
|
2467
2467
|
};
|
|
2468
2468
|
V2: {
|
|
@@ -2496,8 +2496,8 @@ declare const suiBcs: {
|
|
|
2496
2496
|
};
|
|
2497
2497
|
function: number;
|
|
2498
2498
|
instruction: number;
|
|
2499
|
-
functionName: string | null
|
|
2500
|
-
} | null
|
|
2499
|
+
functionName: string | null;
|
|
2500
|
+
} | null;
|
|
2501
2501
|
MoveAbort: [{
|
|
2502
2502
|
module: {
|
|
2503
2503
|
address: string;
|
|
@@ -2505,7 +2505,7 @@ declare const suiBcs: {
|
|
|
2505
2505
|
};
|
|
2506
2506
|
function: number;
|
|
2507
2507
|
instruction: number;
|
|
2508
|
-
functionName: string | null
|
|
2508
|
+
functionName: string | null;
|
|
2509
2509
|
}, string];
|
|
2510
2510
|
VMVerificationOrDeserializationError: true;
|
|
2511
2511
|
VMInvariantViolation: true;
|
|
@@ -2588,7 +2588,7 @@ declare const suiBcs: {
|
|
|
2588
2588
|
SharedObjectOperationNotAllowed: true;
|
|
2589
2589
|
InputObjectDeleted: true;
|
|
2590
2590
|
}, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted">;
|
|
2591
|
-
command: string | null
|
|
2591
|
+
command: string | null;
|
|
2592
2592
|
};
|
|
2593
2593
|
}, "Success" | "Failed">;
|
|
2594
2594
|
executedEpoch: string;
|
|
@@ -2599,8 +2599,8 @@ declare const suiBcs: {
|
|
|
2599
2599
|
nonRefundableStorageFee: string;
|
|
2600
2600
|
};
|
|
2601
2601
|
transactionDigest: string;
|
|
2602
|
-
gasObjectIndex: number | null
|
|
2603
|
-
eventsDigest: string | null
|
|
2602
|
+
gasObjectIndex: number | null;
|
|
2603
|
+
eventsDigest: string | null;
|
|
2604
2604
|
dependencies: string[];
|
|
2605
2605
|
lamportVersion: string;
|
|
2606
2606
|
changedObjects: [string, {
|
|
@@ -2638,7 +2638,7 @@ declare const suiBcs: {
|
|
|
2638
2638
|
MutateDeleted: string;
|
|
2639
2639
|
ReadDeleted: string;
|
|
2640
2640
|
}, "ReadOnlyRoot" | "MutateDeleted" | "ReadDeleted">][];
|
|
2641
|
-
auxDataDigest: string | null
|
|
2641
|
+
auxDataDigest: string | null;
|
|
2642
2642
|
};
|
|
2643
2643
|
}, "V1" | "V2">, import("@mysten/bcs").EnumInputShape<{
|
|
2644
2644
|
V1: {
|
|
@@ -3066,7 +3066,7 @@ declare const suiBcs: {
|
|
|
3066
3066
|
}> | undefined): import("@mysten/bcs").BcsType<T_1[], Iterable<Input> & {
|
|
3067
3067
|
length: number;
|
|
3068
3068
|
}>;
|
|
3069
|
-
option<T_2, Input_1>(type: import("@mysten/bcs").BcsType<T_2, Input_1>): import("@mysten/bcs").BcsType<T_2 | null
|
|
3069
|
+
option<T_2, Input_1>(type: import("@mysten/bcs").BcsType<T_2, Input_1>): import("@mysten/bcs").BcsType<T_2 | null, Input_1 | null | undefined>;
|
|
3070
3070
|
vector<T_3, Input_2>(type: import("@mysten/bcs").BcsType<T_3, Input_2>, options?: import("@mysten/bcs").BcsTypeOptions<T_3[], Iterable<Input_2> & {
|
|
3071
3071
|
length: number;
|
|
3072
3072
|
}> | undefined): import("@mysten/bcs").BcsType<T_3[], Iterable<Input_2> & {
|
|
@@ -11,3 +11,4 @@ export { SerialTransactionExecutor } from './executor/serial.js';
|
|
|
11
11
|
export { ParallelTransactionExecutor } from './executor/parallel.js';
|
|
12
12
|
export type { ParallelTransactionExecutorOptions } from './executor/parallel.js';
|
|
13
13
|
export { coinWithBalance } from './intents/CoinWithBalance.js';
|
|
14
|
+
export type { BuildTransactionOptions, SerializeTransactionOptions, TransactionPlugin, } from './json-rpc-resolver.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/transactions/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport { normalizedTypeToMoveTypeSignature, getPureBcsSchema } from './serializer.js';\n\nexport { Inputs } from './Inputs.js';\nexport {\n\tCommands,\n\ttype TransactionArgument,\n\ttype TransactionInput,\n\tUpgradePolicy,\n} from './Commands.js';\n\nexport {\n\tTransaction,\n\tisTransaction,\n\ttype TransactionObjectInput,\n\ttype TransactionObjectArgument,\n\ttype TransactionResult,\n} from './Transaction.js';\n\nexport { type SerializedTransactionDataV2 } from './data/v2.js';\nexport { type SerializedTransactionDataV1 } from './data/v1.js';\n\nexport type {\n\tTransactionData,\n\tArgument,\n\tObjectRef,\n\tGasData,\n\tCallArg,\n\tCommand,\n\tOpenMoveTypeSignature,\n\tOpenMoveTypeSignatureBody,\n} from './data/internal.js';\n\nexport { TransactionDataBuilder } from './TransactionData.js';\nexport { ObjectCache, AsyncCache } from './ObjectCache.js';\nexport { SerialTransactionExecutor } from './executor/serial.js';\nexport { ParallelTransactionExecutor } from './executor/parallel.js';\nexport type { ParallelTransactionExecutorOptions } from './executor/parallel.js';\nexport { coinWithBalance } from './intents/CoinWithBalance.js';\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport { normalizedTypeToMoveTypeSignature, getPureBcsSchema } from './serializer.js';\n\nexport { Inputs } from './Inputs.js';\nexport {\n\tCommands,\n\ttype TransactionArgument,\n\ttype TransactionInput,\n\tUpgradePolicy,\n} from './Commands.js';\n\nexport {\n\tTransaction,\n\tisTransaction,\n\ttype TransactionObjectInput,\n\ttype TransactionObjectArgument,\n\ttype TransactionResult,\n} from './Transaction.js';\n\nexport { type SerializedTransactionDataV2 } from './data/v2.js';\nexport { type SerializedTransactionDataV1 } from './data/v1.js';\n\nexport type {\n\tTransactionData,\n\tArgument,\n\tObjectRef,\n\tGasData,\n\tCallArg,\n\tCommand,\n\tOpenMoveTypeSignature,\n\tOpenMoveTypeSignatureBody,\n} from './data/internal.js';\n\nexport { TransactionDataBuilder } from './TransactionData.js';\nexport { ObjectCache, AsyncCache } from './ObjectCache.js';\nexport { SerialTransactionExecutor } from './executor/serial.js';\nexport { ParallelTransactionExecutor } from './executor/parallel.js';\nexport type { ParallelTransactionExecutorOptions } from './executor/parallel.js';\nexport { coinWithBalance } from './intents/CoinWithBalance.js';\n\nexport type {\n\tBuildTransactionOptions,\n\tSerializeTransactionOptions,\n\tTransactionPlugin,\n} from './json-rpc-resolver.js';\n"],
|
|
5
5
|
"mappings": "AAGA,SAAS,mCAAmC,wBAAwB;AAEpE,SAAS,cAAc;AACvB;AAAA,EACC;AAAA,EAGA;AAAA,OACM;AAEP;AAAA,EACC;AAAA,EACA;AAAA,OAIM;AAEP,eAAiD;AACjD,eAAiD;AAajD,SAAS,8BAA8B;AACvC,SAAS,aAAa,kBAAkB;AACxC,SAAS,iCAAiC;AAC1C,SAAS,mCAAmC;AAE5C,SAAS,uBAAuB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "1.0.
|
|
1
|
+
export declare const PACKAGE_VERSION = "1.0.4";
|
|
2
2
|
export declare const TARGETED_RPC_VERSION = "1.27.0";
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/version.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '1.0.
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '1.0.4';\nexport const TARGETED_RPC_VERSION = '1.27.0';\n"],
|
|
5
5
|
"mappings": "AAKO,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|