@mysten/sui 3.0.0 → 3.0.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 +9 -0
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.mjs +2 -2
- package/dist/client/transaction-data.d.mts +8 -3
- package/dist/client/transaction-data.d.mts.map +1 -1
- package/dist/client/transaction-data.mjs +9 -6
- package/dist/client/transaction-data.mjs.map +1 -1
- package/dist/client/utils.d.mts +1 -3
- package/dist/client/utils.d.mts.map +1 -1
- package/dist/client/utils.mjs +1 -5
- package/dist/client/utils.mjs.map +1 -1
- package/dist/cryptography/signature.d.mts +6 -6
- package/dist/graphql/core.mjs +1 -1
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
- package/dist/transactions/Transaction.d.mts +7 -7
- package/dist/transactions/data/internal.d.mts +135 -135
- package/dist/transactions/data/internal.d.mts.map +1 -1
- package/dist/transactions/data/v1.d.mts +239 -239
- package/dist/transactions/data/v1.d.mts.map +1 -1
- package/dist/transactions/data/v2.d.mts +16 -16
- package/dist/transactions/data/v2.d.mts.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/docs/clients/executing.md +1 -1
- package/docs/migrations/sui-3.0/index.md +1 -4
- package/package.json +3 -3
- package/src/client/index.ts +1 -2
- package/src/client/transaction-data.ts +25 -2
- package/src/client/utils.ts +0 -12
- package/src/version.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse } from "./state_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime4 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc4 from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/state_service.client.d.ts
|
|
@@ -35,9 +35,9 @@ interface IStateServiceClient {
|
|
|
35
35
|
declare class StateServiceClient implements IStateServiceClient, ServiceInfo {
|
|
36
36
|
private readonly _transport;
|
|
37
37
|
typeName: string;
|
|
38
|
-
methods:
|
|
38
|
+
methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
|
|
39
39
|
options: {
|
|
40
|
-
[extensionName: string]:
|
|
40
|
+
[extensionName: string]: _protobuf_ts_runtime4.JsonValue;
|
|
41
41
|
};
|
|
42
42
|
constructor(_transport: RpcTransport);
|
|
43
43
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscribeEventsRequest, SubscribeEventsResponse, SubscribeTransactionsRequest, SubscribeTransactionsResponse } from "./subscription_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime5 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc5 from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts
|
|
@@ -106,9 +106,9 @@ interface ISubscriptionServiceClient {
|
|
|
106
106
|
declare class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {
|
|
107
107
|
private readonly _transport;
|
|
108
108
|
typeName: string;
|
|
109
|
-
methods:
|
|
109
|
+
methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
|
|
110
110
|
options: {
|
|
111
|
-
[extensionName: string]:
|
|
111
|
+
[extensionName: string]: _protobuf_ts_runtime5.JsonValue;
|
|
112
112
|
};
|
|
113
113
|
constructor(_transport: RpcTransport);
|
|
114
114
|
/**
|
|
@@ -8,7 +8,7 @@ import { createPure } from "./pure.mjs";
|
|
|
8
8
|
import { BalanceOptions } from "./intents/BalanceOptions.mjs";
|
|
9
9
|
import { SignatureWithBytes, Signer } from "../cryptography/keypair.mjs";
|
|
10
10
|
import { SuiClientTypes } from "../client/types.mjs";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _mysten_bcs1418 from "@mysten/bcs";
|
|
12
12
|
import { SerializedBcs } from "@mysten/bcs";
|
|
13
13
|
import { InferInput } from "valibot";
|
|
14
14
|
|
|
@@ -110,7 +110,7 @@ declare class Transaction {
|
|
|
110
110
|
getData(): {
|
|
111
111
|
version: 2;
|
|
112
112
|
sender?: string | null | undefined;
|
|
113
|
-
expiration?:
|
|
113
|
+
expiration?: _mysten_bcs1418.EnumOutputShapeWithKeys<{
|
|
114
114
|
None: true;
|
|
115
115
|
Epoch: string | number;
|
|
116
116
|
ValidDuring: {
|
|
@@ -144,8 +144,8 @@ declare class Transaction {
|
|
|
144
144
|
digest: string;
|
|
145
145
|
}[] | null;
|
|
146
146
|
};
|
|
147
|
-
inputs:
|
|
148
|
-
Object:
|
|
147
|
+
inputs: _mysten_bcs1418.EnumOutputShapeWithKeys<{
|
|
148
|
+
Object: _mysten_bcs1418.EnumOutputShapeWithKeys<{
|
|
149
149
|
ImmOrOwnedObject: {
|
|
150
150
|
objectId: string;
|
|
151
151
|
version: string | number;
|
|
@@ -185,7 +185,7 @@ declare class Transaction {
|
|
|
185
185
|
Balance: string;
|
|
186
186
|
$kind: "Balance";
|
|
187
187
|
};
|
|
188
|
-
withdrawFrom:
|
|
188
|
+
withdrawFrom: _mysten_bcs1418.EnumOutputShapeWithKeys<{
|
|
189
189
|
Sender: true;
|
|
190
190
|
Sponsor: true;
|
|
191
191
|
SenderAllowance: {
|
|
@@ -195,7 +195,7 @@ declare class Transaction {
|
|
|
195
195
|
}, "Sender" | "Sponsor" | "SenderAllowance">;
|
|
196
196
|
};
|
|
197
197
|
}, "Pure" | "Object" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
|
|
198
|
-
commands:
|
|
198
|
+
commands: _mysten_bcs1418.EnumOutputShapeWithKeys<{
|
|
199
199
|
MoveCall: {
|
|
200
200
|
package: string;
|
|
201
201
|
module: string;
|
|
@@ -216,7 +216,7 @@ declare class Transaction {
|
|
|
216
216
|
$kind: "NestedResult";
|
|
217
217
|
})[];
|
|
218
218
|
_argumentTypes?: {
|
|
219
|
-
reference: "mutable" | "
|
|
219
|
+
reference: "mutable" | "unknown" | "immutable" | null;
|
|
220
220
|
body: SuiClientTypes.OpenSignatureBody;
|
|
221
221
|
}[] | null | undefined;
|
|
222
222
|
};
|