@initia/initia.js 0.2.15 → 0.2.17
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/dist/TransportWebHID-CVJmgfzo.js +1 -0
- package/dist/TransportWebUSB-V4VV5RPc.js +1 -0
- package/dist/client/lcd/api/GovAPI.d.ts +2 -2
- package/dist/client/lcd/api/IbcPermAPI.d.ts +1 -5
- package/dist/core/gov/TallyResult.d.ts +36 -0
- package/dist/core/gov/index.d.ts +1 -0
- package/dist/core/gov/proposals/Proposal.d.ts +5 -20
- package/dist/core/ibc/applications/perm/msgs/MsgUpdateIbcPermAdmin.d.ts +38 -0
- package/dist/core/ibc/applications/perm/msgs/MsgUpdatePermissionedRelayers.d.ts +38 -0
- package/dist/core/ibc/applications/perm/msgs/index.d.ts +8 -10
- package/dist/core/ibc/applications/transfer/DenomTrace.d.ts +1 -1
- package/dist/core/intertx/msgs/MsgRegisterAccount.d.ts +5 -1
- package/dist/core/marketmap/Market.d.ts +1 -1
- package/dist/core/marketmap/MarketmapParams.d.ts +1 -1
- package/dist/core/marketmap/ProviderConfig.d.ts +1 -1
- package/dist/core/marketmap/Ticker.d.ts +1 -1
- package/dist/core/marketmap/msgs/MsgCreateMarkets.d.ts +3 -3
- package/dist/core/marketmap/msgs/MsgRemoveMarketAuthorities.d.ts +3 -3
- package/dist/core/marketmap/msgs/MsgUpdateMarketmapParams.d.ts +3 -3
- package/dist/core/marketmap/msgs/MsgUpdateMarkets.d.ts +3 -3
- package/dist/core/marketmap/msgs/MsgUpsertMarkets.d.ts +33 -0
- package/dist/core/marketmap/msgs/index.d.ts +6 -4
- package/dist/core/ophost/BridgeConfig.d.ts +4 -4
- package/dist/core/ophost/msgs/MsgUpdateChallenger.d.ts +35 -0
- package/dist/core/ophost/msgs/index.d.ts +6 -6
- package/dist/core/oracle/CurrencyPair.d.ts +1 -1
- package/dist/core/oracle/QuotePrice.d.ts +1 -1
- package/dist/core/oracle/msgs/MsgAddCurrencyPairs.d.ts +3 -3
- package/dist/core/oracle/msgs/MsgRemoveCurrencyPairs.d.ts +3 -3
- package/dist/index-CGO7OOZz.js +2 -0
- package/dist/index.cjs.js +2 -0
- package/dist/{index.js → index.es.js} +2647 -2576
- package/package.json +11 -6
- package/dist/core/ibc/applications/perm/msgs/MsgHaltChannel.d.ts +0 -35
- package/dist/core/ibc/applications/perm/msgs/MsgResumeChannel.d.ts +0 -35
- package/dist/core/ibc/applications/perm/msgs/MsgSetPermissionedRelayers.d.ts +0 -38
- package/dist/core/ophost/msgs/MsgUpdateChallengers.d.ts +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@initia/initia.js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "The JavaScript SDK for Initia",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Initia Foundation",
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"typings": "dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
"import": "./dist/index.es.js",
|
|
15
|
+
"require": "./dist/index.cjs.js",
|
|
16
|
+
"types": "./dist/index.d.ts"
|
|
17
|
+
},
|
|
13
18
|
"files": [
|
|
14
19
|
"dist"
|
|
15
20
|
],
|
|
@@ -52,15 +57,15 @@
|
|
|
52
57
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
53
58
|
"typescript": "^5.4.5",
|
|
54
59
|
"typescript-eslint": "^7.13.1",
|
|
55
|
-
"vite": "^5.4.
|
|
56
|
-
"vite-plugin-dts": "^4.2.
|
|
57
|
-
"webpack": "^5.
|
|
60
|
+
"vite": "^5.4.8",
|
|
61
|
+
"vite-plugin-dts": "^4.2.3",
|
|
62
|
+
"webpack": "^5.94.0",
|
|
58
63
|
"webpack-bundle-analyzer": "^4.6.1",
|
|
59
64
|
"webpack-cli": "^4.10.0"
|
|
60
65
|
},
|
|
61
66
|
"dependencies": {
|
|
62
|
-
"@initia/initia.proto": "^0.2.
|
|
63
|
-
"@initia/opinit.proto": "^0.0.
|
|
67
|
+
"@initia/initia.proto": "^0.2.3",
|
|
68
|
+
"@initia/opinit.proto": "^0.0.10",
|
|
64
69
|
"@ledgerhq/hw-transport": "^6.27.12",
|
|
65
70
|
"@ledgerhq/hw-transport-webhid": "^6.27.12",
|
|
66
71
|
"@ledgerhq/hw-transport-webusb": "^6.27.12",
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { JSONSerializable } from '../../../../../util/json';
|
|
2
|
-
import { AccAddress } from '../../../../bech32';
|
|
3
|
-
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
-
import { MsgHaltChannel as MsgHaltChannel_pb } from '@initia/initia.proto/ibc/applications/perm/v1/tx';
|
|
5
|
-
export declare class MsgHaltChannel extends JSONSerializable<MsgHaltChannel.Amino, MsgHaltChannel.Data, MsgHaltChannel.Proto> {
|
|
6
|
-
authority: AccAddress;
|
|
7
|
-
channel_id: string;
|
|
8
|
-
port_id: string;
|
|
9
|
-
constructor(authority: AccAddress, channel_id: string, port_id: string);
|
|
10
|
-
static fromAmino(data: MsgHaltChannel.Amino): MsgHaltChannel;
|
|
11
|
-
toAmino(): MsgHaltChannel.Amino;
|
|
12
|
-
static fromData(data: MsgHaltChannel.Data): MsgHaltChannel;
|
|
13
|
-
toData(): MsgHaltChannel.Data;
|
|
14
|
-
static fromProto(data: MsgHaltChannel.Proto): MsgHaltChannel;
|
|
15
|
-
toProto(): MsgHaltChannel.Proto;
|
|
16
|
-
packAny(): Any;
|
|
17
|
-
static unpackAny(msgAny: Any): MsgHaltChannel;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace MsgHaltChannel {
|
|
20
|
-
interface Amino {
|
|
21
|
-
type: 'perm/MsgHaltChannel';
|
|
22
|
-
value: {
|
|
23
|
-
authority: AccAddress;
|
|
24
|
-
channel_id: string;
|
|
25
|
-
port_id: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface Data {
|
|
29
|
-
'@type': '/ibc.applications.perm.v1.MsgHaltChannel';
|
|
30
|
-
authority: AccAddress;
|
|
31
|
-
channel_id: string;
|
|
32
|
-
port_id: string;
|
|
33
|
-
}
|
|
34
|
-
type Proto = MsgHaltChannel_pb;
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { JSONSerializable } from '../../../../../util/json';
|
|
2
|
-
import { AccAddress } from '../../../../bech32';
|
|
3
|
-
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
-
import { MsgResumeChannel as MsgResumeChannel_pb } from '@initia/initia.proto/ibc/applications/perm/v1/tx';
|
|
5
|
-
export declare class MsgResumeChannel extends JSONSerializable<MsgResumeChannel.Amino, MsgResumeChannel.Data, MsgResumeChannel.Proto> {
|
|
6
|
-
authority: AccAddress;
|
|
7
|
-
channel_id: string;
|
|
8
|
-
port_id: string;
|
|
9
|
-
constructor(authority: AccAddress, channel_id: string, port_id: string);
|
|
10
|
-
static fromAmino(data: MsgResumeChannel.Amino): MsgResumeChannel;
|
|
11
|
-
toAmino(): MsgResumeChannel.Amino;
|
|
12
|
-
static fromData(data: MsgResumeChannel.Data): MsgResumeChannel;
|
|
13
|
-
toData(): MsgResumeChannel.Data;
|
|
14
|
-
static fromProto(data: MsgResumeChannel.Proto): MsgResumeChannel;
|
|
15
|
-
toProto(): MsgResumeChannel.Proto;
|
|
16
|
-
packAny(): Any;
|
|
17
|
-
static unpackAny(msgAny: Any): MsgResumeChannel;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace MsgResumeChannel {
|
|
20
|
-
interface Amino {
|
|
21
|
-
type: 'perm/MsgResumeChannel';
|
|
22
|
-
value: {
|
|
23
|
-
authority: AccAddress;
|
|
24
|
-
channel_id: string;
|
|
25
|
-
port_id: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface Data {
|
|
29
|
-
'@type': '/ibc.applications.perm.v1.MsgResumeChannel';
|
|
30
|
-
authority: AccAddress;
|
|
31
|
-
channel_id: string;
|
|
32
|
-
port_id: string;
|
|
33
|
-
}
|
|
34
|
-
type Proto = MsgResumeChannel_pb;
|
|
35
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { JSONSerializable } from '../../../../../util/json';
|
|
2
|
-
import { AccAddress } from '../../../../bech32';
|
|
3
|
-
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
-
import { MsgSetPermissionedRelayers as MsgSetPermissionedRelayers_pb } from '@initia/initia.proto/ibc/applications/perm/v1/tx';
|
|
5
|
-
export declare class MsgSetPermissionedRelayers extends JSONSerializable<MsgSetPermissionedRelayers.Amino, MsgSetPermissionedRelayers.Data, MsgSetPermissionedRelayers.Proto> {
|
|
6
|
-
authority: AccAddress;
|
|
7
|
-
channel_id: string;
|
|
8
|
-
port_id: string;
|
|
9
|
-
relayers: string[];
|
|
10
|
-
constructor(authority: AccAddress, channel_id: string, port_id: string, relayers: string[]);
|
|
11
|
-
static fromAmino(data: MsgSetPermissionedRelayers.Amino): MsgSetPermissionedRelayers;
|
|
12
|
-
toAmino(): MsgSetPermissionedRelayers.Amino;
|
|
13
|
-
static fromData(data: MsgSetPermissionedRelayers.Data): MsgSetPermissionedRelayers;
|
|
14
|
-
toData(): MsgSetPermissionedRelayers.Data;
|
|
15
|
-
static fromProto(data: MsgSetPermissionedRelayers.Proto): MsgSetPermissionedRelayers;
|
|
16
|
-
toProto(): MsgSetPermissionedRelayers.Proto;
|
|
17
|
-
packAny(): Any;
|
|
18
|
-
static unpackAny(msgAny: Any): MsgSetPermissionedRelayers;
|
|
19
|
-
}
|
|
20
|
-
export declare namespace MsgSetPermissionedRelayers {
|
|
21
|
-
interface Amino {
|
|
22
|
-
type: 'perm/MsgSetPermissionedRelayers';
|
|
23
|
-
value: {
|
|
24
|
-
authority: AccAddress;
|
|
25
|
-
channel_id: string;
|
|
26
|
-
port_id: string;
|
|
27
|
-
relayers: string[];
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
interface Data {
|
|
31
|
-
'@type': '/ibc.applications.perm.v1.MsgSetPermissionedRelayers';
|
|
32
|
-
authority: AccAddress;
|
|
33
|
-
channel_id: string;
|
|
34
|
-
port_id: string;
|
|
35
|
-
relayers: string[];
|
|
36
|
-
}
|
|
37
|
-
type Proto = MsgSetPermissionedRelayers_pb;
|
|
38
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { JSONSerializable } from '../../../util/json';
|
|
2
|
-
import { AccAddress } from '../../bech32';
|
|
3
|
-
import { MsgUpdateChallengers as MsgUpdateChallengers_pb } from '@initia/opinit.proto/opinit/ophost/v1/tx';
|
|
4
|
-
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
5
|
-
export declare class MsgUpdateChallengers extends JSONSerializable<MsgUpdateChallengers.Amino, MsgUpdateChallengers.Data, MsgUpdateChallengers.Proto> {
|
|
6
|
-
authority: AccAddress;
|
|
7
|
-
bridge_id: number;
|
|
8
|
-
new_challengers: AccAddress[];
|
|
9
|
-
constructor(authority: AccAddress, bridge_id: number, new_challengers: AccAddress[]);
|
|
10
|
-
static fromAmino(data: MsgUpdateChallengers.Amino): MsgUpdateChallengers;
|
|
11
|
-
toAmino(): MsgUpdateChallengers.Amino;
|
|
12
|
-
static fromData(data: MsgUpdateChallengers.Data): MsgUpdateChallengers;
|
|
13
|
-
toData(): MsgUpdateChallengers.Data;
|
|
14
|
-
static fromProto(data: MsgUpdateChallengers.Proto): MsgUpdateChallengers;
|
|
15
|
-
toProto(): MsgUpdateChallengers.Proto;
|
|
16
|
-
packAny(): Any;
|
|
17
|
-
static unpackAny(msgAny: Any): MsgUpdateChallengers;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace MsgUpdateChallengers {
|
|
20
|
-
interface Amino {
|
|
21
|
-
type: 'ophost/MsgUpdateChallengers';
|
|
22
|
-
value: {
|
|
23
|
-
authority: AccAddress;
|
|
24
|
-
bridge_id: string;
|
|
25
|
-
new_challengers: AccAddress[];
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface Data {
|
|
29
|
-
'@type': '/opinit.ophost.v1.MsgUpdateChallengers';
|
|
30
|
-
authority: AccAddress;
|
|
31
|
-
bridge_id: string;
|
|
32
|
-
new_challengers: AccAddress[];
|
|
33
|
-
}
|
|
34
|
-
type Proto = MsgUpdateChallengers_pb;
|
|
35
|
-
}
|