@wowok/wowok 2.2.14 → 2.2.16
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/LICENSE +19 -131
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/jsonRpc/client.d.ts +2 -2
- package/dist/cjs/jsonRpc/types/chain.d.ts +3 -3
- package/dist/cjs/jsonRpc/types/generated.d.ts +249 -271
- package/dist/cjs/jsonRpc/types/generated_old.d.ts +954 -0
- package/dist/cjs/jsonRpc/types/generated_old.js +1 -0
- package/dist/cjs/jsonRpc/types/params.d.ts +2 -2
- package/dist/cjs/w/call/arbitration.js +1 -1
- package/dist/cjs/w/call/base.d.ts +1 -0
- package/dist/cjs/w/call/base.js +1 -1
- package/dist/cjs/w/call/contact.js +1 -1
- package/dist/cjs/w/call/demand.js +1 -1
- package/dist/cjs/w/call/guard.js +1 -1
- package/dist/cjs/w/call/machine.js +1 -1
- package/dist/cjs/w/call/personal.js +1 -1
- package/dist/cjs/w/call/repository.js +1 -1
- package/dist/cjs/w/call/reward.js +1 -1
- package/dist/cjs/w/call/service.js +1 -1
- package/dist/cjs/w/call/treasury.js +1 -1
- package/dist/cjs/w/local/account.d.ts +2 -0
- package/dist/cjs/w/local/account.js +1 -1
- package/dist/cjs/w/local/cache.js +1 -1
- package/dist/cjs/w/local/index.js +1 -1
- package/dist/cjs/w/local/local.d.ts +3 -0
- package/dist/cjs/w/local/local.js +1 -1
- package/dist/cjs/w/local/storage.js +1 -1
- package/dist/cjs/w/local/util.js +1 -1
- package/dist/cjs/w/local/wip.js +1 -1
- package/dist/cjs/w/messenger/messenger-api.js +1 -1
- package/dist/cjs/w/messenger/messenger.js +1 -1
- package/dist/cjs/w/messenger/pq/crypto.js +1 -1
- package/dist/cjs/w/messenger/storage.js +1 -1
- package/dist/cjs/w/query/object.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/jsonRpc/client.d.ts +2 -2
- package/dist/esm/jsonRpc/types/chain.d.ts +3 -3
- package/dist/esm/jsonRpc/types/generated.d.ts +249 -271
- package/dist/esm/jsonRpc/types/generated_old.d.ts +954 -0
- package/dist/esm/jsonRpc/types/generated_old.js +1 -0
- package/dist/esm/jsonRpc/types/params.d.ts +2 -2
- package/dist/esm/w/call/arbitration.js +1 -1
- package/dist/esm/w/call/base.d.ts +1 -0
- package/dist/esm/w/call/base.js +1 -1
- package/dist/esm/w/call/contact.js +1 -1
- package/dist/esm/w/call/demand.js +1 -1
- package/dist/esm/w/call/guard.js +1 -1
- package/dist/esm/w/call/machine.js +1 -1
- package/dist/esm/w/call/personal.js +1 -1
- package/dist/esm/w/call/repository.js +1 -1
- package/dist/esm/w/call/reward.js +1 -1
- package/dist/esm/w/call/service.js +1 -1
- package/dist/esm/w/call/treasury.js +1 -1
- package/dist/esm/w/local/account.d.ts +2 -0
- package/dist/esm/w/local/account.js +1 -1
- package/dist/esm/w/local/cache.js +1 -1
- package/dist/esm/w/local/index.js +1 -1
- package/dist/esm/w/local/local.d.ts +3 -0
- package/dist/esm/w/local/local.js +1 -1
- package/dist/esm/w/local/storage.js +1 -1
- package/dist/esm/w/local/util.js +1 -1
- package/dist/esm/w/local/wip.js +1 -1
- package/dist/esm/w/messenger/messenger-api.js +1 -1
- package/dist/esm/w/messenger/messenger.js +1 -1
- package/dist/esm/w/messenger/pq/crypto.js +1 -1
- package/dist/esm/w/messenger/storage.js +1 -1
- package/dist/esm/w/query/object.js +1 -1
- package/package.json +1 -3
- package/NOTICE +0 -114
- package/THIRD_PARTY_LICENSES/APACHE_LICENSE.txt +0 -196
- package/THIRD_PARTY_LICENSES/MIT_LICENSE.txt +0 -58
package/LICENSE
CHANGED
|
@@ -1,145 +1,33 @@
|
|
|
1
|
-
WoWok
|
|
1
|
+
WoWok Blockchain Project - TypeScript SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2024-2026 WoWok Team. All Rights Reserved.
|
|
4
4
|
|
|
5
5
|
================================================================================
|
|
6
|
-
|
|
7
|
-
1. DEFINITIONS
|
|
8
|
-
|
|
9
|
-
"Software" refers to the WoWok SDK, including all source code, object code,
|
|
10
|
-
documentation, and related materials.
|
|
11
|
-
|
|
12
|
-
"Licensor" refers to WoWok Team (build@wowok.net).
|
|
13
|
-
|
|
14
|
-
"Licensee" refers to the individual or entity that has purchased a license
|
|
15
|
-
to use the Software.
|
|
16
|
-
|
|
17
|
-
"Authorized User" refers to employees, contractors, or agents of the
|
|
18
|
-
Licensee who are authorized to use the Software.
|
|
19
|
-
|
|
20
|
-
================================================================================
|
|
21
|
-
|
|
22
|
-
2. GRANT OF LICENSE
|
|
23
|
-
|
|
24
|
-
Subject to the terms and conditions of this Agreement, the Licensor grants
|
|
25
|
-
the Licensee a non-exclusive, non-transferable, royalty-bearing license to:
|
|
26
|
-
|
|
27
|
-
a) Use the Software for internal business purposes;
|
|
28
|
-
b) Integrate the Software into Licensee's products and services;
|
|
29
|
-
c) Distribute the Software as part of Licensee's products to end users;
|
|
30
|
-
d) Modify the Software for Licensee's internal use only.
|
|
31
|
-
|
|
32
|
-
================================================================================
|
|
33
|
-
|
|
34
|
-
3. RESTRICTIONS
|
|
35
|
-
|
|
36
|
-
The Licensee shall NOT:
|
|
37
|
-
|
|
38
|
-
a) Sublicense, sell, rent, lease, or otherwise transfer the Software
|
|
39
|
-
except as expressly permitted in Section 2;
|
|
40
|
-
|
|
41
|
-
b) Reverse engineer, decompile, disassemble, or otherwise attempt to
|
|
42
|
-
derive the source code of the Software, except to the extent
|
|
43
|
-
expressly permitted by applicable law;
|
|
44
|
-
|
|
45
|
-
c) Remove or alter any copyright, trademark, or other proprietary notices
|
|
46
|
-
contained in the Software;
|
|
47
|
-
|
|
48
|
-
d) Use the Software in any manner that violates applicable laws or
|
|
49
|
-
regulations;
|
|
50
|
-
|
|
51
|
-
e) Use the Software to compete with the Licensor's products or services;
|
|
52
|
-
|
|
53
|
-
f) Share, publish, or distribute the source code of the Software to
|
|
54
|
-
any third party without prior written consent from the Licensor.
|
|
55
|
-
|
|
56
|
-
================================================================================
|
|
57
|
-
|
|
58
|
-
4. THIRD-PARTY COMPONENTS
|
|
59
|
-
|
|
60
|
-
The Software includes third-party open-source components that are licensed
|
|
61
|
-
under their respective licenses. A list of third-party components and their
|
|
62
|
-
licenses is provided in the NOTICE file and the THIRD_PARTY_LICENSES
|
|
63
|
-
directory.
|
|
64
|
-
|
|
65
|
-
The Licensee acknowledges and agrees that:
|
|
66
|
-
|
|
67
|
-
a) Third-party components remain subject to their original licenses;
|
|
68
|
-
|
|
69
|
-
b) The Licensor provides no warranty for third-party components;
|
|
70
|
-
|
|
71
|
-
c) The Licensee must comply with the terms of all applicable third-party
|
|
72
|
-
licenses.
|
|
73
|
-
|
|
74
|
-
================================================================================
|
|
75
|
-
|
|
76
|
-
5. INTELLECTUAL PROPERTY
|
|
77
|
-
|
|
78
|
-
The Software and all intellectual property rights therein are and shall
|
|
79
|
-
remain the exclusive property of the Licensor. This Agreement does not
|
|
80
|
-
grant the Licensee any ownership rights in the Software.
|
|
81
|
-
|
|
82
|
-
================================================================================
|
|
83
|
-
|
|
84
|
-
6. WARRANTY DISCLAIMER
|
|
85
|
-
|
|
86
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
87
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
88
|
-
FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
|
|
89
|
-
|
|
90
|
-
THE LICENSOR DOES NOT WARRANT THAT THE SOFTWARE WILL BE ERROR-FREE OR
|
|
91
|
-
THAT DEFECTS WILL BE CORRECTED.
|
|
92
|
-
|
|
93
|
-
================================================================================
|
|
94
|
-
|
|
95
|
-
7. LIMITATION OF LIABILITY
|
|
96
|
-
|
|
97
|
-
IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
|
98
|
-
SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO
|
|
99
|
-
LOSS OF PROFITS, DATA, OR BUSINESS INTERRUPTION, ARISING OUT OF OR IN
|
|
100
|
-
CONNECTION WITH THIS AGREEMENT OR THE USE OF THE SOFTWARE, EVEN IF THE
|
|
101
|
-
LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
102
|
-
|
|
103
|
-
THE TOTAL LIABILITY OF THE LICENSOR SHALL NOT EXCEED THE AMOUNT PAID BY
|
|
104
|
-
THE LICENSEE FOR THE SOFTWARE IN THE TWELVE (12) MONTHS PRECEDING THE
|
|
105
|
-
CLAIM.
|
|
106
|
-
|
|
6
|
+
IMPORTANT LICENSE INFORMATION
|
|
107
7
|
================================================================================
|
|
108
8
|
|
|
109
|
-
|
|
9
|
+
This software is part of the WoWok Blockchain Project.
|
|
110
10
|
|
|
111
|
-
|
|
11
|
+
WoWok uses technology from the Sui blockchain project (https://github.com/MystenLabs/sui)
|
|
12
|
+
developed by Mysten Labs, Inc. and licensed under the Apache License 2.0.
|
|
112
13
|
|
|
113
|
-
|
|
114
|
-
|
|
14
|
+
For complete license information, including:
|
|
15
|
+
- Apache License 2.0 (for Sui-derived code)
|
|
16
|
+
- WoWok Commercial License (for original WoWok code)
|
|
17
|
+
- Third-party component licenses
|
|
18
|
+
- Attribution notices
|
|
115
19
|
|
|
116
|
-
|
|
117
|
-
|
|
20
|
+
Please visit:
|
|
21
|
+
https://github.com/wowok-ai/licence
|
|
118
22
|
|
|
119
23
|
================================================================================
|
|
120
|
-
|
|
121
|
-
9. GOVERNING LAW
|
|
122
|
-
|
|
123
|
-
This Agreement shall be governed by and construed in accordance with the
|
|
124
|
-
laws of the jurisdiction in which the Licensor is established, without
|
|
125
|
-
regard to its conflict of law principles.
|
|
126
|
-
|
|
24
|
+
SUMMARY
|
|
127
25
|
================================================================================
|
|
128
26
|
|
|
129
|
-
|
|
27
|
+
- Sui-derived code: Apache License 2.0
|
|
28
|
+
Copyright (c) Mysten Labs, Inc.
|
|
130
29
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
contemporaneous agreements, whether written or oral.
|
|
30
|
+
- WoWok original code: WoWok Commercial License
|
|
31
|
+
Copyright (c) WoWok Team
|
|
134
32
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
For licensing inquiries, please contact:
|
|
138
|
-
|
|
139
|
-
WoWok Team
|
|
140
|
-
Email: build@wowok.net
|
|
141
|
-
Website: https://wowok.net
|
|
142
|
-
|
|
143
|
-
================================================================================
|
|
144
|
-
END OF LICENSE AGREEMENT
|
|
145
|
-
================================================================================
|
|
33
|
+
For licensing inquiries, please contact: build@wowok.net
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export * from "./w/common.js";
|
|
|
2
2
|
export * from "./w/query/object.js";
|
|
3
3
|
export * from "./bcs/index.js";
|
|
4
4
|
export { ENTRYPOINT, getFullnodeUrl, WowClient, type WowTransport, type WowTransportRequestOptions, type WowTransportSubscribeOptions, type HttpHeaders, type WowHTTPTransportOptions, WowHTTPTransport, WowHTTPStatusError, WowHTTPTransportError, JsonRpcError, } from "./client/index.js";
|
|
5
|
-
export type { WowObjectData, WowObjectResponse, WowObjectRef, WowParsedData, WowEvent, WowTransactionBlockResponse, ExecutionStatus, GasCostSummary, ObjectOwner, Balance, BalanceChange, Checkpoint, EpochInfo, MoveCallParams, WowMoveFunctionArgType, MoveStruct, MoveValue, MultiSig, WowObjectDataFilter, WowObjectDataOptions,
|
|
5
|
+
export type { WowObjectData, WowObjectResponse, WowObjectRef, WowParsedData, WowEvent, WowTransactionBlockResponse, ExecutionStatus, GasCostSummary, ObjectOwner, Balance, BalanceChange, Checkpoint, EpochInfo, MoveCallParams, WowMoveFunctionArgType, MoveStruct, MoveValue, MultiSig, WowObjectDataFilter, WowObjectDataOptions, WowTransaction, SuiValidatorSummary, WowSystemStateSummary, } from "./jsonRpc/types/index.js";
|
|
6
6
|
export type { MultiSigPublicKey } from "./jsonRpc/types/index.js";
|
|
7
7
|
export { type SerializeSignatureInput, toSerializedSignature, parseSerializedSignature, SIGNATURE_SCHEME_TO_FLAG, SIGNATURE_SCHEME_TO_SIZE, SIGNATURE_FLAG_TO_SCHEME, type SignatureScheme, type SignatureFlag, isValidHardenedPath, isValidBIP32Path, mnemonicToSeed, mnemonicToSeedHex, messageWithIntent, type IntentScope, PRIVATE_KEY_SIZE, FALCON512_PRIVATE_KEY_SIZE, W_PRIVATE_KEY_PREFIX, type ParsedKeypair, type SignatureWithBytes, Signer, Keypair, decodeWowPrivateKey, encodeWowPrivateKey, PublicKey as CryptoPublicKey, } from "./cryptography/index.js";
|
|
8
8
|
export * from "./experimental/index.js";
|
|
@@ -3,7 +3,7 @@ import { Experimental_BaseClient } from "../experimental/client.js";
|
|
|
3
3
|
import type { Experimental_WowClientTypes } from "../experimental/types.js";
|
|
4
4
|
import type { Transaction } from "../transactions/Transaction.js";
|
|
5
5
|
import type { JsonRpcTransport } from "./http-transport.js";
|
|
6
|
-
import type { AddressMetrics, AllEpochsAddressMetrics, Checkpoint, CheckpointPage, CoinBalance, CoinMetadata, CoinSupply, CommitteeInfo, DelegatedStake, DevInspectResults, DevInspectTransactionBlockParams, DryRunTransactionBlockParams, DryRunTransactionBlockResponse, DynamicFieldPage, EpochInfo, EpochMetricsPage, EpochPage, ExecuteTransactionBlockParams, GetAllBalancesParams, GetAllCoinsParams, GetBalanceParams, GetCheckpointParams, GetCheckpointsParams, GetCoinMetadataParams, GetCoinsParams, GetCommitteeInfoParams, GetDynamicFieldObjectParams, GetDynamicFieldsParams, GetLatestCheckpointSequenceNumberParams, GetLatestWowSystemStateParams, ObjectRead, GetMoveFunctionArgTypesParams, GetNormalizedMoveFunctionParams, GetNormalizedMoveModuleParams, GetNormalizedMoveModulesByPackageParams, GetNormalizedMoveStructParams, GetObjectParams, GetOwnedObjectsParams, GetProtocolConfigParams, GetReferenceGasPriceParams, GetStakesByIdsParams, GetStakesParams, GetTotalSupplyParams, GetTransactionBlockParams, MoveCallMetrics, MultiGetObjectsParams, MultiGetTransactionBlocksParams, NetworkMetrics, Order, PaginatedCoins, PaginatedEvents, PaginatedObjectsResponse, PaginatedTransactionResponse, ProtocolConfig, QueryEventsParams, QueryTransactionBlocksParams, SubscribeEventParams, SubscribeTransactionParams, WowEvent, WowMoveFunctionArgType, WowMoveNormalizedFunction, WowMoveNormalizedModule, WowMoveNormalizedModules, WowMoveNormalizedStruct, WowObjectResponse, WowSystemStateSummary, WowTransactionBlockResponse, TransactionEffects, TryGetPastObjectParams, Unsubscribe,
|
|
6
|
+
import type { AddressMetrics, AllEpochsAddressMetrics, Checkpoint, CheckpointPage, CoinBalance, CoinMetadata, CoinSupply, CommitteeInfo, DelegatedStake, DevInspectResults, DevInspectTransactionBlockParams, DryRunTransactionBlockParams, DryRunTransactionBlockResponse, DynamicFieldPage, EpochInfo, EpochMetricsPage, EpochPage, ExecuteTransactionBlockParams, GetAllBalancesParams, GetAllCoinsParams, GetBalanceParams, GetCheckpointParams, GetCheckpointsParams, GetCoinMetadataParams, GetCoinsParams, GetCommitteeInfoParams, GetDynamicFieldObjectParams, GetDynamicFieldsParams, GetLatestCheckpointSequenceNumberParams, GetLatestWowSystemStateParams, ObjectRead, GetMoveFunctionArgTypesParams, GetNormalizedMoveFunctionParams, GetNormalizedMoveModuleParams, GetNormalizedMoveModulesByPackageParams, GetNormalizedMoveStructParams, GetObjectParams, GetOwnedObjectsParams, GetProtocolConfigParams, GetReferenceGasPriceParams, GetStakesByIdsParams, GetStakesParams, GetTotalSupplyParams, GetTransactionBlockParams, MoveCallMetrics, MultiGetObjectsParams, MultiGetTransactionBlocksParams, NetworkMetrics, Order, PaginatedCoins, PaginatedEvents, PaginatedObjectsResponse, PaginatedTransactionResponse, ProtocolConfig, QueryEventsParams, QueryTransactionBlocksParams, SubscribeEventParams, SubscribeTransactionParams, WowEvent, WowMoveFunctionArgType, WowMoveNormalizedFunction, WowMoveNormalizedModule, WowMoveNormalizedModules, WowMoveNormalizedStruct, WowObjectResponse, WowSystemStateSummary, WowTransactionBlockResponse, TransactionEffects, TryGetPastObjectParams, Unsubscribe, ValidatorApys } from "./types/index.js";
|
|
7
7
|
import { JSONRpcCoreClient } from "./core.js";
|
|
8
8
|
export interface PaginationArguments<Cursor> {
|
|
9
9
|
cursor?: Cursor;
|
|
@@ -107,7 +107,7 @@ export declare class WowJsonRpcClient extends Experimental_BaseClient {
|
|
|
107
107
|
}): Promise<EpochInfo>;
|
|
108
108
|
getValidatorsApy({ signal, }?: {
|
|
109
109
|
signal?: AbortSignal;
|
|
110
|
-
}): Promise<
|
|
110
|
+
}): Promise<ValidatorApys>;
|
|
111
111
|
getChainIdentifier({ signal, }?: {
|
|
112
112
|
signal?: AbortSignal;
|
|
113
113
|
}): Promise<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Checkpoint, DynamicFieldInfo,
|
|
1
|
+
import type { Checkpoint, DynamicFieldInfo, WowCallArg, WowMoveNormalizedModule, WowParsedData, WowTransaction, SuiValidatorSummary } from "./generated.js";
|
|
2
2
|
export type EpochInfo = {
|
|
3
3
|
epoch: string;
|
|
4
4
|
validators: SuiValidatorSummary[];
|
|
@@ -89,6 +89,6 @@ export type SuiMovePackage = Extract<WowParsedData, {
|
|
|
89
89
|
dataType: "package";
|
|
90
90
|
}>;
|
|
91
91
|
export type ProgrammableTransaction = {
|
|
92
|
-
transactions:
|
|
93
|
-
inputs:
|
|
92
|
+
transactions: WowTransaction[];
|
|
93
|
+
inputs: WowCallArg[];
|
|
94
94
|
};
|