@mysten/sui 2.3.1 → 2.3.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/CHANGELOG.md +9 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_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/signature_verification_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/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/package.json +37 -20
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse } from "./ledger_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc1 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/ledger_service.client.d.ts
|
|
@@ -46,9 +46,9 @@ interface ILedgerServiceClient {
|
|
|
46
46
|
declare class LedgerServiceClient implements ILedgerServiceClient, ServiceInfo {
|
|
47
47
|
private readonly _transport;
|
|
48
48
|
typeName: string;
|
|
49
|
-
methods:
|
|
49
|
+
methods: _protobuf_ts_runtime_rpc1.MethodInfo<any, any>[];
|
|
50
50
|
options: {
|
|
51
|
-
[extensionName: string]:
|
|
51
|
+
[extensionName: string]: _protobuf_ts_runtime1.JsonValue;
|
|
52
52
|
};
|
|
53
53
|
constructor(_transport: RpcTransport);
|
|
54
54
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LookupNameRequest, LookupNameResponse, ReverseLookupNameRequest, ReverseLookupNameResponse } from "./name_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc2 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/name_service.client.d.ts
|
|
@@ -24,9 +24,9 @@ interface INameServiceClient {
|
|
|
24
24
|
declare class NameServiceClient implements INameServiceClient, ServiceInfo {
|
|
25
25
|
private readonly _transport;
|
|
26
26
|
typeName: string;
|
|
27
|
-
methods:
|
|
27
|
+
methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
|
|
28
28
|
options: {
|
|
29
|
-
[extensionName: string]:
|
|
29
|
+
[extensionName: string]: _protobuf_ts_runtime2.JsonValue;
|
|
30
30
|
};
|
|
31
31
|
constructor(_transport: RpcTransport);
|
|
32
32
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VerifySignatureRequest, VerifySignatureResponse } from "./signature_verification_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, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts
|
|
@@ -22,9 +22,9 @@ interface ISignatureVerificationServiceClient {
|
|
|
22
22
|
declare class SignatureVerificationServiceClient implements ISignatureVerificationServiceClient, ServiceInfo {
|
|
23
23
|
private readonly _transport;
|
|
24
24
|
typeName: string;
|
|
25
|
-
methods:
|
|
25
|
+
methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
|
|
26
26
|
options: {
|
|
27
|
-
[extensionName: string]:
|
|
27
|
+
[extensionName: string]: _protobuf_ts_runtime5.JsonValue;
|
|
28
28
|
};
|
|
29
29
|
constructor(_transport: RpcTransport);
|
|
30
30
|
/**
|
|
@@ -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_runtime0 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc0 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
|
|
@@ -36,9 +36,9 @@ interface IStateServiceClient {
|
|
|
36
36
|
declare class StateServiceClient implements IStateServiceClient, ServiceInfo {
|
|
37
37
|
private readonly _transport;
|
|
38
38
|
typeName: string;
|
|
39
|
-
methods:
|
|
39
|
+
methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
40
40
|
options: {
|
|
41
|
-
[extensionName: string]:
|
|
41
|
+
[extensionName: string]: _protobuf_ts_runtime0.JsonValue;
|
|
42
42
|
};
|
|
43
43
|
constructor(_transport: RpcTransport);
|
|
44
44
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse } from "./subscription_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, ServerStreamingCall, ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts
|
|
@@ -32,9 +32,9 @@ interface ISubscriptionServiceClient {
|
|
|
32
32
|
declare class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {
|
|
33
33
|
private readonly _transport;
|
|
34
34
|
typeName: string;
|
|
35
|
-
methods:
|
|
35
|
+
methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
|
|
36
36
|
options: {
|
|
37
|
-
[extensionName: string]:
|
|
37
|
+
[extensionName: string]: _protobuf_ts_runtime4.JsonValue;
|
|
38
38
|
};
|
|
39
39
|
constructor(_transport: RpcTransport);
|
|
40
40
|
/**
|
package/dist/version.mjs
CHANGED
package/dist/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","names":[],"sources":["../src/version.ts"],"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 = '2.3.
|
|
1
|
+
{"version":3,"file":"version.mjs","names":[],"sources":["../src/version.ts"],"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 = '2.3.2';\nexport const TARGETED_RPC_VERSION = '1.66.0';\n"],"mappings":";AAKA,MAAa,kBAAkB;AAC/B,MAAa,uBAAuB"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
4
4
|
"description": "Sui TypeScript API",
|
|
5
5
|
"homepage": "https://sdk.mystenlabs.com",
|
|
6
|
-
"version": "2.3.
|
|
6
|
+
"version": "2.3.2",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"files": [
|
|
@@ -35,71 +35,88 @@
|
|
|
35
35
|
"exports": {
|
|
36
36
|
"./bcs": {
|
|
37
37
|
"types": "./dist/bcs/index.d.mts",
|
|
38
|
-
"import": "./dist/bcs/index.mjs"
|
|
38
|
+
"import": "./dist/bcs/index.mjs",
|
|
39
|
+
"default": "./dist/bcs/index.mjs"
|
|
39
40
|
},
|
|
40
41
|
"./client": {
|
|
41
42
|
"types": "./dist/client/index.d.mts",
|
|
42
|
-
"import": "./dist/client/index.mjs"
|
|
43
|
+
"import": "./dist/client/index.mjs",
|
|
44
|
+
"default": "./dist/client/index.mjs"
|
|
43
45
|
},
|
|
44
46
|
"./cryptography": {
|
|
45
47
|
"types": "./dist/cryptography/index.d.mts",
|
|
46
|
-
"import": "./dist/cryptography/index.mjs"
|
|
48
|
+
"import": "./dist/cryptography/index.mjs",
|
|
49
|
+
"default": "./dist/cryptography/index.mjs"
|
|
47
50
|
},
|
|
48
51
|
"./faucet": {
|
|
49
52
|
"types": "./dist/faucet/index.d.mts",
|
|
50
|
-
"import": "./dist/faucet/index.mjs"
|
|
53
|
+
"import": "./dist/faucet/index.mjs",
|
|
54
|
+
"default": "./dist/faucet/index.mjs"
|
|
51
55
|
},
|
|
52
56
|
"./graphql": {
|
|
53
57
|
"types": "./dist/graphql/index.d.mts",
|
|
54
|
-
"import": "./dist/graphql/index.mjs"
|
|
58
|
+
"import": "./dist/graphql/index.mjs",
|
|
59
|
+
"default": "./dist/graphql/index.mjs"
|
|
55
60
|
},
|
|
56
61
|
"./grpc": {
|
|
57
62
|
"types": "./dist/grpc/index.d.mts",
|
|
58
|
-
"import": "./dist/grpc/index.mjs"
|
|
63
|
+
"import": "./dist/grpc/index.mjs",
|
|
64
|
+
"default": "./dist/grpc/index.mjs"
|
|
59
65
|
},
|
|
60
66
|
"./jsonRpc": {
|
|
61
67
|
"types": "./dist/jsonRpc/index.d.mts",
|
|
62
|
-
"import": "./dist/jsonRpc/index.mjs"
|
|
68
|
+
"import": "./dist/jsonRpc/index.mjs",
|
|
69
|
+
"default": "./dist/jsonRpc/index.mjs"
|
|
63
70
|
},
|
|
64
71
|
"./keypairs/ed25519": {
|
|
65
72
|
"types": "./dist/keypairs/ed25519/index.d.mts",
|
|
66
|
-
"import": "./dist/keypairs/ed25519/index.mjs"
|
|
73
|
+
"import": "./dist/keypairs/ed25519/index.mjs",
|
|
74
|
+
"default": "./dist/keypairs/ed25519/index.mjs"
|
|
67
75
|
},
|
|
68
76
|
"./keypairs/secp256k1": {
|
|
69
77
|
"types": "./dist/keypairs/secp256k1/index.d.mts",
|
|
70
|
-
"import": "./dist/keypairs/secp256k1/index.mjs"
|
|
78
|
+
"import": "./dist/keypairs/secp256k1/index.mjs",
|
|
79
|
+
"default": "./dist/keypairs/secp256k1/index.mjs"
|
|
71
80
|
},
|
|
72
81
|
"./keypairs/secp256r1": {
|
|
73
82
|
"types": "./dist/keypairs/secp256r1/index.d.mts",
|
|
74
|
-
"import": "./dist/keypairs/secp256r1/index.mjs"
|
|
83
|
+
"import": "./dist/keypairs/secp256r1/index.mjs",
|
|
84
|
+
"default": "./dist/keypairs/secp256r1/index.mjs"
|
|
75
85
|
},
|
|
76
86
|
"./keypairs/passkey": {
|
|
77
87
|
"types": "./dist/keypairs/passkey/index.d.mts",
|
|
78
|
-
"import": "./dist/keypairs/passkey/index.mjs"
|
|
88
|
+
"import": "./dist/keypairs/passkey/index.mjs",
|
|
89
|
+
"default": "./dist/keypairs/passkey/index.mjs"
|
|
79
90
|
},
|
|
80
91
|
"./multisig": {
|
|
81
92
|
"types": "./dist/multisig/index.d.mts",
|
|
82
|
-
"import": "./dist/multisig/index.mjs"
|
|
93
|
+
"import": "./dist/multisig/index.mjs",
|
|
94
|
+
"default": "./dist/multisig/index.mjs"
|
|
83
95
|
},
|
|
84
96
|
"./transactions": {
|
|
85
97
|
"types": "./dist/transactions/index.d.mts",
|
|
86
|
-
"import": "./dist/transactions/index.mjs"
|
|
98
|
+
"import": "./dist/transactions/index.mjs",
|
|
99
|
+
"default": "./dist/transactions/index.mjs"
|
|
87
100
|
},
|
|
88
101
|
"./utils": {
|
|
89
102
|
"types": "./dist/utils/index.d.mts",
|
|
90
|
-
"import": "./dist/utils/index.mjs"
|
|
103
|
+
"import": "./dist/utils/index.mjs",
|
|
104
|
+
"default": "./dist/utils/index.mjs"
|
|
91
105
|
},
|
|
92
106
|
"./verify": {
|
|
93
107
|
"types": "./dist/verify/index.d.mts",
|
|
94
|
-
"import": "./dist/verify/index.mjs"
|
|
108
|
+
"import": "./dist/verify/index.mjs",
|
|
109
|
+
"default": "./dist/verify/index.mjs"
|
|
95
110
|
},
|
|
96
111
|
"./zklogin": {
|
|
97
112
|
"types": "./dist/zklogin/index.d.mts",
|
|
98
|
-
"import": "./dist/zklogin/index.mjs"
|
|
113
|
+
"import": "./dist/zklogin/index.mjs",
|
|
114
|
+
"default": "./dist/zklogin/index.mjs"
|
|
99
115
|
},
|
|
100
116
|
"./graphql/schema": {
|
|
101
117
|
"types": "./dist/graphql/schema/index.d.mts",
|
|
102
|
-
"import": "./dist/graphql/schema/index.mjs"
|
|
118
|
+
"import": "./dist/graphql/schema/index.mjs",
|
|
119
|
+
"default": "./dist/graphql/schema/index.mjs"
|
|
103
120
|
}
|
|
104
121
|
},
|
|
105
122
|
"repository": {
|
|
@@ -151,8 +168,8 @@
|
|
|
151
168
|
"graphql": "^16.12.0",
|
|
152
169
|
"poseidon-lite": "0.2.1",
|
|
153
170
|
"valibot": "^1.2.0",
|
|
154
|
-
"@mysten/bcs": "^2.0.
|
|
155
|
-
"@mysten/utils": "^0.3.
|
|
171
|
+
"@mysten/bcs": "^2.0.2",
|
|
172
|
+
"@mysten/utils": "^0.3.1"
|
|
156
173
|
},
|
|
157
174
|
"scripts": {
|
|
158
175
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|
package/src/version.ts
CHANGED