@initia/initia.js 1.0.20 → 1.0.21

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.
Files changed (47) hide show
  1. package/README.md +11 -0
  2. package/dist/client/rest/api/EvmAPI.d.ts +3 -2
  3. package/dist/client/rest/api/IbcNftAPI.d.ts +1 -0
  4. package/dist/client/rest/api/OpchildAPI.d.ts +12 -1
  5. package/dist/client/rest/api/OphostAPI.d.ts +2 -1
  6. package/dist/core/Coin.d.ts +2 -0
  7. package/dist/core/Coins.d.ts +2 -0
  8. package/dist/core/authz/authorizations/Authorization.d.ts +5 -4
  9. package/dist/core/authz/authorizations/CallAuthorization.d.ts +28 -0
  10. package/dist/core/authz/authorizations/index.d.ts +1 -0
  11. package/dist/core/evm/EvmParams.d.ts +5 -1
  12. package/dist/core/evm/GasEnforcement.d.ts +27 -0
  13. package/dist/core/evm/SetCodeAuthorization.d.ts +30 -0
  14. package/dist/core/evm/index.d.ts +2 -0
  15. package/dist/core/evm/msgs/MsgCall.d.ts +5 -1
  16. package/dist/core/forwarding/msgs/MsgSetAllowedDenoms.d.ts +32 -0
  17. package/dist/core/forwarding/msgs/MsgSetMemo.d.ts +44 -0
  18. package/dist/core/forwarding/msgs/index.d.ts +8 -4
  19. package/dist/core/gov/GovParams.d.ts +5 -2
  20. package/dist/core/gov/msgs/MsgActivateEmergencyProposal.d.ts +32 -0
  21. package/dist/core/gov/msgs/MsgAddEmergencySubmitters.d.ts +32 -0
  22. package/dist/core/gov/msgs/MsgRemoveEmergencySubmitters.d.ts +32 -0
  23. package/dist/core/gov/msgs/index.d.ts +10 -4
  24. package/dist/core/opchild/L2MigrationInfo.d.ts +27 -0
  25. package/dist/core/opchild/index.d.ts +1 -0
  26. package/dist/core/opchild/msgs/MsgAddAttestor.d.ts +39 -0
  27. package/dist/core/opchild/msgs/MsgMigrateToken.d.ts +33 -0
  28. package/dist/core/opchild/msgs/MsgRegisterL2MigrationInfo.d.ts +33 -0
  29. package/dist/core/opchild/msgs/MsgRemoveAttestor.d.ts +32 -0
  30. package/dist/core/opchild/msgs/MsgUpdateSequencer.d.ts +39 -0
  31. package/dist/core/opchild/msgs/index.d.ts +14 -8
  32. package/dist/core/ophost/BridgeConfig.d.ts +8 -2
  33. package/dist/core/ophost/L1MigrationInfo.d.ts +30 -0
  34. package/dist/core/ophost/index.d.ts +1 -0
  35. package/dist/core/ophost/msgs/MsgDisableBridge.d.ts +32 -0
  36. package/dist/core/ophost/msgs/MsgRegisterL1MigrationInfo.d.ts +33 -0
  37. package/dist/core/ophost/msgs/index.d.ts +12 -8
  38. package/dist/core/reward/msgs/MsgFundCommunityPoolReward.d.ts +33 -0
  39. package/dist/core/reward/msgs/index.d.ts +6 -4
  40. package/dist/core/wasm/WasmParams.d.ts +4 -1
  41. package/dist/core/wasm/msgs/MsgUpdateMaxWasmSize.d.ts +32 -0
  42. package/dist/core/wasm/msgs/index.d.ts +6 -4
  43. package/dist/index.cjs +6 -6
  44. package/dist/index.mjs +42003 -39208
  45. package/package.json +3 -3
  46. package/dist/core/opchild/msgs/MsgAddValidator.d.ts +0 -39
  47. package/dist/core/opchild/msgs/MsgRemoveValidator.d.ts +0 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@initia/initia.js",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "The JavaScript SDK for Initia",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Initia Foundation",
@@ -58,8 +58,8 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@bitcoinerlab/secp256k1": "^1.1.1",
61
- "@initia/initia.proto": "^1.0.3",
62
- "@initia/opinit.proto": "^1.0.2",
61
+ "@initia/initia.proto": "^1.0.4",
62
+ "@initia/opinit.proto": "^1.0.3",
63
63
  "@mysten/bcs": "^1.1.0",
64
64
  "axios": "^1.9.0",
65
65
  "bech32": "^2.0.0",
@@ -1,39 +0,0 @@
1
- import { JSONSerializable } from '../../../util/json';
2
- import { AccAddress, ValAddress } from '../../bech32';
3
- import { ValConsPublicKey } from '../../PublicKey';
4
- import { MsgAddValidator as MsgAddValidator_pb } from '@initia/opinit.proto/opinit/opchild/v1/tx';
5
- import { Any } from '@initia/initia.proto/google/protobuf/any';
6
- export declare class MsgAddValidator extends JSONSerializable<MsgAddValidator.Amino, MsgAddValidator.Data, MsgAddValidator.Proto> {
7
- authority: AccAddress;
8
- moniker: string;
9
- validator_address: ValAddress;
10
- pubkey: ValConsPublicKey;
11
- constructor(authority: AccAddress, moniker: string, validator_address: ValAddress, pubkey: ValConsPublicKey);
12
- static fromAmino(data: MsgAddValidator.Amino): MsgAddValidator;
13
- toAmino(): MsgAddValidator.Amino;
14
- static fromData(data: MsgAddValidator.Data): MsgAddValidator;
15
- toData(): MsgAddValidator.Data;
16
- static fromProto(data: MsgAddValidator.Proto): MsgAddValidator;
17
- toProto(): MsgAddValidator.Proto;
18
- packAny(): Any;
19
- static unpackAny(msgAny: Any): MsgAddValidator;
20
- }
21
- export declare namespace MsgAddValidator {
22
- interface Amino {
23
- type: 'opchild/MsgAddValidator';
24
- value: {
25
- authority: AccAddress;
26
- moniker: string;
27
- validator_address: ValAddress;
28
- pubkey: ValConsPublicKey.Amino;
29
- };
30
- }
31
- interface Data {
32
- '@type': '/opinit.opchild.v1.MsgAddValidator';
33
- authority: AccAddress;
34
- moniker: string;
35
- validator_address: ValAddress;
36
- pubkey: ValConsPublicKey.Data;
37
- }
38
- type Proto = MsgAddValidator_pb;
39
- }
@@ -1,32 +0,0 @@
1
- import { JSONSerializable } from '../../../util/json';
2
- import { AccAddress, ValAddress } from '../../bech32';
3
- import { MsgRemoveValidator as MsgRemoveValidator_pb } from '@initia/opinit.proto/opinit/opchild/v1/tx';
4
- import { Any } from '@initia/initia.proto/google/protobuf/any';
5
- export declare class MsgRemoveValidator extends JSONSerializable<MsgRemoveValidator.Amino, MsgRemoveValidator.Data, MsgRemoveValidator.Proto> {
6
- authority: AccAddress;
7
- validator_address: ValAddress;
8
- constructor(authority: AccAddress, validator_address: ValAddress);
9
- static fromAmino(data: MsgRemoveValidator.Amino): MsgRemoveValidator;
10
- toAmino(): MsgRemoveValidator.Amino;
11
- static fromData(data: MsgRemoveValidator.Data): MsgRemoveValidator;
12
- toData(): MsgRemoveValidator.Data;
13
- static fromProto(data: MsgRemoveValidator.Proto): MsgRemoveValidator;
14
- toProto(): MsgRemoveValidator.Proto;
15
- packAny(): Any;
16
- static unpackAny(msgAny: Any): MsgRemoveValidator;
17
- }
18
- export declare namespace MsgRemoveValidator {
19
- interface Amino {
20
- type: 'opchild/MsgRemoveValidator';
21
- value: {
22
- authority: AccAddress;
23
- validator_address: ValAddress;
24
- };
25
- }
26
- interface Data {
27
- '@type': '/opinit.opchild.v1.MsgRemoveValidator';
28
- authority: AccAddress;
29
- validator_address: ValAddress;
30
- }
31
- type Proto = MsgRemoveValidator_pb;
32
- }